|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
libsndfile bundling (was Re: [sc-users] build from source problem)2009/4/19, Josh Parmenter <josh@...>:
> In the build script (the command lines to the XCode projects), is there a > way to say PPC or i386 only? This would avoid the libsndfile conflict > problem. We could/should do this, yes > Actually, perhaps only those of us who build to distribute need the special > libsndfile.... perhaps we should think about changing this. DEFINITELY. Actually the libsndfile inclusion is highly problematic: the sndfile.h is mac-specific. On windows you need to overwrite it with the windows-specific file, and if you don't know that this is needed, you get weird errors. Also including binary libs in the "main" source tree is a pain in the arse because it ends up being (pointlessly) included in e.g. source bundles, where for example a linux user will download it and it'll be twice the size because of binary libs for machines they aren't using. I was going to post-3.3 suggest moving it out of the main "trunk" folder into some separate "aux/mac/libsndfile" folder or something. Maybe let's discuss it now. What do you reckon? Dan > On Apr 19, 2009, at 11:39 AM, Aaron Gervais wrote: > > > > I did use the script, so that's not the issue. I will try uninstalling > libsndfile and doing it that way. > > > > thx > > a > > > > On 19 Apr 2009, at 11:25:29AM, Dan Stowell wrote: > > > > > > > Hi - > > > > > > You don't need to build "SuperColliderAU" unless you want to (it > > > provides scsynth as an Audio Unit). > > > > > > 2009/4/19, Aaron Gervais <aaron.gervais@...>: > > > > > > > Hi All, > > > > > > > > I've been trying off and on for the past few weeks to build from > source > > > > without luck. About a month ago, I switched out the hard drive in my > MacBook > > > > Pro (1st gen), reinstalled Leopard and XCode from scratch on the new > drive, > > > > and migrated my data back in. So I've got a squeaky clean OS but I'm > unable > > > > to build SuperCollider, either with the scripts or manually in XCode. > I > > > > tried installing libsndfile but that didn't help. Any suggestions? > I've > > > > tried maybe 4 or 5 different svn checkouts now, I always get the same > > > > message: > > > > > > > > PhaseScriptExecution > > > > "/Applications/SuperCollider3/Intermediate Build > > > > > Files/SuperColliderAU.build/Script-D5F6AB340EF42BC4002DDA8C.sh" > > > > cd /Applications/SuperCollider3 > > > > /bin/sh -c > "\"/Applications/SuperCollider3/Intermediate > > > > Build > > > > > Files/SuperColliderAU.build/Script-D5F6AB340EF42BC4002DDA8C.sh\"" > > > > cp: /Applications/SuperCollider3/build/plugins/*.scx: > No > > > > such file or directory > > > > > > > > > > > > > This error message suggests that you're building "SuperColliderAU" > > > without first building the "Plugins" target (since the missing *.scx > > > files are the plugins that get built by the Plugins target). > > > > > > I would have thought that the SuperColliderAU should not be included > > > in a default build, unless you ask for it, but maybe it ended up > > > getting included. > > > > > > Did you use Xcode GUI to build, or did you use the script? > > > > > > If not, maybe try the script and see if it works. In a Terminal do > > > something similar to this: > > > > > > cd SuperCollider3 > > > ./compile.sh > > > > > > Let us know if that works for you... > > > > > > Dan > > > > > > > > > > > > > === BUILDING AGGREGATE TARGET All OF PROJECT Synth WITH CONFIGURATION > > > > Deployment NOT USING PER-CONFIGURATION BUILD DIRECTORIES === > > > > > > > > Checking Dependencies... > > > > ** BUILD FAILED ** > > > > > > > > The following build commands failed: > > > > scsynth: > > > > Ld "/Applications/SuperCollider3/Intermediate > Build > > > > Files/scsynth.build/Objects-normal/ppc/scsynth" > normal ppc > > > > SuperColliderAU: > > > > Ld "/Applications/SuperCollider3/Intermediate > Build > > > > > Files/SuperColliderAU.build/Objects-normal/ppc/SuperColliderAU" > > > > normal ppc > > > > (2 failures) > > > > > > > > > > > > Thanks, > > > > Aaron > > > > > > > > _______________________________________________ > > > > sc-users mailing list > > > > > > > > info (subscription, etc.): > > > > > http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml > > > > archive: > http://www.listarc.bham.ac.uk/marchives/sc-users/ > > > > search: > > > > http://www.listarc.bham.ac.uk/lists/sc-users/search/ > > > > > > > > > > > > > > > > > -- > > > http://www.mcld.co.uk > > > > > > _______________________________________________ > > > sc-users mailing list > > > > > > info (subscription, etc.): > http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml > > > archive: > http://www.listarc.bham.ac.uk/marchives/sc-users/ > > > search: > http://www.listarc.bham.ac.uk/lists/sc-users/search/ > > > > > > > > > _______________________________________________ > > sc-users mailing list > > > > info (subscription, etc.): > http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml > > archive: > http://www.listarc.bham.ac.uk/marchives/sc-users/ > > search: > http://www.listarc.bham.ac.uk/lists/sc-users/search/ > > > > ****************************************** > /* Joshua D. Parmenter > http://www.realizedsound.net/josh/ > > “Every composer – at all times and in all cases – gives his own > interpretation of how modern society is structured: whether actively or > passively, consciously or unconsciously, he makes choices in this regard. He > may be conservative or he may subject himself to continual renewal; or he > may strive for a revolutionary, historical or social palingenesis." - Luigi > Nono > */ > > > > _______________________________________________ > sc-users mailing list > > info (subscription, etc.): > http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml > archive: http://www.listarc.bham.ac.uk/marchives/sc-users/ > search: > http://www.listarc.bham.ac.uk/lists/sc-users/search/ > -- http://www.mcld.co.uk _______________________________________________ sc-dev mailing list info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml archive: http://www.listarc.bham.ac.uk/marchives/sc-dev/ search: http://www.listarc.bham.ac.uk/lists/sc-dev/search/ |
|
|
Re: libsndfile bundling (was Re: [sc-users] build from source problem)well - I have both intel and PPC. We can-
-make XCode projects platform specific again -I'll install libsndfile on both my machines and... -make PPC and intel builds separate this also allows for more up to date libsndfile. we remove libsndfile from the source. I don't mind doing this. Others? Josh On Apr 19, 2009, at 12:09 PM, Dan Stowell wrote: > 2009/4/19, Josh Parmenter <josh@...>: >> In the build script (the command lines to the XCode projects), is >> there a >> way to say PPC or i386 only? This would avoid the libsndfile conflict >> problem. > > We could/should do this, yes > >> Actually, perhaps only those of us who build to distribute need the >> special >> libsndfile.... perhaps we should think about changing this. > > DEFINITELY. Actually the libsndfile inclusion is highly problematic: > the sndfile.h is mac-specific. On windows you need to overwrite it > with the windows-specific file, and if you don't know that this is > needed, you get weird errors. > > Also including binary libs in the "main" source tree is a pain in the > arse because it ends up being (pointlessly) included in e.g. source > bundles, where for example a linux user will download it and it'll be > twice the size because of binary libs for machines they aren't using. > > I was going to post-3.3 suggest moving it out of the main "trunk" > folder into some separate "aux/mac/libsndfile" folder or something. > Maybe let's discuss it now. What do you reckon? > > Dan > > >> On Apr 19, 2009, at 11:39 AM, Aaron Gervais wrote: >> >> >>> I did use the script, so that's not the issue. I will try >>> uninstalling >> libsndfile and doing it that way. >>> >>> thx >>> a >>> >>> On 19 Apr 2009, at 11:25:29AM, Dan Stowell wrote: >>> >>> >>>> Hi - >>>> >>>> You don't need to build "SuperColliderAU" unless you want to (it >>>> provides scsynth as an Audio Unit). >>>> >>>> 2009/4/19, Aaron Gervais <aaron.gervais@...>: >>>> >>>>> Hi All, >>>>> >>>>> I've been trying off and on for the past few weeks to build from >> source >>>>> without luck. About a month ago, I switched out the hard drive >>>>> in my >> MacBook >>>>> Pro (1st gen), reinstalled Leopard and XCode from scratch on the >>>>> new >> drive, >>>>> and migrated my data back in. So I've got a squeaky clean OS but >>>>> I'm >> unable >>>>> to build SuperCollider, either with the scripts or manually in >>>>> XCode. >> I >>>>> tried installing libsndfile but that didn't help. Any >>>>> suggestions? >> I've >>>>> tried maybe 4 or 5 different svn checkouts now, I always get the >>>>> same >>>>> message: >>>>> >>>>> PhaseScriptExecution >>>>> "/Applications/SuperCollider3/Intermediate Build >>>>> >> Files/SuperColliderAU.build/Script-D5F6AB340EF42BC4002DDA8C.sh" >>>>> cd /Applications/SuperCollider3 >>>>> /bin/sh -c >> "\"/Applications/SuperCollider3/Intermediate >>>>> Build >>>>> >> Files/SuperColliderAU.build/Script-D5F6AB340EF42BC4002DDA8C.sh\"" >>>>> cp: /Applications/SuperCollider3/build/plugins/*.scx: >> No >>>>> such file or directory >>>>> >>>> >>>> >>>> This error message suggests that you're building "SuperColliderAU" >>>> without first building the "Plugins" target (since the missing >>>> *.scx >>>> files are the plugins that get built by the Plugins target). >>>> >>>> I would have thought that the SuperColliderAU should not be >>>> included >>>> in a default build, unless you ask for it, but maybe it ended up >>>> getting included. >>>> >>>> Did you use Xcode GUI to build, or did you use the script? >>>> >>>> If not, maybe try the script and see if it works. In a Terminal do >>>> something similar to this: >>>> >>>> cd SuperCollider3 >>>> ./compile.sh >>>> >>>> Let us know if that works for you... >>>> >>>> Dan >>>> >>>> >>>> >>>>> === BUILDING AGGREGATE TARGET All OF PROJECT Synth WITH >>>>> CONFIGURATION >>>>> Deployment NOT USING PER-CONFIGURATION BUILD DIRECTORIES === >>>>> >>>>> Checking Dependencies... >>>>> ** BUILD FAILED ** >>>>> >>>>> The following build commands failed: >>>>> scsynth: >>>>> Ld "/Applications/SuperCollider3/Intermediate >> Build >>>>> Files/scsynth.build/Objects-normal/ppc/scsynth" >> normal ppc >>>>> SuperColliderAU: >>>>> Ld "/Applications/SuperCollider3/Intermediate >> Build >>>>> >> Files/SuperColliderAU.build/Objects-normal/ppc/SuperColliderAU" >>>>> normal ppc >>>>> (2 failures) >>>>> >>>>> >>>>> Thanks, >>>>> Aaron >>>>> >>>>> _______________________________________________ >>>>> sc-users mailing list >>>>> >>>>> info (subscription, etc.): >>>>> >> http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml >>>>> archive: >> http://www.listarc.bham.ac.uk/marchives/sc-users/ >>>>> search: >>>>> http://www.listarc.bham.ac.uk/lists/sc-users/search/ >>>>> >>>>> >>>> >>>> >>>> -- >>>> http://www.mcld.co.uk >>>> >>>> _______________________________________________ >>>> sc-users mailing list >>>> >>>> info (subscription, etc.): >> http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml >>>> archive: >> http://www.listarc.bham.ac.uk/marchives/sc-users/ >>>> search: >> http://www.listarc.bham.ac.uk/lists/sc-users/search/ >>>> >>> >>> >>> _______________________________________________ >>> sc-users mailing list >>> >>> info (subscription, etc.): >> http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml >>> archive: >> http://www.listarc.bham.ac.uk/marchives/sc-users/ >>> search: >> http://www.listarc.bham.ac.uk/lists/sc-users/search/ >>> >> >> ****************************************** >> /* Joshua D. Parmenter >> http://www.realizedsound.net/josh/ >> >> “Every composer – at all times and in all cases – gives his own >> interpretation of how modern society is structured: whether >> actively or >> passively, consciously or unconsciously, he makes choices in this >> regard. He >> may be conservative or he may subject himself to continual renewal; >> or he >> may strive for a revolutionary, historical or social palingenesis." >> - Luigi >> Nono >> */ >> >> >> >> _______________________________________________ >> sc-users mailing list >> >> info (subscription, etc.): >> http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml >> archive: http://www.listarc.bham.ac.uk/marchives/sc-users/ >> search: >> http://www.listarc.bham.ac.uk/lists/sc-users/search/ >> > > > -- > http://www.mcld.co.uk > > _______________________________________________ > sc-dev mailing list > > info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml > archive: http://www.listarc.bham.ac.uk/marchives/sc-dev/ > search: http://www.listarc.bham.ac.uk/lists/sc-dev/search/ ****************************************** /* Joshua D. Parmenter http://www.realizedsound.net/josh/ “Every composer – at all times and in all cases – gives his own interpretation of how modern society is structured: whether actively or passively, consciously or unconsciously, he makes choices in this regard. He may be conservative or he may subject himself to continual renewal; or he may strive for a revolutionary, historical or social palingenesis." - Luigi Nono */ _______________________________________________ sc-dev mailing list info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml archive: http://www.listarc.bham.ac.uk/marchives/sc-dev/ search: http://www.listarc.bham.ac.uk/lists/sc-dev/search/ |
|
|
Re: libsndfile bundling (was Re: [sc-users] build from source problem)Well IMO we should still be willing-and-able to run UB builds on a
single machine (greatly reduces dev hassle), but we should make sure users can build non-UB if they want. I've checked in a tweak to ./compile.sh and ./clean-compile.sh (svn rev 9078) which enables this. Have a look and see what you think. It is convenient to have a UB libsndfile available, and keeping it in SVN is fine, but it should be outside of the "trunk" for the reasons I've mentioned... I wouldn't vote for removing it altogether. Dan 2009/4/19, Josh Parmenter <josh@...>: > well - I have both intel and PPC. We can- > > -make XCode projects platform specific again > -I'll install libsndfile on both my machines and... > -make PPC and intel builds separate > > this also allows for more up to date libsndfile. we remove libsndfile from > the source. > > I don't mind doing this. Others? > > Josh > > > On Apr 19, 2009, at 12:09 PM, Dan Stowell wrote: > > > > > > 2009/4/19, Josh Parmenter <josh@...>: > > > > > In the build script (the command lines to the XCode projects), is there > a > > > way to say PPC or i386 only? This would avoid the libsndfile conflict > > > problem. > > > > > > > We could/should do this, yes > > > > > > > Actually, perhaps only those of us who build to distribute need the > special > > > libsndfile.... perhaps we should think about changing this. > > > > > > > DEFINITELY. Actually the libsndfile inclusion is highly problematic: > > the sndfile.h is mac-specific. On windows you need to overwrite it > > with the windows-specific file, and if you don't know that this is > > needed, you get weird errors. > > > > Also including binary libs in the "main" source tree is a pain in the > > arse because it ends up being (pointlessly) included in e.g. source > > bundles, where for example a linux user will download it and it'll be > > twice the size because of binary libs for machines they aren't using. > > > > I was going to post-3.3 suggest moving it out of the main "trunk" > > folder into some separate "aux/mac/libsndfile" folder or something. > > Maybe let's discuss it now. What do you reckon? > > > > Dan > > > > > > > > > On Apr 19, 2009, at 11:39 AM, Aaron Gervais wrote: > > > > > > > > > > > > > I did use the script, so that's not the issue. I will try uninstalling > > > > > > > libsndfile and doing it that way. > > > > > > > > > > > thx > > > > a > > > > > > > > On 19 Apr 2009, at 11:25:29AM, Dan Stowell wrote: > > > > > > > > > > > > > > > > > Hi - > > > > > > > > > > You don't need to build "SuperColliderAU" unless you want to (it > > > > > provides scsynth as an Audio Unit). > > > > > > > > > > 2009/4/19, Aaron Gervais <aaron.gervais@...>: > > > > > > > > > > > > > > > > Hi All, > > > > > > > > > > > > I've been trying off and on for the past few weeks to build from > > > > > > > > > > > > > > > > > > source > > > > > > > > > > > > > > > > > > without luck. About a month ago, I switched out the hard drive in > my > > > > > > > > > > > > > > > > > > MacBook > > > > > > > > > > > > > > > > > > Pro (1st gen), reinstalled Leopard and XCode from scratch on the > new > > > > > > > > > > > > > > > > > > drive, > > > > > > > > > > > > > > > > > > and migrated my data back in. So I've got a squeaky clean OS but > I'm > > > > > > > > > > > > > > > > > > unable > > > > > > > > > > > > > > > > > > to build SuperCollider, either with the scripts or manually in > XCode. > > > > > > > > > > > > > > > > > > I > > > > > > > > > > > > > > > > > > tried installing libsndfile but that didn't help. Any > suggestions? > > > > > > > > > > > > > > > > > > I've > > > > > > > > > > > > > > > > > > tried maybe 4 or 5 different svn checkouts now, I always get the > same > > > > > > message: > > > > > > > > > > > > PhaseScriptExecution > > > > > > "/Applications/SuperCollider3/Intermediate Build > > > > > > > > > > > > > > > > > > > > > > > > > Files/SuperColliderAU.build/Script-D5F6AB340EF42BC4002DDA8C.sh" > > > > > > > > > > > > > > > > > > cd /Applications/SuperCollider3 > > > > > > /bin/sh -c > > > > > > > > > > > > > > > > > > "\"/Applications/SuperCollider3/Intermediate > > > > > > > > > > > > > > > > > > Build > > > > > > > > > > > > > > > > > > > > > > > > > Files/SuperColliderAU.build/Script-D5F6AB340EF42BC4002DDA8C.sh\"" > > > > > > > > > > > > > > > > > > cp: > /Applications/SuperCollider3/build/plugins/*.scx: > > > > > > > > > > > > > > > > > > No > > > > > > > > > > > > > > > > > > such file or directory > > > > > > > > > > > > > > > > > > > > > > > > > > > This error message suggests that you're building "SuperColliderAU" > > > > > without first building the "Plugins" target (since the missing *.scx > > > > > files are the plugins that get built by the Plugins target). > > > > > > > > > > I would have thought that the SuperColliderAU should not be included > > > > > in a default build, unless you ask for it, but maybe it ended up > > > > > getting included. > > > > > > > > > > Did you use Xcode GUI to build, or did you use the script? > > > > > > > > > > If not, maybe try the script and see if it works. In a Terminal do > > > > > something similar to this: > > > > > > > > > > cd SuperCollider3 > > > > > ./compile.sh > > > > > > > > > > Let us know if that works for you... > > > > > > > > > > Dan > > > > > > > > > > > > > > > > > > > > > > > > > > === BUILDING AGGREGATE TARGET All OF PROJECT Synth WITH > CONFIGURATION > > > > > > Deployment NOT USING PER-CONFIGURATION BUILD DIRECTORIES === > > > > > > > > > > > > Checking Dependencies... > > > > > > ** BUILD FAILED ** > > > > > > > > > > > > The following build commands failed: > > > > > > scsynth: > > > > > > Ld "/Applications/SuperCollider3/Intermediate > > > > > > > > > > > > > > > > > > Build > > > > > > > > > > > > > > > > > > Files/scsynth.build/Objects-normal/ppc/scsynth" > > > > > > > > > > > > > > > > > > normal ppc > > > > > > > > > > > > > > > > > > SuperColliderAU: > > > > > > Ld "/Applications/SuperCollider3/Intermediate > > > > > > > > > > > > > > > > > > Build > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Files/SuperColliderAU.build/Objects-normal/ppc/SuperColliderAU" > > > > > > > > > > > > > > > > > > normal ppc > > > > > > (2 failures) > > > > > > > > > > > > > > > > > > Thanks, > > > > > > Aaron > > > > > > > > > > > > _______________________________________________ > > > > > > sc-users mailing list > > > > > > > > > > > > info (subscription, etc.): > > > > > > > > > > > > > > > > > > > > > > > > > http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml > > > > > > > > > > > > > > > > > > archive: > > > > > > > > > > > > > > > > > > http://www.listarc.bham.ac.uk/marchives/sc-users/ > > > > > > > > > > > > > > > > > > search: > > > > > > > http://www.listarc.bham.ac.uk/lists/sc-users/search/ > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > http://www.mcld.co.uk > > > > > > > > > > _______________________________________________ > > > > > sc-users mailing list > > > > > > > > > > info (subscription, etc.): > > > > > > > > > > > > > http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml > > > > > > > > > > > > archive: > > > > > > > > > > > > http://www.listarc.bham.ac.uk/marchives/sc-users/ > > > > > > > > > > > > search: > > > > > > > > > > > > http://www.listarc.bham.ac.uk/lists/sc-users/search/ > > > > > > > > > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > sc-users mailing list > > > > > > > > info (subscription, etc.): > > > > > > > > http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml > > > > > > > archive: > > > > > > > http://www.listarc.bham.ac.uk/marchives/sc-users/ > > > > > > > search: > > > > > > > http://www.listarc.bham.ac.uk/lists/sc-users/search/ > > > > > > > > > > > > > > > > > ****************************************** > > > /* Joshua D. Parmenter > > > http://www.realizedsound.net/josh/ > > > > > > “Every composer – at all times and in all cases – gives his own > > > interpretation of how modern society is structured: whether actively or > > > passively, consciously or unconsciously, he makes choices in this > regard. He > > > may be conservative or he may subject himself to continual renewal; or > he > > > may strive for a revolutionary, historical or social palingenesis." - > Luigi > > > Nono > > > */ > > > > > > > > > > > > _______________________________________________ > > > sc-users mailing list > > > > > > info (subscription, etc.): > > > > http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml > > > archive: > http://www.listarc.bham.ac.uk/marchives/sc-users/ > > > search: > > > http://www.listarc.bham.ac.uk/lists/sc-users/search/ > > > > > > > > > > > > -- > > http://www.mcld.co.uk > > > > _______________________________________________ > > sc-dev mailing list > > > > info (subscription, etc.): > http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml > > archive: http://www.listarc.bham.ac.uk/marchives/sc-dev/ > > search: > http://www.listarc.bham.ac.uk/lists/sc-dev/search/ > > > > ****************************************** > /* Joshua D. Parmenter > http://www.realizedsound.net/josh/ > > “Every composer – at all times and in all cases – gives his own > interpretation of how modern society is structured: whether actively or > passively, consciously or unconsciously, he makes choices in this regard. He > may be conservative or he may subject himself to continual renewal; or he > may strive for a revolutionary, historical or social palingenesis." - Luigi > Nono > */ > > > _______________________________________________ > sc-dev mailing list > > info (subscription, etc.): > http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml > archive: http://www.listarc.bham.ac.uk/marchives/sc-dev/ > search: http://www.listarc.bham.ac.uk/lists/sc-dev/search/ > -- http://www.mcld.co.uk _______________________________________________ sc-dev mailing list info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml archive: http://www.listarc.bham.ac.uk/marchives/sc-dev/ search: http://www.listarc.bham.ac.uk/lists/sc-dev/search/ |
| Free embeddable forum powered by Nabble | Forum Help |