You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Manoj Kithany <ma...@hotmail.com> on 2002/09/04 18:46:39 UTC

Errors for building mod_jk

Hi Experts,

Greetings!

I am using APache(1.3) and Tomcat (4.0.4) on IBM AIX (5.1) System.
I am havin high time in integrating APache and Tomcat. Binary "mod_jk" is 
NOT available for IBM AIX System - so I try to build it using following 
procedure but get ERRORS.

I tried to execute "./buildconf.sh" and then execute "./configure" without 
having any problems. But when I execute "make" I get following Error - 
wonder why? Can you please look into this problem - would really appreciate 
your precious time. The Error is:
--------------------------------------------------
# make
Making all in common
Target "all" is up to date.
Making all in apache-2.0
       /usr/bin/sh ../libtool --mode=compile cc -I/usr/local/apache/include 
-I/usr/local/apache/srclib/apr/include -I/usr/local/apache
/os/unix -I/usr/local/apache/srclib/apr-util/include -g -O2 -DUSE_APACHE_MD5 
-I ../common  -I /usr/java130/include -I /usr/java130/incl
ude/ -D_REENTRANT -Wall   -c mod_jk.c
mkdir .libs
cc -I/usr/local/apache/include -I/usr/local/apache/srclib/apr/include 
-I/usr/local/apache/os/unix -I/usr/local/apache/srclib/apr-util/i
nclude -g -O2 -DUSE_APACHE_MD5 -I ../common -I /usr/java130/include -I 
/usr/java130/include/ -D_REENTRANT -Wall -c mod_jk.c  -DPIC -o .
libs/mod_jk.lo
../libtool[847]: cc:  not found
make: 1254-004 The error code from the last command is 1.
Stop.
make: 1254-004 The error code from the last command is 1.
Stop.
#
----------------------------------------------------------------

Any infor, from the above transcript would be appreciated!

THANKS again.

Manoj G. Kithany




_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Errors for building mod_jk

Posted by "Peter T. Abplanalp" <pt...@psaconsultants.com>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, Sep 04, 2002 at 04:46:39PM +0000, Manoj Kithany wrote:

please do not cross-post to tomcat-user and tomcat-dev although i can
see how you might think this problem could be posted to both.  i would
suggest you try tomcat-user first and then use -dev only if there is
no answer on -user.  thanks.

> I am using APache(1.3) and Tomcat (4.0.4) on IBM AIX (5.1) System.
> I am havin high time in integrating APache and Tomcat. Binary "mod_jk" is 
> NOT available for IBM AIX System - so I try to build it using following 
> procedure but get ERRORS.
> 
> I tried to execute "./buildconf.sh" and then execute "./configure" without 
> having any problems. But when I execute "make" I get following Error - 
> wonder why? Can you please look into this problem - would really appreciate 
> your precious time. The Error is:
> --------------------------------------------------
> # make
> Making all in common
> Target "all" is up to date.
> Making all in apache-2.0
>       /usr/bin/sh ../libtool --mode=compile cc -I/usr/local/apache/include 
> -I/usr/local/apache/srclib/apr/include -I/usr/local/apache
> /os/unix -I/usr/local/apache/srclib/apr-util/include -g -O2 
> -DUSE_APACHE_MD5 -I ../common  -I /usr/java130/include -I /usr/java130/incl
> ude/ -D_REENTRANT -Wall   -c mod_jk.c
> mkdir .libs
> cc -I/usr/local/apache/include -I/usr/local/apache/srclib/apr/include 
> -I/usr/local/apache/os/unix -I/usr/local/apache/srclib/apr-util/i
> nclude -g -O2 -DUSE_APACHE_MD5 -I ../common -I /usr/java130/include -I 
> /usr/java130/include/ -D_REENTRANT -Wall -c mod_jk.c  -DPIC -o .
> libs/mod_jk.lo
> ../libtool[847]: cc:  not found

it seems pretty obvious.  libtool cannot find cc.  do you have a
compiler installed on your box?  what is it?  you can try a couple
things: 1) export CC=/path/to/compiler (for sh); or 2) sym link your
copmiler to cc.  i have had problems with some makefiles trying to
hardcode cc as the compiler a simple ln -s gcc cc worked for me.

- -- 
Peter Abplanalp

Email:   pta@psaconsultants.com
PGP:     pgp.mit.edu
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9dj41ggA8sH0iRXQRAoUZAKCk8uwd76sKHU887vM7pVkx5SXXKgCdGNOU
ZzPfZHUSjzH0G04Jh5Yb6Qg=
=UBhc
-----END PGP SIGNATURE-----

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Errors for building mod_jk

Posted by jean-frederic clere <jf...@fujitsu-siemens.com>.
Manoj Kithany wrote:
> Hi Experts,
> 
> Greetings!
> 
> I am using APache(1.3) and Tomcat (4.0.4) on IBM AIX (5.1) System.
> I am havin high time in integrating APache and Tomcat. Binary "mod_jk" 
> is NOT available for IBM AIX System - so I try to build it using 
> following procedure but get ERRORS.
> 
> I tried to execute "./buildconf.sh" and then execute "./configure" 
> without having any problems. But when I execute "make" I get following 
> Error - wonder why? Can you please look into this problem - would really 
> appreciate your precious time. The Error is:
> --------------------------------------------------
> # make
> Making all in common
> Target "all" is up to date.
> Making all in apache-2.0
>       /usr/bin/sh ../libtool --mode=compile cc 
> -I/usr/local/apache/include -I/usr/local/apache/srclib/apr/include 
> -I/usr/local/apache
> /os/unix -I/usr/local/apache/srclib/apr-util/include -g -O2 
> -DUSE_APACHE_MD5 -I ../common  -I /usr/java130/include -I /usr/java130/incl
> ude/ -D_REENTRANT -Wall   -c mod_jk.c
> mkdir .libs
> cc -I/usr/local/apache/include -I/usr/local/apache/srclib/apr/include 
> -I/usr/local/apache/os/unix -I/usr/local/apache/srclib/apr-util/i
> nclude -g -O2 -DUSE_APACHE_MD5 -I ../common -I /usr/java130/include -I 
> /usr/java130/include/ -D_REENTRANT -Wall -c mod_jk.c  -DPIC -o .
> libs/mod_jk.lo
> ../libtool[847]: cc:  not found

It seems you do not have the correct path to the C compiler or the C compiler is 
not named cc.

> make: 1254-004 The error code from the last command is 1.
> Stop.
> make: 1254-004 The error code from the last command is 1.
> Stop.
> #
> ----------------------------------------------------------------
> 
> Any infor, from the above transcript would be appreciated!
> 
> THANKS again.
> 
> Manoj G. Kithany
> 
> 
> 
> 
> _________________________________________________________________
> Chat with friends online, try MSN Messenger: http://messenger.msn.com
> 
> 
> -- 
> To unsubscribe, e-mail:   
> <ma...@jakarta.apache.org>
> For additional commands, e-mail: 
> <ma...@jakarta.apache.org>
> 
> 




--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: [users@httpd] Errors for building mod_jk

Posted by Andy Cutright <ac...@borland.com>.
yeah, the compiler is not not on your path. one caveat: AIX has several 
different flavors of its c & c++ compilers, some of which by default 
link in different libraries. xlc & xlc_r will link mod_jk with a 
different set of libraries.

John P. Dodge wrote:

> Try using the xlc compiler and make sure it is in your path.
> 
> export CC=xlc
> 
> 
> On Wed, 4 Sep 2002, Manoj Kithany wrote:
> 
> 
>>Hi Experts,
>>
>>Greetings!
>>
>>I am using APache(1.3) and Tomcat (4.0.4) on IBM AIX (5.1) System.
>>I am havin high time in integrating APache and Tomcat. Binary "mod_jk" is
>>NOT available for IBM AIX System - so I try to build it using following
>>procedure but get ERRORS.
>>
>>I tried to execute "./buildconf.sh" and then execute "./configure" without
>>having any problems. But when I execute "make" I get following Error -
>>wonder why? Can you please look into this problem - would really appreciate
>>your precious time. The Error is:
>>--------------------------------------------------
>># make
>>Making all in common
>>Target "all" is up to date.
>>Making all in apache-2.0
>>       /usr/bin/sh ../libtool --mode=compile cc -I/usr/local/apache/include
>>-I/usr/local/apache/srclib/apr/include -I/usr/local/apache
>>/os/unix -I/usr/local/apache/srclib/apr-util/include -g -O2 -DUSE_APACHE_MD5
>>-I ../common  -I /usr/java130/include -I /usr/java130/incl
>>ude/ -D_REENTRANT -Wall   -c mod_jk.c
>>mkdir .libs
>>cc -I/usr/local/apache/include -I/usr/local/apache/srclib/apr/include
>>-I/usr/local/apache/os/unix -I/usr/local/apache/srclib/apr-util/i
>>nclude -g -O2 -DUSE_APACHE_MD5 -I ../common -I /usr/java130/include -I
>>/usr/java130/include/ -D_REENTRANT -Wall -c mod_jk.c  -DPIC -o .
>>libs/mod_jk.lo
>>../libtool[847]: cc:  not found
>>make: 1254-004 The error code from the last command is 1.
>>Stop.
>>make: 1254-004 The error code from the last command is 1.
>>Stop.
>>#
>>----------------------------------------------------------------
>>
>>Any infor, from the above transcript would be appreciated!
>>
>>THANKS again.
>>
>>Manoj G. Kithany
>>
>>
>>
>>
>>_________________________________________________________________
>>Chat with friends online, try MSN Messenger: http://messenger.msn.com
>>
>>
>>---------------------------------------------------------------------
>>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@httpd.apache.org
>>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
>>For additional commands, e-mail: users-help@httpd.apache.org
>>
>>
> 
> ----------------------------------------
> "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@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 
> 


-- 
buy the buddha a beer & tell him to move on to the next town
--
Borland -- Enabling a new digital world where our customers
have the freedom of choice to develop, deploy, and integrate
applications across the enterprise and  the Internet.
http://www.borland.com

This e-mail, and any attachments thereto, is intended only
for use by the addressee(s) named herein and may contain
legally privileged and/or confidential information.  If you
are not the intended recipient of this e-mail, you are hereby
notified that any dissemination, distribution or copying of
this e-mail, and any attachments thereto, is strictly prohibited.
If you have received this e-mail in error, please immediately
and permanently delete the original and any copy of any e-mail
and any printout thereof.


---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Errors for building mod_jk

Posted by "John P. Dodge" <do...@cruciate.ca.boeing.com>.
Try using the xlc compiler and make sure it is in your path.

export CC=xlc


On Wed, 4 Sep 2002, Manoj Kithany wrote:

> Hi Experts,
>
> Greetings!
>
> I am using APache(1.3) and Tomcat (4.0.4) on IBM AIX (5.1) System.
> I am havin high time in integrating APache and Tomcat. Binary "mod_jk" is
> NOT available for IBM AIX System - so I try to build it using following
> procedure but get ERRORS.
>
> I tried to execute "./buildconf.sh" and then execute "./configure" without
> having any problems. But when I execute "make" I get following Error -
> wonder why? Can you please look into this problem - would really appreciate
> your precious time. The Error is:
> --------------------------------------------------
> # make
> Making all in common
> Target "all" is up to date.
> Making all in apache-2.0
>        /usr/bin/sh ../libtool --mode=compile cc -I/usr/local/apache/include
> -I/usr/local/apache/srclib/apr/include -I/usr/local/apache
> /os/unix -I/usr/local/apache/srclib/apr-util/include -g -O2 -DUSE_APACHE_MD5
> -I ../common  -I /usr/java130/include -I /usr/java130/incl
> ude/ -D_REENTRANT -Wall   -c mod_jk.c
> mkdir .libs
> cc -I/usr/local/apache/include -I/usr/local/apache/srclib/apr/include
> -I/usr/local/apache/os/unix -I/usr/local/apache/srclib/apr-util/i
> nclude -g -O2 -DUSE_APACHE_MD5 -I ../common -I /usr/java130/include -I
> /usr/java130/include/ -D_REENTRANT -Wall -c mod_jk.c  -DPIC -o .
> libs/mod_jk.lo
> ../libtool[847]: cc:  not found
> make: 1254-004 The error code from the last command is 1.
> Stop.
> make: 1254-004 The error code from the last command is 1.
> Stop.
> #
> ----------------------------------------------------------------
>
> Any infor, from the above transcript would be appreciated!
>
> THANKS again.
>
> Manoj G. Kithany
>
>
>
>
> _________________________________________________________________
> Chat with friends online, try MSN Messenger: http://messenger.msn.com
>
>
> ---------------------------------------------------------------------
> 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@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>

----------------------------------------
"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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org