Problems compiling mxDateTime on Linux

Dave Corrie python at verbal.nildram.co.uk
Mon Dec 27 07:51:29 EST 1999


I would like to use the mxDateTime module ( from
http://starship.skyport.net/~lemburg/mxDateTime.html ), but I'm having a
little trouble building it on my RedHat 6.0 system (Python 1.5.1).

My python path is:
--------
$ python -c 'import sys; print sys.path'
['', '/usr/lib/python1.5/', '/usr/lib/python1.5/test',
'/usr/lib/python1.5/plat-linux-i386', '/usr/lib/python1.5/lib-tk',
'/usr/lib/python1.5/lib-dynload', '/usr/lib/python1.5/site-packages']
--------

Following the installation instructions which came with the mxDateTime
module, I have copied the files from the DateTime\mxDateTime directory
(contained in the mxDateTime-1.3.0.zip distribution) into
/usr/lib/python1.5/site-packages.

The next step: "make -f Makefile.pre.in boot", does not succeed:

--------
$ make -f Makefile.pre.in boot
rm -f *.o *~
rm -f *.a tags TAGS config.c Makefile.pre python sedscript
rm -f *.so *.sl so_locations
VERSION=`python -c "import sys; print sys.version[:3]"`; \
installdir=`python -c "import sys; print sys.prefix"`; \
exec_installdir=`python -c "import sys; print sys.exec_prefix"`; \
make -f ./Makefile.pre.in VPATH=. srcdir=. \
        VERSION=$VERSION \
        installdir=$installdir \
        exec_installdir=$exec_installdir \
        Makefile
make[1]: Entering directory `/usr/lib/python1.5/site-packages'
make[1]: *** No rule to make target `/usr/lib/python1.5/config/Makefile',
needed
 by `sedscript'.  Stop.
make[1]: Leaving directory `/usr/lib/python1.5/site-packages'
make: *** [boot] Error 2
--------

I'd really appreciate it if someone could tell me where I'm going wrong!
Many thanks,

Dave




More information about the Python-list mailing list