[Zope] Re: [Psycopg] Psycopg 1.0.X - Python 2.1

rm@fabula.de rm@fabula.de
Wed, 31 Jul 2002 18:40:07 +0200


On Sun, Mar 03, 2002 at 07:52:48PM +0200, Heimo Laukkanen wrote:
> Hi all,
[...] 
> make
> 
> ./module.o ./connection.o ./cursor.o ./typeobj.o ./typemod.o 
> -L/usr/local/pgsql/lib -lpq  -o ./psycopgmodule
> make: execvp: ./module.o: Permission denied
> make: *** [psycopgmodule] Error 127
> 
> Fails....wtf?

Hihihi, this is strange but seems to be a reucuring bug.
Looks like 'configure' wasn't able to dectect your linker program
(should be a make variable called 'LD' or something like this).
So when make tries to do:

 $(LD)  ./module.o ./connection.o ./cursor.o ./typeobj.o ./typemod.o \
         -L/usr/local/pgsql/lib -lpq  -o ./psycopgmodule

and LD is unset your shell dutifully tries to execute the first thing
found, which happens to be './module.o'. Hmm, we seem to come accross
this bug every once in a while ...

 Ralf Mattes

> 
> -huima
> 
> _______________________________________________
> Psycopg mailing list
> Psycopg@lists.initd.org
> http://lists.initd.org/mailman/listinfo/psycopg