[Python-bugs-list] [ python-Bugs-478428 ] dbm build fails

noreply@sourceforge.net noreply@sourceforge.net
Tue, 06 Nov 2001 12:45:59 -0800


Bugs item #478428, was opened at 2001-11-05 12:24
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=478428&group_id=5470

Category: Macintosh
Group: Python 2.2
Status: Open
Resolution: None
Priority: 5
Submitted By: John Buell (dadaist)
Assigned to: Jack Jansen (jackjansen)
Summary: dbm build fails

Initial Comment:
Trying a build with cvs source downloaded this morning.
I've been sure to do the configure --with-suffix=_ on
case-insensitive Mac OS X (10.1), but I'm having some
problem with the 'dbm' module.

Here's a copy of the messages:

building 'dbm' extension
/Users/jbuell/Documents/Python/python/dist/src/Modules/dbmmodule.c:
In function `dbm_subscript':
/Users/jbuell/Documents/Python/python/dist/src/Modules/dbmmodule.c:104:
warning: implicit declaration of function `dbm_error'
/Users/jbuell/Documents/Python/python/dist/src/Modules/dbmmodule.c:105:
warning: implicit declaration of function `dbm_clearerr'
cc -g -O3 -Wall -Wstrict-prototypes -no-cpp-precomp -I.
-I/Users/jbuell/Documents/Python/python/dist/src/./Include
-I/Users/jbuell/Documents/Python/python/dist/src/./Mac/Include
-I/usr/local/include -IInclude/ -c
/Users/jbuell/Documents/Python/python/dist/src/Modules/dbmmodule.c
-o build/temp.darwin-1.4-Power Macintosh-2.2/dbmmodule.o
cc -bundle -flat_namespace -undefined suppress
build/temp.darwin-1.4-Power Macintosh-2.2/dbmmodule.o
-L/usr/local/lib -o build/lib.darwin-1.4-Power
Macintosh-2.2/dbm.so
building 'gdbm' extension
dyld: ./python_ Undefined symbols:
__ashldi3
make: *** [sharedmods] Error 67

Any suggestions? Anything I can change in my settings
to get past this?

-John

----------------------------------------------------------------------

>Comment By: Jack Jansen (jackjansen)
Date: 2001-11-06 12:45

Message:
Logged In: YES 
user_id=45365

Note that the problem is with gdbm, not with dbm. Dbm seems to build fine (with a warning).

I've heard a report of this before. Needless to say, for me there is no problem whatsoever:-)

I think that the problem is that setup.py detects files that indicate to it that dbm is available while in
fact it is not. Could you check whether you have a libgdbm.a and/or a gdbm.h on your system somewhere?


----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=478428&group_id=5470