Comment 4 for bug 10094

Revision history for this message
In , Torsten Landschoff (torsten) wrote : Re: Bug#280500: swig1.3: FTBFS: missing build dependency

Hi Roland,

On Tue, Nov 09, 2004 at 11:03:51PM +0100, Roland Stigge wrote:
> building the package swig1.3 in a clean build environment
> (with pbuilder) on i386 results in:
...
> gcc -shared .libs/libswigchicken_la-libchicken.o /usr/lib/libchicken.so /usr/lib/libstuffed-chicken.so /usr/lib/libsrfi-chicken.so -lm -lpcre -ldl -Wl,-soname -Wl,libswigchicken-1.3.22.so -o .libs/libswigchicken-1.3.22.so
> /usr/bin/ld: cannot find -lpcre
> collect2: ld returned 1 exit status
> make[2]: *** [libswigchicken.la] Error 1
> make[2]: Leaving directory `/tmp/buildd/swig1.3-1.3.22/Runtime'
> make[1]: *** [runtime] Error 2
> make[1]: Leaving directory `/tmp/buildd/swig1.3-1.3.22'
> make: *** [build-stamp] Error 2
> =========================================================================
>
> Adding libpcre3-dev to Build-Deps helps. :)

I disagree this is a bug in swig. Rather chicken-dev should pull
libpcre3-dev as well because without it you can't build chicken
extensions. Might be that chicken programs work but I'll see what the
chicken maintainer thinks.

As a workaround I added the build dep in subversion. The next upload
will include that change.

Greetings

 Torsten