[PD-dev] tclpd not building
mescalinum at gmail.com
mescalinum at gmail.com
Fri Jun 12 21:09:36 CEST 2009
Hans-Christoph Steiner wrote:
>
> From the auto-build logs:
>
> cd /home/pd/auto-build/pd-extended/externals/tclpd && make
> make[3]: Entering directory
> `/home/pd/auto-build/pd-extended/externals/tclpd'
> swig -v -c++ -tcl -o tcl_wrap.cxx -I../../pd/src -I/usr/include
> -I/usr/include/tcl8.4 /usr/include/tcl8.5 tcl.i
> swig error : Unrecognized option /usr/include/tcl8.5
> Use 'swig -help' for available options.
>
http://pure-data.svn.sourceforge.net/viewvc/pure-data/trunk/externals/tclpd/Makefile?r1=10743&r2=10759
I would change:
TCL_INCLUDES := -I$(shell find /usr/include -name tcl.h | grep -v
private | sed 's|/tcl.h$$||')
in:
TCL_INCLUDES := $(shell find /usr/include -name tcl.h | grep -v private
| sed -e 's|/tcl.h$$||' -e 's|^|-I|')
so that works for multiple include paths (do we really need that?)
or in:
TCL_INCLUDES := -I$(shell find /usr/include -name tcl.h | grep -v
private | sort | sed -e 's|/tcl.h$$||' | tail -n1)
so that picks only one line.
you broke it, you fix it ;-P
ciao
Federico
> .hc
>
> ----------------------------------------------------------------------------
>
>
> "It is convenient to imagine a power beyond us because that means we
> don't have to examine our own lives.", from "The Idols of
> Environmentalism", by Curtis White
>
>
>
>
>
> _______________________________________________
> Pd-dev mailing list
> Pd-dev at iem.at
> http://lists.puredata.info/listinfo/pd-dev
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 261 bytes
Desc: OpenPGP digital signature
URL: <http://lists.puredata.info/pipermail/pd-dev/attachments/20090612/bea48caf/attachment.pgp>
More information about the Pd-dev
mailing list