[Pkg-octave-devel] SWIG

Rafael Laboissiere rafael at debian.org
Mon May 12 01:08:15 UTC 2008


* Ó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"
	

-- 
Rafael



More information about the Pkg-octave-devel mailing list