Nmap Development mailing list archives

Re: trouble compiling 3.25 on Solaris 9


From: Bernd Zeimetz <zeimetz () rbg informatik tu-darmstadt de>
Date: Wed, 23 Apr 2003 20:21:55 +0200 (MEST)

Hi,

I can't even get past configure on solaris 8 or 9 with preinstalled gcc
3.2.2 and nmap 3.25.  The error is configure is:

Sun doesn't deliver gcc with Solaris AFAIK.

Please provide us the output from
touch foo.c
gcc -v foo.c

and attach config.log to your mail.

configure:1481: checking whether the C++ compiler works
configure:1487: ./a.out
ld.so.1: ./a.out: fatal: libstdc++.so.5: open failed: No such file or
directory
./configure: line 1:  3159 Killed                  ./$ac_file


but my LDFLAGS is set to -L/usr/local/lib and libstdc++.so.5 is soft
linked to libstdc++.so.5.0.2, which is there and readable by root, which
is what I'm compiling as.

_never_ compile as root!! There could be an rm -rf / in make clean.
Or anything else you don't want....


Bye,
Bernd

-- 

  Bernd Zeimetz  - DH4PH -               Tel.: +49 (0)6151 16-4333
  RechnerBetriebsGruppe               Raum: S1/13 11a (alt 25/11a)
  Fachbereich Informatik         Technische Universitaet Darmstadt

---------------------------------------------------------------------
For help using this (nmap-dev) mailing list, send a blank email to 
nmap-dev-help () insecure org . List run by ezmlm-idx (www.ezmlm.org).



Current thread: