[Pkg-emboss-devel] Bug#433316: emboss-lib: ajax.h #includes files which are not available

Johannes Kloos jkloos at unix-ag.uni-kl.de
Mon Jul 16 09:33:05 UTC 2007


Package: emboss-lib
Version: 4.1.0-1
Severity: normal

Hi,
the header file ajreg.h in emboss-lib includes pcre_internal.h.
Since the package itself doesn't provide this header file and neither
does libpcre3-dev, the following program won't compile:

--- sequences.cc
// minimal example
#include <ajax.h>
--- end sequences.cc

g++ -O2 -std=c++98 -Wall -Wextra -I/home/jkloos/projektarbeit/libs/emboss/include   -c -o sequences.o sequences.cc
In file included from /usr/include/ajfeat.h:22,
                 from /usr/include/ajax.h:31,
                 from sequences.cc:2:
/usr/include/ajreg.h:19:27: error: pcre_internal.h: Datei oder Verzeichnis nicht gefunden
/usr/include/ajreg.h:40: error: expected ‘;’ before ‘*’ token
/usr/include/ajreg.h:41: error: expected ‘;’ before ‘*’ token

Changing ajreg like this fixes the problem:

--- start patch
--- ajreg.h~    2007-07-16 11:31:46.000000000 +0200
+++ ajreg.h     2007-07-16 11:31:31.000000000 +0200
@@ -16,7 +16,7 @@
 #define ajreg_h
 
 #include "ajax.h"
-#include "pcre_internal.h"
+#include "pcre.h"
 #include "pcreposix.h"
 
 #define AJREG_OVECSIZE 30
--- start patch

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.20-1-686 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages emboss-lib depends on:
ii  libc6                         2.6-2      GNU C Library: Shared libraries

emboss-lib recommends no packages.

-- no debconf information




More information about the Pkg-emboss-devel mailing list