Finally after much reading I found the ebuild
http://sources.gentoo.org/cgi-bin/vi...ld?view=markup
So maybe I can glean something from that :\
EDIT:
So I instead tried
(armv6l:1) /home #
export PATH=/home/bin:/home/lib:/home/share:/home/include:$PA
TH
(armv6l:1) /home #
cd lynx2-8-8/
(armv6l:1) /home/lynx2-8-8 #
./configure --with-screen=ncurses --prefix=/home --enable-nested-tables --enable-cgi-links --enable-persistent-cookies --disable-prettysrc --enable-file-upload --disable-read-eta --enable-scrollbar --enable-included-msgs --enable-externs --disable-color-style --enable-local-docs
Which gives us:
Code:
checking for screen type... ncurses
checking for specific curses-directory... no
Looking for ncurses-config
checking for ncurses6-config... no
checking for ncurses5-config... ncurses5-config
checking if we have identified curses headers... ncurses.h
checking for ncurses.h... yes
...
checking for int... yes
checking size of int...
checking for long... yes
checking size of long...
checking for off_t... (cached) yes
checking size of off_t...
checking for time_t... yes
checking size of time_t...
...
configure: creating ./config.status
config.status: creating makefile
config.status: creating WWW/Library/Implementation/makefile
config.status: creating src/makefile
config.status: creating src/chrtrans/makefile
config.status: creating lynx_cfg.h
Which does at least find the headers now.
and configure finishes correctly.
Now to
make
Fail:
make[1]: Entering directory `/home/lynx2-8-8/WWW/Library/Implementation'
gcc -DHAVE_CONFIG_H -I../../.. -I../../../src -I../../.. -I../../../src -I../../../WWW/Library/Implementation -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DLINUX -I/home/include/ncurses -I/home/include -O2 -I../../../WWW/Library/Implementation/ -DACCESS_AUTH -c ../../../WWW/Library/Implementation/HTParse.c
In file included from ../../../WWW/Library/Implementation/HTParse.c:8:
../../../WWW/Library/Implementation/HTUtils.h:559:19: error: operator '==' has no left operand
AND Also
../../../WWW/Library/Implementation/HTUtils.h:559:19: error: operator '==' has no left operand
../../../WWW/Library/Implementation/HTUtils.h:565:21: error: operator '==' has no left operand
../../../WWW/Library/Implementation/HTUtils.h:582:46: error: operator '>' has no left operand
../../../WWW/Library/Implementation/HTUtils.h:597:20: error: operator '==' has no left operand
../../../WWW/Library/Implementation/HTUtils.h:603:22: error: operator '==' has no left operand
../../../WWW/Library/Implementation/HTUtils.h:620:47: error: operator '>' has no left operand
If I understand this correctly is telling me that a(some) variable is(are) unset. I.e. no comparison value for the operand on the left hand side of the operation.
Time to go source diving and maybe shove in a few flags...
Err I think these lines are the issue:
Code:
* Printing-format for "time_t", as well as cast needed to fit.
*/
#if defined(HAVE_LONG_LONG) && defined(HAVE_INTTYPES_H) && defined(SIZEOF_TIME_T)
#if (SIZEOF_TIME_T == 8) && defined(PRId64)
Hmm. Perhaps this is what Niluje was referring to? a Time Types missing issue. I did rebuild the ncurses with the config he suggested so more reading I guess.
If I could check the correct value for TIME_T (4 or 8 I believe) are being set this would go a long way to checking this is indeed the problem.. resumes reading.
EDIT: Also Tried a
make distclean and reconfigure / make to no avail.
I´ve been through the main makefile, the makefile in question, userdefs.h and I still see no reference to the TIME_T aside from the initial configure request for the value.
time to read the configure script I think and then perhaps dig around in sys/time.h to see what I´m dealing with.
EDIT
OKAY SO I FOUND OUT THE RIGHT SIZES (in another config that works)
checking size of int... 4
checking size of long... 4
checking size of long long... 8
Now perhaps someone can tell me how to jam them in the relevant orifice, that would be great ; )