[Pkg-octave-devel] SWIG
Ólafur Jens Sigurðsson
ojsbug at gmail.com
Mon May 12 09:59:54 UTC 2008
On Mon, May 12, 2008 at 03:08:15AM +0200, Rafael Laboissiere wrote:
> * Ólafur Jens Sigurðsson <ojsbug at gmail.com> [2008-05-12 01:58]:
>
> > [...] I tried to install the ann package on my system and it installed fine
> > without me having SWIG installed.
>
> I cannot build the package without applying the patch below. Is this the
> case for yout, too?
>
> --- octave-ann-1.0.orig/src/ann/Make-config
> +++ octave-ann-1.0/src/ann/Make-config
> @@ -72,7 +72,7 @@
> $(MAKE) targets \
> "ANNLIB = libANN.a" \
> "C++ = g++" \
> - "CFLAGS = -O3" \
> + "CFLAGS = -O3 -fPIC" \
> "MAKELIB = ar ruv" \
> "RANLIB = true"
Nope, builds fine for me without the patch.
It should not be an issue since all -fPIC does is create
position-independent code (PIC) which should be an option, not a
requirement right?
Oli
More information about the Pkg-octave-devel
mailing list