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

Re: Building a program with the library shipped in Debian, not in orig.tar.gz



Le Fri, Sep 15, 2006 at 03:22:37AM +0200, Daniel Leidert a écrit :
> 
> In short: Change
> 
> #include "pcre.h"
> 
> to
> 
> #include <pcre.h>
> 
> and see 'man pcre-config' for the compilation arguments (you only need,
> what --libs tells you in the linking step, IIRC).

Dear Daniel,

I have posted more information on -devel, as the maintainer of libpcre
asked for advice on this list. The message is here:

http://lists.debian.org/debian-devel/2006/09/msg00973.html

To cut a long story short, I made changes in the spirit of what you
suggested, but some headers used by EMBOSS are not in libpcre because
they are meant for internal use. I copied them in the debian directory,
but in the end, the build stops with:

  make: *** No rule to make target `pcre.lo', needed by `libajax.la'. Stop.

This goes far beyond my area of knowledge (bioinformatics, trivial
debian packaging, molecular biology), so I would greatly appreciate any
help from persons interested in seeing EMBOSS in Debian.

Maybe an easy solution would be to figure out wether EMBOSS is build
statically against the libpcre it ships, and do the necessary changes if
not. This way, there is no need for shipping files conflicting with
libpcre.

Have a nice day,

-- 
Charles Plessy
http://charles.plessy.org
Wako, Saitama, Japan



Reply to: