How do I compile mod_auth_kerb-5.4 on Solaris 10

Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
I am trying to compile a new version of mod_auth_kerb-5.4 to match a new version of Apache2.4 on Solaris 10
I run:
LIBS="-L/opt/local2/lib -lkrb5" ./configure --with-krb5=/opt/local2/lib --with-krb4=no --with-apache=/usr/local/apache2
Which fails with the following message:
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.
Can anyone advise what "cannot run C compiled programs" might mean in this case.
Config.log (extract):
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 "modauthkerb-developers@lists.sourceforge.net"
| /* end confdefs.h. */
|
| int
| main ()
|
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.
apache-httpd compiling solaris
add a comment |Â
up vote
0
down vote
favorite
I am trying to compile a new version of mod_auth_kerb-5.4 to match a new version of Apache2.4 on Solaris 10
I run:
LIBS="-L/opt/local2/lib -lkrb5" ./configure --with-krb5=/opt/local2/lib --with-krb4=no --with-apache=/usr/local/apache2
Which fails with the following message:
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.
Can anyone advise what "cannot run C compiled programs" might mean in this case.
Config.log (extract):
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 "modauthkerb-developers@lists.sourceforge.net"
| /* end confdefs.h. */
|
| int
| main ()
|
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.
apache-httpd compiling solaris
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I am trying to compile a new version of mod_auth_kerb-5.4 to match a new version of Apache2.4 on Solaris 10
I run:
LIBS="-L/opt/local2/lib -lkrb5" ./configure --with-krb5=/opt/local2/lib --with-krb4=no --with-apache=/usr/local/apache2
Which fails with the following message:
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.
Can anyone advise what "cannot run C compiled programs" might mean in this case.
Config.log (extract):
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 "modauthkerb-developers@lists.sourceforge.net"
| /* end confdefs.h. */
|
| int
| main ()
|
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.
apache-httpd compiling solaris
I am trying to compile a new version of mod_auth_kerb-5.4 to match a new version of Apache2.4 on Solaris 10
I run:
LIBS="-L/opt/local2/lib -lkrb5" ./configure --with-krb5=/opt/local2/lib --with-krb4=no --with-apache=/usr/local/apache2
Which fails with the following message:
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.
Can anyone advise what "cannot run C compiled programs" might mean in this case.
Config.log (extract):
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 "modauthkerb-developers@lists.sourceforge.net"
| /* end confdefs.h. */
|
| int
| main ()
|
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.
apache-httpd compiling solaris
apache-httpd compiling solaris
edited Sep 10 at 16:12
asked Sep 10 at 15:45
Mike Brockington
13
13
add a comment |Â
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f468052%2fhow-do-i-compile-mod-auth-kerb-5-4-on-solaris-10%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password