Bug 687 - Build failed with GSL in non-default location
Build failed with GSL in non-default location
Status: RESOLVED FIXED
Product: ns-3
Classification: Unclassified
Component: build system
ns-3-dev
Mac Intel Mac OS
: P1 critical
Assigned To: ns-bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-09-22 05:23 UTC by Aleksey Kovalenko
Modified: 2009-09-23 12:58 UTC (History)
0 users

See Also:


Attachments
wcscript gsl dep (310 bytes, patch)
2009-09-22 05:23 UTC, Aleksey Kovalenko
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Aleksey Kovalenko 2009-09-22 05:23:59 UTC
Created attachment 598 [details]
wcscript gsl dep

#pkg-config gsl --cflags
-I/opt/local/include 

#./waf configure
.....
Checking for pkg-config flags for GSL                   : ok  
.....

#./waf
....
cxx: src/core/rng-test-suite.cc -> build/debug/src/core/rng-test-suite_1.o
13:20:44 runner system command -> ['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-Werror', '-Wno-error=deprecated-declarations', '-fPIC', '-compatibility_version', '1', '-current_version', '1', '-Idebug', '-I..', '-D_DEBUG', '-DRUN_SELF_TESTS', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DENABLE_GSL', '-DNS3_MODULE_COMPILATION', '../src/core/rng-test-suite.cc', '-c', '-o', 'debug/src/core/rng-test-suite_1.o']
../src/core/rng-test-suite.cc:19:25: error: gsl/gsl_cdf.h: No such file or directory
../src/core/rng-test-suite.cc:20:31: error: gsl/gsl_histogram.h: No such file or directory
....

Attached patch solves the problem.
Comment 1 Gustavo J. A. M. Carneiro 2009-09-23 09:36:30 UTC
Comment on attachment 598 [details]
wcscript gsl dep

looks good to commit
Comment 2 Aleksey Kovalenko 2009-09-23 12:58:15 UTC
fixed:a5b185f132fe