Csound Csound-dev Csound-tekno Search About

[Cs-dev] Install target in SConstruct (Was: Re: Python problem)

Date2007-05-04 14:59
FromMichael Gogins
Subject[Cs-dev] Install target in SConstruct (Was: Re: Python problem)
I, at least, have not been maintaining the "install" target.

The normal way to install on Windows is to just build with SCons and then run the NSIS installer script to build a Windows installer program.

However, I do plan to revisit this target soon in order to simplify building both the Windows installers and a Debian package. Currently the Windows installer picks up stuff from where it is built, and the Debian package has its own script. What I plan to do is make SConstruct install everything into a staging directory that should be the same for both Windows and Debian, and then the Windows installer script should simply package the contents of the staging directory; the Debian pkg management stuff should be able to do pretty much the same thing.

Comments, anyone?

Regards,
Mike

-----Original Message-----
>From: Jonathan Murphy 
>Sent: May 4, 2007 6:57 AM
>To: Developer discussions 
>Subject: Re: [Cs-dev] Python problem
>
>On linux 2.6.19.1-rt15, gcc 3.4.3 ...
>
>I have installed Python 2.5, rebuilt and installed scons and swig, and
>am able to build but not install. The following line:
>
>scons usePortAudio=0 usePortMIDI=0 noDebug=1 gcc3opt=pentium-m buildLoris=0 buildDSSI=0 buildInterfaces=1 install
>
>fails with:
>
>scons: *** Do not know how to make target `install'.  Stop.
>scons: building terminated because of errors.
>
>J.
>
>Victor Lazzarini  writes:
>
>> I fixed SConstruct so that the Python module now builds on Linux.
>>
>> Victor
>>
>> At 07:54 03/05/2007, you wrote:
>>>I can fix the missing FALSE declarations, but this one is beyond me.
>>>Where do I look?
>>>(Linux, OpenSuSE 10.2 on 32 bit)
>>>
>>>g++ -o lib_csnd.pyd -Wl,-Bdynamic -Wl,-rpath-link,. -shared 
>>>interfaces/python_interface_wrap.os -L/usr/local/lib -L/usr/lib 
>>>-L/usr/lib/python2.5/config -L. -L. -L/usr/local/lib -L. -L. -lpython2.5 
>>>-lstdc++ -lutil -lsndfile -ldl -lm -lpthread -lcsnd
>>>/usr/lib/gcc/i586-suse-linux/4.1.2/../../../../i586-suse-linux/bin/ld: 
>>>cannot find -lcsnd
>>>collect2: ld returned 1 exit status
>>>scons: *** [lib_csnd.pyd] Error 1
>>>scons: building terminated because of errors.
>>>make: *** [all] Error 2
>>>
>>>==John ffitch
>>>
>>>-------------------------------------------------------------------------
>>>This SF.net email is sponsored by DB2 Express
>>>Download DB2 Express C - the FREE version of DB2 express and take
>>>control of your XML. No limits. Just data. Click to get it now.
>>>http://sourceforge.net/powerbar/db2/
>>>_______________________________________________
>>>Csound-devel mailing list
>>>Csound-devel@lists.sourceforge.net
>>>https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>> Victor Lazzarini
>> Music Technology Laboratory
>> Music Department
>> National University of Ireland, Maynooth
>>
>>
>> -------------------------------------------------------------------------
>> This SF.net email is sponsored by DB2 Express
>> Download DB2 Express C - the FREE version of DB2 express and take
>> control of your XML. No limits. Just data. Click to get it now.
>> http://sourceforge.net/powerbar/db2/
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>-------------------------------------------------------------------------
>This SF.net email is sponsored by DB2 Express
>Download DB2 Express C - the FREE version of DB2 express and take
>control of your XML. No limits. Just data. Click to get it now.
>http://sourceforge.net/powerbar/db2/
>_______________________________________________
>Csound-devel mailing list
>Csound-devel@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/csound-devel




-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net