Opened 23 years ago

Last modified 23 years ago

#33 closed defect (wontfix)

configure problem

Reported by: s.perkins@… Owned by: warmerda@…
Priority: high Milestone:
Component: default Version: unspecified
Severity: normal Keywords:
Cc:

Description

Hi Frank,

When I downloaded the original complete GDAL package (v. 1.1.3) and ran
configure followed by make install, I got an installation error:

make[1]: Leaving directory `/nh/toaster/u/simes/src/gdal/apps'
(cd pymod; make install)
make[1]: Entering directory `/nh/toaster/u/simes/src/gdal/pymod'
install -d
install: too few arguments
Try `install --help' for more information.
make[1]: *** [install] Error 1
make[1]: Leaving directory `/nh/toaster/u/simes/src/gdal/pymod'
make: *** [install-actions] Error 2

Problem seems to be that although I have Python, INST_PYMOD in GDALmake.opt
wasn't being set. This in turn is supposed to be set by configure from
$pyexecdir. Anyway, I just re-ran autoconf and reconfigured and now everything
works fine, but maybe the configure script in the distribution is out of date?
Not sure.

Cheers,

Sy

Change History (4)

comment:1 by s.perkins@…, 23 years ago

Also: I used configure with --prefix=... to install somewhere in my home
directory, but the python module installation ignores this prefix and insists on
installing in the system python directory.

Sy

comment:2 by s.perkins@…, 23 years ago

I've configured without Python for now and everything else works fine.

Sy

comment:3 by warmerda@…, 23 years ago

I have corrected the problem with INST_PYMOD not being properly set in
CVS.  I still have to look into the prefix problem.

comment:4 by warmerdam, 23 years ago

With regard to the python install ignoring --prefix.  This is true, and by
design.  The python installation logic is always independent of --prefix. 


Note: See TracTickets for help on using tickets.