Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] What is this?

Date2005-03-13 14:31
From"Michael Gogins"
SubjectRe: [Cs-dev] What is this?
I will change SConstruct to make install an optional target.

----- Original Message ----- 
From: 
To: 
Cc: 
Sent: Sunday, March 13, 2005 6:25 AM
Subject: Re: [Cs-dev] What is this?


> But I do not want to install Csound; I want to test things before I
> install.
> 
>  Also writing to /usr/local requires privileges which are not
> available to the C programmer
> 
> ==John ffitch
> 
> 
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2005-03-13 17:11
Fromsteven yi
SubjectRe: [Cs-dev] What is this?
I'm confused, install should have already been only an optional target, 
unless it was changed?

Michael Gogins wrote:

> I will change SConstruct to make install an optional target.
>
> ----- Original Message ----- From: 
> To: 
> Cc: 
> Sent: Sunday, March 13, 2005 6:25 AM
> Subject: Re: [Cs-dev] What is this?
>
>
>> But I do not want to install Csound; I want to test things before I
>> install.
>>
>>  Also writing to /usr/local requires privileges which are not
>> available to the C programmer
>>
>> ==John ffitch
>>
>>
>> -------------------------------------------------------
>> SF email is sponsored by - The IT Product Guide
>> Read honest & candid reviews on hundreds of IT Products from real users.
>> Discover which products truly live up to the hype. Start reading now.
>> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>
>
>
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2005-03-13 18:14
Fromsteven yi
SubjectRe: [Cs-dev] What is this?
Okay, now I'm really confused. Why was the install target now made to be 
both a commandline flag and an install target?  So now it requires:

scons install=1 install

This makes no sense whatsoever and I don't think is a proper solution.  
I'm reverting back to what it was.  I also don't see how John ffitch 
could have gotten an installation error unless he ran:

scons install

or

scons install-headers

 From his message, I don't know what he entered for his command to get 
what he did.  John, could you let us know what you used on the 
commandline to get the error message you gave?

steven


steven yi wrote:

> I'm confused, install should have already been only an optional 
> target, unless it was changed?
>
> Michael Gogins wrote:




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2005-03-13 19:02
Fromjpff@codemist.co.uk
SubjectRe: [Cs-dev] What is this?
The command i ran was the same as ever

scons buildCsoundVST=0 generateTags=1 useJack=0 usePortMIDI=1 generateZIP=0 useALSA=1

So I added the install= option and immediately it built.

==John ffitch


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2005-03-13 22:44
Fromsteven yi
SubjectRe: [Cs-dev] What is this?
Hi John, if you could, please take what I checked back in and pass along 
the full output from the build, I will look into it.  The code you put 
in basically makes  the install target useless without both enabling 
that the commandline check in addition to calling the install target (as 
mentioned in the previous email).  It may very well work for you but it 
is not satisfactory for me a solution. I spent quite a few days when we 
all first started using SCons to learn about Alias's and putting in the 
install targets correctly.  The install targets  have never yet caused a 
build problem for me and they have been in the SConstruct file for at 
least half a year now.  If something else caused the problem, then that 
should be fixed, not breaking the install target.  From my own 
experiences, I have not yet had a problem with the install target 
automatically building.  Trying out your command line flags, I again did 
not have any problems and the install target was not automatically called. 

steven

jpff@codemist.co.uk wrote:

>The command i ran was the same as ever
>
>scons buildCsoundVST=0 generateTags=1 useJack=0 usePortMIDI=1 generateZIP=0 useALSA=1
>
>So I added the install= option and immediately it built.
>
>==John ffitch
>
>
>-------------------------------------------------------
>SF email is sponsored by - The IT Product Guide
>Read honest & candid reviews on hundreds of IT Products from real users.
>Discover which products truly live up to the hype. Start reading now.
>http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
>_______________________________________________
>Csound-devel mailing list
>Csound-devel@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
>  
>



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2005-03-14 08:16
Fromjpff@codemist.co.uk
SubjectRe: [Cs-dev] What is this?
OK I tried again and it fails.  Did a cvs update and then the usual
build without stopping the install.  It starts messing with /usr/local
which is why I inserted stuff to stop it.  This happened over the
weekend as I was building OK at the end of the week, and I think
Saturday.
  Looks like time to give up
==Johnff

xenakis:~/Sourceforge/csound5> scons buildCsoundVST=0 generateTags=1 useJack=0 generateZip=0 usePortMIDI=1 
scons: Reading SConscript files ...

C S O U N D   5

SCons build file for Csound 5:
API library, plugin opcodes, utilities, and front ends.

By Michael Gogins 

For custom options, run 'scons -h'.
For default options, run 'scons -H'.
If headers or libraries are not found, edit 'custom.py'.
For Linux, run in the standard shell
    with standard Python and just run 'scons'.
For MinGW, run in the MSys shell
    and use www.python.org WIN32 Python to run scons.
For Cygwin, run in the Cygwin shell
    and use Cygwin Python to run 'scons'.

System platform is 'linux2'.
Build platform is 'linux'.
SCons tools on this platform:  ['default', 'gnulink', 'gcc', 'g++', 'g77', 'gas', 'ar', 'CVS', 'dvipdf', 'dvips', 'gs', 'latex', 'lex', 'm4', 'pdflatex', 'pdftex', 'RCS', 'swig', 'tar', 'tex', 'yacc', 'zip']

CONFIGURATION DECISION: Using single-precision floating point for audio samples.
Checking for C header file sndfile.h... yes
Checking for C header file portaudio.h... yes
Checking for C header file portmidi.h... yes
Checking for C++ header file FL/Fl.H... yes
Checking for C++ header file boost/any.hpp... no
Checking for C header file alsa/asoundlib.h... yes
Checking for C header file jack/jack.h... yes
Checking for C header file io.h... no
Checking for C header file fcntl.h... yes
Checking for C header file unistd.h... yes
Checking for C header file stdint.h... yes
Checking for C header file malloc.h... yes
Checking for C header file os.h... no
Checking for C header file sys/ioctl.h... yes
Checking for C header file sys/time.h... yes
Checking for C header file sys/types.h... yes
Checking for C header file ctype.h... yes
Checking for C header file termios.h... yes
Checking for C header file string.h... yes
Checking for C header file dirent.h... yes
Checking for C header file Opcodes/Loris/src/loris.h... no
CONFIGURATION DECISION: Not building Loris Python extension and Csound opcodes.
Checking for C++ header file jni.h... no
CONFIGURATION DECISION: Building with PortMIDI.
CONFIGURATION DECISION: Building with FLTK for graphs and widgets.
CONFIGURATION DECISION: Building static Csound library
CONFIGURATION DECISION: Not generating PDF documentation.
CONFIGURATION DECISION: Building ALSA plugin.
CONFIGURATION DECISION: Building PortAudio module.
CONFIGURATION DECISION: Not building JACK plugin.
Checking for C header file fluidsynth.h... no
CONFIGURATION DECISION: Not building fluid opcodes.
CONFIGURATION DECISION: Not building CsoundVST plugin and standalone.
CONFIGURATION DECISION: Calling TAGS
CONFIGURATION DECISION: Calling makedb
CONFIGURATION DECISION: Not compiling zip file for release.
scons: done reading SConscript files.
scons: Building targets ...
gcc -DCSOUND_WITH_API -g -gstabs -O2 -DLINUX -Wall -DPIPES -DHAVE_FCNTL_H -DHAVE_UNISTD_H -DHAVE_STDINT_H -DHAVE_MALLOC_H -DHAVE_SYS_IOCTL_H -DHAVE_SYS_TIME_H -DHAVE_SYS_TYPES_H -DHAVE_CTYPE_H -DHAVE_TERMIOS_H -DHAVE_STRING_H -DHAVE_DIRENT_H -DWINDOWS -DUSE_FLTK -DBETA -I. -IH -I/usr/local/include/python2.3 -I/usr/local/include -I/usr/include -I/usr/X11R6/include -c -o Engine/entry1.o Engine/entry1.c
gcc -DCSOUND_WITH_API -g -gstabs -O2 -DLINUX -Wall -DPIPES -DHAVE_FCNTL_H -DHAVE_UNISTD_H -DHAVE_STDINT_H -DHAVE_MALLOC_H -DHAVE_SYS_IOCTL_H -DHAVE_SYS_TIME_H -DHAVE_SYS_TYPES_H -DHAVE_CTYPE_H -DHAVE_TERMIOS_H -DHAVE_STRING_H -DHAVE_DIRENT_H -DWINDOWS -DUSE_FLTK -DBETA -I. -IH -I/usr/local/include/python2.3 -I/usr/local/include -I/usr/include -I/usr/X11R6/include -c -o Engine/entry2.o Engine/entry2.c
gcc -DCSOUND_WITH_API -g -gstabs -O2 -DLINUX -Wall -DPIPES -DHAVE_FCNTL_H -DHAVE_UNISTD_H -DHAVE_STDINT_H -DHAVE_MALLOC_H -DHAVE_SYS_IOCTL_H -DHAVE_SYS_TIME_H -DHAVE_SYS_TYPES_H -DHAVE_CTYPE_H -DHAVE_TERMIOS_H -DHAVE_STRING_H -DHAVE_DIRENT_H -DWINDOWS -DUSE_FLTK -DBETA -I. -IH -I/usr/local/include/python2.3 -I/usr/local/include -I/usr/include -I/usr/X11R6/include -c -o Engine/fgens.o Engine/fgens.c
gcc -DCSOUND_WITH_API -g -gstabs -O2 -DLINUX -Wall -DPIPES -DHAVE_FCNTL_H -DHAVE_UNISTD_H -DHAVE_STDINT_H -DHAVE_MALLOC_H -DHAVE_SYS_IOCTL_H -DHAVE_SYS_TIME_H -DHAVE_SYS_TYPES_H -DHAVE_CTYPE_H -DHAVE_TERMIOS_H -DHAVE_STRING_H -DHAVE_DIRENT_H -DWINDOWS -DUSE_FLTK -DBETA -I. -IH -I/usr/local/include/python2.3 -I/usr/local/include -I/usr/include -I/usr/X11R6/include -c -o Engine/oload.o Engine/oload.c
gcc -DCSOUND_WITH_API -g -gstabs -O2 -DLINUX -Wall -DPIPES -DHAVE_FCNTL_H -DHAVE_UNISTD_H -DHAVE_STDINT_H -DHAVE_MALLOC_H -DHAVE_SYS_IOCTL_H -DHAVE_SYS_TIME_H -DHAVE_SYS_TYPES_H -DHAVE_CTYPE_H -DHAVE_TERMIOS_H -DHAVE_STRING_H -DHAVE_DIRENT_H -DWINDOWS -DUSE_FLTK -fPIC -DBETA -I. -IH -I/usr/local/include/python2.3 -I/usr/local/include -I/usr/include -I/usr/X11R6/include -c -o Opcodes/ftconv.os Opcodes/ftconv.c
gcc -DCSOUND_WITH_API -g -gstabs -O2 -DLINUX -Wall -DPIPES -DHAVE_FCNTL_H -DHAVE_UNISTD_H -DHAVE_STDINT_H -DHAVE_MALLOC_H -DHAVE_SYS_IOCTL_H -DHAVE_SYS_TIME_H -DHAVE_SYS_TYPES_H -DHAVE_CTYPE_H -DHAVE_TERMIOS_H -DHAVE_STRING_H -DHAVE_DIRENT_H -DWINDOWS -DUSE_FLTK -fPIC -DBETA -I. -IH -I/usr/local/include/python2.3 -I/usr/local/include -I/usr/include -I/usr/X11R6/include -c -o Opcodes/reverbsc.os Opcodes/reverbsc.c
gcc -DCSOUND_WITH_API -g -gstabs -O2 -DLINUX -Wall -DPIPES -DHAVE_FCNTL_H -DHAVE_UNISTD_H -DHAVE_STDINT_H -DHAVE_MALLOC_H -DHAVE_SYS_IOCTL_H -DHAVE_SYS_TIME_H -DHAVE_SYS_TYPES_H -DHAVE_CTYPE_H -DHAVE_TERMIOS_H -DHAVE_STRING_H -DHAVE_DIRENT_H -DWINDOWS -DUSE_FLTK -fPIC -DBETA -I. -IH -I/usr/local/include/python2.3 -I/usr/local/include -I/usr/include -I/usr/X11R6/include -c -o Opcodes/spat3d.os Opcodes/spat3d.c
ar r libcsound.a Engine/auxfd.o Engine/cfgvar.o Engine/entry1.o Engine/entry2.o Engine/envvar.o Engine/express.o Engine/extract.o Engine/fgens.o Engine/filopen.o Engine/insert.o Engine/linevent.o Engine/memalloc.o Engine/memfiles.o Engine/musmon.o Engine/namedins.o Engine/oload.o Engine/otran.o Engine/rdorch.o Engine/rdscor.o Engine/scsort.o Engine/scxtract.o Engine/sort.o Engine/sread.o Engine/swrite.o Engine/twarp.o InOut/libsnd.o InOut/libsnd_u.o InOut/midifile.o InOut/midirecv.o InOut/midisend.o InOut/winascii.o InOut/windin.o InOut/window.o InOut/winEPS.o OOps/aops.o OOps/cmath.o OOps/control.o OOps/diskin.o OOps/disprep.o OOps/dnfft.o OOps/dsputil.o OOps/dumpf.o OOps/fft.o OOps/fout.o OOps/fprint.o OOps/lptrkfns.o OOps/midiinterop.o OOps/midiops.o OOps/midiout.o OOps/mxfft.o OOps/oscils.o OOps/pstream.o OOps/pvadd.o OOps/pvfileio.o OOps/pvinterp.o OOps/pvoc.o OOps/pvocext.o OOps/pv
 read.o OOps/pvsanal.o OOps/pvxanal.o OOps/schedule.o OOps/sdif.o OOps/sdif-mem.o OOps/sndi
 nfUG.o OOps/ugens1.o OOps/ugens2.o OOps/ugens3.o OOps/ugens4.o OOps/ugens5.o OOps/ugens6.o OOps/ugens8.o OOps/ugens9.o OOps/ugrw1.o OOps/ugrw2.o OOps/vbap.o OOps/vbap_eight.o OOps/vbap_four.o OOps/vbap_sixteen.o OOps/vbap_zak.o OOps/vdelay.o OOps/vpvoc.o Top/argdecode.o Top/cscore_internal.o Top/cscorfns.o Top/csmodule.o Top/csound.o Top/cvanal.o Top/dl_opcodes.o Top/dnoise.o Top/getstring.o Top/hetro.o Top/lpanal.o Top/main.o Top/natben.o Top/new_opts.o Top/one_file.o Top/opcode.o Top/pvanal.o Top/pvlook.o Top/scot.o Top/sndinfo.o Top/threads.o InOut/FL_graph.o InOut/winFLTK.o InOut/widgets.o
ranlib libcsound.a
Install file: "H/cscore.h" as "/usr/local/include/csound/cscore.h"
scons: *** [/usr/local/include/csound/cscore.h] Exception
Traceback (most recent call last):
  File "/usr/lib/scons/SCons/Taskmaster.py", line 101, in execute
    self.targets[0].build()
  File "/usr/lib/scons/SCons/Node/__init__.py", line 204, in build
    self._for_each_action(do_action)
  File "/usr/lib/scons/SCons/Node/__init__.py", line 179, in _for_each_action
    executor(self, func)
  File "/usr/lib/scons/SCons/Executor.py", line 121, in __call__
    func(action, self.targets, self.sources, env)
  File "/usr/lib/scons/SCons/Node/__init__.py", line 200, in do_action
    stat = action(targets, sources, env)
  File "/usr/lib/scons/SCons/Action.py", line 394, in __call__
    r = self.execfunction(target=target, source=rsources, env=env)
  File "/usr/lib/scons/SCons/Environment.py", line 83, in installFunc
    return install(target[0].path, source[0].path, env)
  File "/usr/lib/scons/SCons/Defaults.py", line 137, in copyFunc
    shutil.copy2(source, dest)
  File "/usr/local/lib/python2.3/shutil.py", line 82, in copy2
    copyfile(src, dst)
  File "/usr/local/lib/python2.3/shutil.py", line 38, in copyfile
    fdst = open(dst, 'wb')
IOError: [Errno 2] No such file or directory: '/usr/local/include/csound/cscore.h'
scons: building terminated because of errors.
xenakis:~/Sourceforge/csound5>


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net