Menu

#4 libpopt should be checked in configure

open
nobody
None
5
2007-03-17
2007-03-17
Anonymous
No

Under debian etch I get the following error, which is due to a missing packet named libpopt-dev. This shoukd be checked by the configure script?

With an
apt-get install libpopt-dev the software compiles.

config.status: creating po/Makefile
cd . \ && CONFIG_FILES= CONFIG_HEADERS=config.h \ /bin/sh ./config.status
config.status: creating config.h
config.status: config.h is unchanged
make all-recursive
make[1]: Entering directory `/home/martin/soft/ooo/OOodi-0.X1'
Making all in intl
make[2]: Entering directory `/home/martin/soft/ooo/OOodi-0.X1/intl'
make[2]: Für das Ziel »all« ist nichts zu tun.
make[2]: Leaving directory `/home/martin/soft/ooo/OOodi-0.X1/intl'
Making all in po
make[2]: Entering directory `/home/martin/soft/ooo/OOodi-0.X1/po'
make[2]: Für das Ziel »all« ist nichts zu tun.
make[2]: Leaving directory `/home/martin/soft/ooo/OOodi-0.X1/po'
Making all in src
make[2]: Entering directory `/home/martin/soft/ooo/OOodi-0.X1/src'
source='main.c' object='main.o' libtool=no \ depfile='.deps/main.Po' tmpdepfile='.deps/main.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -g -O2 -Wall -D_GNU_SOURCE=1 -c `test -f main.c || echo './'`main.c
main.c:25:18: error: popt.h: Datei oder Verzeichnis nicht gefunden
main.c: In function ‘main’:
main.c:574: error: ‘poptContext’ undeclared (first use in this function)
main.c:574: error: (Each undeclared identifier is reported only once
main.c:574: error: for each function it appears in.)
main.c:574: error: expected ‘;’ before ‘ctx’
main.c:576: error: array type has incomplete element type
main.c:577: error: ‘POPT_AUTOHELP’ undeclared (first use in this function)
main.c:578: error: expected ‘}’ before ‘{’ token
main.c:592: error: ‘ctx’ undeclared (first use in this function)
main.c:592: warning: implicit declaration of function ‘poptGetContext’
main.c:593: warning: implicit declaration of function ‘poptSetOtherOptionHelp’
main.c:594: warning: implicit declaration of function ‘poptGetNextOpt’
main.c:596: warning: implicit declaration of function ‘poptGetArgs’
main.c:597: warning: implicit declaration of function ‘poptFreeContext’
main.c:576: warning: unused variable ‘options’
make[2]: *** [main.o] Fehler 1
make[2]: Leaving directory `/home/martin/soft/ooo/OOodi-0.X1/src'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/home/martin/soft/ooo/OOodi-0.X1'
make: *** [all] Fehler 2

Discussion


Log in to post a comment.