[PD] pdlua compiling on mac
Hans-Christoph Steiner
hans at eds.org
Wed Nov 28 22:52:50 CET 2007
Here's the key error line:
> ld: file not found: /Users/marius/devel/pd-rsync/pd-extended/pd/bin/pd
You need to build Pd first:
cd /Users/marius/devel/pd-rsync/pd-extended/pd/src
autoconf
./configure
make
now:
cd /Users/marius/devel/pd-rsync/pd-extended/externals/hcs
make
.hc
On Nov 28, 2007, at 4:30 PM, marius schebella wrote:
> hi (hans),
> I grabed what I thout is the pd-extended build system from
> rsync -av --delete rsync://128.238.56.50/distros/pd-extended/ pd-
> extended/
> when I cd to hcs (or any other directory I tested) and run make, I
> get a bunch of errors
>
>
> marius-schebellas-computer:hcs marius$ make
> make -C /Users/marius/devel/pd-rsync/pd-extended/externals hcs
> cc -DPD -O2 -I/Users/marius/devel/pd-rsync/pd-extended/pd/src -Wall
> -W -ggdb -I/sw/include -DMACOSX -DUNIX -Dunix -o "/Users/marius/
> devel/pd-rsync/pd-extended/externals/hcs/canvas_name.o" -c "/Users/
> marius/devel/pd-rsync/pd-extended/externals/hcs/canvas_name.c"
> cc -bundle -bundle_loader /Users/marius/devel/pd-rsync/pd-extended/
> pd/bin/pd -L/sw/lib -weak_framework Carbon -o "/Users/marius/devel/
> pd-rsync/pd-extended/externals/hcs/canvas_name.pd_darwin" "/Users/
> marius/devel/pd-rsync/pd-extended/externals/hcs/canvas_name.o" -lm -
> lc \
> `test -f /Users/marius/devel/pd-rsync/pd-extended/externals/hcs/
> canvas_name.libs && cat /Users/marius/devel/pd-rsync/pd-extended/
> externals/hcs/canvas_name.libs` \
> `my_dylib=hcs; test -f /Users/marius/devel/pd-rsync/pd-extended/
> externals/hcs/lib${my_dylib}.dylib && echo -L/Users/marius/devel/pd-
> rsync/pd-extended/externals/hcs -l$my_dylib` \
> `my_obj=hcs; test -f /Users/marius/devel/pd-rsync/pd-extended/
> externals/hcs/shared/${my_obj}.o && echo /Users/marius/devel/pd-
> rsync/pd-extended/externals/hcs/shared/${my_obj}.o` \
> `test -f /Users/marius/devel/pd-rsync/pd-extended/externals/
> hcs/../darwin/canvas_name.libs && \
> cat /Users/marius/devel/pd-rsync/pd-extended/externals/hcs/../
> darwin/canvas_name.libs`
> ld: file not found: /Users/marius/devel/pd-rsync/pd-extended/pd/bin/pd
> collect2: ld returned 1 exit status
> make[1]: *** [/Users/marius/devel/pd-rsync/pd-extended/externals/
> hcs/canvas_name.pd_darwin] Error 1
> rm /Users/marius/devel/pd-rsync/pd-extended/externals/hcs/
> canvas_name.o
> make: *** [default] Error 2
>
> need help,
> marius.
>
>
>
>
> Hans-Christoph Steiner wrote:
>> Put it in a folder that has the Pd-extended build system setup,
>> like "externals/hcs", then run "make" in that folder. That will
>> build it on your own machine.
>> Lua 5.0 is in Fink, so it can easily be added to Pd-extended, and
>> the build system will automatically included the Lua dylib into
>> the Pd.app. It seems like "externals/loaders/lua" would be a good
>> place for it.
>> .hc
>> On Nov 27, 2007, at 9:36 PM, marius schebella wrote:
>>> hi (hans),
>>> I am trying to compile a recent version of pdlua on my mac. I
>>> know that
>>> last time I did this by putting lua.c into pd-extended and
>>> compile it
>>> from there, but I don't know anymore, how that is done.
>>> the makefile that comes with the tarball does not work for os x,
>>> and I
>>> also don't know how and what to include.
>>> what needs to be done to include this in pd-extended. is this
>>> possible
>>> at all, since it relies on a lua installation. or could that also be
>>> included in the pdlua package, since these files are not very big.
>>> thanks,
>>> marius.
>>>
>>> _______________________________________________
>>> PD-list at iem.at mailing list
>>> UNSUBSCRIBE and account-management -> http://lists.puredata.info/
>>> listinfo/pd-list
>> ---------------------------------------------------------------------
>> ------- You can't steal a gift. Bird gave the world his music, and
>> if you can hear it, you can have it. - Dizzy Gillespie
------------------------------------------------------------------------
----
News is what people want to keep hidden and everything else is
publicity. - Bill Moyers
More information about the Pd-list
mailing list