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
(06-16-2011, 11:42 PM)Leonidas Wrote: [ -> ]
(06-16-2011, 06:58 PM)ilikenwf Wrote: [ -> ]I'm still getting the same errors as before after applying the various fixes to the rules files and those two cpp files...

Help? Anybody who knows what they're doing mind setting up a vm archlinux machine and figure out how to build?

Can you give some details? Please provide the build log, then maybe we can help you Smile

@Alittlemurkling: Everyone does make noob mistakes. Good to hear it is working now Wink

@Mithos: I can't see the error in the python script. Did you do any special configuration? The script has not changed in the songbird repository either so there is no upstream fix like for the other errors we went into in this thread. Is there any more detail you can give?

The only change I've made was to build/rules.mk, and I looked and couldn't find an error in the python script either. The error I posted before is the only info I've got.

A consideration, which version of python should we be using? I assumed 2.7.

EDIT: and I've just found that /usr/bin/env python on arch defaults to v3

EDIT: tried running the script on its own using the command that attempts to run and gives an error, I got the same error. I then tried running the script (again manually) using `python2` instead of `python`, and it ran with no errors. now I just have to work out how to change it in the makefile(s)

EDIT: got it to not give this error. Everyone who had trouble on arch x64, I have a nasty hackish fix.
Code:
sudo ln -s /usr/bin/python2 /usr/local/bin/python

This will make the build system use the correct version of python so it will build. (afterwards you might want to remove the symlink to avoid breaking anything else)
Apologies for double posting, but as this is a separate error I thought it warranted a separate post.

So, I've changed the makefile as Leonidas suggested, and the c++ changes as he said in this post {btw, I think there's an error in Leonidas' code. target.get()));)); should just be target.get()));}. I created my nasty symlink to make it use the correct python version. and what happened? This:
Code:
/home/james/workspace/nightingale/trunk/components/dataremote/src/sbDataRemoteWrapper.cpp:58:12: error: variable ‘rv’ set but not used [-Werror=unused-but-set-variable]
cc1plus: all warnings being treated as errors

make[5]: *** [sbDataRemoteWrapper.o] Error 1
make[5]: Leaving directory `/home/james/workspace/nightingale/trunk/compiled-release-x86_64/components/dataremote/src'
make[4]: *** [libs] Error 2
make[4]: Leaving directory `/home/james/workspace/nightingale/trunk/compiled-release-x86_64/components/dataremote'
make[3]: *** [libs_tier_componentsbase] Error 2
make[3]: Leaving directory `/home/james/workspace/nightingale/trunk/compiled-release-x86_64'
make[2]: *** [tier_componentsbase] Error 2
make[2]: Leaving directory `/home/james/workspace/nightingale/trunk/compiled-release-x86_64'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/home/james/workspace/nightingale/trunk/compiled-release-x86_64'
make: *** [build] Error 2

my fix was to delete the unused variable. so editting components/dataremote/src/sbDataRemoteWrapper.cpp, delete lines: 58 and 62

this isn't enough though, as the same error is also present in another file. You also need to delete components/devicesobsolete/manager/src/DeviceManager.cpp lines: 157 and 166

after these changes, and to my amazement. It worked :D and I can say I love it. keep working team nightingale :)

EDIT: by works, I perhaps should have said compiles. playing music is a whole different issue :/
Same here with the building and running part - I came to the same conclusions you did here on my own. No go on playing anything, though...it opens a browser tab with the file path to the mp3..weird.

For python2, prior to building, do:
Code:
export PYTHON="/usr/bin/python2"
Patch to fix the other stuff (everyone): http://pastebin.com/gC4Dsap2

In case you don't know, cd to trunk and then do a patch -Np0 -i /location/to/whatever.patch for each one you choose to use.

Also, is there any way to build this so it use the skin's titlebar and close/max/minimize buttons instead of GTK's?...

AND, where in the scripts does it use the dependencies? I'd like to try and get it using as many of my system libraries as possible to cut down on bloat/redundancy...so I can use my distro's xulrunner, mozilla libs, etc...

Until we get "there" with nightengale (basically playing music, organizing folders, and also scrobbling) I'll be using http://download.songbirdnest.com/install..._64.tar.gz because recently on arch my bin32 build for 64 bit systems stopped being able to play anything. http://aur.archlinux.org/packages.php?ID=44366
(06-17-2011, 03:14 PM)ilikenwf Wrote: [ -> ]No go on playing anything, though...it opens a browser tab with the file path to the mp3..weird.

That's what mine does too, after I've got it to build... also for flac, ogg and wma
Thanks to all that are trying to build this on various systems, I have been out for a bit but am back now and will be starting to resolve what I can for building. I have installed arch linux 64, not as difficult as gentoo but pretty close!

Anyways, I hope to get this building on a few systems as soon as possible.
(06-21-2011, 06:59 AM)stevo Wrote: [ -> ]Thanks to all that are trying to build this on various systems, I have been out for a bit but am back now and will be starting to resolve what I can for building. I have installed arch linux 64, not as difficult as gentoo but pretty close!

Anyways, I hope to get this building on a few systems as soon as possible.

Yeah - I haven't gone as far as Gentoo, or off the deep end with something like Slackware or LFS, but I like Arch. I at one point had an AUR PKGBUILD for nightengale but don't anymore due to an HDD crash...it wasn't ready for general consumption yet, since it won't fully build yet though, so no real loss...

Arch is like a balance between something that's annoyingly bloated like Ubuntu or Debian, and something that requires you to build everything from source like Slackware or Gentoo (barring the whole base system Gentoo provides), but allows you to configure from the ground up and rebuild/add anything you can imagine as a result of the simple packaging system.

Thanks for the hard work!
As written before: I was able to build this stuff on my 64-bit Gentoo, although I haven't tried the newest version yet (but that should build fine as well). Just follow the instructions in the first posting step by step.
(09-14-2011, 01:58 AM)ilikenwf Wrote: [ -> ]Solution to get things to play - before making in Archlinux, make sure to set this variable for the build environment:

export GST_PLUGIN_PATH=/usr/lib/gstreamer-0.10

This makes bin32-songbird-nightly work again, I believe, or rather a symlink will.

Thanks for the hint. I'll try it next time I'm on arch
(09-14-2011, 02:07 AM)Mithos Wrote: [ -> ]
(09-14-2011, 01:58 AM)ilikenwf Wrote: [ -> ]Solution to get things to play - before making in Archlinux, make sure to set this variable for the build environment:

export GST_PLUGIN_PATH=/usr/lib/gstreamer-0.10

This makes bin32-songbird-nightly work again, I believe, or rather a symlink will.

Thanks for the hint. I'll try it next time I'm on arch

I'm not sure if export GST_PLUGIN_PATH=/usr/lib/gstreamer-0.10 does anything or not, but symlinking definitely does... /yawn...too tired to remember (sorry)

Code:
export PYTHON=/usr/bin/python2

make -f nightingale.mk clean
make -f nightingale.mk

cd compiled-release-[arch]/dist/gst-plugins
rm -rf gst-plugins
ln -s /usr/lib/gstreamer0.10 ./gst-plugins

then ./nightengale

Then import and play some music.
Has anyone gotten the github build to build successfully? I've tried building on 64-bit Debian and I get several strange errors like "blocklist.xml is not a directory" and if I try to ignore the make errors the binary has multiple errors like "cannot find mozilla runtime" or "cannot find application.ini". Any ideas what's going on?
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15