Hi there,
ok i've managed to get mod_jk.so in "jakarta-tomcat-connectors-1.2.15-src/jk/native/apache-2.0/" but I would just like to get some advise on the next step. From my successful make I was asked to re-compile Apache2.0 but there is no buildconf script in my apache dir. I also got this warning.
>libtool: install: warning: remember to run `libtool --finish /home/rmorrin/James/Java/DownloadedSoftware/apache2.0/modules'
Just not sure on next step.
Regards,
James.

On 12/23/05, James Taylor <[EMAIL PROTECTED]> wrote:
Thanks for your help guys, I dont know how I did it but I managed to get configuer, make and make install to run. This is what ${APACHE_HOME}/modules/jk/ looks like
-rw-r-----    1 rmorrin  rmorrin       448 Dec 23 00:00 config.m4
-rw-r--r--    1 rmorrin  rmorrin    741824 Dec 23 00:00 lib_jk.a
-rw-rw----    1 rmorrin  rmorrin       758 Dec 23 00:00 lib_jk.la
 
Would someone please be able to advise me on what this output from ">make install" means; I tried running the suggested commands but they are not recognised.
Regards.

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



 
On 12/22/05, Fenlason, Josh <[EMAIL PROTECTED] > wrote:
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: [EMAIL PROTECTED]]
Sent: Thursday, December 22, 2005 6:17 AM
To: users@httpd.apache.org
Subject: Re: [EMAIL PROTECTED] mod_jk help

Ok,
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-jni
 
Heres 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 <[EMAIL PROTECTED] > 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 <[EMAIL PROTECTED] > 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: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Reply via email to