Hello,
I am trying to install Nmap on my Solaris machine. I got errors at the very last of "make" command though. Could someone point me out what I am lacking?
Thank you!
Nmap version: 5.50 (nmap-5.50.tar.bz2)
Solaris version (cat /etc/release):
Quote:
Oracle Solaris 11 Express snv_151a X86
Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
Assembled 04 November 2010
Error message ( run "./configure && make" after "pfexec bash")
Quote:
NMAP IS A POWERFUL TOOL -- USE CAREFULLY AND RESPONSIBLY
Configuration complete. Type make (or gmake on some *BSD machines) to compile.
Compiling liblua
make[1]: Entering directory `/var/tmp/nmap-5.50/liblua'
gcc -O2 -Wall -g -O2 -Wall -fno-strict-aliasing -DLUA_USE_POSIX -DLUA_USE_DLOPEN -c -o lapi.o lapi.c
lapi.c:9:18: math.h: No such file or directory
lapi.c: In function `luaA_pushobject':
lapi.c:92: warning: visibility attribute not supported in this configuration; ignored
make[1]: *** [lapi.o] Error 1
make[1]: Leaving directory `/var/tmp/nmap-5.50/liblua'
make: *** [lua_build] Error 2
Installed C compiler version on the machine ("pkg info gcc-3" and "pkg info gcc-3-runtime")
Quote:
Name: developer/gcc-3
Summary: gcc - The GNU C compiler
Description: GNU C - The GNU C compiler 3.4.3
Category: Development/C
State: Installed
Publisher: solaris
Version: 3.4.3
Build Release: 5.11
Branch: 0.151.0.1
Packaging Date: November 5, 2010 05:37:51 AM
Size: 84.19 MB
FMRI: pkg://solaris/developer/gcc-3@3.4.3,5.11-0.151.0.1:20101105T053751Z
Quote:
Name: system/library/gcc-3-runtime
Summary: GCC Runtime libraries
Description: GCC Runtime - Shared libraries used by gcc and other gnu
components
Category: Development/C
State: Installed
Publisher: solaris
Version: 3.4.3
Build Release: 5.11
Branch: 0.151.0.1
Packaging Date: November 5, 2010 06:10:38 AM
Size: 6.39 MB
FMRI: pkg://solaris/system/library/gcc-3-runtime@3.4.3,5.11-0.151.0.1:20101105T061038Z