Bug #1566
closed./waf configure unable to detect sphinx-build
0%
Description
The waf script of nfd is unable to detect sphinx-build. However, the waf script of ndn-cxx can detect it.
nfd $ ./waf configure
Setting top to : /Users/obaid/memphis-repos/ndn/nfd/NFD
Setting out to : /Users/obaid/memphis-repos/ndn/nfd/NFD/build
Checking for 'g++' (c++ compiler) : /usr/bin/g++
Checking for program sphinx-build : not found
Checking for program doxygen : /usr/local/bin/doxygen
Checking for program tar : /usr/bin/tar
Checking allowed flags for c++ compiler : -std=c++03 -pedantic -Wall -Wno-long-long -O2 -g
Checking for program pkg-config : /usr/local/bin/pkg-config
Checking for 'libndn-cxx' : yes
Checking boost includes : 1.55.0
Checking boost libs : ok
Checking for boost linkage : ok
Checking if UNIX sockets are supported : yes
Checking for librt library : not found
Checking for libresolv library : yes
Checking for libpcap library : yes
Checking for program bash : /bin/bash
'configure' finished successfully (3.247s)
ndn-cxx $ ./waf configure
Setting top to : /Users/obaid/memphis-repos/ndn/nfd/ndn-cxx
Setting out to : /Users/obaid/memphis-repos/ndn/nfd/ndn-cxx/build
Checking for 'g++' (c++ compiler) : /usr/bin/g++
Checking allowed flags for c++ compiler : -std=c++03 -pedantic -Wall -Wno-long-long -O2 -g
Checking for program doxygen : /opt/local/bin/doxygen
Checking for program tar : /usr/bin/tar
Checking for program sphinx-build : /opt/local/bin/sphinx-build
Checking for program sh : /bin/sh
Checking for framework CoreFoundation : yes
Checking for framework CoreServices : yes
Checking for framework Security : yes
Checking for OpenSSL library : yes
Checking for program pkg-config : /opt/local/bin/pkg-config
Checking for 'sqlite3' : yes
Checking Crypto++ lib : 562
Checking if CryptoPP library works : yes
Checking boost includes : 1.55.0
Checking boost libs : ok
Checking for boost linkage : ok
Checking for library pthread : yes
Checking for library rt : not found
Checking for compiler flags ['-fPIC'] : yes
'configure' finished successfully (3.193s)
Updated by Alex Afanasyev almost 11 years ago
Are you sure that you're running configure step with the same environment?
sphinx-build detection script is exactly the same one and the only thing that is being searched is 'sphinx-build' binary in PATH. If still not working, show output of env
before each ./waf configure
and attach build/config.log
from NFD.
Updated by Syed Amin almost 11 years ago
The PATH variable on the nfd environment didn't have /opt/local/bin in it. Specifying it fixed the problem.
Thanks for the hint.
Updated by Syed Amin almost 11 years ago
Alex, can you please reject this bug. The interface can allow me to 'close' it but I think this is different than rejecting a bug. I am not seeing any option to reject or delete this bug report.
Updated by Alex Afanasyev almost 11 years ago
- Status changed from New to Rejected