First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 111164
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Steve Arnold <nerdboy@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Homme Zwaagstra <hrz@geodata.soton.ac.uk>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
gdal-1.3.1.ebuild.patch Patch fixing the python install path patch Homme Zwaagstra 2005-11-01 09:35 0000 319 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 111164 depends on: Show dependency tree
Bug 111164 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-11-01 09:33 0000
The GDAL python modules (including gdal, ogr and osr) are all installed in the
wrong location. This results in the import statement failing to locate them,
producing an ImportError:

ImportError: No module named gdal

Instead of being installed in the /usr/lib/python2.4/site-packages directory the
modules are installed in /usr/python2.4/site-packages




Reproducible: Always
Steps to Reproduce:
1. Open up an interactive python session
2. Type 'import gdal' followed by return

Actual Results:  
ImportError: No module named gdal

Expected Results:  
Imported the gdal module

------- Comment #1 From Homme Zwaagstra 2005-11-01 09:35:37 0000 -------
Created an attachment (id=71879) [edit]
Patch fixing the python install path

use_conf="--with-pymoddir=/usr/${get_libdir}/python${PYVER}/site-packages

is changed to:

use_conf="--with-pymoddir=/usr/lib/python${PYVER}/site-packages

------- Comment #2 From Jakub Moc (RETIRED) 2005-11-01 09:40:13 0000 -------
(In reply to comment #1)
> use_conf="--with-pymoddir=/usr/${get_libdir}/python${PYVER}/site-packages
> 
> is changed to:
> 
> use_conf="--with-pymoddir=/usr/lib/python${PYVER}/site-packages

Uhm no, that'll break things for amd64...

------- Comment #3 From Steve Arnold 2005-11-02 00:43:48 0000 -------
It should have been $(get_libdir).  Now it works...

First Last Prev Next    No search results available      Search page      Enter new bug