1753859 Members
7686 Online
108809 Solutions
New Discussion юеВ

Re: w3m installation

 
Shinji Teragaito_1
Respected Contributor

Re: w3m installation

% cd ~/oss/w3m-0.5.1
% ./configure --help | grep m17n
--disable-m17n do not use m17n
%
% cd ~/oss/w3m-0.5.2
% ./configure --help | grep m17n
--disable-m17n do not use m17n
%

I believe you can download w3m-0.5.2. So you can specify
--disable-m17n. I don't understand why you didn't specify it.
This option doesn't define USE_M17N flag in config.h. Then it
can avoid your unsat errors.

Good luck !!
Rizwan84tx
Frequent Advisor

Re: w3m installation

Hi I did specify

%./configure --disable-m17n

Even then i'm getting the Unsat errors. I downloaded w3m-0.5.2 again and tried, still the no luck :(
Shinji Teragaito_1
Respected Contributor

Re: w3m installation

Suppose you have w3m-0.5.2 source files.

1. % make clean
2. Change config.h as follows:

% vi config.h

#define HELP_FILE "w3mhelp-w3m_en.html"

#define DISPLAY_CHARSET WC_CES_US_ASCII
#define SYSTEM_CHARSET WC_CES_US_ASCII
#define DOCUMENT_CHARSET WC_CES_US_ASCII
/* #undef USE_M17N */
/* #undef USE_UNICODE */
#define W3M_LANG EN

3. % make
Rizwan84tx
Frequent Advisor

Re: w3m installation

Hi,

I appreciate your help alot. I did "make clean" the "config.h" had same values as u suggested.Then i ran "make", but this time i was stopped with a new error.

gcc -I. -I. -g -O2 -I/usr/include/openssl -I/usr/local/include/gc -I/usr/local/include/gc -DHAVE_CONFIG_H -DAUXBIN_DIR=\"/usr/local/libexec/w3m\" -DCGIBIN_DIR=\"/usr/local/libexec/w3m/cgi-bin\" -DHELP_DIR=\"/usr/local/share/w3m\" -DETC_DIR=\"/usr/local/etc\" -DCONF_DIR=\"/usr/local/etc/w3m\" -DRC_DIR=\"~/.w3m\" -DLOCALEDIR=\"/usr/local/share/locale\" -o w3mimgdisplay w3mimgdisplay.o w3mimg/w3mimg.a -L/usr/local/lib -lm
gcc: w3mimg/w3mimg.a: No such file or directory
*** Error exit code 1


I looked in w3m directory there is no w3mimg/w3mimg.a.

# cd w3mimg
# ls
.cvsignore Makefile Makefile.in fb w3mimg.c w3mimg.h x11
#
# ls -la
total 24
drwxr-xr-x 4 1000 root 1024 Sep 25 08:54 .
drwxr-xr-x 11 1000 root 4096 Sep 26 02:08 ..
-rw-r--r-- 1 1000 root 9 Sep 22 2003 .cvsignore
-rw-r--r-- 1 root sys 713 Sep 25 08:54 Makefile
-rw-r--r-- 1 1000 root 722 Apr 26 2004 Makefile.in
drwxr-xr-x 2 1000 root 1024 Sep 25 08:54 fb
-rw-r--r-- 1 1000 root 708 Nov 5 2002 w3mimg.c
-rw-r--r-- 1 1000 root 1416 Jul 13 2003 w3mimg.h
drwxr-xr-x 2 1000 root 96 Sep 25 08:54 x11
Dennis Handly
Acclaimed Contributor

Re: w3m installation

>I looked in w3m directory there is no w3mimg/w3mimg.a.

So go there and make it?
Shinji Teragaito_1
Respected Contributor

Re: w3m installation

Please confirm your Makefile before invoking make command:

% vi Makefile

WCCFLAGS =

W3M_LIBS = -lssl -lcrypto -lcurses
WCTARGET =

AR=ar <====

HELP_FILE = w3mhelp-w3m_en.html

MODEL=-EN

%

Your Makefile should define $(AR). Is the ar command gone from your system ?

% which ar
/usr/bin/ar
% ll /usr/bin/ar
lr-xr-xr-x 1 bin bin 15 Aug 17 15:38 /usr/bin/ar -> /usr/ccs/bin/ar
%