Bugzilla – Bug 1273
Better error message on missing Python development files
Last modified: 2012-02-20 07:17:57 UTC
Currently, on Fedora at least, if python package is installed and python-devel isn't, this results in: ---- Summary of optional NS-3 features: NS-3 Click Integration : not enabled (nsclick not enabled (see option --with-nsclick)) GtkConfigStore : not enabled (library 'gtk+-2.0 >= 2.12' not found) XmlIo : not enabled (library 'libxml-2.0 >= 2.7' not found) Threading Primitives : enabled Real Time Simulator : enabled Emulated Net Device : enabled Network Simulation Cradle : enabled MPI Support : not enabled (option --enable-mpi not selected) NS-3 OpenFlow Integration : not enabled (Required boost libraries not found) SQlite stats data output : not enabled (library 'sqlite3' not found) Tap Bridge : enabled Python Bindings : not enabled (The configuration failed (complete log in /home/vedranm/bin/ns-3-allinone/ns-3-dev/build/config.log)) Use sudo to set suid bit : not enabled (option --enable-sudo not selected) Build tests : not enabled (defaults to disabled) Build examples : not enabled (defaults to disabled) GNU Scientific Library (GSL) : not enabled (GSL not found) 'configure' finished successfully (2.461s) It would be cool if waf could print something like (library 'python' not found) or (Required python develoment libraries not found). If it's hard to do this, please ignore this bug.
Created attachment 1249 [details] config.log
Again, this is upstream WAF issue... ns-3 ships a copy of the WAF python tool just to fix a bug, otherwise it's just WAF.
Hi Gustavo, Thomas Nagy responded to upstream report: http://code.google.com/p/waf/issues/detail?id=1048
changeset: 7716:8758b76b756c tag: tip user: Gustavo J. A. M. Carneiro <gjc@inescporto.pt> date: Mon Feb 20 12:17:26 2012 +0000 summary: Bug 1273 - Better error message on missing Python development files