You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Ferdie Romero <fe...@gmail.com> on 2012/09/03 12:48:27 UTC

How to resolve:Recreate aclocal.m4 with macros from libtool during make of tomcat connector

We are compiling tomcat connector 1.2.37 over tomcat 7.0.23 and apache
2.2.22 and System is hp ic: B.11.24 ia64. Unfortunately, we are
encountering the version mismatch error. This libtool 2.4.2 but the
definition of this LT_INIT comes from an older release. You should recreate
aclocal.m4 with macros from libtool 2.4.2 and run autoconf again.

Thanks.
On Aug 29, 2012 8:23 PM, "Mark Thomas" <ma...@apache.org> wrote:

> On 29/08/2012 08:29, Awdhesh Kumar wrote:
> > I am working with Tomcat 7.0.X.
>
> Just to be clear, do you mean Tomcat 7.0.x built from tc7.0.x/trunk in
> svn or do you mean some unknown Tomcat 7 version?
>
> Mark
>
> >
> > -----Original Message-----
> > From: Mark Thomas [mailto:markt@apache.org]
> > Sent: Wednesday, August 29, 2012 12:57 PM
> > To: Tomcat Users List
> > Subject: Re: Access Tomcat cluster info thru MBean
> >
> > Awdhesh Kumar <aw...@adobe.com> wrote:
> >
> >> I am running my Tomcat is running in clustered mode with four instances
> >> configured to same machine.  In the application, I need to retrieve
> >> information  regarding all the running instances of this cluster
> >> (nodes) through MBean.
> >> Information like instance IP, instance name are my primary requirement.
> >>
> >> Have tried to retrieve Cluster Mbean by  querying [b]"*:type=Cluster,*"
> >> [/b],  It returns basic cluster information but it does not contain any
> >> information of the instances.
> >>
> >> If someone can suggest me a way to achieve this will be nice.
> >>
> >>
> >> Regards
> >> Awdhesh
> >
> > Tomcat version?
> >
> > Mark
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> > For additional commands, e-mail: users-help@tomcat.apache.org
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> > For additional commands, e-mail: users-help@tomcat.apache.org
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

Re: How to resolve:Recreate aclocal.m4 with macros from libtool during make of tomcat connector

Posted by Rainer Jung <ra...@kippdata.de>.
On 04.09.2012 05:37, Ferdie Romero wrote:
> On Sep 4, 2012 11:25 AM, "Ferdie Romero" <fe...@gmail.com> wrote:
>>
>>
>> On Sep 3, 2012 10:43 PM, "Ferdie Romero" <fe...@gmail.com> wrote:
>>>
>>>
>>>
>>> On Mon, Sep 3, 2012 at 10:07 PM, Rainer Jung <ra...@kippdata.de>
> wrote:
>>>>
>>>> On 03.09.2012 15:46, Ferdie Romero wrote:
>>>>>
>>>>> The exact step is "make" and the error is
>>>>
>>>>
>>>> I guess you are running configure first? yes, we use ./configure
> --with-apache=prefix
>>>>
>>>> How does your configure command look like? Does it automatically find
> your apxs or apxs2 or do you give the path to it as a configure flag?
>
> --» we don't have apxs or apxs2, is this really required?

Yes. It comes with the web server. Some distribution packs it into a 
seperate dev package. Whoever provided you with the web server should 
also be able to give you the right apxs.

Without apxs configure will fail with an error.

>>>> What does "apxs -q LIBTOOL" (or "apxs2 -q LIBTOOL") return? Maybe you
> need to add the path to apxs before calling it.
>>>>
>>>> -->we don't have apxs or apxs2, is this really required?
>>>>
>>>>
>>>> When being inside the native directory of the mod_jk sources:
>>>>
>>>> What is the result of "grep -i libtool config.log" after running
> configure?
>>>> -->result is
> connectors-1.2.37-src/native # grep -i libtool config.log
> configure:9934: checking if libtool supports shared libraries
> configure:10096: creating libtool configure:19290: result:
> LIBTOOL="$(SHELL) $(top_builddir)/libtool" LIBTOOL='$(SHELL)
> $(top_builddir)/libtool'

OK, that's normal. It is looking for libtool in the native directory 
inside the sources.

>>>> The same for "grep LIBTOOL Makefile"?
>>>> -->we don't have Makefile in the src.directory of the connector

Are you looking in the "native" directory, where you issue the make 
command? If it is not there, then configure did not run successfully.

>>>> The same for "grep macro_version= libtool"?
>>>> -- >we don't have libtool in the src.directory of the connector

Correct directory? The one where you run configure and make?

>>>>> version mismatch error. This libtool 2.4.2 but the definition of this
>>>>> LT_INIT comes from an older release. You should recreate aclocal.m4
> with
>>>>> macros from libtool 2.4.2 and run autoconf again.
>>>>
>>>>
>>>> It seems it tries to use your own libtool instead of the one we
> provide. We'll see after you respond to the above questions.
>>>>
>>>>
>>>>> Based on the guide that we are using we need to perform ./configure,
> make
>>>>> and make install for the tomcat connector.
>>>>
>>>>
>>>> If you have all the needed auto tools installed you could run
> ./buildconf.sh before running configure. This will recreate configure from
> your own auto tools including libtool. But this is not recommended.
> configure should work without running buildconf and no installed libtool
> needed.
>>>> --> we already tried using buildconf but we got the same error during
> make.

Find the right apxs for your platform and try running configure and make 
again.

Regards,

Rainer


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: How to resolve:Recreate aclocal.m4 with macros from libtool during make of tomcat connector

Posted by Ferdie Romero <fe...@gmail.com>.
On Sep 4, 2012 11:25 AM, "Ferdie Romero" <fe...@gmail.com> wrote:
>
>
> On Sep 3, 2012 10:43 PM, "Ferdie Romero" <fe...@gmail.com> wrote:
> >
> >
> >
> > On Mon, Sep 3, 2012 at 10:07 PM, Rainer Jung <ra...@kippdata.de>
wrote:
> >>
> >> On 03.09.2012 15:46, Ferdie Romero wrote:
> >>>
> >>> The exact step is "make" and the error is
> >>
> >>
> >> I guess you are running configure first? yes, we use ./configure
--with-apache=prefix
> >>
> >> How does your configure command look like? Does it automatically find
your apxs or apxs2 or do you give the path to it as a configure flag?

--» we don't have apxs or apxs2, is this really required?

> >> What does "apxs -q LIBTOOL" (or "apxs2 -q LIBTOOL") return? Maybe you
need to add the path to apxs before calling it.
> >>
> >> -->we don't have apxs or apxs2, is this really required?
> >>
> >>
> >> When being inside the native directory of the mod_jk sources:
> >>
> >> What is the result of "grep -i libtool config.log" after running
configure?
> >> -->result is
connectors-1.2.37-src/native # grep -i libtool config.log
configure:9934: checking if libtool supports shared libraries
configure:10096: creating libtool configure:19290: result:
LIBTOOL="$(SHELL) $(top_builddir)/libtool" LIBTOOL='$(SHELL)
$(top_builddir)/libtool'

> >
> >>
> >> The same for "grep LIBTOOL Makefile"?
> >> -->we don't have Makefile in the src.directory of the connector
> >
> >
> >>
> >> The same for "grep macro_version= libtool"?
> >> -- >we don't have libtool in the src.directory of the connector
> >>
> >>
> >>> version mismatch error. This libtool 2.4.2 but the definition of this
> >>> LT_INIT comes from an older release. You should recreate aclocal.m4
with
> >>> macros from libtool 2.4.2 and run autoconf again.
> >>
> >>
> >> It seems it tries to use your own libtool instead of the one we
provide. We'll see after you respond to the above questions.
> >>
> >>
> >>> Based on the guide that we are using we need to perform ./configure,
make
> >>> and make install for the tomcat connector.
> >>
> >>
> >> If you have all the needed auto tools installed you could run
./buildconf.sh before running configure. This will recreate configure from
your own auto tools including libtool. But this is not recommended.
configure should work without running buildconf and no installed libtool
needed.
> >> --> we already tried using buildconf but we got the same error during
make.
> >
> >
> >
> > Thanks and really appreciate your assistance.
> >
> >
> >>
> >> Regards,
> >>
> >> Rainer
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> >> For additional commands, e-mail: users-help@tomcat.apache.org
> >>
> >

Re: How to resolve:Recreate aclocal.m4 with macros from libtool during make of tomcat connector

Posted by Ferdie Romero <fe...@gmail.com>.
On Sep 3, 2012 10:43 PM, "Ferdie Romero" <fe...@gmail.com> wrote:
>
>
>
> On Mon, Sep 3, 2012 at 10:07 PM, Rainer Jung <ra...@kippdata.de>
wrote:
>>
>> On 03.09.2012 15:46, Ferdie Romero wrote:
>>>
>>> The exact step is "make" and the error is
>>
>>
>> I guess you are running configure first? yes, we use ./configure
--with-apache=prefix
>>
>> How does your configure command look like? Does it automatically find
your apxs or apxs2 or do you give the path to it as a configure flag?
>
>     --> We just use:  ./configure --with-apache=prefix . We'll try this
tomorrow (later in your timer), and provide you updates.
>>
>>
>> What does "apxs -q LIBTOOL" (or "apxs2 -q LIBTOOL") return? Maybe you
need to add the path to apxs before calling it.
>>
>> -->We'll do this later and provide updates
>>
>>
>> When being inside the native directory of the mod_jk sources:
>>
>> What is the result of "grep -i libtool config.log" after running
configure?
>> -->We'll do this later and provide updates
>
>
>>
>> The same for "grep LIBTOOL Makefile"?
>> -->We'll do this later and provide updates
>
>
>>
>> The same for "grep macro_version= libtool"?
>> -->We'll do this later and provide updates
>>
>>
>>> version mismatch error. This libtool 2.4.2 but the definition of this
>>> LT_INIT comes from an older release. You should recreate aclocal.m4 with
>>> macros from libtool 2.4.2 and run autoconf again.
>>
>>
>> It seems it tries to use your own libtool instead of the one we provide.
We'll see after you respond to the above questions.
>>
>>
>>> Based on the guide that we are using we need to perform ./configure,
make
>>> and make install for the tomcat connector.
>>
>>
>> If you have all the needed auto tools installed you could run
./buildconf.sh before running configure. This will recreate configure from
your own auto tools including libtool. But this is not recommended.
configure should work without running buildconf and no installed libtool
needed.
>> --> we already tried using buildconf but we got the same error during
make.
>
>
>
> Thanks and really appreciate your assistance.
>
>
>>
>> Regards,
>>
>> Rainer
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
>

Re: How to resolve:Recreate aclocal.m4 with macros from libtool during make of tomcat connector

Posted by Ferdie Romero <fe...@gmail.com>.
On Mon, Sep 3, 2012 at 10:07 PM, Rainer Jung <ra...@kippdata.de>wrote:

> On 03.09.2012 15:46, Ferdie Romero wrote:
>
>> The exact step is "make" and the error is
>>
>
> I guess you are running configure first? yes, we use ./configure
> --with-apache=prefix
>
> How does your configure command look like? Does it automatically find your
> apxs or apxs2 or do you give the path to it as a configure flag?

    --> We just use:  ./configure --with-apache=prefix . We'll try this
tomorrow (later in your timer), and provide you updates.

>
> What does "apxs -q LIBTOOL" (or "apxs2 -q LIBTOOL") return? Maybe you need
> to add the path to apxs before calling it.

-->We'll do this later and provide updates
>
> When being inside the native directory of the mod_jk sources:
>
> What is the result of "grep -i libtool config.log" after running configure?
> -->We'll do this later and provide updates
>


> The same for "grep LIBTOOL Makefile"?
> -->We'll do this later and provide updates
>


> The same for "grep macro_version= libtool"?
> -->We'll do this later and provide updates
>
>  version mismatch error. This libtool 2.4.2 but the definition of this
>> LT_INIT comes from an older release. You should recreate aclocal.m4 with
>> macros from libtool 2.4.2 and run autoconf again.
>>
>
> It seems it tries to use your own libtool instead of the one we provide.
> We'll see after you respond to the above questions.
>
>
>  Based on the guide that we are using we need to perform ./configure, make
>> and make install for the tomcat connector.
>>
>
> If you have all the needed auto tools installed you could run
> ./buildconf.sh before running configure. This will recreate configure from
> your own auto tools including libtool. But this is not recommended.
> configure should work without running buildconf and no installed libtool
> needed.
> --> we already tried using buildconf but we got the same error during make.
>


Thanks and really appreciate your assistance.



> Regards,
>
> Rainer
>
>
> ------------------------------**------------------------------**---------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.**apache.org<us...@tomcat.apache.org>
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

Re: How to resolve:Recreate aclocal.m4 with macros from libtool during make of tomcat connector

Posted by Rainer Jung <ra...@kippdata.de>.
On 03.09.2012 15:46, Ferdie Romero wrote:
> The exact step is "make" and the error is

I guess you are running configure first?

How does your configure command look like? Does it automatically find 
your apxs or apxs2 or do you give the path to it as a configure flag?

What does "apxs -q LIBTOOL" (or "apxs2 -q LIBTOOL") return? Maybe you 
need to add the path to apxs before calling it.

When being inside the native directory of the mod_jk sources:

What is the result of "grep -i libtool config.log" after running configure?

The same for "grep LIBTOOL Makefile"?

The same for "grep macro_version= libtool"?

> version mismatch error. This libtool 2.4.2 but the definition of this
> LT_INIT comes from an older release. You should recreate aclocal.m4 with
> macros from libtool 2.4.2 and run autoconf again.

It seems it tries to use your own libtool instead of the one we provide. 
We'll see after you respond to the above questions.

> Based on the guide that we are using we need to perform ./configure, make
> and make install for the tomcat connector.

If you have all the needed auto tools installed you could run 
./buildconf.sh before running configure. This will recreate configure 
from your own auto tools including libtool. But this is not recommended. 
configure should work without running buildconf and no installed libtool 
needed.

Regards,

Rainer


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: How to resolve:Recreate aclocal.m4 with macros from libtool during make of tomcat connector

Posted by Ferdie Romero <fe...@gmail.com>.
The exact step is "make" and the error is

version mismatch error. This libtool 2.4.2 but the definition of this
LT_INIT comes from an older release. You should recreate aclocal.m4 with
macros from libtool 2.4.2 and run autoconf again.

Based on the guide that we are using we need to perform ./configure, make
and make install for the tomcat connector.

 Sep 3, 2012 9:27 PM, "Rainer Jung" <rainer.jung
<ra...@kippdata.de>
kippdata.de <ra...@kippdata.de>> wrote:

Re: How to resolve:Recreate aclocal.m4 with macros from libtool during make of tomcat connector

Posted by Rainer Jung <ra...@kippdata.de>.
On 03.09.2012 12:48, Ferdie Romero wrote:
> We are compiling tomcat connector 1.2.37 over tomcat 7.0.23 and apache
> 2.2.22 and System is hp ic: B.11.24 ia64. Unfortunately, we are
> encountering the version mismatch error. This libtool 2.4.2 but the
> definition of this LT_INIT comes from an older release. You should recreate
> aclocal.m4 with macros from libtool 2.4.2 and run autoconf again.

Which steps are you exactly doing to build?
What is the exact error you observe?
Why do you want to build with your own version of libtool?

Regards,

Rainer


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org