AW: [Zope] LFS

Arenz, Ralph Ralph.Arenz@friatec.de
Mon, 11 Feb 2002 09:49:33 +0100


Hello,

i tought that make test runs twice, once with no compiled files, once =
with
the compiled files left by the previous test run?

The problem still exists after the scenario=20
1) export ...
2) ./configure....
4)make
5)make test

step 5 still print's the message in the test "test_largefile"
------>  test test_largefile skipped --  platform does not have =
largefile
support

What i noticed while the make skript runs is the following output:

.
.
.
building 'dbm' extension
gcc -g -O2 -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=3D64 -fPIC -I.
-I/usr/local/src/Python-2.1.2/./Include -I/usr/local/include -IInclude/ =
-c
/usr/local/src/Python-2.1.2/Modules/dbmmodule.c -o
build/temp.linux-i686-2.1/dbmmodule.o -g -O2 -D_LARGEFILE64_SOURCE
-D_FILE_OFFSET_BITS=3D64
-I. -I./Include -DHAVE_CONFIG_H
/usr/local/src/Python-2.1.2/Modules/dbmmodule.c:24: #error "No ndbm.h
available!"
WARNING: building of extension "dbm" failed: command 'gcc' failed with =
exit
status 1=20
.
.
.
.
Does this means anything about the error with LFS, when yes how can i =
fix
it?


Ralph


-----Urspr=FCngliche Nachricht-----
Von: Dieter Maurer [mailto:dieter@handshake.de]
Gesendet: Freitag, 8. Februar 2002 23:39
An: Arenz, Ralph
Cc: 'zope@zope.org'
Betreff: Re: [Zope] LFS


Arenz, Ralph writes:
 > Hellau,
 >=20
 > i' m trying to compile python 2.1.2 with the "LFS" to run on SuSe =
Linux
7.3.
 >=20
 > I' ve read about the large file support in the python docs. So i =
used the
 > following
 >=20
 > export CFLAGS=3D'-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=3D64' =
OPT=3D"-g -O2
 > $CFLAGS"
 >=20
 > and do:
 >=20
 > /.configure --without-pymalloc --with-threads
 >=20
 > ...that's works fine so i do "make test".
Did you make a "make" in between?
If not, you still have the old executable and shared objects...


Dieter