Opened 16 years ago

Last modified 11 years ago

#13535 closed defect

Problem with installing NS-2 port — at Initial Version

Reported by: utayba@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.5.2
Keywords: NS-2 gcc-3.3 Cc:
Port:

Description

I am new to mac os x system, I tried to install the NS-2 port on my macbook (intel-based core 2 duo 2.2 GHz, 4 GB ram, Leopard), but I got errors in the early stages of the installation, starting with otcl

in/g++-3.3 " returned error 77 Command output: No .configure file found in current directory Continuing with default options... checking build system type... i386-apple-darwin9.1.0 checking host system type... i386-apple-darwin9.1.0 checking target system type... i386-apple-darwin9.1.0 checking for gcc... /usr/bin/gcc-3.3 checking for C compiler default output file name... configure: error: C compiler cannot create executables See `config.log' for more details. ..... I found later on that OTCL, TCLCL, and NS-2 ports use gcc-3.3 and gcc++-3.3 which are only compatible with powerpc processors for mac os x. I edited the port files and replaced the gcc-3.3 with gcc-4.0 and gcc++-3.3 with gcc++4.0, and the installation went through, but gave a warning message at the end

utayba-mohammads-macbook:~ utayba$ sudo port install ns-2 Portfile changed since last build; discarding previous state ---> Fetching ns-2 ---> Verifying checksum(s) for ns-2 ---> Extracting ns-2 ---> Applying patches to ns-2 ---> Configuring ns-2 ---> Building ns-2 with target all ---> Staging ns-2 into destroot Warning: violation by /opt/local/man Warning: ns-2 violates the layout of the ports-filesystems! Warning: Please fix or indicate this misbehavior (if it is intended), it will be an error in future releases! ---> Installing ns-2 20050728_0 ---> Activating ns-2 20050728_0 ---> Cleaning ns-2

I read in some sites that using gcc-4.0 could cause some problems with ns-2 but I hope it won't hurt much.... If there is a better way to solve this please let me know

Best Regards,

Change History (0)

Note: See TracTickets for help on using tickets.