MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
Nightingale Forums - How to build Nightingale

Nightingale Forums

Full Version: How to build Nightingale
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
(11-29-2010, 06:24 AM)pythonian4000 Wrote: [ -> ]
(11-29-2010, 04:48 AM)keeshanam Wrote: [ -> ]Receiving the following error.
Code:
install: missing destination file operand after `/media/TeraRaid/Developmet/nightingale/trunk/compiled/dist/gst-plugins/libgstcoreelements.so'
Try `install --help' for more information.

That issue is for a missing library, and currently the dependencies directories on SVN are missing most of the library files, so I'm not sure how you even got it to compile before! If this is your only issue, you can get around it by telling the compiler to use the system's Gstreamer media core instead of its own files (so it won't be looking for that one any more), by creating a songbird.config file in the base directory of the code (same directory as songbird.mk) with the following line:

ac_add_options --with-media-core=gstreamer-system

Thanks... solved that issue for me too.... but now I'm getting the following error:
Code:
NightingGale/trunk/compiled/components/moz/strings/src/sbMozStringUtils.a -lxpcomglue_s -lnspr4 -lxpcom -lplds4  
/usr/bin/ld: cannot find -lxpcomglue_s
collect2: ld returned 1 exit status
make[7]: *** [sbStrings.so] Error 1
make[7]: Leaving directory `/home/gordon/NightingGale/trunk/compiled/components/moz/strings/components/src'
make[6]: *** [libs] Error 2
make[6]: Leaving directory `/home/gordon/NightingGale/trunk/compiled/components/moz/strings/components'
make[5]: *** [libs] Error 2
make[5]: Leaving directory `/home/gordon/NightingGale/trunk/compiled/components/moz/strings'
make[4]: *** [libs] Error 2
make[4]: Leaving directory `/home/gordon/NightingGale/trunk/compiled/components/moz'
make[3]: *** [libs_tier_componentsbase] Error 2
make[3]: Leaving directory `/home/gordon/NightingGale/trunk/compiled'
make[2]: *** [tier_componentsbase] Error 2
make[2]: Leaving directory `/home/gordon/NightingGale/trunk/compiled'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/home/gordon/NightingGale/trunk/compiled'
make: *** [build] Error 2
I've spent a while trying to solve it but I don't really know what I'm at Confused.....
Any help would be great.
Sorry about this, I still don't have every piece in the dependencies, the mozilla libraries are missing still, I am working at getting it all synced up as quickly as I can.

(01-19-2011, 09:54 AM)Christian271 Wrote: [ -> ]
(12-14-2010, 10:58 AM)gordonlunar Wrote: [ -> ]Thanks... solved that issue for me too.... but now I'm getting the following error:
Code:
NightingGale/trunk/compiled/components/moz/strings/src/sbMozStringUtils.a -lxpcomglue_s -lnspr4 -lxpcom -lplds4  
/usr/bin/ld: cannot find -lxpcomglue_s
collect2: ld returned 1 exit status
make[7]: *** [sbStrings.so] Error 1
make[7]: Leaving directory `/home/gordon/NightingGale/trunk/compiled/components/moz/strings/components/src'
make[6]: *** [libs] Error 2
make[6]: Leaving directory `/home/gordon/NightingGale/trunk/compiled/components/moz/strings/components'
make[5]: *** [libs] Error 2
make[5]: Leaving directory `/home/gordon/NightingGale/trunk/compiled/components/moz/strings'
make[4]: *** [libs] Error 2
make[4]: Leaving directory `/home/gordon/NightingGale/trunk/compiled/components/moz'
make[3]: *** [libs_tier_componentsbase] Error 2
make[3]: Leaving directory `/home/gordon/NightingGale/trunk/compiled'
make[2]: *** [tier_componentsbase] Error 2
make[2]: Leaving directory `/home/gordon/NightingGale/trunk/compiled'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/home/gordon/NightingGale/trunk/compiled'
make: *** [build] Error 2
I've spent a while trying to solve it but I don't really know what I'm at Confused.....
Any help would be great.
Looks like you need to install xulrunner-1.9.2-dev, stevo must have forgotten to list that.

I have just finished uploading the last (hopefully) bits of libraries needed in the dependencies, I also have uploaded a songbird.config that builds with the system gstreamer rather than the vendor-binaries.

I tested this with i686 and it build/ran for me with no problems.
(01-21-2011, 06:08 PM)stevo Wrote: [ -> ]I have just finished uploading the last (hopefully) bits of libraries needed in the dependencies, I also have uploaded a songbird.config that builds with the system gstreamer rather than the vendor-binaries.

I tested this with i686 and it build/ran for me with no problems.

Hmm, not sure how yours compiled - I tried with this and first go failed due to a missing gstreamer file when using inbuilt deps, and due to missing libgpod when using system gstreamer. I checked out both the Nightingale and Songbird 1.8 dependency directory trees (SB one took aaagggesss ~_~ ) and diffed them, and got the following:

Only in sbird-deps//flac/release/lib: libFLAC.so
Only in sbird-deps//gst-plugins-bad/release/lib: libgstbasevideo-0.10.so
Only in sbird-deps//gst-plugins-bad/release/lib: libgstphotography-0.10.so
Only in sbird-deps//gst-plugins-bad/release/lib: libgstsignalprocessor-0.10.so
Only in sbird-deps//gst-plugins-base/debug/lib: libgstapp-0.10.so
Only in sbird-deps//gst-plugins-base/debug/lib: libgstaudio-0.10.so
Only in sbird-deps//gst-plugins-base/debug/lib: libgstcdda-0.10.so
Only in sbird-deps//gst-plugins-base/debug/lib: libgstfft-0.10.so
Only in sbird-deps//gst-plugins-base/debug/lib: libgstinterfaces-0.10.so
Only in sbird-deps//gst-plugins-base/debug/lib: libgstnetbuffer-0.10.so
Only in sbird-deps//gst-plugins-base/debug/lib: libgstpbutils-0.10.so
Only in sbird-deps//gst-plugins-base/debug/lib: libgstriff-0.10.so
Only in sbird-deps//gst-plugins-base/debug/lib: libgstrtp-0.10.so
Only in sbird-deps//gst-plugins-base/debug/lib: libgstrtsp-0.10.so
Only in sbird-deps//gst-plugins-base/debug/lib: libgstsdp-0.10.so
Only in sbird-deps//gst-plugins-base/debug/lib: libgsttag-0.10.so
Only in sbird-deps//gst-plugins-base/debug/lib: libgstvideo-0.10.so
Only in sbird-deps//gst-plugins-base/release/lib: libgstapp-0.10.so
Only in sbird-deps//gst-plugins-base/release/lib: libgstaudio-0.10.so
Only in sbird-deps//gst-plugins-base/release/lib: libgstcdda-0.10.so
Only in sbird-deps//gst-plugins-base/release/lib: libgstfft-0.10.so
Only in sbird-deps//gst-plugins-base/release/lib: libgstinterfaces-0.10.so
Only in sbird-deps//gst-plugins-base/release/lib: libgstnetbuffer-0.10.so
Only in sbird-deps//gst-plugins-base/release/lib: libgstpbutils-0.10.so
Only in sbird-deps//gst-plugins-base/release/lib: libgstriff-0.10.so
Only in sbird-deps//gst-plugins-base/release/lib: libgstrtp-0.10.so
Only in sbird-deps//gst-plugins-base/release/lib: libgstrtp-0.10.so
Only in sbird-deps//gst-plugins-base/release/lib: libgstrtsp-0.10.so
Only in sbird-deps//gst-plugins-base/release/lib: libgstsdp-0.10.so
Only in sbird-deps//gst-plugins-base/release/lib: libgsttag-0.10.so
Only in sbird-deps//gst-plugins-base/release/lib: libgstvideo-0.10.so
Only in sbird-deps//gstreamer/debug/lib: libgstbase-0.10.so
Only in sbird-deps//gstreamer/debug/lib: libgstcheck-0.10.so
Only in sbird-deps//gstreamer/debug/lib: libgstcontroller-0.10.so
Only in sbird-deps//gstreamer/debug/lib: libgstdataprotocol-0.10.so
Only in sbird-deps//gstreamer/debug/lib: libgstnet-0.10.so
Only in sbird-deps//gstreamer/debug/lib: libgstreamer-0.10.so
Only in sbird-deps//gstreamer/release/lib: libgstbase-0.10.so
Only in sbird-deps//gstreamer/release/lib: libgstcheck-0.10.so
Only in sbird-deps//gstreamer/release/lib: libgstcontroller-0.10.so
Only in sbird-deps//gstreamer/release/lib: libgstdataprotocol-0.10.so
Only in sbird-deps//gstreamer/release/lib: libgstnet-0.10.so
Only in sbird-deps//gstreamer/release/lib: libgstreamer-0.10.so
Only in sbird-deps//libgpod/debug/lib: libgpod.so
Only in sbird-deps//libgpod/release/lib: libgpod.so
Only in sbird-deps//libjpeg/debug/lib: libjpeg.so
Only in sbird-deps//libjpeg/release/lib: libjpeg.so
Only in sbird-deps//libogg/debug/lib: libogg.so
Only in sbird-deps//libogg/release/lib: libogg.so
Only in sbird-deps//libtheora/debug/lib: libtheoradec.so
Only in sbird-deps//libtheora/debug/lib: libtheoraenc.so
Only in sbird-deps//libtheora/debug/lib: libtheora.so
Only in sbird-deps//libtheora/release/lib: libtheoradec.so
Only in sbird-deps//libtheora/release/lib: libtheoraenc.so
Only in sbird-deps//libtheora/release/lib: libtheora.so
Only in sbird-deps//libvorbis/debug/lib: libvorbisenc.so
Only in sbird-deps//libvorbis/debug/lib: libvorbisfile.so
Only in sbird-deps//libvorbis/debug/lib: libvorbis.so
Only in sbird-deps//libvorbis/release/lib: libvorbisenc.so
Only in sbird-deps//libvorbis/release/lib: libvorbisfile.so
Only in sbird-deps//libvorbis/release/lib: libvorbis.so

The problems I encountered will have been caused by the missing libgstreamer-0.10.so and libgpod.so. Do you have these pre-installed with system libraries? I thought that most of these were patched by Songbird? (certainly libgpod has been and not all the patches are in upstream yet - I've checked!)
Hmm, I'll check into this, It looks like the .so links are not being checked in Tongue so I will ensure those get added and checked in as soon as I can. I am also loading this up on a fresh 32bit ubuntu virtual machine to test the build (only will do checkouts on it from ngale).

(01-21-2011, 06:38 PM)pythonian4000 Wrote: [ -> ]
(01-21-2011, 06:08 PM)stevo Wrote: [ -> ]I have just finished uploading the last (hopefully) bits of libraries needed in the dependencies, I also have uploaded a songbird.config that builds with the system gstreamer rather than the vendor-binaries.

I tested this with i686 and it build/ran for me with no problems.

Hmm, not sure how yours compiled - I tried with this and first go failed due to a missing gstreamer file when using inbuilt deps, and due to missing libgpod when using system gstreamer. I checked out both the Nightingale and Songbird 1.8 dependency directory trees (SB one took aaagggesss ~_~ ) and diffed them, and got the following:

Only in sbird-deps//flac/release/lib: libFLAC.so
Only in sbird-deps//gst-plugins-bad/release/lib: libgstbasevideo-0.10.so
Only in sbird-deps//gst-plugins-bad/release/lib: libgstphotography-0.10.so
Only in sbird-deps//gst-plugins-bad/release/lib: libgstsignalprocessor-0.10.so
Only in sbird-deps//gst-plugins-base/debug/lib: libgstapp-0.10.so
Only in sbird-deps//gst-plugins-base/debug/lib: libgstaudio-0.10.so
Only in sbird-deps//gst-plugins-base/debug/lib: libgstcdda-0.10.so
Only in sbird-deps//gst-plugins-base/debug/lib: libgstfft-0.10.so
Only in sbird-deps//gst-plugins-base/debug/lib: libgstinterfaces-0.10.so
Only in sbird-deps//gst-plugins-base/debug/lib: libgstnetbuffer-0.10.so
Only in sbird-deps//gst-plugins-base/debug/lib: libgstpbutils-0.10.so
Only in sbird-deps//gst-plugins-base/debug/lib: libgstriff-0.10.so
Only in sbird-deps//gst-plugins-base/debug/lib: libgstrtp-0.10.so
Only in sbird-deps//gst-plugins-base/debug/lib: libgstrtsp-0.10.so
Only in sbird-deps//gst-plugins-base/debug/lib: libgstsdp-0.10.so
Only in sbird-deps//gst-plugins-base/debug/lib: libgsttag-0.10.so
Only in sbird-deps//gst-plugins-base/debug/lib: libgstvideo-0.10.so
Only in sbird-deps//gst-plugins-base/release/lib: libgstapp-0.10.so
Only in sbird-deps//gst-plugins-base/release/lib: libgstaudio-0.10.so
Only in sbird-deps//gst-plugins-base/release/lib: libgstcdda-0.10.so
Only in sbird-deps//gst-plugins-base/release/lib: libgstfft-0.10.so
Only in sbird-deps//gst-plugins-base/release/lib: libgstinterfaces-0.10.so
Only in sbird-deps//gst-plugins-base/release/lib: libgstnetbuffer-0.10.so
Only in sbird-deps//gst-plugins-base/release/lib: libgstpbutils-0.10.so
Only in sbird-deps//gst-plugins-base/release/lib: libgstriff-0.10.so
Only in sbird-deps//gst-plugins-base/release/lib: libgstrtp-0.10.so
Only in sbird-deps//gst-plugins-base/release/lib: libgstrtp-0.10.so
Only in sbird-deps//gst-plugins-base/release/lib: libgstrtsp-0.10.so
Only in sbird-deps//gst-plugins-base/release/lib: libgstsdp-0.10.so
Only in sbird-deps//gst-plugins-base/release/lib: libgsttag-0.10.so
Only in sbird-deps//gst-plugins-base/release/lib: libgstvideo-0.10.so
Only in sbird-deps//gstreamer/debug/lib: libgstbase-0.10.so
Only in sbird-deps//gstreamer/debug/lib: libgstcheck-0.10.so
Only in sbird-deps//gstreamer/debug/lib: libgstcontroller-0.10.so
Only in sbird-deps//gstreamer/debug/lib: libgstdataprotocol-0.10.so
Only in sbird-deps//gstreamer/debug/lib: libgstnet-0.10.so
Only in sbird-deps//gstreamer/debug/lib: libgstreamer-0.10.so
Only in sbird-deps//gstreamer/release/lib: libgstbase-0.10.so
Only in sbird-deps//gstreamer/release/lib: libgstcheck-0.10.so
Only in sbird-deps//gstreamer/release/lib: libgstcontroller-0.10.so
Only in sbird-deps//gstreamer/release/lib: libgstdataprotocol-0.10.so
Only in sbird-deps//gstreamer/release/lib: libgstnet-0.10.so
Only in sbird-deps//gstreamer/release/lib: libgstreamer-0.10.so
Only in sbird-deps//libgpod/debug/lib: libgpod.so
Only in sbird-deps//libgpod/release/lib: libgpod.so
Only in sbird-deps//libjpeg/debug/lib: libjpeg.so
Only in sbird-deps//libjpeg/release/lib: libjpeg.so
Only in sbird-deps//libogg/debug/lib: libogg.so
Only in sbird-deps//libogg/release/lib: libogg.so
Only in sbird-deps//libtheora/debug/lib: libtheoradec.so
Only in sbird-deps//libtheora/debug/lib: libtheoraenc.so
Only in sbird-deps//libtheora/debug/lib: libtheora.so
Only in sbird-deps//libtheora/release/lib: libtheoradec.so
Only in sbird-deps//libtheora/release/lib: libtheoraenc.so
Only in sbird-deps//libtheora/release/lib: libtheora.so
Only in sbird-deps//libvorbis/debug/lib: libvorbisenc.so
Only in sbird-deps//libvorbis/debug/lib: libvorbisfile.so
Only in sbird-deps//libvorbis/debug/lib: libvorbis.so
Only in sbird-deps//libvorbis/release/lib: libvorbisenc.so
Only in sbird-deps//libvorbis/release/lib: libvorbisfile.so
Only in sbird-deps//libvorbis/release/lib: libvorbis.so

The problems I encountered will have been caused by the missing libgstreamer-0.10.so and libgpod.so. Do you have these pre-installed with system libraries? I thought that most of these were patched by Songbird? (certainly libgpod has been and not all the patches are in upstream yet - I've checked!)

I did a clean check out of nightingale with the i686 dependencies, I had to disable iPod because it does not build with the changes to sbDevice, but after doing that I was able to build with out any problems. I followed the instructions on the first post in this thread, and everything was done on a clean 32bit ubuntu install.
(01-26-2011, 11:05 AM)stevo Wrote: [ -> ]I did a clean check out of nightingale with the i686 dependencies, I had to disable iPod because it does not build with the changes to sbDevice, but after doing that I was able to build with out any problems. I followed the instructions on the first post in this thread, and everything was done on a clean 32bit ubuntu install.

Interesting. I will try deleting and recreating my buildslave - and probably my buildmaster too - and see if that helps.
After recreating both buildmaster and buildslave, and once you had pushed the disable-ipod-extension-patch, my release almost builds fine. There is an issue, though - I am currently only building CI builds, which have "ac_add_options --enable-tests" in the songbird.config file. But in the repo there is a bug in components/testharness/src/sbTimingService.cpp, in that it is built with -Werror and so it fails with:

g++ -o sbTimingService.o -c -fPIC -fshort-wchar -fexceptions -fnon-call-exceptions -funwind-tables -fasynchronous-unwind-tables -fno-rtti -Wall -Wno-conversion -Wno-attributes -Wpointer-arith -Wcast-align -Wno-long-long -pipe -pthread -gstabs+ -Os -include "mozilla-config.h" -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Werror -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DNDEBUG=1 -DXP_UNIX=1 -D_REENTRANT=1 -I../../../components/testharness/public -I/var/lib/buildbot/slave/ngale/trunk_release_ubuntu-10_10-i686/build/dependencies/linux-i686/mozilla/release/include/locale -I/var/lib/buildbot/slave/ngale/trunk_release_ubuntu-10_10-i686/build/dependencies/linux-i686/mozilla/release/include/necko -I/var/lib/buildbot/slave/ngale/trunk_release_ubuntu-10_10-i686/build/dependencies/linux-i686/mozilla/release/idl -I/var/lib/buildbot/slave/ngale/trunk_release_ubuntu-10_10-i686/build/components/moz/strings/src -I/var/lib/buildbot/slave/ngale/trunk_release_ubuntu-10_10-i686/build/dependencies/linux-i686/mozilla/release/include -I/var/lib/buildbot/slave/ngale/trunk_release_ubuntu-10_10-i686/build/dependencies/linux-i686/mozilla/release/include/nspr -I/var/lib/buildbot/slave/ngale/trunk_release_ubuntu-10_10-i686/build/dependencies/linux-i686/mozilla/release/include/xpcom -I/var/lib/buildbot/slave/ngale/trunk_release_ubuntu-10_10-i686/build/dependencies/linux-i686/mozilla/release/include/string /var/lib/buildbot/slave/ngale/trunk_release_ubuntu-10_10-i686/build/components/testharness/src/sbTimingService.cpp
cc1plus: warnings being treated as errors
/var/lib/buildbot/slave/ngale/trunk_release_ubuntu-10_10-i686/build/components/testharness/src/sbTimingService.cpp: In member function ‘virtual nsresult sbTimingService::Observe(nsISupports*, const char*, const PRUnichar*)’:
/var/lib/buildbot/slave/ngale/trunk_release_ubuntu-10_10-i686/build/components/testharness/src/sbTimingService.cpp:354: error: format not a string literal and no format arguments
make[5]: *** [sbTimingService.o] Error 1

Songbird has already fixed this (see latest repo - http://timeline.songbirdnest.com/client/...e.cpp#L354 ) and when I patch it manually first (see http://ngale.jackgrigg.com:8010/waterfall ) it builds fine.
Excellent, I will fix that when I have the chance, thanks for all your work on this Smile.

(01-27-2011, 12:29 PM)pythonian4000 Wrote: [ -> ]After recreating both buildmaster and buildslave, and once you had pushed the disable-ipod-extension-patch, my release almost builds fine. There is an issue, though - I am currently only building CI builds, which have "ac_add_options --enable-tests" in the songbird.config file. But in the repo there is a bug in components/testharness/src/sbTimingService.cpp, in that it is built with -Werror and so it fails with:

g++ -o sbTimingService.o -c -fPIC -fshort-wchar -fexceptions -fnon-call-exceptions -funwind-tables -fasynchronous-unwind-tables -fno-rtti -Wall -Wno-conversion -Wno-attributes -Wpointer-arith -Wcast-align -Wno-long-long -pipe -pthread -gstabs+ -Os -include "mozilla-config.h" -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Werror -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DNDEBUG=1 -DXP_UNIX=1 -D_REENTRANT=1 -I../../../components/testharness/public -I/var/lib/buildbot/slave/ngale/trunk_release_ubuntu-10_10-i686/build/dependencies/linux-i686/mozilla/release/include/locale -I/var/lib/buildbot/slave/ngale/trunk_release_ubuntu-10_10-i686/build/dependencies/linux-i686/mozilla/release/include/necko -I/var/lib/buildbot/slave/ngale/trunk_release_ubuntu-10_10-i686/build/dependencies/linux-i686/mozilla/release/idl -I/var/lib/buildbot/slave/ngale/trunk_release_ubuntu-10_10-i686/build/components/moz/strings/src -I/var/lib/buildbot/slave/ngale/trunk_release_ubuntu-10_10-i686/build/dependencies/linux-i686/mozilla/release/include -I/var/lib/buildbot/slave/ngale/trunk_release_ubuntu-10_10-i686/build/dependencies/linux-i686/mozilla/release/include/nspr -I/var/lib/buildbot/slave/ngale/trunk_release_ubuntu-10_10-i686/build/dependencies/linux-i686/mozilla/release/include/xpcom -I/var/lib/buildbot/slave/ngale/trunk_release_ubuntu-10_10-i686/build/dependencies/linux-i686/mozilla/release/include/string /var/lib/buildbot/slave/ngale/trunk_release_ubuntu-10_10-i686/build/components/testharness/src/sbTimingService.cpp
cc1plus: warnings being treated as errors
/var/lib/buildbot/slave/ngale/trunk_release_ubuntu-10_10-i686/build/components/testharness/src/sbTimingService.cpp: In member function ‘virtual nsresult sbTimingService::Observe(nsISupports*, const char*, const PRUnichar*)’:
/var/lib/buildbot/slave/ngale/trunk_release_ubuntu-10_10-i686/build/components/testharness/src/sbTimingService.cpp:354: error: format not a string literal and no format arguments
make[5]: *** [sbTimingService.o] Error 1

Songbird has already fixed this (see latest repo - http://timeline.songbirdnest.com/client/...e.cpp#L354 ) and when I patch it manually first (see http://ngale.jackgrigg.com:8010/waterfall ) it builds fine.

Still won't build on archlinux x86_64:

http://pastebin.com/i2C81zbS
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15