William S Fulton | 4 Feb 2009 21:47
Picon
Favicon
Gravatar

Re: ANNOUNCE - swig-1.3.38

Marijn Schouten (hkBst) wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> William S Fulton wrote:
>> *** ANNOUNCE: SWIG 1.3.38 (31 January 2009) ***
>>
>> http://www.swig.org
>>
>>
>> We're pleased to announce SWIG-1.3.38, the latest installment in the
>> SWIG development effort.  SWIG-1.3.38 includes a number of bug fixes
>> and enhancements.
> 
> I had a problem building swig-1.3.38:
> 
> 
> checking for gzdopen in -lz... yes
> 
> configure: creating ./config.status
> 
> config.status: creating Makefile
> 
> config.status: creating config.h
> 
> make -j2
> 
> test -z "1" || (cd CCache && make)
> 
> make[1]: Entering directory
> `/var/tmp/portage/dev-lang/swig-1.3.38/work/swig-1.3.38/CCache'
> 
> x86_64-pc-linux-gnu-gcc -march=core2 -O2 -pipe -Wall -W -I.   -c -o ccache.o
> ccache.c
> make[1]: Entering directory
> `/var/tmp/portage/dev-lang/swig-1.3.38/work/swig-1.3.38/Source'
> 
> Makefile:191: *** missing separator.  Stop.
> 
> make[1]: Leaving directory
> `/var/tmp/portage/dev-lang/swig-1.3.38/work/swig-1.3.38/Source'
> 
> make: *** [source] Error 2
> 
> make: *** Waiting for unfinished jobs....
> 
> 
> I figure the solution is:
> 
> 
> - --- Makefile.in.old     2009-02-02 17:29:13.000000000 +0100
> 
> +++ Makefile.in 2009-02-02 17:29:13.000000000 +0100
> 
>  <at>  <at>  -187,7 +187,7  <at>  <at> 
> 
>          <at> echo $(ACTION)ing Examples/GIFPlot/Lib
> 
>          <at> cd Examples/GIFPlot/Lib && $(MAKE) -k -s $(ACTION)
> 
> 
> 
> - -check-gifplot:                                 \
> 
> +check-gifplot:
> 
>         check-tcl-gifplot                       \
> 
>         check-perl5-gifplot                     \
> 
>         check-python-gifplot                    \
> 
> 
> 
> but I cannot test that because when I tried to run autoconf I got:
> 
> 
> configure.in:31: error: possibly undefined macro: AC_COMPILE_WARNINGS
>       If this token and others are legitimate, please use m4_pattern_allow.
>       See the Autoconf documentation.
> configure.in:1461: error: possibly undefined macro: AC_COMPARE_VERSION
> configure.in:2138: error: possibly undefined macro: AC_DEFINE_DIR
> 
> 
> I'm using autoconf-2.63.
Are you using GNU make? Perhaps you've got GNU make, but something later 
than 3.81? I use autoconf-2.61 which works great. Rather than running 
autoreconf, please run ./autogen.sh. Alternatively, modify just the 
Makefile, then you won't need to rerun configure. But essentially your 
modification won't work and I can't see what your problem is if you are 
using GNU make... try running without -j2 as there might be a parallel 
problem, although I regularly do parallel builds.

William

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com

Gmane