Re: [q-lang-users] ANN: Q 7.0 release candidate
Brought to you by:
agraef
From: Albert G. <Dr....@t-...> - 2006-02-07 18:35:05
|
John Cowan wrote: > Thanks for responding so quickly. Unfortunately, these aren't the > clearest of instructions. I tried adding "$(LIBICONV)" to the definition Hmm, that should probably be $(LTLIBICONV), can you post the two definitions please? > of libq_la_LDFLAGS in libq/Makefile.am, but then was roadblocked: > "automake" crashes with "automake: `configure.ac' or `configure.in' Yep, for libq/Makefile.am, automake needs to be run in the main source dir. Or you can try to just run autogen.sh, that should rebuild the entire configury (but probably that won't work either, given that automake gives you the troubles you mentioned below). > is required", and trying it in the q-7.0 root directory crashes with > "sh: autoconf: command not found". Hmm, looks like automake tries to execute autoconf (maybe wants to get the autoconf version?) and doesn't find it. Is autoconf/automake working with other programs? You could also try to fix the corresponding Makefile.in's instead, add the proper link options manually and then rerun configure, if automake doesn't work for you. (But see below.) > Here's the current state of what make (in the root) says: > /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' Yes, clearly the proper link option for libiconv is missing. So I'll have to add a corresponding LIBADD line in libq/Makefile.am and also modify the LIBADD lines in the other Makefile.am's I mentioned. If you can wait a little more, I'll try to figure out what the right @XYZ@ variables are which have to be included for libiconv and libgettext, and then prepare a new tarball. Albert -- Dr. Albert Gr"af Dept. of Music-Informatics, University of Mainz, Germany Email: Dr....@t-..., ag...@mu... WWW: http://www.musikinformatik.uni-mainz.de/ag |