>>>>> "John" == John Levon <[EMAIL PROTECTED]> writes:
John> On Mon, Jun 03, 2002 at 02:13:46PM +0200, Jean-Marc Lasgouttes John> wrote: >> /usr/bin/ld: cannot find -lflimage collect2: ld returned 1 exit >> status John> Actually can I have your config.log ? I don't understand how it John> found the image loader at all .... Here is my config.log. I have not yet tried your last commit. However, it seems a bit complicated to me... Did you investigate macros like AC_SEARCH_LIBS or AC_CHECK_LIB? They seem to be useful in this case. Unfortunately, I have a review to write right now, and have next to no time on lyx. JMarc This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. configure:856: checking host system type configure:877: checking target system type configure:895: checking build system type configure:920: checking config.cache system type configure:939: checking for install target ... configure:969: checking for a BSD compatible install configure:1022: checking whether build environment is sane configure:1079: checking whether make sets ${MAKE} configure:1125: checking for working aclocal configure:1138: checking for working autoconf configure:1151: checking for working automake configure:1164: checking for working autoheader configure:1177: checking for working makeinfo configure:1206: checking whether make sets ${MAKE} configure:1244: checking for a BSD compatible install configure:1300: checking for kpsewhich configure:1338: checking for gm4 configure:1379: checking for gcc configure:1492: checking whether the C compiler (gcc ) works configure:1508: gcc -o conftest conftest.c 1>&5 configure:1534: checking whether the C compiler (gcc ) is a cross-compiler configure:1539: checking whether we are using GNU C configure:1567: checking whether gcc accepts -g configure:1602: checking for strerror in -lcposix configure:1644: checking how to run the C preprocessor configure:1724: checking for AIX configure:1749: checking for HP-UX configure:1765: checking for SunOS 4.x configure:1780: checking for SCO 3.2v4 configure:1806: checking for Cygwin environment configure:1839: checking for mingw32 environment configure:1870: checking for executable suffix configure:1903: checking what frontend should be used as main GUI configure:2878: checking for a good enough C++ compiler configure:2930: checking for c++ configure:2962: checking whether the C++ compiler (g++ ) works configure:2978: g++ -o conftest conftest.C 1>&5 configure:3004: checking whether the C++ compiler (g++ ) is a cross-compiler configure:3009: checking whether we are using GNU C++ configure:3037: checking whether g++ accepts -g configure:3164: checking whether the C++ compiler understands explicit configure:3203: checking whether the included std::string should be used configure:3281: checking whether the systems std::string is really good configure:3336: checking how to run the C++ preprocessor configure:3380: checking for C headers wrappers configure:3420: checking whether C library functions are already in the global namespace configure:3459: checking for conforming std::count configure:3505: checking for ostream configure:3505: checking for istream configure:3505: checking for sstream configure:3505: checking for locale configure:3505: checking for limits configure:3543: checking for modern STL streams configure:3608: checking for regex.h configure:3658: checking for sin in -lm configure:3708: checking for fopen in -lc configure:3767: checking for extra library directory configure:3810: checking for extra include directory configure:3844: checking for extra lib+include directory configure:3890: checking for main in -liberty configure:3942: checking for main in -lAiksaurus configure:4046: checking for ld used by GCC configure:4114: checking if the linker (/usr/bin/ld) is GNU ld configure:4131: checking for /usr/bin/ld option to reload object files configure:4143: checking for BSD-compatible nm configure:4181: checking whether ln -s works configure:4202: checking how to recognise dependant libraries configure:4375: checking for object suffix configure:4409: checking command to parse /usr/bin/nm -B output configure:4585: checking for dlfcn.h configure:4786: checking for ranlib configure:4853: checking for strip configure:5361: checking for objdir configure:5388: checking for gcc option to produce PIC configure:5540: checking if gcc PIC flag -fPIC works configure:5606: checking if gcc static flag -static works configure:5648: checking if gcc supports -c -o file.o configure:5742: checking if we can lock with hard links configure:5761: checking if gcc supports -fno-rtti -fno-exceptions configure:5774: g++ -c -O -fno-exceptions -W -Wall conftest.C 1>&5 configure: In function `int main ()': configure:5770: warning: unused variable `int some_variable' configure:5801: checking whether the linker (/usr/bin/ld) supports shared libraries configure:6417: checking how to hardcode library paths into programs configure:6445: checking whether stripping libraries is possible configure:6459: checking dynamic linker characteristics configure:6845: checking if libtool supports shared libraries configure:7962: checking whether the included libsigc++ should be used configure:8244: checking for pspell support configure:8342: checking for X configure:8656: checking for dnet_ntoa in -ldnet configure:8700: checking for dnet_ntoa in -ldnet_stub configure:8751: checking for gethostbyname configure:8855: checking for connect configure:8953: checking for remove configure:9051: checking for shmat configure:9158: checking for IceConnectionNumber in -lICE configure:9219: checking for XOpenIM configure:9282: checking for XpmCreateBufferFromImage in -lXpm configure:9335: checking for X11/xpm.h configure:9417: checking xpm header version configure:9464: checking for fl_initialize in -lforms configure:9561: checking for X11/forms.h configure:9595: checking for forms.h configure:9640: checking for X11/flimage.h configure:9650: g++ -E -isystem /usr/X11R6/include conftest.C >/dev/null 2>conftest.out configure:9646:25: X11/flimage.h: No such file or directory configure: failed program was: #line 9645 "configure" #include "confdefs.h" #include <X11/flimage.h> configure:9685: checking xforms header version configure:11584: checking for flimage_dup configure:11637: checking for flimage_to_pixmap configure:11691: checking for flimage_enable_ps configure:11772: checking whether libjpeg is needed configure:11790: gcc -o conftest -g -O2 -isystem /usr/X11R6/include conftest.c -lXpm -lSM -lICE -lc -lm -L/usr/X11R6/lib -lX11 1>&5 configure:11784:32: flimage.h: No such file or directory configure: failed program was: #line 11782 "configure" #include "confdefs.h" #include FORMS_H_LOCATION #include FORMS_IMAGE_H_LOCATION int main() { jpeg_abort(0); ; return 0; } configure:11824: checking for working const configure:11899: checking for inline configure:11942: checking for ranlib configure:11970: checking for ANSI C header files configure:12074: checking for off_t configure:12107: checking for size_t configure:12142: checking for working alloca.h configure:12175: checking for alloca configure:12377: checking for unistd.h configure:12416: checking for getpagesize configure:12469: checking for working mmap configure:12641: checking whether we are using the GNU C Library 2.1 or newer configure:12682: checking for argz.h configure:12682: checking for limits.h configure:12682: checking for locale.h configure:12682: checking for nl_types.h configure:12682: checking for malloc.h configure:12682: checking for stddef.h configure:12682: checking for stdlib.h configure:12682: checking for string.h configure:12682: checking for unistd.h configure:12682: checking for sys/param.h configure:12723: checking for feof_unlocked configure:12723: checking for fgets_unlocked configure:12723: checking for getcwd configure:12723: checking for getegid configure:12723: checking for geteuid configure:12723: checking for getgid configure:12723: checking for getuid configure:12723: checking for mempcpy configure:12723: checking for munmap configure:12723: checking for putenv configure:12723: checking for setenv configure:12723: checking for setlocale configure:12723: checking for stpcpy configure:12723: checking for strchr configure:12723: checking for strcasecmp configure:12723: checking for strdup configure:12723: checking for strtoul configure:12723: checking for tsearch configure:12723: checking for __argz_count configure:12723: checking for __argz_stringify configure:12723: checking for __argz_next configure:12791: checking for iconv configure:12852: checking for iconv declaration configure:12906: checking for nl_langinfo and CODESET configure:12941: checking for LC_MESSAGES configure:12974: checking whether NLS is requested configure:12996: checking whether included gettext is requested configure:13016: checking for libintl.h configure:13043: checking for GNU gettext in libc configure:13122: checking for dcgettext configure:13192: checking for msgfmt configure:13228: checking for gmsgfmt configure:13278: checking for xgettext configure:13501: checking for bison configure:13534: checking version of bison configure:13581: checking for catalogs to be installed configure:13641: checking for dirent.h that defines DIR configure:13679: checking for opendir in -ldir configure:13768: checking whether sys/types.h defines makedev configure:13877: checking for sys/time.h configure:13877: checking for sys/types.h configure:13877: checking for sys/select.h configure:13877: checking for strings.h configure:13877: checking for locale.h configure:13918: checking for stl_string_fwd.h configure:13975: checking whether stat file-mode macros are broken configure:14031: checking whether time.h and sys/time.h may both be included configure:14066: checking for st_blksize in struct stat configure:14100: checking for st_blocks in struct stat configure:14136: checking for st_rdev in struct stat configure:14172: checking for mode_t configure:14205: checking for off_t configure:14238: checking for pid_t configure:14271: checking return type of signal handlers configure:14312: checking for size_t configure:14345: checking for uid_t in sys/types.h configure:14396: checking for snprintf configure:14396: checking for vsnprintf configure:14452: checking if snprintf is declared by header stdio.h configure:14486: checking if vsnprintf is declared by header stdio.h configure:14520: checking if istreambuf_iterator is declared by header iterator configure:14564: checking for memmove configure:14564: checking for memset configure:14564: checking for strchr configure:14564: checking for putenv configure:14564: checking for setenv configure:14564: checking for mkfifo configure:14564: checking for mkstemp configure:14564: checking for mktemp configure:14620: checking for strerror configure:14620: checking for atexit configure:14683: checking types of arguments for select() configure:14755: checking type of argument for putenv() configure:14792: checking if mkstemp is declared by header unistd.h configure:14792: checking if mkstemp is declared by header stdlib.h