| By the way, forget what I said about lib_csnd.a; the _csnd.so bundle does
not need to link to it. Just libcsound.a.
Victor
----- Original Message -----
From: "Peterson, Julian"
To:
Sent: Saturday, February 09, 2008 7:49 PM
Subject: [Csnd] RE: Re: Re: Re: : building csound problem in OS X
Thanks Victor. I can't right this minute but I'll experiment with this. If
I get it to build I'll send you a list of the changes I made to the
SConstruct file, if you think that will help.
I noticed that in the SConstruct file it specifies which python libs to use
in several locations-- it might be cleaner if this were taken care of in one
location for both the interfaces and the python opcodes (no trouble building
those, by the way). I hate to make suggestions of this sort because I'm not
terribly familiar with scons and don't know if I'm overlooking some greater
wisdom.
I did have to make a few changes to install.py as well. I'll clean them up
and if they look like they may be useful to more individuals than just
myself I'll post the modified file on this list.
Thanks,
JP
-----Original Message-----
From: victor [mailto:Victor.Lazzarini@nuim.ie]
Sent: Sat 2/9/2008 1:09 PM
To: csound@lists.bath.ac.uk
Subject: [Csnd] Re: Re: Re: : building csound problem in OS X
Yes, that is a known problem, I have to fix _csnd.so
to link to the static csoundlib, when linking it. So what you
need to do, if you want to try is to: make scons
1) build a static interfaces library lib_csnd.a
2) link to libcsound.a and lib_csnd.a
(LIBS=['csound',' _csnd'), when it builds the _csnd.so bundle.
I will do these changes as soon as I have sometime at work,
but you're welcome to try.
I thought the csladspa build was OK now, since my
last fix yesterday., but I'll have to check.
It's my fault that I have not been maintaining the static build,
as I keep forgetting about it. I'll try to get it right.
custom.py changes are fine, they should reflect your system. But
I am reluctant to add any custom changes to SConstruct in CVS
(you should be able to get around everything by using custom.py).
Victor
----- Original Message -----
From: "Julian Peterson"
To:
Sent: Saturday, February 09, 2008 4:29 PM
Subject: [Csnd] Re: Re: : building csound problem in OS X
> 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"
>
>
>
> 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"
|