libextractor
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [libextractor] libextractor-0.5.0 problems


From: Christian Grothoff
Subject: Re: [libextractor] libextractor-0.5.0 problems
Date: Mon, 4 Jul 2005 12:08:24 -0500
User-agent: KMail/1.7.2

I've just put out libextractor 0.5.1 where now the Java and Python bindings 
are separate packages.  Now, the Python package could use some clean up (I 
could not make it use the configure option --with-extractor to find 
extractor.h, so it is included again in the Python package), but those 
details can hopefully be sorted out by people who have more of a clue about 
Python than me :-).

I think this should address your problems.

Christian

On Tuesday 28 June 2005 06:22 pm, Mike Castle wrote:
> libextractor-0.5.0 has problems when srcdir != builddir, which is supposed
> to be supported configuration for GNU programs, and even mentioned in
> libextractor's INSTALL file.
>
> You can see this problem by doing something like:
>
> tar xzf libextractor-0.5.0.tar.gz
> mkdir build
> cd build
> ../libextractor-0.5.0/configure
> make
> # become root somehow
> make install
>
>
> I've seen two problems so far.  Well, one problem, with two failure modes.
>
> First, this bit in src/main/Makefile.am:
>
> install-exec-local:
>       python libextractor_python_setup.py $(libdir) build
>       python libextractor_python_setup.py $(libdir) install
> --prefix=$(PYTHON_PREFIX)
>
>
> It turns out that libextractor_python_setup.py is not in the current
> directory.  The proper approach is to do this:
>
>       python $(srcdir)/libextractor_python_setup.py $(libdir) build
>
> Unfortunately this seems to have problem, which I'll try to figure out
> later.
>
> The second problem is that you're running this stuff during the install
> phase in the first place!
>
> It's a command paradigm to build as a normal user and install as root.
> There should be no compilation going on during this phase.  So this stuff
> needs to be moved around.  Actually, I think the recommend automake way is
> to do the compilation yourself.  So I'd recommend either seperating out the
> python stuff to it's own package, and use the standard python installation
> process there, or use the automake recommendations within the package.  But
> don't use the current hybrid approach.
>
> Cheers,
> mrc
>
>
> _______________________________________________
> libextractor mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/libextractor




reply via email to

[Prev in Thread] Current Thread [Next in Thread]