| Hi Victor--
I am building csound from cvs (5.08beta+ checked out this morning) and
am running into a few issues.
I'm trying to make a custom build on OSX 10.5 that uses python2.5
installed by Fink. I've made the following changes:
custom.py:
added Fink library and include paths (in my case, /Fink/include, /Fink/
lib)
SConscruct:
modified ln# 403 to read if getPlatform()=='darwin' and ln#419 to
'darwinX'
changed ln#404-418 to reflect my python location
Commented out csladspa (which still fails, same issue as before?)
I'm doing this because I would prefer to have a more linux-like
approach to building csound. Everything has worked great, but no
amount of my tinkering has gotten the python interface to build
correctly. _csnd.so still references the csound Framework, which does
not exist in my case. There are (some) of my scons build options:
scons useDouble=0 Word64=1 Lib64=1 buildInterfaces=1
dynamicCsoundLibrary=0
Oh, and also I had to modify install.py.
Everything works great except for the interfaces. I guess my question
is twofold:
1) any quick thoughts as to what I can do to get the python interface
to build with my preferred python?
2) can scons be modified to better handle osx users who prefer to not
use Frameworks for this sort of thing? I don't really understand how
much work would be involved with the latter question, so I would
accept the answer: "no").
Thanks,
Julian Peterson
On Feb 8, 2008, at 8:38 AM, Victor.Lazzarini@nuim.ie wrote:
> I think I know why this is not building; cladspa was set only
> to build with a framework build (dynamic csoundlib), and
> you were build a static csoundlib (the default). I have
> committed a fix, so you can try it now.
>
> ----- Original Message -----
> From: Hector Centeno
> Date: Friday, February 8, 2008 2:36 pm
> Subject: [Csnd] Re: Re: Re: Re: building csound problem in OS X
> To: csound@lists.bath.ac.uk
>
> > Victor,
> >
> > Thanks a lot for looking into this. I tried again with a fresh CVS
> > update and I got the same error at the same place:
> >
> > g++ -o csladspa.so -bundle -undefined suppress -flat_namespace
> > -framework CsoundLib frontends/csladspa/csladspa.o -L. -L.
> > -L/usr/local/lib -L. -L. -L/opt/local/lib -lsndfile -lfltk -
> > ljack -llo
> > -lpng -lcsound64 -lsndfile
> > ld: framework not found CsoundLib
> > collect2: ld returned 1 exit status
> > scons: *** [csladspa.so] Error 1
> > scons: building terminated because of errors.
> >
> >
> >
> >
> > On Feb 7, 2008 2:06 PM, victor wrote:
> > > I have made one small change on SConstruct, you can try
> > > now to see if it builds. I can't test where I am because I don't
> > > have a Mac. Just update from CVS, and let me know.
> > >
> > > Victor
> > >
> > > ----- Original Message -----
> > > From: "Hector Centeno"
> > > To:
> > > Sent: Thursday, February 07, 2008 5:50 PM
> > > Subject: [Csnd] Re: Re: building csound problem in OS X
> > >
> > >
> > > >I forgot to mention that I'm building Csound using a CVS
> > checkout done
> > > > today. Is there any other information needed to trace this
> > problem?> >
> > > > Thanks!
> > > >
> > > > Hector
> > > >
> > > > On Feb 7, 2008 11:49 AM, Victor Lazzarini
> > > > wrote:
> > > >> Looks like scons is trying to build csladspa before
> > CsoundLib. Not sure
> > > >> why, because it works OK here. Will check.
> > > >>
> > > >>
> > > >> At 16:24 07/02/2008, you wrote:
> > > >> >Hello,
> > > >> >
> > > >> >I'm trying to build Csound using a Mac OS X Leopard
> > machine. After
> > > >> >installing Xcode, sorting out all the dependencies using
> > Macports and
> > > >> >manually building other libraries I got to the point where
> > everything> >> >configures OK but it stops building with this error:
> > > >> >
> > > >> >g++ -o csladspa.so -bundle -undefined suppress -flat_namespace
> > > >> >-framework CsoundLib frontends/csladspa/csladspa.o -L. -L.
> > > >> >-L/usr/local/lib -L. -L. -L/opt/local/lib -lsndfile -lfltk
> > -ljack -llo
> > > >> >-lcsound64 -lsndfile
> > > >> >ld: framework not found CsoundLib
> > > >> >collect2: ld returned 1 exit status
> > > >> >scons: *** [csladspa.so] Error 1
> > > >> >scons: building terminated because of errors.
> > > >> >
> > > >> >There is no CsoundLib in /Library/Frameworks or in the
> > > >> >csound5/CsoundLib.framework directory (places where I
> > thought it might
> > > >> >be looking for CsoundLib).
> > > >> >
> > > >> >Did I miss something?
> > > >> >
> > > >> >Thanks,
> > > >> >
> > > >> >
> > > >> >Hector
> > > >> >
> > > >> >
> > > >> >Send bugs reports to this list.
> > > >> >To unsubscribe, send email sympa@lists.bath.ac.uk with
> > body "unsubscribe
> > > >> >csound"
> > > >>
> > > >> Victor Lazzarini
> > > >> Music Technology Laboratory
> > > >> Music Department
> > > >> National University of Ireland, Maynooth
> > > >>
> > > >>
> > > >>
> > > >> Send bugs reports to this list.
> > > >> To unsubscribe, send email sympa@lists.bath.ac.uk with body
> > "unsubscribe> >> csound"
> > > >>
> > > >
> > > >
> > > > Send bugs reports to this list.
> > > > To unsubscribe, send email sympa@lists.bath.ac.uk with body
> > "unsubscribe> > csound"
> > >
> > >
> > >
> > > Send bugs reports to this list.
> > > To unsubscribe, send email sympa@lists.bath.ac.uk with body
> > "unsubscribe csound"
> > >
> >
> >
> > Send bugs reports to this list.
> > To unsubscribe, send email sympa@lists.bath.ac.uk with body
> > "unsubscribe csound"
|