Libraries have been installed in:
/home/rmorrin/sw/apache2.0/modules/jk
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- use the `-RLIBDIR' linker flag
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
Please be sure to re-compile Apache...
cd /home/rmorrin/sw/apache2.0
./buildconf
./configure --with-mod_jk
make
Do you have gcc in your path? The following works for me.CC="gcc" \./configure \--with-apxs=/home/rmorrin/sw/apache2.0/bin/apxs \--with-java-home=/home/rmorrin/sw/jdk1.5.0_05 \--with-java-platform=2 \--enable-jni-----Original Message-----
From: James Taylor [mailto: tiptastic@xxxxxxxxx]
Sent: Thursday, December 22, 2005 6:17 AM
To: users@xxxxxxxxxxxxxxxx
Subject: Re: [users@httpd] mod_jk helpOk,I set an env var CC to gcc but configure is still breaking. The following is the command I try to execute>./configure --with-apache=/home/rmorrin/sw/apache2.0 --with-java-home=/home/rmorrin/sw/jdk1.5.0_05 --with-java-platform=2 -enable-jniHeres my output
>hecking build system type... sparc-sun-solaris2.8
>hecking host system type... sparc-sun-solaris2.8
>hecking target system type... sparc-sun-solaris2.8
>hecking for a BSD-compatible install... /opt/csw/bin/ginstall -c
>hecking whether build environment is sane... yes
>hecking for gawk... gawk
>hecking whether make sets $(MAKE)... yes
>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.
Here's a section from config.log## ----------- ##
## Core tests. ##
## ----------- ##
configure:1545: checking build system type
configure:1563: result: sparc-sun-solaris2.8
configure:1571: checking host system type
configure:1585: result: sparc-sun-solaris2.8
configure:1593: checking target system type
configure:1607: result: sparc-sun-solaris2.8
configure:1639: checking for a BSD-compatible install
configure:1694: result: /opt/csw/bin/ginstall -c
configure:1705: checking whether build environment is sane
configure:1748: result: yes
configure:1805: checking for gawk
configure:1821: found /opt/csw/bin/gawk
configure:1831: result: gawk
configure:1841: checking whether make sets $(MAKE)
configure:1861: result: yes
configure:2072: checking for gcc
configure:2098: result: gcc=
configure:2342: checking for C compiler version
configure:2345: gcc= --version </dev/null >&5
./configure: gcc=: command not found
configure:2348: $? = 127
configure:2350: gcc= -v </dev/null >&5
./configure: gcc=: command not found
configure:2353: $? = 127
configure:2355: gcc= -V </dev/null >&5
./configure: gcc=: command not found
configure:2358: $? = 127
configure:2381: checking for C compiler default output file name
configure:2384: gcc= conftest.c >&5
./configure: gcc=: command not found
configure:2387: $? = 127
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "mod_jk"
| #define VERSION "1.2.14"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:2426: error: C compiler cannot create executables
See `config.log' for more details.
On 12/21/05, John P. Dodge <dodge@xxxxxxxxxxxxxxxxxxxxxx > wrote:On Wed, 21 Dec 2005, James Taylor wrote:
> Hi there,
> I'm not at all hot on compiler stuff so could you/someone please ellaborate
> a little on this for me.
> I checked <apachedir>/build/config_vars.mk and I see this >CC = gcc, and I
> can not see any env or shell vars that have CC in them.
> I'm using a solaris 8 platform.
> Thanks,
> James.
>
>
> On 12/20/05, John P. Dodge <dodge@xxxxxxxxxxxxxxxxxxxxxx > wrote:
> >
> > >
> > > libtool: compile: unable to infer tagged configuration
> > >
> > > libtool: compile: specify a tag with `--tag'
> > >
> > This error is due to a missmatch between what you have set CC to in the
> > shell when running configure and what the CC var is set to in the
> > config_vars.mk file references in apxs.
> >
> > Either unset CC or look up the compiler (CC) reference in
> > <apachedir>/build/config_vars.mk.
> >
> > Libtool thinks that you are building/linking for a different compiler.
Try setting the CC var in the shell to gcc before you run configure.
CC=gcc
export CC
./configure .....
----------------------------------------
"Mon a�roglisseur est plein d'anguilles"
John P. Dodge
Boeing Shared Services
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL: http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
" from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx