Opened 19 years ago

Closed 19 years ago

#6005 closed defect (fixed)

BUG: nmap does not compile (again)

Reported by: osx@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc:
Port:

Description

after executing: port -v install nmap i get

/opt/local/include/getopt.h:115: error: declaration of C function 'int getopt()' conflicts with /usr/include/unistd.h:422: error: previous declaration 'int getopt(int, char* const*, const char*)' here make: * [main.o] Error 1

like in bug report 681 (two years ago!). so i think something changed again.

i did not manage to set HAVE_UNISTD 0 via configure neither i managed to persuade the tool to compile with /usr/include only. so i actually dont have a fix right now. sorry if this is a complete bogus bugreport and i did a simple mistake. i am just a beginner. -fw

Change History (3)

comment:1 Changed 19 years ago by osx@…

Summary: nmap does not compile (again)BUG: nmap does not compile (again)

comment:2 Changed 19 years ago by opendarwin.org@…

Status: newassigned

upreving to 3.95, has a fix for Mac OS X compiles.

comment:3 Changed 19 years ago by opendarwin.org@…

Resolution: fixed
Status: assignedclosed

upreved to 3.95, removed gtk1 variant as gtk1 is no longer supported (gtk2 is). Tested on Mac OS X 10.4.3, plz test on 10.3.* if possible.

Note: See TracTickets for help on using tickets.