lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Lynx-dev] lynx-2.8.7: compilation problem on NetBSD


From: Thomas Klausner
Subject: [Lynx-dev] lynx-2.8.7: compilation problem on NetBSD
Date: Sun, 9 Aug 2009 10:24:39 +0200

Hi!

I just compiled lynx-2.8.7 on NetBSD-5.99.15/amd64.

It failed with
LYMain.c: In function 'SetLocale':
LYMain.c:941: error: 'LC_ALL' undeclared (first use in this function)
LYMain.c:941: error: (Each undeclared identifier is reported only once
LYMain.c:941: error: for each function it appears in.)
which means it needs to include <locale.h>.
I worked around it with the attached patch, please check if you want
to use that or a different solution.

I also noted that it's still not possible to compile lynx with "make
-j16", it fails for me with:

--- en.gmo ---
file=./`echo en | sed 's,.*/,,'`.gmo  && rm -f $file &&
PATH=../src:$PATH /scratch/www/lynx/work/.tools/bin/msgfmt -o $file
en.po
cd ./WWW/Library/Implementation && /usr/bin/make DESTDIR="" CC="cc"
LY_CFLAGS="-O2 -D_XOPEN_SOURCE_EXTENDED=1 -I/usr/pkg/include
-I/usr/pkg/include/ncurses -I/usr/include"
CPPFLAGS="-D_XOPEN_SOURCE_EXTENDED=1 -I/usr/pkg/include
-I/usr/pkg/include/ncurses -I/usr/include -I/usr/pkg/include
-I/usr/pkg/include/ncurses"  LYFLAGS=""
cd: can't cd to ./WWW/Library/Implementation
*** [all] Error code 2
1 error

(failed in 2.8.6 as well)

Cheers,
 Thomas

Attachment: patch-ac
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]