port mod_jk, mod_jk2 & apache2

port mod_jk, mod_jk2 & apache2

Post by Palle Girgenso » Fri, 13 Jun 2003 19:16:58



Hi Zhong,

First, the first error is that aclocal cannot be found. Do you have it
installed in /usr/local/bin/aclocal? Since aclocal cannot be found, do you
have /usr/local/bin in your path? Is automake installed?

Next, there is no comitted port for apache2 & mod_jk. They're still in
GNATS.

The ports I mentioned in my mail are not in the ports tree yet, (apart from
mod_jk for apache13), they are still in GNATS. If you like, please try
them, perhaps they work better? I'm not sure they will work better for you,
only that they work for me. :)

<http://www.freebsd.org/cgi/query-pr-summary.cgi?text=mod_jk&originato...
gen>

You will have to extract them from the PRs, or wait until they get comitted.

Hope this works for you. Please mail me if you have more questions.

/Palle


Quote:> Hi,

> Since I knew there is a fix, I tried to install but failed. I download the
> ports(apache2, mod_jk & mod_jk2) from FreeBSD. The status is

> compiling & installing apache2 OK

> compiling mod_jk:

>       # make
>       ===>  Extracting for mod_jk-1.2.3,1
>       >> Checksum OK for jakarta-tomcat-connectors-jk-1.2.3-src.tar.gz.
>       ===>  Patching for mod_jk-1.2.3,1
>       ===>  Applying FreeBSD patches for mod_jk-1.2.3,1
>       cd
> /usr/ports/www/mod_jk/work/jakarta-tomcat-connectors-jk-1.2.3-src/jk/nati
> ve;

> aclocal; /usr/local/bin/libtoolize
>       aclocal: not found
>       *** Error code 127

>       Stop in /usr/ports/www/mod_jk.

> compiling mod_jk2:

>       # make
>       ===>  Building for mod_jk-apache2-1.2.2
>       Making all in common
>       gmake[1]: Entering directory
> `/usr/ports/www/mod_jk2/work/jakarta-tomcat-connectors-jk-1.2.2-src/jk/na
> tive/common'       gmake[1]: Nothing to be done for `all'.
>       gmake[1]: Leaving directory
> `/usr/ports/www/mod_jk2/work/jakarta-tomcat-connectors-jk-1.2.2-src/jk/na
> tive/common'       Making all in apache-2.0
>       gmake[1]: Entering directory
> `/usr/ports/www/mod_jk2/work/jakarta-tomcat-connectors-jk-1.2.2-src/jk/na
> tive/apache-2.0'       /bin/sh /usr/local/share/apache2/build/libtool
> --silent --mode=link cc -I/usr/local/include/apache2 -O -pipe
> -DUSE_APACHE_MD5 -I ../common  -I /usr/local/jdk1.3.1/include -I
> /usr/local/jdk1.3.1/include/unix -D_REENTRANT -D_THREAD_SAFE -O -pipe
> -DNO_IDEA  -O -pipe   -D_REENTRANT -D_THREAD_SAFE -o mod_jk.la -module
> -rpath
> /usr/local/libexec/apache2 -avoid-version mod_jk.lo
> ../common/jk_ajp12_worker.lo ../common/jk_connect.lo
> ../common/jk_msg_buff.lo ../common/jk_util.lo ../common/jk_ajp13.lo
> ../common/jk_pool.lo ../common/jk_worker.lo ../common/jk_ajp13_worker.lo
> ../common/jk_lb_worker.lo ../common/jk_sockbuf.lo ../common/jk_map.lo
> ../common/jk_uri_worker_map.lo      ../common/jk_ajp14.lo
> ../common/jk_ajp14_worker.lo ../common/jk_md5.lo
> ../common/jk_ajp_common.lo ../common/jk_context.lo
>       libtool: link: `../common/jk_ajp12_worker.lo' is not a valid libtool
> object
>       gmake[1]: *** [mod_jk.la] Error 1
>       gmake[1]: Leaving directory
> `/usr/ports/www/mod_jk2/work/jakarta-tomcat-connectors-jk-1.2.2-src/jk/na
> tive/apache-2.0'       gmake: *** [all-recursive] Error 1
>       *** Error code 2

>       Stop in /usr/ports/www/mod_jk2.

> The FreeBSD version is 4.8.

> I am new to FreeBSD, please help, thanks.

> Regards,
> Zhong Lun

_______________________________________________

http://lists.freebsd.org/mailman/listinfo/freebsd-java

 
 
 

port mod_jk, mod_jk2 & apache2

Post by Eric Hedstr » Fri, 13 Jun 2003 22:35:20


Hi folks,
I got the same error yesterday when I tried making mod_jk after cvsuping
ports. Where does aclocal come from? I was thinking maybe autoconf but
haven't had a chance to look further yet. Anyway, it looks like the port
is missing a build-time dependency.

Eric


> Hi Zhong,

> First, the first error is that aclocal cannot be found. Do you have it
> installed in /usr/local/bin/aclocal? Since aclocal cannot be found, do
> you have /usr/local/bin in your path? Is automake installed?

> Next, there is no comitted port for apache2 & mod_jk. They're still in
> GNATS.

> The ports I mentioned in my mail are not in the ports tree yet, (apart
> from mod_jk for apache13), they are still in GNATS. If you like, please
> try them, perhaps they work better? I'm not sure they will work better
> for you, only that they work for me. :)

> <http://www.freebsd.org/cgi/query-pr-summary.cgi?text=mod_jk&originato...
> gen>

> You will have to extract them from the PRs, or wait until they get
> comitted.

> Hope this works for you. Please mail me if you have more questions.

> /Palle


>> Hi,

>> Since I knew there is a fix, I tried to install but failed. I download
>> the
>> ports(apache2, mod_jk & mod_jk2) from FreeBSD. The status is

>> compiling & installing apache2 OK

>> compiling mod_jk:

>>       # make
>>       ===>  Extracting for mod_jk-1.2.3,1
>>       >> Checksum OK for jakarta-tomcat-connectors-jk-1.2.3-src.tar.gz.
>>       ===>  Patching for mod_jk-1.2.3,1
>>       ===>  Applying FreeBSD patches for mod_jk-1.2.3,1
>>       cd
>> /usr/ports/www/mod_jk/work/jakarta-tomcat-connectors-jk-1.2.3-src/jk/nati
>> ve;

>> aclocal; /usr/local/bin/libtoolize
>>       aclocal: not found
>>       *** Error code 127

>>       Stop in /usr/ports/www/mod_jk.

>> compiling mod_jk2:

>>       # make
>>       ===>  Building for mod_jk-apache2-1.2.2
>>       Making all in common
>>       gmake[1]: Entering directory
>> `/usr/ports/www/mod_jk2/work/jakarta-tomcat-connectors-jk-1.2.2-src/jk/na
>> tive/common'       gmake[1]: Nothing to be done for `all'.
>>       gmake[1]: Leaving directory
>> `/usr/ports/www/mod_jk2/work/jakarta-tomcat-connectors-jk-1.2.2-src/jk/na
>> tive/common'       Making all in apache-2.0
>>       gmake[1]: Entering directory
>> `/usr/ports/www/mod_jk2/work/jakarta-tomcat-connectors-jk-1.2.2-src/jk/na
>> tive/apache-2.0'       /bin/sh /usr/local/share/apache2/build/libtool
>> --silent --mode=link cc -I/usr/local/include/apache2 -O -pipe
>> -DUSE_APACHE_MD5 -I ../common  -I /usr/local/jdk1.3.1/include -I
>> /usr/local/jdk1.3.1/include/unix -D_REENTRANT -D_THREAD_SAFE -O -pipe
>> -DNO_IDEA  -O -pipe   -D_REENTRANT -D_THREAD_SAFE -o mod_jk.la -module
>> -rpath
>> /usr/local/libexec/apache2 -avoid-version mod_jk.lo
>> ../common/jk_ajp12_worker.lo ../common/jk_connect.lo
>> ../common/jk_msg_buff.lo ../common/jk_util.lo ../common/jk_ajp13.lo
>> ../common/jk_pool.lo ../common/jk_worker.lo ../common/jk_ajp13_worker.lo
>> ../common/jk_lb_worker.lo ../common/jk_sockbuf.lo ../common/jk_map.lo
>> ../common/jk_uri_worker_map.lo      ../common/jk_ajp14.lo
>> ../common/jk_ajp14_worker.lo ../common/jk_md5.lo
>> ../common/jk_ajp_common.lo ../common/jk_context.lo
>>       libtool: link: `../common/jk_ajp12_worker.lo' is not a valid
>> libtool
>> object
>>       gmake[1]: *** [mod_jk.la] Error 1
>>       gmake[1]: Leaving directory
>> `/usr/ports/www/mod_jk2/work/jakarta-tomcat-connectors-jk-1.2.2-src/jk/na
>> tive/apache-2.0'       gmake: *** [all-recursive] Error 1
>>       *** Error code 2

>>       Stop in /usr/ports/www/mod_jk2.

>> The FreeBSD version is 4.8.

>> I am new to FreeBSD, please help, thanks.

>> Regards,
>> Zhong Lun

> _______________________________________________

> http://lists.freebsd.org/mailman/listinfo/freebsd-java


_______________________________________________

http://lists.freebsd.org/mailman/listinfo/freebsd-java


 
 
 

port mod_jk, mod_jk2 & apache2

Post by Palle Girgenso » Fri, 13 Jun 2003 23:02:42


Hi!

aclocal is part of the automake distribution.

USE_AUTOMAKE_VER=3D       15

should be sufficient to create a build dependency on automake, and hence=20
install aclocal... Do you have automake installed? If you do, you should=20
have aclocal in ${LOCALBASE}, alas /usr/local/bin. It would be great if you =

could check this, if there's a problem with the port, I'd like to know.

/Palle



> Hi folks,
> I got the same error yesterday when I tried making mod_jk after cvsuping
> ports. Where does aclocal come from? I was thinking maybe autoconf but
> haven't had a chance to look further yet. Anyway, it looks like the port
> is missing a build-time dependency.

> Eric


>> Hi Zhong,

>> First, the first error is that aclocal cannot be found. Do you have it
>> installed in /usr/local/bin/aclocal? Since aclocal cannot be found, do
>> you have /usr/local/bin in your path? Is automake installed?

>> Next, there is no comitted port for apache2 & mod_jk. They're still in
>> GNATS.

>> The ports I mentioned in my mail are not in the ports tree yet, (apart
>> from mod_jk for apache13), they are still in GNATS. If you like, please
>> try them, perhaps they work better? I'm not sure they will work better
>> for you, only that they work for me. :)

>> =

<http://www.freebsd.org/cgi/query-pr-summary.cgi?text=3Dmod_jk&origina...

- Show quoted text -

>> gir gen>

>> You will have to extract them from the PRs, or wait until they get
>> comitted.

>> Hope this works for you. Please mail me if you have more questions.

>> /Palle


>>> Hi,

>>> Since I knew there is a fix, I tried to install but failed. I download
>>> the
>>> ports(apache2, mod_jk & mod_jk2) from FreeBSD. The status is

>>> compiling & installing apache2 OK

>>> compiling mod_jk:

>>>       # make
>>>       =3D=3D=3D>  Extracting for mod_jk-1.2.3,1
>>>       >> Checksum OK for jakarta-tomcat-connectors-jk-1.2.3-src.tar.gz.
>>>       =3D=3D=3D>  Patching for mod_jk-1.2.3,1
>>>       =3D=3D=3D>  Applying FreeBSD patches for mod_jk-1.2.3,1
>>>       cd
>>> /usr/ports/www/mod_jk/work/jakarta-tomcat-connectors-jk-1.2.3-src/jk/na
>>> ti ve;

>>> aclocal; /usr/local/bin/libtoolize
>>>       aclocal: not found
>>>       *** Error code 127

>>>       Stop in /usr/ports/www/mod_jk.

>>> compiling mod_jk2:

>>>       # make
>>>       =3D=3D=3D>  Building for mod_jk-apache2-1.2.2
>>>       Making all in common
>>>       gmake[1]: Entering directory
>>> `/usr/ports/www/mod_jk2/work/jakarta-tomcat-connectors-jk-1.2.2-src/jk/
>>> na tive/common'       gmake[1]: Nothing to be done for `all'. gmake[1]:
>>>       Leaving directory
>>> `/usr/ports/www/mod_jk2/work/jakarta-tomcat-connectors-jk-1.2.2-src/jk/
>>> na tive/common'       Making all in apache-2.0
>>>       gmake[1]: Entering directory
>>> `/usr/ports/www/mod_jk2/work/jakarta-tomcat-connectors-jk-1.2.2-src/jk/
>>> na tive/apache-2.0'       /bin/sh =

/usr/local/share/apache2/build/libtool
Quote:>>> --silent --mode=3Dlink cc -I/usr/local/include/apache2 -O -pipe
>>> -DUSE_APACHE_MD5 -I ../common  -I /usr/local/jdk1.3.1/include -I
>>> /usr/local/jdk1.3.1/include/unix -D_REENTRANT -D_THREAD_SAFE -O -pipe
>>> -DNO_IDEA  -O -pipe   -D_REENTRANT -D_THREAD_SAFE -o mod_jk.la -module
>>> -rpath
>>> /usr/local/libexec/apache2 -avoid-version mod_jk.lo
>>> ../common/jk_ajp12_worker.lo ../common/jk_connect.lo
>>> ../common/jk_msg_buff.lo ../common/jk_util.lo ../common/jk_ajp13.lo
>>> ../common/jk_pool.lo ../common/jk_worker.lo =

../common/jk_ajp13_worker.lo

- Show quoted text -

>>> ../common/jk_lb_worker.lo ../common/jk_sockbuf.lo ../common/jk_map.lo
>>> ../common/jk_uri_worker_map.lo      ../common/jk_ajp14.lo
>>> ../common/jk_ajp14_worker.lo ../common/jk_md5.lo
>>> ../common/jk_ajp_common.lo ../common/jk_context.lo
>>>       libtool: link: `../common/jk_ajp12_worker.lo' is not a valid
>>> libtool
>>> object
>>>       gmake[1]: *** [mod_jk.la] Error 1
>>>       gmake[1]: Leaving directory
>>> `/usr/ports/www/mod_jk2/work/jakarta-tomcat-connectors-jk-1.2.2-src/jk/
>>> na tive/apache-2.0'       gmake: *** [all-recursive] Error 1 *** Error
>>>       code 2

>>>       Stop in /usr/ports/www/mod_jk2.

>>> The FreeBSD version is 4.8.

>>> I am new to FreeBSD, please help, thanks.

>>> Regards,
>>> Zhong Lun

>> _______________________________________________

>> http://lists.freebsd.org/mailman/listinfo/freebsd-java


_______________________________________________

http://lists.freebsd.org/mailman/listinfo/freebsd-java

 
 
 

port mod_jk, mod_jk2 & apache2

Post by Palle Girgenso » Sat, 14 Jun 2003 03:49:50


Hi,

Humm, I will have to move the ${ACLOCAL} from post-patch to pre-configure,=20
I guess. My guess is build_depends are not installed until after patch.

Thanks for the input!

/Palle



> I didn't have automake installed. After I installed that, mod_jk pulled
> in autoconf and everything built cleanly. I'm trying out mod_jk now.

> So I don't know if this is a problem with this port or the ports system
> in general... This system has 4.8-RELEASE with ports cvsuped yesterday.

> Thanks!
> Eric


>> Hi!

>> aclocal is part of the automake distribution.

>> USE_AUTOMAKE_VER=3D       15

>> should be sufficient to create a build dependency on automake, and hence
>> install aclocal... Do you have automake installed? If you do, you should
>> have aclocal in ${LOCALBASE}, alas /usr/local/bin. It would be great if
>> you could check this, if there's a problem with the port, I'd like to
>> know.

>> /Palle

>> --On torsdag, juni 12, 2003 06.33.41 -0700 Eric Hedstr=F6m

>>> Hi folks,
>>> I got the same error yesterday when I tried making mod_jk after =
cvsuping
>>> ports. Where does aclocal come from? I was thinking maybe autoconf but
>>> haven't had a chance to look further yet. Anyway, it looks like the =
port
>>> is missing a build-time dependency.

>>> Eric


>>>> Hi Zhong,

>>>> First, the first error is that aclocal cannot be found. Do you have it
>>>> installed in /usr/local/bin/aclocal? Since aclocal cannot be found, do
>>>> you have /usr/local/bin in your path? Is automake installed?

>>>> Next, there is no comitted port for apache2 & mod_jk. They're still in
>>>> GNATS.

>>>> The ports I mentioned in my mail are not in the ports tree yet, (apart
>>>> from mod_jk for apache13), they are still in GNATS. If you like, =
please
>>>> try them, perhaps they work better? I'm not sure they will work better
>>>> for you, only that they work for me. :)

>>>> =

<http://www.freebsd.org/cgi/query-pr-summary.cgi?text=3Dmod_jk&originato

- Show quoted text -

>>>> r=3D gir gen>

>>>> You will have to extract them from the PRs, or wait until they get
>>>> comitted.

>>>> Hope this works for you. Please mail me if you have more questions.

>>>> /Palle



>>>>> Hi,

>>>>> Since I knew there is a fix, I tried to install but failed. I =
download
>>>>> the
>>>>> ports(apache2, mod_jk & mod_jk2) from FreeBSD. The status is

>>>>> compiling & installing apache2 OK

>>>>> compiling mod_jk:

>>>>>       # make
>>>>>       =3D=3D=3D>  Extracting for mod_jk-1.2.3,1
>>>>>       >> Checksum OK for
>>>>>       >> jakarta-tomcat-connectors-jk-1.2.3-src.tar.gz.
>>>>>       =3D=3D=3D>  Patching for mod_jk-1.2.3,1
>>>>>       =3D=3D=3D>  Applying FreeBSD patches for mod_jk-1.2.3,1
>>>>>       cd
>>>>> /usr/ports/www/mod_jk/work/jakarta-tomcat-connectors-jk-1.2.3-src/jk/
>>>>> na ti ve;

>>>>> aclocal; /usr/local/bin/libtoolize
>>>>>       aclocal: not found
>>>>>       *** Error code 127

>>>>>       Stop in /usr/ports/www/mod_jk.

>>>>> compiling mod_jk2:

>>>>>       # make
>>>>>       =3D=3D=3D>  Building for mod_jk-apache2-1.2.2
>>>>>       Making all in common
>>>>>       gmake[1]: Entering directory
>>>>> `/usr/ports/www/mod_jk2/work/jakarta-tomcat-connectors-jk-1.2.2-src/j
>>>>> k/ na tive/common'       gmake[1]: Nothing to be done for `all'.
>>>>> gmake[1]: Leaving directory
>>>>> `/usr/ports/www/mod_jk2/work/jakarta-tomcat-connectors-jk-1.2.2-src/j
>>>>> k/ na tive/common'       Making all in apache-2.0
>>>>>       gmake[1]: Entering directory
>>>>> `/usr/ports/www/mod_jk2/work/jakarta-tomcat-connectors-jk-1.2.2-src/j
>>>>> k/ na tive/apache-2.0'       /bin/sh
>>>>> /usr/local/share/apache2/build/libtool
>>>>> --silent --mode=3Dlink cc -I/usr/local/include/apache2 -O -pipe
>>>>> -DUSE_APACHE_MD5 -I ../common  -I /usr/local/jdk1.3.1/include -I
>>>>> /usr/local/jdk1.3.1/include/unix -D_REENTRANT -D_THREAD_SAFE -O -pipe
>>>>> -DNO_IDEA  -O -pipe   -D_REENTRANT -D_THREAD_SAFE -o mod_jk.la =
-module
>>>>> -rpath
>>>>> /usr/local/libexec/apache2 -avoid-version mod_jk.lo
>>>>> ../common/jk_ajp12_worker.lo ../common/jk_connect.lo
>>>>> ../common/jk_msg_buff.lo ../common/jk_util.lo ../common/jk_ajp13.lo
>>>>> ../common/jk_pool.lo ../common/jk_worker.lo
>>>>> ../common/jk_ajp13_worker.lo
>>>>> ../common/jk_lb_worker.lo ../common/jk_sockbuf.lo ../common/jk_map.lo
>>>>> ../common/jk_uri_worker_map.lo      ../common/jk_ajp14.lo
>>>>> ../common/jk_ajp14_worker.lo ../common/jk_md5.lo
>>>>> ../common/jk_ajp_common.lo ../common/jk_context.lo
>>>>>       libtool: link: `../common/jk_ajp12_worker.lo' is not a valid
>>>>> libtool
>>>>> object
>>>>>       gmake[1]: *** [mod_jk.la] Error 1
>>>>>       gmake[1]: Leaving directory
>>>>> `/usr/ports/www/mod_jk2/work/jakarta-tomcat-connectors-jk-1.2.2-src/j
>>>>> k/ na tive/apache-2.0'       gmake: *** [all-recursive] Error 1 ***
>>>>> Error code 2

>>>>>       Stop in /usr/ports/www/mod_jk2.

>>>>> The FreeBSD version is 4.8.

>>>>> I am new to FreeBSD, please help, thanks.

>>>>> Regards,
>>>>> Zhong Lun

>>>> _______________________________________________

>>>> http://lists.freebsd.org/mailman/listinfo/freebsd-java
>>>> To unsubscribe, send any mail to =


_______________________________________________

http://lists.freebsd.org/mailman/listinfo/freebsd-java