Jeremy C. Reed wrote: > I just looked at the libbonobo configuration and I do not see any check > for popt version. > > Also I can't reproduce the same problem. > > What does your config.log show? Mine shows: > > configure:23891: checking for poptStrippedArgv in -lpopt > configure:23926: gcc -o conftest -O2 -I/usr/pkg/include -I/usr/include > -I/usr/pkg/include -I/usr/include -L/usr/pkg/lib -Wl,-R/usr/pkg/lib > -L/usr/lib > -Wl,-R/usr/lib conftest.c -lpopt >&5 > configure:23932: $? = 0 > configure:23950: result: yes > configure:23971: checking popt.h usability > configure:23988: gcc -c -O2 -I/usr/pkg/include -I/usr/include > -I/usr/pkg/include -I/usr/include conftest.c >&5 > configure:23994: $? = 0 > configure:24008: result: yes > configure:24012: checking popt.h presence > configure:24027: gcc -E -I/usr/pkg/include -I/usr/include conftest.c > configure:24033: $? = 0 > configure:24047: result: yes > configure:24075: checking for popt.h > configure:24082: result: yes Hmm... It seems that the linker can't find popt, so I jumped the gun on the version issue. I do have libpopt.{a,so} in /usr/pkg/lib, though. ---------------------------------- configure:23891: checking for poptStrippedArgv in -lpopt configure:23926: cc -o conftest -O2 -pipe -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -I/usr/include -L/usr/pkg/lib -Wl,-R/ ld: cannot find -lpopt [wrapper.sh] note: The real command line, after the pkgsrc wrapper, was: /pkg_comp/obj/pkgsrc/devel/libbonobo/default/.gcc/bin/gcc -o conftest -O2 -pipe -I/pkg_comp/obj/pkgsrc/devel/libbonobo/default/.buil configure:23932: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "libbonobo" | #define VERSION "2.18.0" | #define YYTEXT_POINTER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define GETTEXT_PACKAGE "libbonobo-2.0" | #define HAVE_LOCALE_H 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_BIND_TEXTDOMAIN_CODESET 1 | #define HAVE_GETTEXT 1 | #define HAVE_DCGETTEXT 1 | #define ENABLE_NLS 1 | #define HAVE_USLEEP 1 | #define HAVE_NANOSLEEP 1 | #define HAVE_SIGACTION 1 | #define HAVE_SETSID 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SYSLOG_H 1 | /* end confdefs.h. */ | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char poptStrippedArgv (); | int | main () | { | return poptStrippedArgv (); | ; | return 0; | } configure:23950: result: no ---------------------------------- Just for reference: # pkg_info | grep popt popt-1.10.7 Command line option parsing library -- Kind regards, Jan Danielsson
Attachment:
signature.asc
Description: OpenPGP digital signature