I hope somebody can help me with this one:

I am trying to compile the python source from potato/source and I am
getting errors while compiling the dbmmodule.c.  The errors seems to be
related to my lib6c-dev. I have the following installed version:

Package: libc6-dev
Version: 2.0.7.19981211-6

Some of the errors were:
-----------------------
make[2]: Entering directory `/tmp/python-1.5.2/Modules'
gcc -fpic  -I/usr/include/db1 -g -O2 -I./../Include -I.. -DHAVE_CONFIG_H -c 
./dbmmodule.c
In file included from /usr/include/db1/ndbm.h:42,
                 from ./dbmmodule.c:40:
/usr/include/db1/db.h:120: warning: no semicolon at end of struct or union
/usr/include/db1/db.h:120: parse error before `__PMT'

snip 

/usr/include/db1/db.h:142: warning: no semicolon at end of struct or union

and a lot of other similar warnigs and parse errors ...

../Include/pyerrors.h:42: previous declaration of `PyErr_SetString'

./dbmmodule.c:210: invalid type argument of `->'

./dbmmodule.c:268: `dbm_getattr' undeclared here (not in a function)
./dbmmodule.c:268: initializer element for `Dbmtype.tp_getattr' is not constant
make[2]: *** [dbmmodule.o] Error 1
make[2]: Leaving directory `/tmp/python-1.5.2/Modules'
make[1]: *** [sharedmods] Error 2
make[1]: Leaving directory `/tmp/python-1.5.2'
make: *** [build-stamp] Error 2
------------------------------------



Johann

 --------------------------------------------------------------------------
| Johann Spies                                 Windsorlaan 19              |
| [EMAIL PROTECTED]                3201 Pietermaritzburg             |
| Tel/Faks Nr. +27 331-46-1310                 Suid-Afrika (South Africa)  |
 --------------------------------------------------------------------------

     "My son, if sinners entice thee, consent thou not." 
                               Proverbs 1:10

Reply via email to