Csound Csound-dev Csound-tekno Search About

[CSOUND-DEV:4681] Csound5 build attempt

Date2004-05-13 08:10
Fromiainduncan@telus.net
Subject[CSOUND-DEV:4681] Csound5 build attempt
Ok, given Glyn's success I thought I'd try rebuilding with a fresh checkout from
cvs and an upgrade to Scons 0.95. The good news is I get as far as I ever did,
but this time without having to tweak the custom.py file or SConstruct file. Bad
news is that I still have the error below:

gcc " -shared" -o libbabo.so Opcodes/babo.os -L. -L. -L. -L/usr/lib -L/usr/local/lib
gcc:  -shared: No such file or directory
scons: *** [libbabo.so] Error 1
scons: building terminated because of errors.

So, this is Gentoo, python2.3, scons 0.95, portaudio v19.

Thanks
Iain

Date2004-05-13 17:53
Fromjpff@cs.bath.ac.uk
Subject[CSOUND-DEV:4684] Re: Csound5 build attempt
Just a random thought; I had trouble as scons assumed python was in
/usr/bin but the new version was installed in /usr/local/bin/  The
first line of scons had to be changed to 
#!/usr/local/bin/python

This may just be me of course, but I upgraded python and still got the
same errors.

==John ffitch

Date2004-05-13 18:59
Fromsteven yi
Subject[CSOUND-DEV:4687] Re: Csound5 build attempt
I haven't gotten the " -shared" style errors, but I remember another 
thing I did try when I did have the problem was to change all settings 
for the environment to use one-element arrays instead of just strings. i.e.

commonEnvironment.Append(CCFLAGS = "-DLINUX")

to:

commonEnvironment.Append(CCFLAGS = ["-DLINUX"])

steven

jpff@cs.bath.ac.uk wrote:

>Just a random thought; I had trouble as scons assumed python was in
>/usr/bin but the new version was installed in /usr/local/bin/  The
>first line of scons had to be changed to 
>#!/usr/local/bin/python
>
>This may just be me of course, but I upgraded python and still got the
>same errors.
>
>==John ffitch
>
>
>
>  
>