I've successfully compiled w3m (0.3) on Solaris 5.8.
But "make install" reports:
sh install-sh -m 755 -s w3m
/vol/freeware/SunOS-5.8/w3m/0.3/bin/w3m
BFD: /vol/freeware/SunOS-5.8/w3m/0.3/bin/stpNayi5:
warning: allocated section `.interp' not in segment
and the installed w3m fails with:
w3m: Cannot find ELF
Here are some of the parameters I've set with configure
(from XXMakefile):
BIN_DIR = /vol/freeware/SunOS-5.8/w3m/0.3/bin
HELP_DIR = /vol/freeware/SunOS-5.8/w3m/0.3/share
LIB_DIR = /vol/freeware/SunOS-5.8/w3m/0.3/lib
ETC_DIR = /vol/freeware/SunOS-5.8/w3m/0.3/etc
RC_DIR = ~/.w3m
HELP_FILE = w3mhelp-w3m_en.html
SYS_LIBRARIES = -lcurses
LOCAL_LIBRARIES = -lsocket -lnsl
CC = gcc
MYCFLAGS = -O -I./gc/include
LDFLAGS =
GCCFLAGS = -O -I./gc/include -I./$(srcdir)/include
-DATOMIC_UNCOLLECTABLE -DNO_S
IGNALS -DNO_EXECUTE_PERMISSION -DSILENT
-DALL_INTERIOR_POINTERS
KEYBIND_SRC = keybind.c
KEYBIND_OBJ = keybind.o
EXT=
MATHLIB=-lm
Z_CFLAGS=-I/usr/include
ZLIB=-L/lib -lz
EXT_TARGETS=$(BOOKMARKER) $(HELPER) $(INFLATE)
GC_CFLAGS=
GCLIB=gc/gc.a
GCTARGET=gc/gc.a
RANLIB=ranlib
MKDIR=mkdir -p
PERL=/usr/local/gnu/bin/perl
VERSION=0.3
MODEL=SunOS.sun4u-cookie-EN
I seem to have a 2nd problem cause when I tried to run
w3m in the build directory access to URLs always failed
with error mesage "Unknown URI:".
We have to use a PROXY here. i.e. I have set the
environment
variables HTTP_PROXY and NO_PROXY, the values of these
to
variables were automatically defined in w3m config
file.
Netscape and emacs w3 do work so the proxy shouldn't be
the problem.
Thanks for any help.
Logged In: YES
user_id=574559
ok I've found the source of the problem. The strip tool
(from GNU binutils)
that is installed here for Solaris 5.8 is broken. Used
/usr/ccs/bin/strip instead and install worked fine.
But my 2nd problem (see above) remains. Can't access any
URLs, all I ever get is: Unknown URI
Proxy-Problem still persists?