Csound Csound-dev Csound-tekno Search About

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

Date2007-05-04 15:06
FromVictor Lazzarini
SubjectRe: [Cs-dev] Install target in SConstruct (Was: Re: Python problem)
Sounds OK to me, as I never install anything. But I would suggest allowing
for people to install things, at least on Linux, without the intermediary stage
of an installer.

At 14:59 04/05/2007, you wrote:
>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
>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

Date2007-05-04 15:26
FromJonathan Murphy
SubjectRe: [Cs-dev] Install target in SConstruct (Was: Re: Python problem)
Victor Lazzarini  writes:

> Sounds OK to me, as I never install anything. But I would suggest allowing
> for people to install things, at least on Linux, without the intermediary stage
> of an installer.

Yes, please. The way that scons works (in my experience) with other
projects is:

to build:

scons options

to install:

scons options install

to clean sources and uninstall:

scons -c options install

This was the way that things were working for me (with Csound) using
Python 2.4.2. 

>>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.

I do not use windows and thus haven't the slightest idea what you're
talking about. If it is now necessary to inform scons that I would
like to install/remove Csound in prefix (which should already be
defined, hence the confusion on my part), then no great drama, I'll
modify my scripts. If it is possible to avoid this, that would be
nicer.

Jonathan. 

-------------------------------------------------------------------------
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

Date2007-05-04 17:53
FromStéphane Rollandin
SubjectRe: [Cs-dev] Install target in SConstruct (Was: Re: Python problem)
Victor Lazzarini wrote:
> Sounds OK to me, as I never install anything. But I would suggest allowing
> for people to install things, at least on Linux, without the intermediary stage
> of an installer.

same request here, for Windows.

I did ask this several times already, and I will in the future as long 
as this issue is so consistently ignored by the developers: please, 
please, please, provide a plain zip distribution for Windows, NO 
INSTALLER, please.

.. and no required environment variables, that would be nice too (how do 
you guys manage to have two different versions of csound working within 
a single system ? I have to use vmware, isn't it a shame ?)

... and no critical dependency on Python (I know we can remove the dll, 
but why do we HAVE TO remove the damn dll ?)

please make Csound a well-behaved component for proper software 
architecture. the current situation is very bad (no offense intended 
towards anyone, only the sad truth).



regards,

Stef


PS: did I say I would very much have a csound distribution for Windows 
without an installer ?

-------------------------------------------------------------------------
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