Mark Reglewski <[EMAIL PROTECTED]> said: > I am trying to install lyx from source and the installation fails. This > is the last line of compiler output and the error message: > > gcc -c -DLOCALEDIR=\"/sw/share/locale\" > -DLOCALE_ALIAS_PATH=\"/sw/share/locale\" -DLIBDIR=\"/sw/lib\" > -DIN_LIBINTL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY > -DINSTALLDIR=\"/sw/lib\" -DNO_XMALLOC > -Dset_relocation_prefix=libintl_set_relocation_prefix > -Drelocate=libintl_relocate -DDEPENDS_ON_LIBICONV=1 -DHAVE_CONFIG_H -I. > -I. -I../src -I/sw/include -I/usr/X11/include -O2 l10nflist.c > l10nflist.c:61: error: static declaration of 'stpcpy' follows non-static > declaration > make[1]: *** [l10nflist.o] Error 1 > make: *** [all-recursive] Error 1 > ### execution of /var/tmp/tmp.1.mjizvB failed, exit code 2 > Removing runtime build-lock... > Removing build-lock package... > /sw/bin/dpkg-lockwait -r fink-buildlock-lyx-qt-1.5.0-1 > (Reading database ... 67730 files and directories currently installed.) > Removing fink-buildlock-lyx-qt-1.5.0-1 ... > Failed: phase compiling: lyx-qt-1.5.0-1 failed
It appears from reading the source that configure checks for stpcpy and l10nflist.c only declares it if configure didn't find it. Could you check the output of the configuration checks to see what happened? Probably a line like: checking for stpcpy... no (hopefully "yes" but probably "no"). Would also be interesting to see the contents of the config.log file (will have more details about *why* it is yes/no)...you can email it privately or post a file on a website so you don't fill this mailing list with a giant thing. I see there's a lyx-qt 1.5.2 out...someone who likes this package might want to submit an update, as the maintainer is allowing others to take it. Don't think it fixes this problem, but who knows? dan -- Daniel Macks [EMAIL PROTECTED] http://www.netspace.org/~dmacks ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ Fink-beginners mailing list [email protected] http://news.gmane.org/gmane.os.apple.fink.beginners
