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
> [email protected]
> http://lists.puredata.info/listinfo/pd-dev
>


Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Pd-dev mailing list
[email protected]
http://lists.puredata.info/listinfo/pd-dev

Reply via email to