From: SourceForge.net <no...@so...> - 2011-06-19 14:53:10
|
Bugs item #3322440, was opened at 2011-06-19 14:53 Message generated for change (Tracker Item Submitted) made by jahnsv You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=101645&aid=3322440&group_id=1645 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: installation Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Volker Jahns (jahnsv) Assigned to: Nobody/Anonymous (nobody) Summary: compile fails on FreeBSD 7.4 Initial Comment: ./configure && gmake fails on FreeBSD 7.4 ... gcc -DHAVE_CONFIG_H -I../Source/Include -I../Source/CParse -I../Source/Include -I../Source/DOH -I../Source/CParse -I../Source/Preprocessor -I../Source/Swig -I../Source/Modules -g -O2 -Wall -W -ansi -pedantic -MT Swig/misc.o -MD -MP -MF $depbase.Tpo -c -o Swig/misc.o Swig/misc.c &&\ mv -f $depbase.Tpo $depbase.Po Swig/misc.c:1119:18: error: pcre.h: No such file or directory Swig/misc.c: In function 'Swig_string_regex': Swig/misc.c:1191: error: 'pcre' undeclared (first use in this function) Swig/misc.c:1191: error: (Each undeclared identifier is reported only once Swig/misc.c:1191: error: for each function it appears in.) Swig/misc.c:1191: error: 'compiled_pat' undeclared (first use in this function) Swig/misc.c:1192: warning: ISO C90 forbids mixed declarations and code Swig/misc.c:1200: warning: implicit declaration of function 'pcre_compile' Swig/misc.c:1207: warning: implicit declaration of function 'pcre_exec' Swig/misc.c:1211: error: 'PCRE_ERROR_NOMATCH' undeclared (first use in this function) Swig/misc.c:1220: warning: implicit declaration of function 'pcre_free' Swig/misc.c: In function 'Swig_pcre_version': Swig/misc.c:1225: warning: implicit declaration of function 'pcre_version' gmake[2]: *** [Swig/misc.o] Error 1 gmake[2]: Leaving directory `/var/tmp/swig-2.0.4/Source' gmake[1]: *** [all] Error 2 gmake[1]: Leaving directory `/var/tmp/swig-2.0.4/Source' gmake: *** [source] Error 2 ... as a workaround define the PCRE_FLAGS and PCRE_LIBS environment variables export PCRE_CFLAGS=-I/usr/local/include export PCRE_LIBS="-L/usr/local/libs -lpcre" ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=101645&aid=3322440&group_id=1645 |