Como eu compilo mod_auth_kerb-5.4 no Solaris 10

0

Eu estou tentando compilar uma nova versão do mod_auth_kerb-5.4 para combinar com uma nova versão do Apache2.4 no Solaris 10

Eu corro:

LIBS="-L/opt/local2/lib -lkrb5" ./configure --with-krb5=/opt/local2/lib --with-krb4=no --with-apache=/usr/local/apache2

Que falha com a seguinte mensagem:

  checking for gcc... gcc
  checking for C compiler default output file name... a.out
  checking whether the C compiler works... configure: error: in '/export/home/xxxxxx/mod_auth_kerb-5.4':
  configure: error: cannot run C compiled programs.
  If you meant to cross compile, use '--host'.
  See 'config.log' for more details.

Alguém pode aconselhar o que "não pode executar programas compilados C" pode significar neste caso.

Config.log (extrato):

configure:2120: $? = 0
configure:2127: gcc -v >&5
Reading specs from /usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/specs
Configured with: /sfw10/builds/build/sfw10-patch/usr/src/cmd/gcc/gcc-3.4.3/configure --prefix=/usr/sfw --with-as=/usr/ccs/bin/as --without-gnu-as --with-ld=/
usr/ccs/bin/ld --without-gnu-ld --enable-languages=c,c++ --enable-shared
Thread model: posix
gcc version 3.4.3 (csl-sol210-3_4-branch+sol_rpath)
configure:2131: $? = 0
configure:2138: gcc -V >&5
gcc: '-V' option must have argument
configure:2142: $? = 1
configure:2165: checking for C compiler default output file name
configure:2187: gcc    conftest.c -L/opt/local2/lib -lkrb5 >&5
ld: warning: file libintl.so.8: required by /opt/local2/lib/libkrb5.so, not found
Undefined                       first referenced
symbol                             in file
libintl_bindtextdomain              /opt/local2/lib/libkrb5.so
libintl_dgettext                    /opt/local2/lib/libkrb5.so
libintl_ngettext                    /opt/local2/lib/libkrb5.so
ld: fatal: symbol referencing errors. No output written to a.out
collect2: ld returned 1 exit status
configure:2191: $? = 1
configure:2229: result:
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "mod_auth_kerb"
| #define PACKAGE_TARNAME "mod_auth_kerb"
| #define PACKAGE_VERSION "5.4"
| #define PACKAGE_STRING "mod_auth_kerb 5.4"
| #define PACKAGE_BUGREPORT "[email protected]"
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:2235: error: in '/export/home/u-appadm/mod_auth_kerb-5.4':
configure:2238: error: C compiler cannot create executables
See 'config.log' for more details.
    
por Mike Brockington 10.09.2018 / 17:45

0 respostas