← Back to team overview

firmware-testing-team team mailing list archive

fwts: configured does not check for pcre.h

 

Hi Colin,

I tried to compile fwts under Debian. Although configure finished without any
problem the compile fails because of the missing pcre.h .

Installing libpcre3-dev package fixed the problem.

Regards,

	Márton Németh

$ git clone git://kernel.ubuntu.com/cking/fwts/.git
Initialized empty Git repository in /mnt/store/nmarci/src/fwts/fwts/.git/
remote: Counting objects: 3683, done.
remote: Compressing objects: 100% (3055/3055), done.
remote: Total 3683 (delta 2365), reused 134 (delta 96)
Receiving objects: 100% (3683/3683), 715.71 KiB | 564 KiB/s, done.
Resolving deltas: 100% (2365/2365), done.
$ cd fwts/
$ ./configure --prefix=/home/nmarci/usr/local/fwts
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for ranlib... ranlib
checking for localtime_r... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/lib/Makefile
config.status: creating src/lib/src/Makefile
config.status: creating config.h
config.status: executing depfiles commands
$ make
make  all-recursive
make[1]: Entering directory `/mnt/store/nmarci/src/fwts/fwts'
Making all in src
make[2]: Entering directory `/mnt/store/nmarci/src/fwts/fwts/src'
Making all in lib
make[3]: Entering directory `/mnt/store/nmarci/src/fwts/fwts/src/lib'
Making all in src
make[4]: Entering directory `/mnt/store/nmarci/src/fwts/fwts/src/lib/src'
gcc -DHAVE_CONFIG_H -I. -I../../..  -I../../../src/lib/include  -Wall -Werror   -g -O2 -MT list.o -MD -MP -MF .deps/list.Tpo -c -o list.o list.c
In file included from ../../../src/lib/include/fwts.h:44,
                 from list.c:24:
../../../src/lib/include/fwts_klog.h:24:18: error: pcre.h: Nincs ilyen fájl vagy könyvtár
In file included from ../../../src/lib/include/fwts.h:44,
                 from list.c:24:
../../../src/lib/include/fwts_klog.h:44: error: expected specifier-qualifier-list before ‘pcre’
make[4]: *** [list.o] Error 1
make[4]: Leaving directory `/mnt/store/nmarci/src/fwts/fwts/src/lib/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/mnt/store/nmarci/src/fwts/fwts/src/lib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/mnt/store/nmarci/src/fwts/fwts/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mnt/store/nmarci/src/fwts/fwts'
make: *** [all] Error 2
$ git show
commit 4a228a1d7b3297802281c9a254572b5234b00b5b
Author: Colin Ian King <colin.king@xxxxxxxxxxxxx>
Date:   Thu Aug 12 19:09:19 2010 +0100

    debian: update changelog

    Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>

diff --git a/debian/changelog b/debian/changelog
index ac6eaaa..1f5de48 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+fwts (0.18.0) maverick; urgency=low
+
+  * New upstream version 0.18.0
+
+ -- Colin King <colin.king@xxxxxxxxxxxxx>  Thu, 12 Aug 2010 19:08:35 +0100
+
 fwts (0.17.9.1) maverick; urgency=low

   * New upstream version 0.17.9.1




Follow ups