Bug 687

Summary: Build failed with GSL in non-default location
Product: ns-3 Reporter: Aleksey Kovalenko <kovalenko>
Component: build systemAssignee: ns-bugs <ns-bugs>
Status: RESOLVED FIXED    
Severity: critical    
Priority: P1    
Version: ns-3-dev   
Hardware: Mac Intel   
OS: Mac OS   
Attachments: wcscript gsl dep

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