[DebianGIS-dev] Bug#579987: FTBFS when python-setuptools is installed

Jeroen Dekkers jeroen at dekkers.ch
Sun May 2 20:42:08 UTC 2010


Package: libgdal1-1.6.0
Version: 1.6.3-3+b2
Severity: normal

GDAL fails to build when python-setuptools is installed. When I
uninstall python-setuptools it builds fine. The error I get is:

make[1]: Entering directory `/home/jeroen/src/debian/gdal-1.6.3/swig/python'
/usr/bin/python2.6 setup.py install
numpy include /usr/lib/python2.6/dist-packages/numpy/core/include
setup.py:78: DeprecationWarning: The popen2 module is deprecated.  Use the subprocess module.
  import popen2
running install
error: can't create or remove files in install directory

The following error occurred while trying to add or remove files in the
installation directory:

    [Errno 13] Permission denied: '/usr/local/lib/python2.6/dist-packages/test-easy-install-13219.write-test'

The installation directory you specified (via --install-dir, --prefix, or
the distutils default setting) was:

    /usr/local/lib/python2.6/dist-packages/

Perhaps your account does not have write access to this directory?  If the
installation directory is a system-owned directory, you may need to sign in
as the administrator or "root" account.  If you do not have administrative
access to this machine, you may wish to choose a different installation
directory, preferably one that is listed in your PYTHONPATH environment
variable.

For information on other options, you may wish to consult the
documentation at:
  
  http://peak.telecommunity.com/EasyInstall.html

Please make the appropriate changes for your system and try again.

make[1]: *** [install] Error 1
make[1]: Leaving directory `/home/jeroen/src/debian/gdal-1.6.3/swig/python'
make: *** [build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libgdal1-1.6.0 depends on:
ii  libc6                   2.10.2-6         Embedded GNU C Library: Shared lib
ii  libcurl3-gnutls         7.20.0-3+b1      Multi-protocol file transfer libra
ii  libexpat1               2.0.1-7          XML parsing C library - runtime li
ii  libgcc1                 1:4.4.2-9        GCC support library
ii  libgeos-c1              3.2.0-1          Geometry engine for Geographic Inf
ii  libgif4                 4.1.6-9          library for GIF images (library)
ii  libhdf4-0-alt           4.2r4-10         The Hierarchical Data Format libra
ii  libhdf5-serial-1.8.4 [l 1.8.4-patch1-1   Hierarchical Data Format 5 (HDF5) 
ii  libjasper1              1.900.1-7        The JasPer JPEG-2000 runtime libra
ii  libjpeg62               6b-16.1          The Independent JPEG Group's JPEG 
ii  libmysqlclient16        5.1.45-1         MySQL database client library
ii  libnetcdf4              1:3.6.3-1        An interface for scientific data a
ii  libogdi3.2              3.2.0~beta2-6    Open Geographic Datastore Interfac
ii  libpng12-0              1.2.43-1         PNG library - runtime
ii  libpq5                  8.4.3-1          PostgreSQL C client library
ii  libsqlite3-0            3.6.23.1-1       SQLite 3 shared library
ii  libstdc++6              4.4.2-9          The GNU Standard C++ Library v3
ii  libxerces-c28           2.8.0+deb1-2     validating XML parser library for 
ii  odbcinst1debian2        2.2.14p2-1       Support library for accessing odbc
ii  unixodbc                2.2.14p2-1       ODBC tools libraries
ii  zlib1g                  1:1.2.3.4.dfsg-3 compression library - runtime

Versions of packages libgdal1-1.6.0 recommends:
pn  proj-bin                      <none>     (no description available)

libgdal1-1.6.0 suggests no packages.

-- no debconf information





More information about the Pkg-grass-devel mailing list