[MacPorts] #13535: ns-2 and dependencies want gcc-3.3 and are
out of date
MacPorts
trac at macosforge.org
Mon Dec 10 09:20:30 PST 2007
#13535: ns-2 and dependencies want gcc-3.3 and are out of date
-------------------------------+--------------------------------------------
Reporter: utayba at yahoo.com | Owner: macports-dev at lists.macosforge.org
Type: defect | Status: new
Priority: Normal | Milestone: Port Bugs
Component: ports | Version: 1.5.2
Resolution: | Keywords: NS-2 gcc-3.3
-------------------------------+--------------------------------------------
Old 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,
New 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,
--
Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13535#comment:2>
MacPorts </projects/macports>
Ports system for Mac OS
More information about the macports-tickets
mailing list