[elinks-users] problem to compile (rdynamic) and install (install-sh) Elinks

yannick.le-ny at ifrance.com yannick.le-ny at ifrance.com
Wed Aug 23 08:49:47 PDT 2006


1) Compile problem

I download the latest Elinks-0.12's  CVS (2006-08-23) ans I try to compile it
make 3.80
on solaris 8- Sparc.

I use this command line:

CFLAGS="-O3 -mcpu=ultrasparc -mtune=ultrasparc" \
CC=gcc CXX=gcc \
CXXFLAGS="-O3 -mcpu=ultrasparc -mtune=ultrasparc " \
./configure \
--prefix=/opt/parser/elinks-0.12-20060823 \
--with-zlib=/opt/lib/zlib-1.2.3 \
--with-see=/opt/parser/elinks-0.12/lib/see-2.0.1131/bin \
--with-perl=/opt/utils/perl-5.8.8 \
--with-openssl=/opt/lib/openssl-0.9.8b \
--with-libiconv=/opt/utils/libiconv-1.11 \
--enable-html-highlight --enable-utf-8 \
--without-spidermonkey --without-gnutls --without-bzlib --without-x \
--enable-static --enable-shared --with-pic

and when I compile it, I have this error:

make[3]: Leaving directory `/home/webadm/elinks-0.12-20060823/src/viewer/text'
      [CC]   src/viewer/action.o
      [CC]   src/viewer/timer.o
      [CC]   src/viewer/viewer.o
      [LD]   src/viewer/lib.o
make[2]: Leaving directory `/home/webadm/elinks-0.12-20060823/src/viewer'
      [LD]   src/lib.o
      [CC]   src/vernum.o
    [LINK]   src/elinks
gcc: unrecognized option `-rdynamic'
make[1]: Leaving directory `/home/webadm/elinks-0.12-20060823/src'

When I remove the flag LDFLAGS =  -rdynamic
from Makefile.config file, compile works.
But I don't know if the compile I made is good.

Can you correct it ?

2) Install problem

When I try to make install, I have this error:

[MAKE install]   doc
make[1]: Entering directory `/home/webadm/elinks-0.12-20060823/doc'
[MAKE install]   doc/man
make[2]: Entering directory `/home/webadm/elinks-0.12-20060823/doc/man'
[MAKE install]   doc/man/man1
make[3]: Entering directory `/home/webadm/elinks-0.12-20060823/doc/man/man1'
     [INSTALL]   doc/man/man1/elinks.1 -> /opt/parser/elinks-0.12-20060823/man/man1
/bin/bash: config/install-sh: Ce fichier ou ce répertoire n'existe pas
make[3]: *** [install-default] Error 127
make[3]: Leaving directory `/home/webadm/elinks-0.12-20060823/doc/man/man1'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/home/webadm/elinks-0.12-20060823/doc/man'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/webadm/elinks-0.12-20060823/doc'
make: *** [install-recursive] Error 1

And when I change the old line
INSTALL = config/install-sh -c
with the new:
INSTALL = /home/webadm/elinks-0.12-20060823/config/install-sh -c
I works fine.

Can you correct it ?



iFRANCE, exprimez-vous !

More information about the elinks-users mailing list