[PD-dev] tclpd not building

Hans-Christoph Steiner hans at at.or.at
Fri Jun 12 21:24:49 CEST 2009


On Jun 12, 2009, at 3:09 PM, mescalinum at gmail.com wrote:

> 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

Commit any changes directly.  Feel free to revert my changes if you  
don't like them.  I can't maintain any more code, I am already  
overwhelmed.  So you'll have to take it from here.  If you don't want  
to do it, we can just remove it from the nightly auto-build.

Its up to you.

.hc

>
>
> 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
>>
>
>
> _______________________________________________
> Pd-dev mailing list
> Pd-dev at iem.at
> http://lists.puredata.info/listinfo/pd-dev



----------------------------------------------------------------------------

I spent 33 years and four months in active military service and during  
that period I spent most of my time as a high class muscle man for Big  
Business, for Wall Street and the bankers.      - General Smedley Butler






More information about the Pd-dev mailing list