Hi all. I'm trying to follow the Tomcat docs instructions for building jsvc.
I can't get past the ./configure step. Any help would be greatly

Trying to build on Ubuntu Linux. Linux linux-workstation 2.6.22-14-generic.

I've uninstalled all versions of Java except the JDK 6 I downloaded from
Sun. I set JAVA_HOME and added JAVA_HOME/bin to my PATH.

I tried to run it like this:

./configure --with-java=/usr/local/java/bin/java

I get this:

*** Current host ***
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking cached host system type... ok
*** C-Language compilation tools ***
checking for gcc... gcc
checking for C compiler default output file name... 
configure: error: C compiler cannot create executables
See `config.log' for more details.

Then I check the log and find...

Thread model: posix
gcc version 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)
configure:2131: $? = 0configure:2138: gcc -V >&5
gcc: '-V' option must have argument
configure:2141: $? = 1
configure:2164: checking for C compiler default output file name
configure:2191: gcc    conftest.c  >&5
/usr/bin/ld: crt1.o: 
No such file: No such file or directory
collect2: ld returned 1 exit status
configure:2194: $? = 1
configure:2232: result: configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| /* end confdefs.h.  */
| int
| main ()
| {
|   ;
|   return 0;
| }
configure:2239: error: C compiler cannot create executables
See `config.log' for more details.

View this message in context: 
Sent from the Tomcat - User mailing list archive at Nabble.com.

To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to