[Python-modules-team] Bug#663403: FTBFS: cannot find -lgeos
Francesco P. Lovergine
frankie at debian.org
Fri Mar 16 23:43:39 UTC 2012
Package: basemap
Version: 1.0.2-1
Followup-For: Bug #663403
This is a patch for the problem of re-linking the c++ geos lib:
Index: basemap-1.0.2/setup.py
===================================================================
--- basemap-1.0.2.orig/setup.py 2012-03-17 00:04:45.000000000 +0100
+++ basemap-1.0.2/setup.py 2012-03-17 00:13:03.000000000 +0100
@@ -77,14 +77,14 @@
extensions.append(Extension("_geoslib",['src/_geoslib.c'],
library_dirs=geos_library_dirs,
include_dirs=geos_include_dirs,
- libraries=['geos_c','geos']))
+ libraries=['geos_c']))
else:
#extensions.append(Extension("mpl_toolkits.basemap._geoslib",['src/_geoslib.c'],
extensions.append(Extension("_geoslib",['src/_geoslib.c'],
library_dirs=geos_library_dirs,
runtime_library_dirs=geos_library_dirs,
include_dirs=geos_include_dirs,
- libraries=['geos_c','geos']))
+ libraries=['geos_c']))
# Specify all the required mpl data
# create pyproj binary datum shift grid files.
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 3.2.0-2-686-pae (SMP w/1 CPU core)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
More information about the Python-modules-team
mailing list