[PD] Errors building PD from source

Luke Iannini lukexipd at gmail.com
Thu Jul 2 11:19:49 CEST 2009


On Wed, Jul 1, 2009 at 7:34 PM, Ian Andrews<ian at ian-andrews.org> wrote:
> Hi All,
>
> I'm trying to build Pd-0.42-5 on Mac OSX 10.5.5 intel (tk/tcl8.5.7) It
> compiles ok but when I go to make it gives the following errors:
>
> /SDKs/MacOSX10.4u.sdk             -arch i386 -arch ppc -Wno-error -O2  -o
> ../bin/pd-watchdog s_watchdog.c
> ld: library not found for -lcrt1.10.5.o
> ld: library not found for -lcrt1.10.5.o
> collect2: ld returned 1 exit status
> collect2: ld returned 1 exit status
> lipo: can't open input file:
> /var/folders/JJ/JJlSAMjyENGNhM-Li9ZWvE+++TI/-Tmp-//ccl7yaI2.out (No such
> file or directory)
> make: *** [../bin/pd-watchdog] Error 1
>
> As far as I can see from the man file ld searches first in /usr/lib. In
> /usr/lib there is a file called crt1.10.5.o
>
> Anyone know what's going on?
Yo, I think I saw this long ago, anyway, looks like the solution is here
http://lists.apple.com/archives/Xcode-users/2007/Oct/msg00696.html

>
> I have also tried compiling Pd-0.41.4-extended but contrary to the install
> instructions there is no configure file in the src directory , just
> configure.in. Not quite sure how to proceed here.
>
> Before anyone says 'why not use the binary' I'm building from source because
> I want to be able to start up PD from a shell script with various flags. IOW
> I need PD to start up and load a patch, set the correct output device, etc.
> automatically and reliably. Its for a gallery installation.  Any suggestion
> of alternative strategies would be welcome.
(and, by the way, you can still run Pd from a shell script by (if Pd
is Pd-extended.app) running
"/Applications/Pd-extended.app/Contents/Resources/bin/pd" - everything
else will work as usual.  Finally, you can also, I think, add items to
the "startup flags:" box in "Preferences>Startup..." or use a ~/.pdrc
file (which is just the flags you want to pass, one flag per line))

Best
Luke

>
> I'm fairly new to pd but I have been building from source on Macosx and
> linux for a few years. Usually I can work it out. This time I'm really
> stuck.
>
> ian
>
> _______________________________________________
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>




More information about the Pd-list mailing list