Re: [Cs-dev] scons install problem
Date | 2006-03-16 17:41 |
From | Istvan Varga |
Subject | Re: [Cs-dev] scons install problem |
Attachments | None |
Date | 2006-03-16 18:14 |
From | Istvan Varga |
Subject | Re: [Cs-dev] scons install problem |
Attachments | None |
Date | 2006-03-16 18:19 |
From | Istvan Varga |
Subject | Re: [Cs-dev] scons install problem |
Attachments | None |
Date | 2006-03-16 19:03 |
From | jpff@cs.bath.ac.uk |
Subject | Re: [Cs-dev] scons install problem |
Are you building the libraries with -fPIC ? Seems necessary on x86_64. ==John ffitch ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2006-03-16 19:27 |
From | jpff@cs.bath.ac.uk |
Subject | Re: [Cs-dev] scons install problem |
Just about to go to tai chi, but my main machine at home is an AMD64 and that is why there is the WORD=64 case. I build using scons with lots of option. on the other hand I use SUSE9.3 and so use packaged portmidi and other stuff. Build libsndfile myself, but that knows about -fPIC and other 64bit stuff (thanks Erik). Try mailing me direct if you need more tomorrow -- will be reading early mail at home (the codemist address) ==John ffitch ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2006-03-17 01:29 |
From | Iain Duncan |
Subject | [Cs-dev] scons install problem |
I recently switched to gentoo64. Some problems I now have building csound5, dunno the source: - scons install no longer installs the binary - building with portmidi does not work, I get a bad value error for libportmidi Thanks Iain ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2006-03-17 02:00 |
From | Iain Duncan |
Subject | Re: [Cs-dev] scons install problem |
> Try using install.py instead (you may want to edit the target directories > at the top of the file first, if this is needed on gentoo64). Thanks. >>- building with portmidi does not work, I get a bad value error for >>libportmidi > > No idea about this, but having more details would possibly be of some > help. You may also use ALSA MIDI instead of PortMidi if the latter does > not work. I tried building my own portmidi test app and it worked ok, so not sure what is wrong. The message I get from scons is: scons: Building targets ... gcc -Wl,-Bdynamic -shared -o libpmidi.so InOut/pmidi.os -L. -L. -L/usr/local/lib64 -L. -L. -lsndfile -lportmidi -lporttime -lasoun d /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../ lib64/libportmidi.a(portmidi.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; reco mpile with -fPIC /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../lib64/libportmidi.a: could not read symbols: Bad value As to using alsamidi, I don't seem to be having any luck with that either. What should I pass to -M when wanting to use the first alsa midi device on the system? I am getting the following output from csound when using -M0 or -M1: ALSA lib rawmidi.c:283:(snd_rawmidi_open_noupdate) Unknown RawMidi 1 ALSA: error opening MIDI input device *** error opening MIDI in device: -1 (Unknown MIDI error) Thanks Iain ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2006-03-17 02:08 |
From | Iain Duncan |
Subject | Re: [Cs-dev] scons install problem |
> Try using install.py instead (you may want to edit the target directories > at the top of the file first, if this is needed on gentoo64). Install.py will not run if it detects that scons install ran ( or tried too ). scons install *seemed* to work, but I had no "csound" in /usr/bin or /usr/local/bin. I made links manually for /usr/bincsound and /usr/include/csound.h to the csound5 directory, but I'm not sure if that is the right way to go. Thanks Iain ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2006-03-17 03:18 |
From | Iain Duncan |
Subject | Re: [Cs-dev] scons install problem |
> Are you building the libraries with -fPIC ? Seems necessary on x86_64. > ==John ffitch No, and that would explain why I am not able to do things the way I could before! Thanks. Which libraries should I rebuild with -fPIC? ( and if you have time, why? ) Thanks Iain ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2006-03-17 07:20 |
From | Iain Duncan |
Subject | Re: [Cs-dev] scons install problem |
> Just about to go to tai chi, but my main machine at home is an AMD64 > and that is why there is the WORD=64 case. I build using scons with > lots of option. on the other hand I use SUSE9.3 and so use packaged > portmidi and other stuff. Build libsndfile myself, but that knows > about -fPIC and other 64bit stuff (thanks Erik). > Try mailing me direct if you need more tomorrow -- will be reading > early mail at home (the codemist address) > ==John ffitch Thanks, any further tips would be great. I am quite confused by the way libs get built and installed on my new system. If I successfully compile from source, does that mean I am making a 64 bit binary given that I am doing from 64bit gentoo? Or is there more to it than that? And how best to make sure things get the -fPIC and other 64bit stuff? Portmidi doesn't have a ./configure layer, etc. Thanks iain ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |