[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Merging Ctypes Python Branch

From: Eric Gillespie <epg_at_pretzelnet.org>
Date: 2007-09-01 03:14:54 CEST

"David James" <james@cs.toronto.edu> writes:

> We add these directories to the default linker path in autogen.py by
> setting the LIBRARY_PATH environment variable.

I don't think that's not enough. The libdirs must be on the
system search path (i.e. listed in /etc/ld.so.conf on Linux) or
listed in the LD_LIBRARY_PATH environment variable.

> Could you try the patched version of ctypesgen on your system and see
> if it helps? You'll need to first update ctypesgen by typing ( cd
> ctypesgen && svn up ). I'm particularly interested to see if this
> works on OS X, which has a different linker and might require us to
> play with different options.

But I'm not entirely sure I understand these things correctly, so
I reverted and updated in a new working copy and tried again,
this time using the --prefix option. Same error:

OSError: apr-1: cannot open shared object file: No such file or directory

But, you keep referring to your patch, which I do not see. Is
your patch committed, so updating is sufficient?

> P.S. If my patch solves your problem, are there still parts of your
> patch that you'd still like me to commit? Let me know.

Yes, apr-*-config scripts provide enough information for autogen
to work without any options at all, and my patch was mainly about
getting that information, while also allowing users to specify
libdirs by hand. Also, I fixed the error reporting.

-- 
Eric Gillespie <*> epg@pretzelnet.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Sep 1 03:12:01 2007

This is an archived mail posted to the Subversion Dev mailing list.