1, Аноним (1), 10:39, 16/12/2004 [ответить]
| +/– |
при компиляции mod_perlservice на freebsd сталкнулся с проблемой.
sh ./configure --prefix=/usr/local/www2/modules
...
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See 'config.log' for more details.
--cat config.log---
...
configure:2227: $? = 0
configure:2229: gcc -v </dev/null >&5
Using built-in specs.
Configured with: FreeBSD/i386 system compiler
Thread model: posix
gcc version 3.3.3 [FreeBSD] 20031106
configure:2232: $? = 0
configure:2234: gcc -V </dev/null >&5
gcc: '-V' option must have argument
configure:2237: $? = 1
configure:2260: checking for C compiler default output file name
configure:2263: gcc conftest.c -lperl -lexpat -lm -ldl -lcrypt >&5
/usr/bin/ld: cannot find -lperl
configure:2266: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "mod_perlservice"
| #define VERSION "0.0.4"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:2305: error: C compiler cannot create executables
See 'config.log' for more details.
...
---end---
кто знает в чем может быть причина ?:)
| |
|
2, One (??), 10:42, 16/12/2004 [^] [^^] [^^^] [ответить]
| +/– |
пардон забыл еще сказать.
# ldconfig -r | grep lperl
14:-lperl.3 => /usr/lib/compat/libperl.so.3
т.е. проблема с libperl отпадает.
| |
|
|