Re: compiling mod_jk 2.0.4 on macos X (10.2)

2004-04-02 Thread Kurt Miller
From: "Marco Baringer" <[EMAIL PROTECTED]>
> On Venerdì, apr 2, 2004, at 19:43 Europe/Rome, Kurt Miller wrote:
>
> > Great! I'm assuming that you got it working for apache2, right?
> > From your last email it apears that apache13 on macos X might
> > need some changes. Could you try apache13 and let us know
> > how it goes?
>
> no, i got it working an apache13. i haven't tried apache2 yet.
>

OK, great. I believe the person who found the dylib problem
got it working with apache2. 2.0.5 may be good for macos X.

> --
> Marco
> Ring the bells that still can ring.
> Forget the perfect offering.
> There is a crack in everything.
> That's how the light gets in.
> -Leonard Cohen


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: compiling mod_jk 2.0.4 on macos X (10.2)

2004-04-02 Thread Marco Baringer
On Venerdì, apr 2, 2004, at 19:43 Europe/Rome, Kurt Miller wrote:

Great! I'm assuming that you got it working for apache2, right?
From your last email it apears that apache13 on macos X might
need some changes. Could you try apache13 and let us know
how it goes?
no, i got it working an apache13. i haven't tried apache2 yet.

--
Marco
Ring the bells that still can ring.
Forget the perfect offering.
There is a crack in everything.
That's how the light gets in.
-Leonard Cohen
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: compiling mod_jk 2.0.4 on macos X (10.2)

2004-04-02 Thread Kurt Miller
From: "Marco Baringer" <[EMAIL PROTECTED]>
> 
> twas libtool after all.
> 
> I grabbed a clean cvs tree, deleted jk/native2/libtool, copied in my 
> version of gnu libtool (1.5.2) and everything went smoothly. compiled, 
> built mod_jk2.so and apache seems to like it.
> 

Great! I'm assuming that you got it working for apache2, right?
>From your last email it apears that apache13 on macos X might 
need some changes. Could you try apache13 and let us know 
how it goes?

> --
> Marco
> Ring the bells that still can ring.
> Forget the perfect offering.
> There is a crack in everything.
> That's how the light gets in.
> -Leonard Cohen
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: compiling mod_jk 2.0.4 on macos X (10.2)

2004-04-02 Thread Marco Baringer
twas libtool after all.

I grabbed a clean cvs tree, deleted jk/native2/libtool, copied in my 
version of gnu libtool (1.5.2) and everything went smoothly. compiled, 
built mod_jk2.so and apache seems to like it.

--
Marco
Ring the bells that still can ring.
Forget the perfect offering.
There is a crack in everything.
That's how the light gets in.
-Leonard Cohen
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: compiling mod_jk 2.0.4 on macos X (10.2)

2004-04-02 Thread Marco Baringer
On Venerdì, apr 2, 2004, at 16:45 Europe/Rome, Kurt Miller wrote:

Is there a jk/build/jk2/apache13/usr/local/libexec/mod_jk2.dylib?
no. only .a and .la

This has been reported and fixed post 2.0.4. A quick workaound
would be to edit jk/native2/configure, find all the referances to
libapr-1.so, libapr-0.so and libapr.so and change to
libapr-1.dylib, libapr-0.dylib and libapr.dylib respectively.
i grabbed the latest CVS to see if that helped but libtool started  
going mad.

Everything built fine (upto mod_jk2.o), then when trying libtool  
--mode=link i get this:

*** Warning: This system can not link to static lib archive  
/Users/mb/apache/jakarta-tomcat-connectors/jk/native2/apr-0.9.4//lib/ 
libapr-0.la.
*** I have the capability to make that library automatically link in  
when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have.
*** But as you try to build a module library, libtool will still create
*** a static module, that should work as long as the dlopening  
application
*** is linked with the -dlopen flag to resolve symbols at runtime.

which may be related the shared vs. dynamic issue mentioned in another  
email.

Then i get this:

../../libtool: test: : integer expression expected

repeated may (~ 30) times. The build then tries to do ar cru for every  
.o file into mod_jk2.a, ranlib complains a few times about files not  
having symbols, but I don't think that's a problem.

Make then repets these exart same steps (with same error messages)  
again and at the end tries this:

chmod 644  
/Users/mb/apache/jakarta-tomcat-connectors/jk/native2/server/apache13/ 
../../../build/jk2/apache13//Users/mb/apache/httpd13/libexec/mod_jk2.a
libtool: install: warning: remember to run `libtool --finish  
/Users/mb/apache/httpd13/libexec'
/bin/cp  
../../../build/jk2/apache13//Users/mb/apache/httpd13/libexec/mod_jk2.so  
../../../build/jk2/apache13/mod_jk2.so
/bin/cp:  
../../../build/jk2/apache13//Users/mb/apache/httpd13/libexec/ 
mod_jk2.so: No such file or directory
make[1]: *** [../../../build/jk2/apache13/mod_jk2.so] Error 1

and dies.

I have a directory with all the .o files, what command should i try to  
build mod_jk2.so ?

p.s. - i really think this is a libtool issue on my side, i'll see what  
i can figure out.

--
Marco
Ring the bells that still can ring.
Forget the perfect offering.
There is a crack in everything.
That's how the light gets in.
-Leonard Cohen
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: compiling mod_jk 2.0.4 on macos X (10.2)

2004-04-02 Thread Henri Gomez
Kurt Miller wrote:

From: "Marco Baringer" <[EMAIL PROTECTED]>

i'm trying to compile mod_jk (just the apache side, not the tomcat 
side).

I downloaded jakarta-tomcat-connectors-jk2-2.0.4-src. apr-0.9.4 and 
apr-util-0.9.4 and was able to successfully run configure (i'm building 
against apache 1.3).

however trying to do make results in an error about 
build/jk2/apache13/mod_jk2.so not existing (it doesn't). i have all the 
.o files and i have mod_jk2.a and mod_jk2.la, why isn't the .so file 
being built?


Is there a jk/build/jk2/apache13/usr/local/libexec/mod_jk2.dylib?

You could try editing jk/native2/server/apache13/Makefile and
change all .so to .dylib and see if that helps.

Attempts to build against apache2 result in configure errors about 
libapr not being found.


This has been reported and fixed post 2.0.4. A quick workaound
would be to edit jk/native2/configure, find all the referances to 
libapr-1.so, libapr-0.so and libapr.so and change to 
libapr-1.dylib, libapr-0.dylib and libapr.dylib respectively.

There is a fix in jk2 CVS to fix this .dylib

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: compiling mod_jk 2.0.4 on macos X (10.2)

2004-04-02 Thread Kurt Miller
From: "Marco Baringer" <[EMAIL PROTECTED]>
> 
> i'm trying to compile mod_jk (just the apache side, not the tomcat 
> side).
> 
> I downloaded jakarta-tomcat-connectors-jk2-2.0.4-src. apr-0.9.4 and 
> apr-util-0.9.4 and was able to successfully run configure (i'm building 
> against apache 1.3).
> 
> however trying to do make results in an error about 
> build/jk2/apache13/mod_jk2.so not existing (it doesn't). i have all the 
> .o files and i have mod_jk2.a and mod_jk2.la, why isn't the .so file 
> being built?

Is there a jk/build/jk2/apache13/usr/local/libexec/mod_jk2.dylib?

You could try editing jk/native2/server/apache13/Makefile and
change all .so to .dylib and see if that helps.

> 
> Attempts to build against apache2 result in configure errors about 
> libapr not being found.

This has been reported and fixed post 2.0.4. A quick workaound
would be to edit jk/native2/configure, find all the referances to 
libapr-1.so, libapr-0.so and libapr.so and change to 
libapr-1.dylib, libapr-0.dylib and libapr.dylib respectively.

> 
> --
> Marco
> Ring the bells that still can ring.
> Forget the perfect offering.
> There is a crack in everything.
> That's how the light gets in.
> -Leonard Cohen
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: compiling mod_jk 2.0.4 on macos X (10.2)

2004-04-02 Thread Adam Fowler
Hi Marco,

It sounds like the configure script is telling Make (*simplification*) to
only build static files (.la), which is bizarre. Try running configure with
the following option to force it to build the shared (.so) libraries:

./configure --enable-shared=yes ... *plus other options as usual*

Then do:

make clean
make

as usual.

Hope that helps,

Adam.

-Original Message-
From: Marco Baringer [mailto:[EMAIL PROTECTED]
Sent: 02 April 2004 15:03
To: [EMAIL PROTECTED]
Subject: compiling mod_jk 2.0.4 on macos X (10.2)



i'm trying to compile mod_jk (just the apache side, not the tomcat 
side).

I downloaded jakarta-tomcat-connectors-jk2-2.0.4-src. apr-0.9.4 and 
apr-util-0.9.4 and was able to successfully run configure (i'm building 
against apache 1.3).

however trying to do make results in an error about 
build/jk2/apache13/mod_jk2.so not existing (it doesn't). i have all the 
.o files and i have mod_jk2.a and mod_jk2.la, why isn't the .so file 
being built?

Attempts to build against apache2 result in configure errors about 
libapr not being found.

--
Marco
Ring the bells that still can ring.
Forget the perfect offering.
There is a crack in everything.
That's how the light gets in.
-Leonard Cohen


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


_

This email and any files attached is intended for the addressee only and may contain 
information that is confidential and/or legally privileged. Unauthorised use is 
strictly prohibited and may be unlawful. If you are not the addressee, you should not 
read, copy, disclose or otherwise use this message, including any attachment, except 
for the purpose of delivery to the addressee.

We make every effort to keep our network free from viruses. However, you do need to 
verify this e-mail and any attachments to it to be virus free as we can take no 
responsibility for any computer virus which might be transferred by way of this e-mail.

Scanning of this message and addition of this footer is performed by SurfControl 
E-mail Filter software in conjunction with virus detection software.





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



compiling mod_jk 2.0.4 on macos X (10.2)

2004-04-02 Thread Marco Baringer
i'm trying to compile mod_jk (just the apache side, not the tomcat 
side).

I downloaded jakarta-tomcat-connectors-jk2-2.0.4-src. apr-0.9.4 and 
apr-util-0.9.4 and was able to successfully run configure (i'm building 
against apache 1.3).

however trying to do make results in an error about 
build/jk2/apache13/mod_jk2.so not existing (it doesn't). i have all the 
.o files and i have mod_jk2.a and mod_jk2.la, why isn't the .so file 
being built?

Attempts to build against apache2 result in configure errors about 
libapr not being found.

--
Marco
Ring the bells that still can ring.
Forget the perfect offering.
There is a crack in everything.
That's how the light gets in.
-Leonard Cohen
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]