Re: [q-lang-users] ANN: Q 7.0 release candidate
Brought to you by:
agraef
From: John C. <co...@cc...> - 2006-02-06 23:24:03
|
Albert Graef scripsit: > looks like I forgot about LIBICONV because here on Linux I have iconv in > libc. In principle, adding $(LIBICONV) or $(LTLIBICONV) to the link > lines of compiler and interpreter (src/Makefile.am), libq > (libq/Makefile.am) and clib (modules/clib/Makefile.am) should do the > trick. Something similar will be needed to make clib::gettext and > friends work. If that doesn't help then please post the complete make > log so that we can figure out what exactly goes wrong. Thanks for responding so quickly. Unfortunately, these aren't the clearest of instructions. I tried adding "$(LIBICONV)" to the definition of libq_la_LDFLAGS in libq/Makefile.am, but then was roadblocked: "automake" crashes with "automake: `configure.ac' or `configure.in' is required", and trying it in the q-7.0 root directory crashes with "sh: autoconf: command not found". Attempts to do "make Makefile.in" report that it is up to date, and "make Makefile" says there is no such target. Here's the current state of what make (in the root) says: $ make make all-recursive make[1]: Entering directory `/opt/q-7.0' Making all in . make[2]: Entering directory `/opt/q-7.0' make[2]: Leaving directory `/opt/q-7.0' Making all in libltdl make[2]: Entering directory `/opt/q-7.0/libltdl' make all-am make[3]: Entering directory `/opt/q-7.0/libltdl' make[3]: Leaving directory `/opt/q-7.0/libltdl' make[2]: Leaving directory `/opt/q-7.0/libltdl' Making all in glob make[2]: Entering directory `/opt/q-7.0/glob' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/opt/q-7.0/glob' Making all in regex make[2]: Entering directory `/opt/q-7.0/regex' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/opt/q-7.0/regex' Making all in doc make[2]: Entering directory `/opt/q-7.0/doc' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/opt/q-7.0/doc' Making all in etc make[2]: Entering directory `/opt/q-7.0/etc' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/opt/q-7.0/etc' Making all in examples make[2]: Entering directory `/opt/q-7.0/examples' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/opt/q-7.0/examples' Making all in libq make[2]: Entering directory `/opt/q-7.0/libq' /bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -o libq.la -rpath /usr/local/lib -no-undefined -version-info 7:0:0 libq.lo -lcrypt -lutil -lm rm -fr .libs/libq.dll.a gcc -shared .libs/libq.o -lcrypt -lutil -o .libs/cygq-7.dll -Wl,--image-base=0x10000000 -Wl,--out-implib,.libs/libq.dll.a Creating library file: .libs/libq.dll.a .libs/libq.o: In function `from_utf8': /opt/q-7.0/libq/libq.c:508: undefined reference to `_libiconv_open' /opt/q-7.0/libq/libq.c:539: undefined reference to `_libiconv' /opt/q-7.0/libq/libq.c:563: undefined reference to `_libiconv' /opt/q-7.0/libq/libq.c:568: undefined reference to `_libiconv_close' .libs/libq.o: In function `to_utf8': /opt/q-7.0/libq/libq.c:587: undefined reference to `_libiconv_open' /opt/q-7.0/libq/libq.c:618: undefined reference to `_libiconv' /opt/q-7.0/libq/libq.c:623: undefined reference to `_libiconv_close' .libs/libq.o: In function `file_from_utf8': /opt/q-7.0/libq/libq.c:676: undefined reference to `_libiconv' /opt/q-7.0/libq/libq.c:643: undefined reference to `_libiconv_open' .libs/libq.o: In function `file_to_utf8': /opt/q-7.0/libq/libq.c:728: undefined reference to `_libiconv' /opt/q-7.0/libq/libq.c:698: undefined reference to `_libiconv_open' .libs/libq.o: In function `file_encoding': /opt/q-7.0/libq/libq.c:778: undefined reference to `_libiconv_close' /opt/q-7.0/libq/libq.c:765: undefined reference to `_libiconv_close' /opt/q-7.0/libq/libq.c:750: undefined reference to `_libiconv_open' /opt/q-7.0/libq/libq.c:751: undefined reference to `_libiconv_open' /opt/q-7.0/libq/libq.c:754: undefined reference to `_libiconv_close' /opt/q-7.0/libq/libq.c:756: undefined reference to `_libiconv_close' collect2: ld returned 1 exit status make[2]: *** [libq.la] Error 1 make[2]: Leaving directory `/opt/q-7.0/libq' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/opt/q-7.0' make: *** [all] Error 2 -- Babies are born as a result of the John Cowan mating between men and women, and most http://www.reutershealth.com men and women enjoy mating. http://www.ccil.org/~cowan --Isaac Asimov in Earth: Our Crowded Spaceship co...@cc... |