RE: Building gcc and NS-2 Problems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Can anyone offer help building the NS-2 network simulator
package?

Is this the wrong forum to ask this kind of question?

John

-----Original Message-----
From: fedora-list-bounces@xxxxxxxxxx
[mailto:fedora-list-bounces@xxxxxxxxxx]On Behalf Of John
Sent: Thursday, April 02, 2009 6:42 PM
To: fedora-list@xxxxxxxxxx
Subject: Building gcc and NS-2 Problems


All,

There really is a question at the end... Sorry for the length.

My goal is to run NS-2 on a non-network connected Pentium
4 box.

I have downloaded the ISO install for Fedora 10.  It has
installed (appears to be running correctly).

I have downloaded the ns-2 all in one package.  I've built
it in the past on a windows box, but was unable to get
the environment variables set up correctly to run it. This
is my motivation for going to the stand alone system. I hope
to be able to have complete control over the environment
without the Windows system interfering.

The ns-2 installation script is failing to build the package
correctly.  I think it is because I don't have my environment
set up correctly. It does not seem to be finding the c compiler.
I have built a hello.c file and updated these environment
variables:

PATH has been extended to include:
/usr/libexec/gcc/i386-redhat-linux/4.3.2 and .

C_INCLUDE_PATH has been added as:
/usr/lib/syslinux/com32/include

LIBRARY_PATH has been added as:
/usr/lib/syslinux/com32/include

I'm sourcing the setup script and checking the new setting w/
env. At a terminal prompt (under a user account) I type gcc hello.c

It seems to be finding the compiler, but not the include files or
libraries of some kind. I get the following:

fileno fdopen fclose fread fwrite fflush main
Execution times (seconds)
followed by a table of compiler results.

I do not get an a.out file.

Finally a question. Assuming my diagnosis of environment variable
mistakes is correct, what are the correct environment variables
to set and set to what?

Is there a c compiler included in the ISO fedora 10 disk install?

Should I be building gcc?  That seems to need a c compiler too.
I have downloaded that package and tried, but failed with similar
results.

If I'm way off base, please point me in a new direction.

I appreciate any help I can get.

Sincerely,

John




--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 8.0.238 / Virus Database: 270.11.38/2037 - Release Date: 04/02/09
06:09:00

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux