[Ns-developers] Correction for NS-3 Troubleshooting
Gustavo Carneiro
gjcarneiro at gmail.com
Sat Jan 14 04:45:34 PST 2012
On Sat, Jan 14, 2012 at 03:09, Tommaso Pecorella <tpecorella at mac.com> wrote:
> Hi,
>
> CentOS recently released v6, and gcc is 4.4.6 "out of the box". In order
> to update the troubleshooting page we'll need to know:
> 1) what CentOS release we're talking about,
> 2) what is the error *exactly*. Either a log or a detailed description.
>
> Simply stating that doesn't work doesn't help, and Python is used for too
> many things in ns-3 to simply disable it and live happy.... unless you're a
> developer and you're fully aware of the consequences. As an example, many
> ns-3 tests and examples are based on python. Disabling it means that the
> users will not be even able to run through the tutorial.... quite harsh.
>
Actually, waf configure --disable-python just disables the python
_bindings_ for ns-3. All the python scripts for tests and such will still
work without python bindings, since they interface with ns-3 via subprocess
spawning.
But, I agree with you that it would be best to make python bindings
buildable in CentOS.
> Mind giving more details ?
>
> Thanks,
>
> Tommaso
>
> PS: I installed a fresh CentOS 6 virtual machine, tomorrow I'll try
> compiling ns-3.
>
>
>
> On 13 Jan 2012, at 18:32, Tom Henderson wrote:
>
> > On 01/12/2012 10:46 PM, Primantara HT wrote:
> >> Hi... Sorry for my late reply.
> >>
> >> I just show the correction for NS-3 Troubleshooting (see
> >> http://www.nsnam.org/wiki/index.php/Troubleshooting) which says how
> >> to run NS-3 under CentOS. If we do this, the compilation (with either
> >> build.py or the step 3 ) will stop. Thus in order to make the
> >> compilation successful, it has to disable python (compiled inside
> >> directory ../ns-3-13/ ).
> >>
> >
> > Are you saying that the instructions posted to build ns-3 with gcc-4.4
> are not working either? Did you install gcc44 and gcc44-c++ and follow
> those instructions to set the CXX variable, and the build still stopped
> with Python?
> >
> > - Tom
>
> --------------------------------------------------------------
>
> The nice thing about standards is that there are so many to choose from.
> And if you really don't like all the standards you just have to wait
> another year until the one arises you are looking for.
> -- A. Tanenbaum, "Introduction to Computer Networks"
>
> --------------------------------------------------------------
>
> Tommaso Pecorella - Ph.D.
>
> Assistant professor
> Dpt. Elettronica e Telecomunicazioni
> Università di Firenze
>
> CNIT - Università di Firenze Unit
>
> via di S. Marta 3
> 50139, Firenze
> ITALY
>
> email: tommaso.pecorella at unifi.it
> tommaso.pecorella at cnit.it
>
> phone : +39-055-4796412
> mobile: +39-320-4379803
> fax : +39-055-494569
>
>
>
>
>
>
--
Gustavo J. A. M. Carneiro
INESC Porto, UTM, WiN, http://win.inescporto.pt/gjc
"The universe is always one step beyond logic." -- Frank Herbert
More information about the Ns-developers
mailing list