bogdan celer
|
Why -I/usr/pkg/include in pkgrsc does not work ?
|
bogdan celer
12/11/2009 12:27 PM
post43680
|
Why -I/usr/pkg/include in pkgrsc does not work ?
When I compiled new version libiconv in pkgrsc in file config.log I found following record:
configure:14008: checking for iconv
configure:14042: gcc -o conftest -O2 -I/usr/pkg/include -Wl,-R/usr/pkg/lib conftest.c /usr/pkg/lib/libiconv.so -Wl,-
rpath -Wl,/usr/pkg/lib >&5
conftest.c:30:19: fatal error: iconv.h: No such file or directory
compilation terminated.
But in directory /usr/pkg/include file iconv.h exists.
And compilation conftest.c with use the same sequence:
gcc -o conftest -O2 -I/usr/pkg/include -Wl,-R/usr/pkg/lib conftest.c /usr/pkg/lib/libiconv.so -Wl,-rpath -Wl,/usr/
pkg/lib
it be holds without problem.
Why -I/usr/pkg/include in pkgrsc does not work ?
|
|
|