Coder Social home page Coder Social logo

nirbheek / cerbero-old Goto Github PK

View Code? Open in Web Editor NEW
7.0 7.0 9.0 5.77 MB

Fork of the GStreamer SDK with support for building OpenWebRTC

License: GNU Lesser General Public License v2.1

Makefile 3.55% Python 92.93% Java 0.36% JavaScript 2.78% C 0.16% Objective-C 0.22%

cerbero-old's People

Contributors

adn770 avatar andrunko avatar asoliverez-ccu avatar bilboed avatar bvibber avatar dbkr avatar drakkan avatar ford-prefect avatar gkiagia avatar glunardi avatar ijsf avatar ikonst avatar lubosz avatar lucianafujii avatar luisbg avatar mjhowell avatar ndufresne avatar nirbheek avatar ocrete avatar sdroege avatar thaytan avatar tmatth avatar tp-m avatar tsaunier avatar vccu avatar vhdirk avatar xclaesse avatar ylatuya avatar zaheerm avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cerbero-old's Issues

openjpeg download error

Downloading http://optimate.dl.sourceforge.net/project/openjpeg.mirror/1.5.2/openjpeg-1.5.2.tar.gz
Running command 'curl -L  -k http://optimate.dl.sourceforge.net/project/openjpeg.mirror/1.5.2/openjpeg-1.5.2.tar.gz -o /Users/stefan/cerbero/sources/local/openjpeg-1.5.2/openjpeg-1.5.2.tar.gz '
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:--  0:00:46 --:--:--     0curl: (56) Recv failure: Operation timed out
Traceback (most recent call last):
  File "./cerbero-uninstalled", line 9, in <module>
    main()
  File "./cerbero/main.py", line 130, in main
    Main(sys.argv[1:])
  File "./cerbero/main.py", line 55, in __init__
    self.run_command()
  File "./cerbero/main.py", line 105, in run_command
    res = commands.run(command, self.config, self.args)
  File "./cerbero/commands/__init__.py", line 78, in run
    return _commands[command].run(config, args)
  File "./cerbero/commands/fetch.py", line 92, in run
    args.reset_rdeps, args.full_reset)
  File "./cerbero/commands/fetch.py", line 53, in fetch
    recipe.fetch()
  File "./cerbero/build/source.py", line 106, in fetch
    shell.download(self.url, self.download_path, check_cert=False)
  File "./cerbero/utils/shell.py", line 279, in download_curl
    os.remove(destination)
OSError: [Errno 2] No such file or directory: '/Users/stefan/cerbero/sources/local/openjpeg-1.5.2/openjpeg-1.5.2.tar.gz'

Cerbero recipe 'gettext' failed at the build step 'configure'

Hi there,

Here are the following steps that ended up in a build failure:

  1. I was going through the different steps on the following documentation here:
    https://github.com/EricssonResearch/openwebrtc/wiki/Building-OpenWebRTC-with-Cerbero
  2. I was able to get to the android following command:
    ./cerbero-uninstalled -c config/cross-android-armv7.cbc package openwebrtc
  3. The build stops as I'm getting the following error:
    checking for arm-linux-androideabi-gcc... arm-linux-androideabi-gcc -fuse-ld=gold
    checking whether the C compiler works... no
    configure: error: in /Users/patrick.hetroy/cerbero/sources/android_armv7/gettext-0.18.3.2/gettext-runtime': configure: error: C compiler cannot create executables Seeconfig.log' for more details
    Running command './configure --prefix /Users/patrick.hetroy/cerbero/dist/android_armv7 --libdir /Users/patrick.hetroy/cerbero/dist/android_armv7/lib --disable-maintainer-mode --disable-silent-rules --disable-introspection --host=arm-linux-androideabi'

Recipe 'gettext' failed at the build step 'configure'

Do you know why the C compiler breaks this with the latest code?

Thanks a lot!

glib build failed

Trying to build it with cerebro on a mac 10.9, got a failure message:
/bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -I.. -I../glib -I../glib -I.. -DG_LOG_DOMAIN="GLib" -DG_DISABLE_CAST_CHECKS -DGLIB_COMPILATION -DPCRE_STATIC -xobjective-c -D_REENTRANT -Wall -Wstrict-prototypes -Werror=declaration-after-statement -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=format-security -Werror=format=2 -Werror=missing-include-dirs -fvisibility=hidden -Wall -g -O2 -arch x86_64 -m64 -Wno-error=format-nonliteral -I/Users/kerwinma/cerbero/build-tools/include -mmacosx-version-min=10.8 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk -Wall -g -O2 -arch x86_64 -m64 -Wno-error=format-nonliteral -I/Users/kerwinma/cerbero/build-tools/include -mmacosx-version-min=10.8 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk -DHAVE_STRNDUP -MT libglib_2_0_la-gmain.lo -MD -MP -MF .deps/libglib_2_0_la-gmain.Tpo -c -o libglib_2_0_la-gmain.lo test -f 'gmain.c' || echo './'gmain.c
libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I.. -I../glib -I../glib -I.. -DG_LOG_DOMAIN="GLib" -DG_DISABLE_CAST_CHECKS -DGLIB_COMPILATION -DPCRE_STATIC -xobjective-c -D_REENTRANT -Wall -Wstrict-prototypes -Werror=declaration-after-statement -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=format-security -Werror=format=2 -Werror=missing-include-dirs -fvisibility=hidden -Wall -g -O2 -arch x86_64 -m64 -Wno-error=format-nonliteral -I/Users/kerwinma/cerbero/build-tools/include -mmacosx-version-min=10.8 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk -Wall -g -O2 -arch x86_64 -m64 -Wno-error=format-nonliteral -I/Users/kerwinma/cerbero/build-tools/include -mmacosx-version-min=10.8 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk -DHAVE_STRNDUP -MT libglib_2_0_la-gmain.lo -MD -MP -MF .deps/libglib_2_0_la-gmain.Tpo -c gmain.c -fno-common -DPIC -o .libs/libglib_2_0_la-gmain.o
gmain.c:5980:40: error: use of undeclared identifier 'NSEventSubtype'; did you mean 'NSEventType'?
subtype: GMAIN_COCOA_EVENT_SUBTYPE_EVENTLOOP
^
gmain.c:507:47: note: expanded from macro 'GMAIN_COCOA_EVENT_SUBTYPE_EVENTLOOP'

define GMAIN_COCOA_EVENT_SUBTYPE_EVENTLOOP ((NSEventSubtype)31722)

                                          ^

/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:56:20: note: 'NSEventType' declared here
typedef NSUInteger NSEventType;
^
gmain.c:6316:26: error: use of undeclared identifier 'NSEventSubtype'; did you mean 'NSEventType'?
[event subtype] == GMAIN_COCOA_EVENT_SUBTYPE_EVENTLOOP)
^
gmain.c:507:47: note: expanded from macro 'GMAIN_COCOA_EVENT_SUBTYPE_EVENTLOOP'

define GMAIN_COCOA_EVENT_SUBTYPE_EVENTLOOP ((NSEventSubtype)31722)

                                          ^

/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:56:20: note: 'NSEventType' declared here
typedef NSUInteger NSEventType;
^
2 errors generated.
make[4]: *** [libglib_2_0_la-gmain.lo] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Running command 'make'

Recipe 'glib' failed at the build step 'compile'
Select an action to proceed:

ICU sometimes fails to build with "fatal error: typeinfo: No such file or directory"

Trying to build it for Android on ubuntu 14.04 server, get the following error. I tried to find the 'typeinfo' file as specified '-I/home/kerwin/cerbero/android-ndk-r10d/platforms/android-9/arch-arm/usr/include', no such file. Is it the known issue? Seems there is someone has successfully complied OpenwebRTC for android.

make[1]: Entering directory /home/kerwin/cerbero/sources/android_armv7/icu/source/common' arm-linux-androideabi-g++ ... ustrenum.cpp In file included from ustrenum.cpp:11:0: utypeinfo.h:28:45: fatal error: typeinfo: No such file or directory #include <typeinfo> // for 'typeid' to work ^ compilation terminated. *** Failed compilation command follows: ---------------------------------------------------------- arm-linux-androideabi-g++ -fuse-ld=gold --sysroot=/home/kerwin/cerbero/android-ndk-r10d/platforms/android-9/arch-arm -I/home/kerwin/cerbero/android-ndk-r10d/platforms/android-9/arch-arm/usr/include -DANDROID -DPIC -D__ARM_ARCH_7A__ -D_REENTRANT -DU_HAVE_ELF_H=1 -DU_HAVE_STD_STRING=0 -DU_HAVE_ATOMIC=0 -DU_DISABLE_RENAMING=1 -I. -DDEFAULT_ICU_PLUGINS="/home/kerwin/cerbero/dist/android_armv7/lib/icu" -DU_ATTRIBUTE_DEPRECATED= -DU_COMMON_IMPLEMENTATION -Wall -g -Os --sysroot=/home/kerwin/cerbero/android-ndk-r10d/platforms/android-9/arch-arm -I/home/kerwin/cerbero/android-ndk-r10d/platforms/android-9/arch-arm/usr/include -ffunction-sections -funwind-tables -fstack-protector -no-canonical-prefixes -fPIC -fomit-frame-pointer -fno-strict-aliasing -finline-limit=64 -mthumb -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16 -DANDROID -DPIC -D__ARM_ARCH_7A__ -Wa,--noexecstack -W -Wall -pedantic -Wpointer-arith -Wwrite-strings -Wno-long-long --std=c++0x -c -o ustrenum.ao ustrenum.cpp --- ( rebuild with "make VERBOSE=1 all" to show all parameters ) -------- make[1]: *** [ustrenum.ao] Error 1 make[1]: Leaving directory/home/kerwin/cerbero/sources/android_armv7/icu/source/common'
make: *** [all-recursive] Error 2
Running command 'make'

openssl error building openwebrtc-gst-plugins for iOS

I get the following error when running ./cerbero-uninstalled -c config/cross-ios-universal.cbc package openwebrtc with 2b6b7ae:

[(31/33) openwebrtc-gst-plugins -> configure ]
...
checking openssl/ssl.h usability... yes
checking openssl/ssl.h presence... yes
checking for openssl/ssl.h... yes
checking for SSL_library_init in -lssl... no
configure: error: You need OpenSSL for the build
Running command 'mkdir -p m4 && autoreconf -fiv'
Running command './configure --prefix /Users/justin/cerbero/dist/ios_universal --libdir /Users/justin/cerbero/dist/ios_universal/lib              --enable-shared             --enable-static             --disable-debug             --disable-static-plugins             --disable-android-plugins             --disable-osx-plugins             --disable-linux-plugins             --disable-colorspace-converter --disable-maintainer-mode  --disable-silent-rules  --disable-introspection  --host=arm-apple-darwin10 --disable-maintainer-mode  --disable-silent-rules  --disable-introspection  --host=arm-apple-darwin10'

***** Error running 'package' command:
Recipe 'openwebrtc-gst-plugins' failed at the build step 'configure'

Build error on mac OS X Yosemite 10.10.1 with xcode version 6.0 (6A267n) installed

[(30/33) libusrsctp -> fetch ]
-----> Step done
[(30/33) libusrsctp -> extract ]
-----> Step done
[(30/33) libusrsctp -> configure ]
Recipe 'libusrsctp' failed at the build step 'configure'
Traceback (most recent call last):
File "./cerbero/build/oven.py", line 143, in _cook_recipe
stepfunc()
File "./cerbero/build/recipe.py", line 266, in
setattr(cls, step, lambda self, name=step: step_func(self, name))
File "./cerbero/build/recipe.py", line 411, in _do_step
stepfunc()
File "/Users/kerwin.ma/cerbero/recipes/libusrsctp.recipe", line 42, in configure
os.path.join(usrsctplib_path, "platform/net"))
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py", line 171, in copytree
names = os.listdir(src)
OSError: [Errno 2] No such file or directory: '/Applications/Xcode.app//Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/include/net'

Recipe 'openwebrtc' failed at the build step 'configure'

Hi there,

Still going through the steps in this documentation:
https://github.com/EricssonResearch/openwebrtc/wiki/Building-OpenWebRTC-with-Cerbero

I just tried a clean build and running this command, I get the recipe 'openwebrtc' failed message:
./cerbero-uninstalled -c config/cross-android-armv7.cbc package openwebrtc

Do you know if there's any additional steps I may have to do?

Thanks!

Recipe 'openwebrtc' failed at the build step 'configure'
Traceback (most recent call last):
File "./cerbero/build/oven.py", line 143, in _cook_recipe
stepfunc()
File "/Users/phetroy/Workspaces/cerbero/recipes/openwebrtc.recipe", line 130, in configure
os.chdir(gir_file_path)
OSError: [Errno 2] No such file or directory: '/Users/phetroy/cerbero/dist/android_armv7/../darwin_x86_64/share/gir-1.0'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.