| View previous topic :: View next topic |
| Author |
Message |
theansaname n00b

Joined: 18 Mar 2004 Posts: 18
|
Posted: Tue Mar 01, 2005 4:28 am Post subject: |
|
|
Heres how I did it for Tomcat5 and mod_jk. FYI mod_jk2 has been deprecated and longer being developed
recommend you -pv it first just to be sure
| Code: |
# su -
# emerge apache tomcat
# chown -R tomcat:tomcat /opt/tomcat5
|
testing the ebuild
| Code: |
# chmod 755 /etc/conf.d/tomcat5
# /etc/init.d/apache2 start
# /etc/init.d/tomcat start
|
use your browser and to see if you get the default pages
eg:
http://localhost/
http://localhost:8080/
or
http://you.ipa.ddr.ess/
http://you.ipa.ddr.ess:8080/
| Code: |
# /etc/init.d/apache2 stop
# /etc/init.d/tomcat5 stop
# rc-update add apache2 default && rc-update add tomcat5 default
|
Download mod_jk from http://jakarta.apache.org/site/downloads/downloads_tomcat-connectors.cgi
Get 1.2.x (1.2.8 as of this time) source release. I prefer the zip. backedup config_vars.mk just incase
I use vim for my editor
| Code: |
#cp /usr/lib/apache2/build/config_vars.mk /usr/lib/apache2/build/config_vars.mk.bak
#cd /var/tmp
#wget http://somemirror/bunchoffolders/jakarta-tomcat-connectors-current-src.zip
#unzip jakarta-tomcat-connectors-current-src.zip
#cd jakarta-tomcat-connectors-1.2.x-src/jk/
#native/buildconf.sh && native/configure --with-apxs=/usr/sbin/apxs2 && make
#cp native/apache-2.0/mod_jk.so /usr/lib/apache2/modules/
#vim /usr/lib/apache2/conf/workers.properties
|
file workers.properties. Make sure you change your tomcat_home and java_home to your respective locations
you can page your profile.env if your unsure what the locations are (less /etc/profile.env)
| Code: |
workers.tomcat_home=/opt/tomcat5
workers.java_home=/opt/blackdown-jdk-1.4.2.01
ps=/
worker.list=default
worker.default.port=8009
worker.default.host=localhost
worker.default.type=ajp13
worker.default.lbfactor=1
|
httpd.conf is deprecated
| Code: |
#vim /ust/lib/apache2/conf/apache2.conf
|
add the following
| Code: |
LoadModule jk_module modules/mod_jk.so
###
### mod_jk
###
JkWorkersFile "conf/workers.properties"
JkLogFile "logs/mod_jk.log"
JkLogFile error
JkMount /* default
# End mod_jk
|
your basically done right now. But lets configure your tomcat first
| Code: |
#cd /opt/tomcat5/conf
#vi tomcat-users.xml
|
| Code: |
<?xml version='1.0' encoding='utf-8'?>
<tomcat-users>
<role rolename="manager"/>
<role rolename="admin"/>
<user username="user" password="password" fullName="TheUser" roles="admin,manager"/>
</tomcat-users>
|
Start tomcat5 first, wait a couple of secs for the server to check its configs, start apache, exit wheel
| Code: |
#/etc/init.d/tomcat5 start && sleep 10 && /etc/init.d/apache2 start && exit
|
now test your mod_jk connection
point your browser to
Apache2 still working if default pages shows
http://you.ipa.ddr.ess
Tomcat5 still working if default pages shows
http://you.ipa.ddr.ess:8080
Tomcat5 still working if tomcat doc pages shows
http://you.ipa.ddr.ess:8080/tomcat-docs
mod_jk working if tomcat doc pages shows
http://you.ipa.ddr.ess/tomcat-docs
by defaults all your http files are stored in /var/www/localhost/htdocs
and tomcat files(jsp,sevlets) in /opt/tomcat5/webapps/
so you might not want to have apache default everything to tomcat
in /usr/lib/apache2/conf/apache2.conf
| Code: |
###
### mod_jk
###
JkWorkersFile "conf/workers.properties"
JkLogFile "logs/mod_jk.log"
JkLogFile error
##
##folders to mount
##
#JkMount /* default
JkMount /myjsps default
JkMount /myjsps/* default
# End mod_jk
|
or just have .jsp files be processed by tomcat
| Code: |
JkMount /myjsps/*.jsp default
|
| Code: |
# /etc/init.d/apache2 restart
|
Sources aside from this post
|
|
| Back to top |
|
 |
newtonian Guru


Joined: 19 Jan 2005 Posts: 454 Location: Hokkaido Japan
|
Posted: Wed Mar 09, 2005 8:52 pm Post subject: Useful mod_jk mini tutorial |
|
|
Thanks for posting the tutorial.
It saved me a lot of time. Everything is working well on my system except log output but
I'll mess with that someother time.
Going through your tutorial I came across a problem.
| Quote: |
cd jakarta-tomcat-connectors-1.2.x-src/jk/
#native/buildconf.sh && native/configure --with-apxs=/usr/sbin/apxs2 && make
|
pasting this code into my terminal window and running it caused the following error:
| Code: |
hawk jk # native/buildconf.sh
rm autom4te.cache
libtoolize --force --automake --copy
libtoolize: `configure.ac' does not exist
Try `libtoolize --help' for more information.
aclocal
aclocal-1.9: `configure.ac' or `configure.in' is required
autoheader
autoheader-2.59: `configure.ac' or `configure.in' is required
automake -a --foreign --copy
automake-1.9: `configure.ac' or `configure.in' is required
autoconf
autoconf-2.59: no input file
rm autom4te.cache
|
To get around the problem I did
| Code: |
cd native/
./buildconf.sh
./configure --with-apxs=/usr/sbin/apxs2
make
|
and everything worked fine.
I ran the command as root with the following path:
| Code: |
hawk native # echo $PATH
/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/opt/bin:/usr/i686-pc-lin
ux-gnu/gcc-bin/3.3.5:/usr/X11R6/bin:/opt/sun-jdk-1.4.2.07/bin:/op
t/sun-jdk-1.4.2.07/jre/bin:/opt/sun-jdk-1.4.2.07/jre/javaws:/usr/qt/3
/bin:/usr/kde/3.3/sbin:/usr/kde/3.3/bin:/var/qmail/bin:/var/vpopmail/bin
|
Do you think my path caused it to not execute correctly?
other than that, changing:
| Code: |
#vim /ust/lib/apache2/conf/apache2.conf
|
to
| Code: |
vim /usr/lib/apache2/conf/httpd.conf
|
might score some points with fellow vimmers.
Cheers,
Last edited by newtonian on Fri Nov 18, 2005 9:04 pm; edited 1 time in total |
|
| Back to top |
|
 |
kamina Apprentice

Joined: 14 Jun 2004 Posts: 157 Location: Finland
|
Posted: Fri Mar 11, 2005 1:25 pm Post subject: |
|
|
| theansaname wrote: |
| Code: |
#vim /usr/lib/apache2/conf/workers.properties
|
|
I don't have that file there... Should I make a copy from the folder where I downloaded the sources, or have I messed up at an earlier point?
After trying to follow the instructions I can still open up localhost:8080, but not localhost or the tomcat-docs. |
|
| Back to top |
|
 |
newtonian Guru


Joined: 19 Jan 2005 Posts: 454 Location: Hokkaido Japan
|
Posted: Fri Mar 11, 2005 3:59 pm Post subject: |
|
|
| kamina wrote: | | theansaname wrote: |
| Code: |
#vim /usr/lib/apache2/conf/workers.properties
|
|
I don't have that file there... Should I make a copy from the folder where I downloaded the sources, or have I messed up at an earlier point?
After trying to follow the instructions I can still open up localhost:8080, but not localhost or the tomcat-docs. |
I made workers.properties by myself. I think that's how it's usually done.
Did you emerge tomcat? or download the binary?
What version are you running? 5.0.27-r4 or 5.0.28?
What command did you use to start tomcat? /etc/init.d/?????
What is the output of logs/catatina.out after startup?
Cheers, |
|
| Back to top |
|
 |
kamina Apprentice

Joined: 14 Jun 2004 Posts: 157 Location: Finland
|
Posted: Fri Mar 11, 2005 4:32 pm Post subject: |
|
|
I did slocate to find a file with that name, and found it in jk sources. Tomcat version is 5.0.27-r4, I noticed some people having problems with 5.0.28 so decided not to install it yet. I installed by emerging. Tomcat was started normally with "/etc/init.d/tomcat5 start".
| Code: |
Mar 11, 2005 6:23:59 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Mar 11, 2005 6:23:59 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 5327 ms
Mar 11, 2005 6:24:00 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Mar 11, 2005 6:24:00 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.0.27
Mar 11, 2005 6:24:00 PM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
Mar 11, 2005 6:24:00 PM org.apache.catalina.core.StandardHost getDeployer
INFO: Create Host deployer for direct deployment ( non-jmx )
Mar 11, 2005 6:24:00 PM org.apache.catalina.core.StandardHostDeployer install
INFO: Processing Context configuration file URL file:/etc/tomcat5/Catalina/localhost/manager.xml
Mar 11, 2005 6:24:03 PM org.apache.catalina.core.StandardHostDeployer install
INFO: Processing Context configuration file URL file:/etc/tomcat5/Catalina/localhost/admin.xml
Mar 11, 2005 6:24:04 PM org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true
Mar 11, 2005 6:24:04 PM org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.struts.action.ActionResources', returnNull=true
Mar 11, 2005 6:24:06 PM org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.webapp.admin.ApplicationResources', returnNull=true
Mar 11, 2005 6:24:12 PM org.apache.catalina.core.StandardHostDeployer install
INFO: Processing Context configuration file URL file:/etc/tomcat5/Catalina/localhost/balancer.xml
Mar 11, 2005 6:24:13 PM org.apache.catalina.core.StandardHostDeployer install
INFO: Installing web application at context path from URL file:/opt/tomcat5/webapps/ROOT
Mar 11, 2005 6:24:14 PM org.apache.catalina.core.StandardHostDeployer install
INFO: Installing web application at context path /webdav from URL file:/opt/tomcat5/webapps/webdav
Mar 11, 2005 6:24:15 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Mar 11, 2005 6:24:15 PM org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on /0.0.0.0:8009
Mar 11, 2005 6:24:15 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=9/154 config=/opt/tomcat5/conf/jk2.properties
Mar 11, 2005 6:24:16 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 16388 ms
|
|
|
| Back to top |
|
 |
newtonian Guru


Joined: 19 Jan 2005 Posts: 454 Location: Hokkaido Japan
|
Posted: Fri Mar 11, 2005 5:39 pm Post subject: |
|
|
| Quote: | | After trying to follow the instructions I can still open up localhost:8080 |
This means tomcat is running fine.
| Quote: | | , but not localhost |
So when you type http://localhost you don't get anything? Not even the welcome to apache page?
| Quote: | | or the tomcat-docs. |
I don't think the docs are installed with the "emerge tomcat" command.
run:
| Code: |
find /opt/tomcat5 -iname 'tomcat-docs'
|
if nothing comes up then maybe you don't have the docs installed in your machine.
| kamina wrote: | | I did slocate to find a file with that name, and found it in jk sources. |
If you use workers.properties that came with the src file as is, with the apache setup above, it will NOT work. Make your own workers.properties with the information listed above.
| Quote: | | Tomcat version is 5.0.27-r4, I noticed some people having problems with 5.0.28 so decided not to install it yet. |
good idea
| Quote: | | I installed by emerging. Tomcat was started normally with "/etc/init.d/tomcat5 start". |
sounds good
You're catalina.out log looks fine.
what command do you use to start apache? |
|
| Back to top |
|
 |
kamina Apprentice

Joined: 14 Jun 2004 Posts: 157 Location: Finland
|
Posted: Tue Mar 15, 2005 12:03 pm Post subject: |
|
|
I finally (think) I have it working correctly, but now I need some real newbie help.
I have a project I was developing on another server, and I would like to continue on my own one. I moved the folder under webapps, but don't know how I could configure it so that I will reach the project with either http://my.ip or http://my.ip:8080 . On the server i was developing it, everything (including images and http files went under the same directory, and then there was a subdirectory WEB-INF/classes for java classes. I did'nt quite figure out how I will get apache to forward everything to tomcat, and if I need to have the html files under apaches directory?
edit:
Also, my tomcat-users.xml looks like this:
| Code: |
<?xml version='1.0' encoding='utf-8'?>
<tomcat-users>
<role rolename="tomcat"/>
<role rolename="role1"/>
<user username="tomcat" password="tomcat" roles="tomcat"/>
<user username="role1" password="tomcat" roles="role1"/>
<user username="both" password="tomcat" roles="tomcat,role1"/>
</tomcat-users>
|
Should I add the info mentioned above to this, or remove all the default values? |
|
| Back to top |
|
 |
newtonian Guru


Joined: 19 Jan 2005 Posts: 454 Location: Hokkaido Japan
|
Posted: Tue Mar 15, 2005 12:38 pm Post subject: getting forwarding working with apache/tomcat mod_jk |
|
|
delete the contents of the $CATALINA_HOME/webapps/ROOT directory.
Move the contents of $CATALINA_HOME/webapps/ myWebAppFolder to $CATALINA_HOME/webapps/ROOT
if going to http://my.ip, do this:
Turn apache off and change 8080 to 80 in conf/server.xml
start tomcat
browse to http://my.ip
if going to http://my.ip:8080
Don't change server.xml, just leave it the way it is.
start tomcat
browse to http://my.ip:8080
In ethier case you don't use mod_jk or apache.
| Quote: |
On the server i was developing it, everything (including images and http files went under the same directory,
and then there was a subdirectory WEB-INF/classes for java classes
|
Your setup will work fine with the instructions above.
Cheers, |
|
| Back to top |
|
 |
kamina Apprentice

Joined: 14 Jun 2004 Posts: 157 Location: Finland
|
Posted: Tue Mar 15, 2005 12:58 pm Post subject: |
|
|
Oh dear... So what did I install mod_jk2 for?  |
|
| Back to top |
|
 |
newtonian Guru


Joined: 19 Jan 2005 Posts: 454 Location: Hokkaido Japan
|
Posted: Tue Mar 15, 2005 1:23 pm Post subject: what did I install mod_jk2 for? |
|
|
| kamina wrote: | Oh dear... So what did I install mod_jk2 for?  |
mod_jk2 allows you to use apache.
Apache is nice to use because it is much faster than Tomcat.
Apache makes it easy to do php.
Apache, mod_jk2, and the php mod makes it easy to have PHP only sites and JSP only sites co-exists on the same system.
I use the apache/mod_jk/tomcat mix over a tomcat only solution because:
1. I use phpmyadmin
2. I have several tomcat versions running on the same machine for many different virtual hosts. Apache acts as a proxy for all of the different websites located on my gentoo box.
If you have modern hardware, no need for php and only 1 domain then I'd recommend staying with a single tomcat no apache setup. It's simple, and much easier to debug.
If you decide that you need the extra functionality that apache and mod_jk provide, let me know and I'll try to point you in the right direction. |
|
| Back to top |
|
 |
kamina Apprentice

Joined: 14 Jun 2004 Posts: 157 Location: Finland
|
Posted: Tue Mar 15, 2005 1:32 pm Post subject: |
|
|
Thanks alot. This is a fairly old machine (p3 600, 768mb ram) and is more of a hobby. I have alot of java courses in university so I prefere to play around with that rather then php (even though php would do what I want easier). Just trying to gather some experience. The box will hopefully end up with a small service with drink recipes (servlets) and a very basic "forum" (jsp). So I guess I can forget about apache and mod_jk then!  |
|
| Back to top |
|
 |
newtonian Guru


Joined: 19 Jan 2005 Posts: 454 Location: Hokkaido Japan
|
Posted: Tue Mar 15, 2005 2:48 pm Post subject: |
|
|
| kamina wrote: | The box will hopefully end up with a small service
with drink recipes (servlets) and a very basic "forum" (jsp). |
Building a java forum yourself might be fun. If you don't want to start
from scratch, you can check out the java open source forum software at:
http://java-source.net/open-source/forum-software
Jforum is almost identical to the phpBB(this forum) on the outside but is all java on the inside.
| Quote: | So I guess I can forget about apache and mod_jk then!  |
Believe me, there is plenty to learn with java, tomcat, struts, slides, velocity, jsf,
hibernate, xml, xsl, eclipse, netbeans, junit, ant, EJB, jndi, soap ... you get the point.
No need to make things any more complicated than you have to.
Cheers, |
|
| Back to top |
|
 |
kamina Apprentice

Joined: 14 Jun 2004 Posts: 157 Location: Finland
|
Posted: Wed Mar 16, 2005 5:03 pm Post subject: |
|
|
A million thanks for the help. I'm trying to finish my recipe "service" with servlets now, and the forum will be my introduction to JSP. I prefere to do it all my self, as I don't have any need for advanced features. This will also help me get some more experience with software designing and documentation.
I changed all entries with 8080 in server.xml to 80, but now the server does'nt respond to either port... I did'nt do any other changes! (apache is not on, but I tested turning apache on and it started and awnsered just fine)
edit:
this looks like it might have something to do with the problem... from /var/log/tomcat5/catalina.out
| Code: |
SEVERE: Error starting endpoint
java.net.BindException: Permission denied:80
at org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(PoolTcpEndpoint.java:264)
at org.apache.tomcat.util.net.PoolTcpEndpoint.startEndpoint(PoolTcpEndpoint.java:281)
at org.apache.coyote.http11.Http11Protocol.start(Http11Protocol.java:171)
at org.apache.coyote.tomcat5.CoyoteConnector.start(CoyoteConnector.java:1527)
at org.apache.catalina.core.StandardService.start(StandardService.java:489)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:2313)
at org.apache.catalina.startup.Catalina.start(Catalina.java:556)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:284)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:422)
Mar 16, 2005 7:04:04 PM org.apache.catalina.startup.Catalina start
SEVERE: Catalina.start:
LifecycleException: Protocol handler start failed: java.net.BindException: Permission denied:80
at org.apache.coyote.tomcat5.CoyoteConnector.start(CoyoteConnector.java:1529)
at org.apache.catalina.core.StandardService.start(StandardService.java:489)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:2313)
at org.apache.catalina.startup.Catalina.start(Catalina.java:556)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:284)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:422)
Mar 16, 2005 7:04:04 PM org.apache.catalina.startup.Catalina start
|
edit2
Google helped a bit... I can't run on port 80 without root privaliges? What would be the gracefull way to take care of this? Make a "software proxy" that would redirect port 80 to 8080? |
|
| Back to top |
|
 |
newtonian Guru


Joined: 19 Jan 2005 Posts: 454 Location: Hokkaido Japan
|
Posted: Sat Mar 19, 2005 11:46 pm Post subject: Tomcat as root in order to allow access to port 80 |
|
|
Here's something I found on jguru :
| Quote: |
Configuring tomcat to run on port 80, that is the default port for web (HTTP)service, you can just specify the hostname in the url address of your browser.
To configure in tomcat the port you have to modify conf/server.xml in the <Connector> tag as follows:
<Connector className="org.apache.tomcat.service.SimpleTcpConnector">
<Parameter name="handler" value="org.apache.tomcat.service.http.HttpConnectionHandler" />
<Parameter name="port" value="80" />
</Connector>
[Note that on some systems you need to execute Tomcat as root in order to allow access to port 80. -Alex]
|
I thought the last line was interesting. Did you try running it as root?
Cheers, |
|
| Back to top |
|
 |
johnl n00b

Joined: 01 Apr 2005 Posts: 1
|
Posted: Fri Apr 01, 2005 7:43 am Post subject: |
|
|
Hi all, I have read a lot of great info in this thread. I have what seems to be a straighforward need, but I have not yet been able to accomplish it yet. I am running Apache 2.0.52, Tomcat 5.0.28, and mod_jk2. I apologize that this is on a Windows system (Server 2003), but it seems this thread has the most knowledge for me to tap! Everything seems to be running fine, but I want to be able to hide, mask, map, whatever, the URL to the jsp pages. Here is my workers2.properties file:
| Code: |
[shm]
info=Scoreboard. Requried for reconfiguration and status with multiprocess servers.
file=anon
# Defines a load balancer named lb. Use even if you only have one machine.
[lb:lb]
# Example socket channel, override port and host.
[channel.socket:localhost:8009]
port=8009
host=127.0.0.1
# define the worker
[ajp13:localhost:8009]
channel=channel.socket:localhost:8009
group=lb
# Map the Tomcat webapp to the Web server uri space
[uri:/appname/*]
group=lb
[status:]
info=Status worker, displays runtime information
[uri:/jkstatus/*]
info=The Tomcat /jkstatus handler
group=status:
|
I setup an alias in the httpd.conf file:
| Code: |
Alias /standalone/ "D:/Program Files/Apache Group/Tomcat5.0.28/webapps/appname/jsp/usr/standalone/"
<Directory "D:/Program Files/Apache Group/Tomcat5.0.28/webapps/appname/jsp/usr/standalone">
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
|
So, if I enter http: //ipaddress/appname/jsp/usr/standalone/file.jsp, the file loads and is properly passed to Tomcat.
If I enter http: //ipaddress/standalone/file.jsp, the file loads but is not passed to Tomcat.
I don't want my users seeing the long, ugly URL. What is the best/easiest way to accomplish this? Any help is greatly appreciated!
John |
|
| Back to top |
|
 |
Chipski n00b

Joined: 15 Mar 2005 Posts: 9 Location: Leeds, UK
|
Posted: Wed Apr 06, 2005 4:05 pm Post subject: |
|
|
| kamina wrote: |
| Code: |
SEVERE: Error starting endpoint
java.net.BindException: Permission denied:80
|
edit2
Google helped a bit... I can't run on port 80 without root privaliges? |
Correct, and running externally available services as root isn't something I like doing, but all is not lost: use the following Netfilter "recipe" to redirect tcp requests to port 80 to 8080:
| Code: | | /sbin/iptables -t nat -A PREROUTING -i eth0 -p tcp -m tcp --dport 80 -j REDIRECT --to-ports 8080 |
Which will send TCP packets arriving on interface eth0 (change as required) to port 8080 on the same machine. There's no problem opening ports > 1024 as an unprivileged user.
Note that this isn't the same as an HTTP redirect as nothing is sent back to the requester, the original matching packet is magically forwarded to the designated port on the same server. Not only that but you won't have to change tomcat's server.xml either; it still listens on the default 8080 running as an unprivileged account (which for extra security you could/should also set up to not be able to log on either, by changing the account's shell to /bin/false ).
Good luck with the studies. _________________ Aah... Gentoo! |
|
| Back to top |
|
 |
zendmaster Apprentice


Joined: 06 Nov 2003 Posts: 204 Location: Tisdale, Saskatchewan, Canada
|
Posted: Tue Apr 26, 2005 4:05 pm Post subject: |
|
|
I'm getting a make error. Maybe one of you can identify my problem.
de/apache2 -g -O2 -O2 -mcpu=athlon -fomit-frame-pointer -pthread -DHAVE_APR -I/var/tmp/portage/apache-2.0.52-r1/work/httpd-2.0.52/srclib/apr/include -g -O2 -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -I /opt/sun-jdk-1.4.2.07/include -I /opt/sun-jdk-1.4.2.07/include/ -c ../native/common/jk_status.c
make[1]: Leaving directory `/var/tmp/jakarta-tomcat-connectors-1.2.10-src/jk/common'
Making all in apache-2.0
make[1]: Entering directory `/var/tmp/jakarta-tomcat-connectors-1.2.10-src/jk/apache-2.0'
Makefile:33: ../scripts/build/rules.mk: No such file or directory
make[1]: *** No rule to make target `../scripts/build/rules.mk'. Stop.
make[1]: Leaving directory `/var/tmp/jakarta-tomcat-connectors-1.2.10-src/jk/apache-2.0'
make: *** [all-recursive] Error 1
Thanks |
|
| Back to top |
|
 |
newtonian Guru


Joined: 19 Jan 2005 Posts: 454 Location: Hokkaido Japan
|
Posted: Tue Nov 22, 2005 4:16 pm Post subject: /usr/lib/apache2/build/libtool problem fixed |
|
|
I got a problem when I tried to make jk_mount. The compile
stopped because make couldn't find a libtool.
Here's what I did to fix it:
missing /usr/lib/apache2/build/libtool
to solve that, all you have to do is:
ln -s /usr/bin/libtool /usr/lib/apache2/build/libtool
Cheers, |
|
| Back to top |
|
 |
songniao n00b

Joined: 20 May 2004 Posts: 27
|
Posted: Sat Dec 03, 2005 10:08 am Post subject: |
|
|
i have following what you say.
after i configure&&make,i can not find mod_jk.so in ./apache-2.0 directory.why? |
|
| Back to top |
|
 |
newtonian Guru


Joined: 19 Jan 2005 Posts: 454 Location: Hokkaido Japan
|
Posted: Sat Dec 03, 2005 12:57 pm Post subject: disapearing mod_jk.so |
|
|
| songniao wrote: | i have following what you say.
after i configure&&make,i can not find mod_jk.so in ./apache-2.0 directory.why? |
1. maybe your compiled failed. How about posting the output of your compile.
2. maybe if was put somewhere else, why not run
as root, then
Cheers, |
|
| Back to top |
|
 |
songniao n00b

Joined: 20 May 2004 Posts: 27
|
Posted: Sat Dec 03, 2005 1:56 pm Post subject: |
|
|
thanks !
i follow what you say.and configure and make,but can not find mod_jk.so too,here is the result of "make":
[color=red]Making all in common
make[1]: Entering directory `/root/jakarta-tomcat-connectors-1.2.15-src/jk/native/common'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/jakarta-tomcat-connectors-1.2.15-src/jk/native/common'
and if try to use "emerge mod_jk",this time get the error:
>>> Install mod_jk-1.2.13 into /var/tmp/portage/mod_jk-1.2.13/image/ category www-apache
install: cannot stat `/var/tmp/portage/mod_jk-1.2.13/work/jakarta-tomcat-connectors-1.2.13-src/jk/native/apache-2.0/mod_jk.so': No such file or directory
!!! ERROR: www-apache/mod_jk-1.2.13 failed.
!!! Function apache2_src_install, Line 290, Exitcode 1
!!! internal ebuild error: '/var/tmp/portage/mod_jk-1.2.13/work/jakarta-tomcat-connectors-1.2.13-src/jk/native/apache-2.0/mod_jk.so' not found
!!! If you need support, post the topmost build error, NOT this status message.[/color] |
|
| Back to top |
|
 |
newtonian Guru


Joined: 19 Jan 2005 Posts: 454 Location: Hokkaido Japan
|
Posted: Sat Dec 03, 2005 3:27 pm Post subject: can't find mod_jk |
|
|
I downloaded mod_jk and ran buildconf.sh, configured and ran make.
You might to do what I did and compare your results with mine.
| Quote: |
hawk native # ./buildconf.sh
rm autom4te.cache
libtoolize --force --automake --copy
aclocal
/usr/share/aclocal/xmms.m4:17: warning: underquoted definition of XMMS_TEST_VERSION
run info '(automake)Extending aclocal'
or see http://sources.redhat.com/automake/automake.html#Extending%20aclocal
/usr/share/aclocal/xmms.m4:62: warning: underquoted definition of AM_PATH_XMMS
/usr/share/aclocal/wxwin.m4:36: warning: underquoted definition of AM_OPTIONS_WXCONFIG
/usr/share/aclocal/wxwin.m4:59: warning: underquoted definition of AM_PATH_WXCONFIG
/usr/share/aclocal/pkg.m4:5: warning: underquoted definition of PKG_CHECK_MODULES
/usr/share/aclocal/libmikmod.m4:11: warning: underquoted definition of AM_PATH_LIBMIKMOD
/usr/share/aclocal/libmcrypt.m4:17: warning: underquoted definition of AM_PATH_LIBMCRYPT
/usr/share/aclocal/imlib.m4:9: warning: underquoted definition of AM_PATH_IMLIB
/usr/share/aclocal/imlib.m4:167: warning: underquoted definition of AM_PATH_GDK_IMLIB
/usr/share/aclocal/gtk.m4:7: warning: underquoted definition of AM_PATH_GTK
/usr/share/aclocal/glib.m4:8: warning: underquoted definition of AM_PATH_GLIB
/usr/share/aclocal/audiofile.m4:12: warning: underquoted definition of AM_PATH_AUDIOFILE
/usr/share/aclocal/ao.m4:9: warning: underquoted definition of XIPH_PATH_AO
autoheader
automake -a --foreign --copy
autoconf
rm autom4te.cache
|
then configure:
| Quote: |
hawk native # ./configure --with-apxs=/usr/sbin/apxs2
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... none
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
checking for ld used by gcc... /usr/i686-pc-linux-gnu/bin/ld
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... none
checking how to run the C++ preprocessor... g++ -E
checking for g77... g77
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether g77 accepts -g... yes
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking for correct ltmain.sh version... yes
checking if gcc static flag works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... no
checking for dlopen in -ldl... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/i686-pc-linux-gnu/bin/ld
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking for shl_load... (cached) no
checking for shl_load in -ldld... (cached) no
checking for dlopen... (cached) no
checking for dlopen in -ldl... (cached) yes
checking whether a program can dlopen itself... (cached) yes
checking whether a statically linked program can dlopen itself... (cached) yes
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for g77 option to produce PIC... -fPIC
checking if g77 PIC flag -fPIC works... yes
checking if g77 supports -c -o file.o... yes
checking whether the g77 linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking for test... /usr/bin/test
checking for rm... /bin/rm
checking for grep... /bin/grep
checking for echo... /bin/echo
checking for sed... /bin/sed
checking for cp... /bin/cp
checking for mkdir... /bin/mkdir
checking for uint32_t... yes
checking size of uint32_t... 4
checking for u_int32_t... yes
checking size of u_int32_t... 4
checking for unsigned long... yes
checking size of unsigned long... 4
checking for unsigned int... yes
checking size of unsigned int... 4
checking for unsigned long long... yes
checking size of unsigned long long... 8
checking for unsigned longlong... no
checking size of unsigned longlong... 0
checking for snprintf... yes
checking for vsnprintf... yes
checking for flock... yes
checking for setsockopt in -lsocket... no
checking whether to use SO_RCVTIMEO with setsockopt()... yes
checking whether to use SO_SNDTIMEO with setsockopt()... yes
need to check for Perl first, apxs depends on it...
checking for perl... /usr/bin/perl
APRINCLUDEDIR is -I/usr/include/apr-0 -I/usr/include/apr-0
building connector for "apache-2.0"
checking for target platform... unix
no apache given
configure: creating ./config.status
config.status: creating Makefile
config.status: creating apache-1.3/Makefile
config.status: creating apache-1.3/Makefile.apxs
config.status: creating apache-2.0/Makefile
config.status: creating apache-2.0/Makefile.apxs
config.status: creating common/Makefile
config.status: creating common/list.mk
config.status: creating jni/Makefile
config.status: creating common/portable.h
config.status: executing depfiles commands
|
work around make error:
| Code: | | hawk native # ln -s /usr/bin/libtool /usr/lib/apache2/build/libtool |
then
| Quote: |
hawk native # make
Making all in common
make[1]: Entering directory `/home/david/jakarta-tomcat-connectors-1.2.15-src/jk/native/common'
/bin/sh /usr/lib/apache2/build/libtool --silent --mode=compile gcc -I/usr/include/apache2 -g -O2 -O2 -march=pentium4 -fomit-frame-pointer -pthread -DHAVE_APR -I/usr/include/apr-0 -I/usr/include/apr-0 -g -O2 -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -I /opt/sun-jdk-1.4.2.08/include -I /opt/sun-jdk-1.4.2.08/include/ -c jk_ajp12_worker.c -o jk_ajp12_worker.lo
/bin/sh /usr/lib/apache2/build/libtool --silent --mode=compile gcc -I/usr/include/apache2 -g -O2 -O2 -march=pentium4 -fomit-frame-pointer -pthread -DHAVE_APR -I/usr/include/apr-0 -I/usr/include/apr-0 -g -O2 -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -I /opt/sun-jdk-1.4.2.08/include -I /opt/sun-jdk-1.4.2.08/include/ -c jk_connect.c -o jk_connect.lo
/bin/sh /usr/lib/apache2/build/libtool --silent --mode=compile gcc -I/usr/include/apache2 -g -O2 -O2 -march=pentium4 -fomit-frame-pointer -pthread -DHAVE_APR -I/usr/include/apr-0 -I/usr/include/apr-0 -g -O2 -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -I /opt/sun-jdk-1.4.2.08/include -I /opt/sun-jdk-1.4.2.08/include/ -c jk_msg_buff.c -o jk_msg_buff.lo
/bin/sh /usr/lib/apache2/build/libtool --silent --mode=compile gcc -I/usr/include/apache2 -g -O2 -O2 -march=pentium4 -fomit-frame-pointer -pthread -DHAVE_APR -I/usr/include/apr-0 -I/usr/include/apr-0 -g -O2 -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -I /opt/sun-jdk-1.4.2.08/include -I /opt/sun-jdk-1.4.2.08/include/ -c jk_util.c -o jk_util.lo
/bin/sh /usr/lib/apache2/build/libtool --silent --mode=compile gcc -I/usr/include/apache2 -g -O2 -O2 -march=pentium4 -fomit-frame-pointer -pthread -DHAVE_APR -I/usr/include/apr-0 -I/usr/include/apr-0 -g -O2 -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -I /opt/sun-jdk-1.4.2.08/include -I /opt/sun-jdk-1.4.2.08/include/ -c jk_ajp13.c -o jk_ajp13.lo
/bin/sh /usr/lib/apache2/build/libtool --silent --mode=compile gcc -I/usr/include/apache2 -g -O2 -O2 -march=pentium4 -fomit-frame-pointer -pthread -DHAVE_APR -I/usr/include/apr-0 -I/usr/include/apr-0 -g -O2 -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -I /opt/sun-jdk-1.4.2.08/include -I /opt/sun-jdk-1.4.2.08/include/ -c jk_pool.c -o jk_pool.lo
/bin/sh /usr/lib/apache2/build/libtool --silent --mode=compile gcc -I/usr/include/apache2 -g -O2 -O2 -march=pentium4 -fomit-frame-pointer -pthread -DHAVE_APR -I/usr/include/apr-0 -I/usr/include/apr-0 -g -O2 -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -I /opt/sun-jdk-1.4.2.08/include -I /opt/sun-jdk-1.4.2.08/include/ -c jk_worker.c -o jk_worker.lo
/bin/sh /usr/lib/apache2/build/libtool --silent --mode=compile gcc -I/usr/include/apache2 -g -O2 -O2 -march=pentium4 -fomit-frame-pointer -pthread -DHAVE_APR -I/usr/include/apr-0 -I/usr/include/apr-0 -g -O2 -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -I /opt/sun-jdk-1.4.2.08/include -I /opt/sun-jdk-1.4.2.08/include/ -c jk_ajp13_worker.c -o jk_ajp13_worker.lo
/bin/sh /usr/lib/apache2/build/libtool --silent --mode=compile gcc -I/usr/include/apache2 -g -O2 -O2 -march=pentium4 -fomit-frame-pointer -pthread -DHAVE_APR -I/usr/include/apr-0 -I/usr/include/apr-0 -g -O2 -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -I /opt/sun-jdk-1.4.2.08/include -I /opt/sun-jdk-1.4.2.08/include/ -c jk_lb_worker.c -o jk_lb_worker.lo
/bin/sh /usr/lib/apache2/build/libtool --silent --mode=compile gcc -I/usr/include/apache2 -g -O2 -O2 -march=pentium4 -fomit-frame-pointer -pthread -DHAVE_APR -I/usr/include/apr-0 -I/usr/include/apr-0 -g -O2 -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -I /opt/sun-jdk-1.4.2.08/include -I /opt/sun-jdk-1.4.2.08/include/ -c jk_sockbuf.c -o jk_sockbuf.lo
/bin/sh /usr/lib/apache2/build/libtool --silent --mode=compile gcc -I/usr/include/apache2 -g -O2 -O2 -march=pentium4 -fomit-frame-pointer -pthread -DHAVE_APR -I/usr/include/apr-0 -I/usr/include/apr-0 -g -O2 -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -I /opt/sun-jdk-1.4.2.08/include -I /opt/sun-jdk-1.4.2.08/include/ -c jk_map.c -o jk_map.lo
/bin/sh /usr/lib/apache2/build/libtool --silent --mode=compile gcc -I/usr/include/apache2 -g -O2 -O2 -march=pentium4 -fomit-frame-pointer -pthread -DHAVE_APR -I/usr/include/apr-0 -I/usr/include/apr-0 -g -O2 -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -I /opt/sun-jdk-1.4.2.08/include -I /opt/sun-jdk-1.4.2.08/include/ -c jk_uri_worker_map.c -o jk_uri_worker_map.lo
/bin/sh /usr/lib/apache2/build/libtool --silent --mode=compile gcc -I/usr/include/apache2 -g -O2 -O2 -march=pentium4 -fomit-frame-pointer -pthread -DHAVE_APR -I/usr/include/apr-0 -I/usr/include/apr-0 -g -O2 -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -I /opt/sun-jdk-1.4.2.08/include -I /opt/sun-jdk-1.4.2.08/include/ -c jk_ajp14.c -o jk_ajp14.lo
/bin/sh /usr/lib/apache2/build/libtool --silent --mode=compile gcc -I/usr/include/apache2 -g -O2 -O2 -march=pentium4 -fomit-frame-pointer -pthread -DHAVE_APR -I/usr/include/apr-0 -I/usr/include/apr-0 -g -O2 -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -I /opt/sun-jdk-1.4.2.08/include -I /opt/sun-jdk-1.4.2.08/include/ -c jk_ajp14_worker.c -o jk_ajp14_worker.lo
/bin/sh /usr/lib/apache2/build/libtool --silent --mode=compile gcc -I/usr/include/apache2 -g -O2 -O2 -march=pentium4 -fomit-frame-pointer -pthread -DHAVE_APR -I/usr/include/apr-0 -I/usr/include/apr-0 -g -O2 -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -I /opt/sun-jdk-1.4.2.08/include -I /opt/sun-jdk-1.4.2.08/include/ -c jk_md5.c -o jk_md5.lo
/bin/sh /usr/lib/apache2/build/libtool --silent --mode=compile gcc -I/usr/include/apache2 -g -O2 -O2 -march=pentium4 -fomit-frame-pointer -pthread -DHAVE_APR -I/usr/include/apr-0 -I/usr/include/apr-0 -g -O2 -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -I /opt/sun-jdk-1.4.2.08/include -I /opt/sun-jdk-1.4.2.08/include/ -c jk_shm.c -o jk_shm.lo
/bin/sh /usr/lib/apache2/build/libtool --silent --mode=compile gcc -I/usr/include/apache2 -g -O2 -O2 -march=pentium4 -fomit-frame-pointer -pthread -DHAVE_APR -I/usr/include/apr-0 -I/usr/include/apr-0 -g -O2 -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -I /opt/sun-jdk-1.4.2.08/include -I /opt/sun-jdk-1.4.2.08/include/ -c jk_ajp_common.c -o jk_ajp_common.lo
/bin/sh /usr/lib/apache2/build/libtool --silent --mode=compile gcc -I/usr/include/apache2 -g -O2 -O2 -march=pentium4 -fomit-frame-pointer -pthread -DHAVE_APR -I/usr/include/apr-0 -I/usr/include/apr-0 -g -O2 -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -I /opt/sun-jdk-1.4.2.08/include -I /opt/sun-jdk-1.4.2.08/include/ -c jk_context.c -o jk_context.lo
/bin/sh /usr/lib/apache2/build/libtool --silent --mode=compile gcc -I/usr/include/apache2 -g -O2 -O2 -march=pentium4 -fomit-frame-pointer -pthread -DHAVE_APR -I/usr/include/apr-0 -I/usr/include/apr-0 -g -O2 -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -I /opt/sun-jdk-1.4.2.08/include -I /opt/sun-jdk-1.4.2.08/include/ -c jk_status.c -o jk_status.lo
make[1]: Leaving directory `/home/david/jakarta-tomcat-connectors-1.2.15-src/jk/native/common'
Making all in apache-2.0
make[1]: Entering directory `/home/david/jakarta-tomcat-connectors-1.2.15-src/jk/native/apache-2.0'
/bin/sh /usr/lib/apache2/build/libtool --silent --mode=compile i686-pc-linux-gnu-gcc -I/usr/include/apache2 -g -O2 -DUSE_APACHE_MD5 -I ../common -I /opt/sun-jdk-1.4.2.08/include -I /opt/sun-jdk-1.4.2.08/include/unix -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -O2 -march=pentium4 -fomit-frame-pointer -pthread -DHAVE_APR -I/usr/include/apr-0 -I/usr/include/apr-0 -g -O2 -pthread -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -c mod_jk.c -o mod_jk.lo
/bin/sh /usr/lib/apache2/build/libtool --silent --mode=link i686-pc-linux-gnu-gcc -I/usr/include/apache2 -g -O2 -DUSE_APACHE_MD5 -I ../common -I /opt/sun-jdk-1.4.2.08/include -I /opt/sun-jdk-1.4.2.08/include/unix -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -O2 -march=pentium4 -fomit-frame-pointer -pthread -DHAVE_APR -I/usr/include/apr-0 -I/usr/include/apr-0 -g -O2 -pthread -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE `/usr/sbin/apxs2 -q LDFLAGS` -o mod_jk.la -module -rpath /usr/lib/apache2/modules -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_shm.lo ../common/jk_ajp_common.lo ../common/jk_context.lo ../common/jk_status.lo
/bin/sh /usr/lib/apache2/build/libtool --silent --mode=install cp mod_jk.la `pwd`/mod_jk.so
libtool: install: warning: remember to run `libtool --finish /usr/lib/apache2/modules'
make[1]: Leaving directory `/home/david/jakarta-tomcat-connectors-1.2.15-src/jk/native/apache-2.0'
make[1]: Entering directory `/home/david/jakarta-tomcat-connectors-1.2.15-src/jk/native'
make[1]: Nothing to be done for `all-am'.
make[1]: Leaving directory `/home/david/jakarta-tomcat-connectors-1.2.15-src/jk/native'
target="all"; \
list='common apache-2.0'; \
for i in $list; do \
echo "Making $target in $i"; \
if test "$i" != "."; then \
(cd $i && make $target) || exit 1; \
fi; \
done;
Making all in common
make[1]: Entering directory `/home/david/jakarta-tomcat-connectors-1.2.15-src/jk/native/common'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/david/jakarta-tomcat-connectors-1.2.15-src/jk/native/common'
Making all in apache-2.0
make[1]: Entering directory `/home/david/jakarta-tomcat-connectors-1.2.15-src/jk/native/apache-2.0'
/bin/sh /usr/lib/apache2/build/libtool --silent --mode=install cp mod_jk.la `pwd`/mod_jk.so
libtool: install: warning: remember to run `libtool --finish /usr/lib/apache2/modules'
make[1]: Leaving directory `/home/david/jakarta-tomcat-connectors-1.2.15-src/jk/native/apache-2.0'
|
|
|
| Back to top |
|
 |
songniao n00b

Joined: 20 May 2004 Posts: 27
|
Posted: Sat Dec 03, 2005 3:40 pm Post subject: |
|
|
thanks a lot.
code:
native # ./buildconf.sh
rm autom4te.cache
libtoolize --force --automake --copy
aclocal
/usr/share/aclocal/vorbis.m4:9: warning: underquoted definition of XIPH_PATH_VORBIS
run info '(automake)Extending aclocal'
or see http://sources.redhat.com/automake/automake.html#Extending%20aclocal
/usr/share/aclocal/pkg.m4:5: warning: underquoted definition of PKG_CHECK_MODULES
/usr/share/aclocal/ogg.m4:8: warning: underquoted definition of XIPH_PATH_OGG
/usr/share/aclocal/libmcrypt.m4:17: warning: underquoted definition of AM_PATH_LIBMCRYPT
/usr/share/aclocal/gtk.m4:7: warning: underquoted definition of AM_PATH_GTK
/usr/share/aclocal/glib.m4:8: warning: underquoted definition of AM_PATH_GLIB
/usr/share/aclocal/freetype2.m4:7: warning: underquoted definition of AC_CHECK_FT2
/usr/share/aclocal/audiofile.m4:12: warning: underquoted definition of AM_PATH_AUDIOFILE
autoheader
automake -a --foreign --copy
autoconf
rm autom4te.cache
code:
native # ./configure --with-apxs=/usr/sbin/apxs2
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane...
yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... none
checking for ld used by GCC... /usr/i686-pc-linux-gnu/bin/ld
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking for a sed that does not truncate output... /bin/sed
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking command to parse /usr/bin/nm -B output... ok
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for ranlib... ranlib
checking for strip... strip
checking for objdir... .libs
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking whether the linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether -lc should be explicitly linked in... no
creating libtool
checking for test... /bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/3.3:/usr/X11R6/bin:/opt/blackdown-jdk-1.4.1/bin:/opt/blackdown-jdk-1.4.1/jre/bin:/usr/qt/3/bin:/opt/tomcat5/bin:/opt/blackdown-jdk-1.4.1/bin:/opt/blackdown-jdk-1.4.1/jre/bin
checking for rm... /bin/rm
checking for grep... /bin/grep
checking for echo... /bin/echo
checking for sed... /bin/sed
checking for cp... /bin/cp
checking for mkdir... /bin/mkdir
checking for uint32_t... yes
checking size of uint32_t... 4
checking for u_int32_t... yes
checking size of u_int32_t... 4
checking for unsigned long... yes
checking size of unsigned long... 4
checking for unsigned int... yes
checking size of unsigned int... 4
checking for unsigned long long... yes
checking size of unsigned long long... 8
checking for unsigned longlong... no
checking size of unsigned longlong... 0
checking for snprintf... yes
checking for vsnprintf... yes
checking for flock... yes
checking for setsockopt in -lsocket... no
checking whether to use SO_RCVTIMEO with setsockopt()... yes
checking whether to use SO_SNDTIMEO with setsockopt()... yes
./configure: line 11515: /bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/3.3:/usr/X11R6/bin:/opt/blackdown-jdk-1.4.1/bin:/opt/blackdown-jdk-1.4.1/jre/bin:/usr/qt/3/bin:/opt/tomcat5/bin:/opt/blackdown-jdk-1.4.1/bin:/opt/blackdown-jdk-1.4.1/jre/bin: No such file or directory
checking for target platform... unix
no apache given
./configure: line 11836: /bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/3.3:/usr/X11R6/bin:/opt/blackdown-jdk-1.4.1/bin:/opt/blackdown-jdk-1.4.1/jre/bin:/usr/qt/3/bin:/opt/tomcat5/bin:/opt/blackdown-jdk-1.4.1/bin:/opt/blackdown-jdk-1.4.1/jre/bin: No such file or directory
./configure: line 11839: /bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/3.3:/usr/X11R6/bin:/opt/blackdown-jdk-1.4.1/bin:/opt/blackdown-jdk-1.4.1/jre/bin:/usr/qt/3/bin:/opt/tomcat5/bin:/opt/blackdown-jdk-1.4.1/bin:/opt/blackdown-jdk-1.4.1/jre/bin: No such file or directory
./configure: line 11846: /bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/3.3:/usr/X11R6/bin:/opt/blackdown-jdk-1.4.1/bin:/opt/blackdown-jdk-1.4.1/jre/bin:/usr/qt/3/bin:/opt/tomcat5/bin:/opt/blackdown-jdk-1.4.1/bin:/opt/blackdown-jdk-1.4.1/jre/bin: No such file or directory
./configure: line 12041: /bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/3.3:/usr/X11R6/bin:/opt/blackdown-jdk-1.4.1/bin:/opt/blackdown-jdk-1.4.1/jre/bin:/usr/qt/3/bin:/opt/tomcat5/bin:/opt/blackdown-jdk-1.4.1/bin:/opt/blackdown-jdk-1.4.1/jre/bin: No such file or directory
./configure: line 12053: /bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/3.3:/usr/X11R6/bin:/opt/blackdown-jdk-1.4.1/bin:/opt/blackdown-jdk-1.4.1/jre/bin:/usr/qt/3/bin:/opt/tomcat5/bin:/opt/blackdown-jdk-1.4.1/bin:/opt/blackdown-jdk-1.4.1/jre/bin: No such file or directory
./configure: line 12062: /bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/3.3:/usr/X11R6/bin:/opt/blackdown-jdk-1.4.1/bin:/opt/blackdown-jdk-1.4.1/jre/bin:/usr/qt/3/bin:/opt/tomcat5/bin:/opt/blackdown-jdk-1.4.1/bin:/opt/blackdown-jdk-1.4.1/jre/bin: No such file or directory
configure: creating ./config.status
config.status: creating Makefile
config.status: creating apache-1.3/Makefile
config.status: creating apache-1.3/Makefile.apxs
config.status: creating apache-2.0/Makefile
config.status: creating apache-2.0/Makefile.apxs
config.status: creating common/Makefile
config.status: creating common/list.mk
config.status: creating jni/Makefile
config.status: creating common/portable.h
config.status: common/portable.h is unchanged
config.status: executing depfiles commands
code:
native # make
Making all in common
make[1]: Entering directory `/root/jakarta-tomcat-connectors-1.2.15-src/jk/native/common'
/bin/sh ../libtool --mode=compile gcc -g -O2 -I /opt/blackdown-jdk-1.4.1/include -I /opt/blackdown-jdk-1.4.1/include/ -c jk_ajp12_worker.c -o jk_ajp12_worker.lo
rm -f .libs/jk_ajp12_worker.lo
gcc -g -O2 -I /opt/blackdown-jdk-1.4.1/include -I /opt/blackdown-jdk-1.4.1/include/ -c jk_ajp12_worker.c -fPIC -DPIC -o .libs/jk_ajp12_worker.lo
gcc -g -O2 -I /opt/blackdown-jdk-1.4.1/include -I /opt/blackdown-jdk-1.4.1/include/ -c jk_ajp12_worker.c -o jk_ajp12_worker.o >/dev/null 2>&1
mv -f .libs/jk_ajp12_worker.lo jk_ajp12_worker.lo
/bin/sh ../libtool --mode=compile gcc -g -O2 -I /opt/blackdown-jdk-1.4.1/include -I /opt/blackdown-jdk-1.4.1/include/ -c jk_connect.c -o jk_connect.lo
rm -f .libs/jk_connect.lo
gcc -g -O2 -I /opt/blackdown-jdk-1.4.1/include -I /opt/blackdown-jdk-1.4.1/include/ -c jk_connect.c -fPIC -DPIC -o .libs/jk_connect.lo
gcc -g -O2 -I /opt/blackdown-jdk-1.4.1/include -I /opt/blackdown-jdk-1.4.1/include/ -c jk_connect.c -o jk_connect.o >/dev/null 2>&1
mv -f .libs/jk_connect.lo jk_connect.lo
/bin/sh ../libtool --mode=compile gcc -g -O2 -I /opt/blackdown-jdk-1.4.1/include -I /opt/blackdown-jdk-1.4.1/include/ -c jk_msg_buff.c -o jk_msg_buff.lo
rm -f .libs/jk_msg_buff.lo
gcc -g -O2 -I /opt/blackdown-jdk-1.4.1/include -I /opt/blackdown-jdk-1.4.1/include/ -c jk_msg_buff.c -fPIC -DPIC -o .libs/jk_msg_buff.lo
gcc -g -O2 -I /opt/blackdown-jdk-1.4.1/include -I /opt/blackdown-jdk-1.4.1/include/ -c jk_msg_buff.c -o jk_msg_buff.o >/dev/null 2>&1
mv -f .libs/jk_msg_buff.lo jk_msg_buff.lo
/bin/sh ../libtool --mode=compile gcc -g -O2 -I /opt/blackdown-jdk-1.4.1/include -I /opt/blackdown-jdk-1.4.1/include/ -c jk_util.c -o jk_util.lo
rm -f .libs/jk_util.lo
gcc -g -O2 -I /opt/blackdown-jdk-1.4.1/include -I /opt/blackdown-jdk-1.4.1/include/ -c jk_util.c -fPIC -DPIC -o .libs/jk_util.lo
gcc -g -O2 -I /opt/blackdown-jdk-1.4.1/include -I /opt/blackdown-jdk-1.4.1/include/ -c jk_util.c -o jk_util.o >/dev/null 2>&1
mv -f .libs/jk_util.lo jk_util.lo
/bin/sh ../libtool --mode=compile gcc -g -O2 -I /opt/blackdown-jdk-1.4.1/include -I /opt/blackdown-jdk-1.4.1/include/ -c jk_ajp13.c -o jk_ajp13.lo
rm -f .libs/jk_ajp13.lo
gcc -g -O2 -I /opt/blackdown-jdk-1.4.1/include -I /opt/blackdown-jdk-1.4.1/include/ -c jk_ajp13.c -fPIC -DPIC -o .libs/jk_ajp13.lo
gcc -g -O2 -I /opt/blackdown-jdk-1.4.1/include -I /opt/blackdown-jdk-1.4.1/include/ -c jk_ajp13.c -o jk_ajp13.o >/dev/null 2>&1
mv -f .libs/jk_ajp13.lo jk_ajp13.lo
/bin/sh ../libtool --mode=compile gcc -g -O2 -I /opt/blackdown-jdk-1.4.1/include -I /opt/blackdown-jdk-1.4.1/include/ -c jk_pool.c -o jk_pool.lo
rm -f .libs/jk_pool.lo
gcc -g -O2 -I /opt/blackdown-jdk-1.4.1/include -I /opt/blackdown-jdk-1.4.1/include/ -c jk_pool.c -fPIC -DPIC -o .libs/jk_pool.lo
gcc -g -O2 -I /opt/blackdown-jdk-1.4.1/include -I /opt/blackdown-jdk-1.4.1/include/ -c jk_pool.c -o jk_pool.o >/dev/null 2>&1
mv -f .libs/jk_pool.lo jk_pool.lo
/bin/sh ../libtool --mode=compile gcc -g -O2 -I /opt/blackdown-jdk-1.4.1/include -I /opt/blackdown-jdk-1.4.1/include/ -c jk_worker.c -o jk_worker.lo
rm -f .libs/jk_worker.lo
gcc -g -O2 -I /opt/blackdown-jdk-1.4.1/include -I /opt/blackdown-jdk-1.4.1/include/ -c jk_worker.c -fPIC -DPIC -o .libs/jk_worker.lo
gcc -g -O2 -I /opt/blackdown-jdk-1.4.1/include -I /opt/blackdown-jdk-1.4.1/include/ -c jk_worker.c -o jk_worker.o >/dev/null 2>&1
mv -f .libs/jk_worker.lo jk_worker.lo
/bin/sh ../libtool --mode=compile gcc -g -O2 -I /opt/blackdown-jdk-1.4.1/include -I /opt/blackdown-jdk-1.4.1/include/ -c jk_ajp13_worker.c -o jk_ajp13_worker.lo
rm -f .libs/jk_ajp13_worker.lo
gcc -g -O2 -I /opt/blackdown-jdk-1.4.1/include -I /opt/blackdown-jdk-1.4.1/include/ -c jk_ajp13_worker.c -fPIC -DPIC -o .libs/jk_ajp13_worker.lo
gcc -g -O2 -I /opt/blackdown-jdk-1.4.1/include -I /opt/blackdown-jdk-1.4.1/include/ -c jk_ajp13_worker.c -o jk_ajp13_worker.o >/dev/null 2>&1
mv -f .libs/jk_ajp13_worker.lo jk_ajp13_worker.lo
/bin/sh ../libtool --mode=compile gcc -g -O2 -I /opt/blackdown-jdk-1.4.1/include -I /opt/blackdown-jdk-1.4.1/include/ -c jk_lb_worker.c -o jk_lb_worker.lo
rm -f .libs/jk_lb_worker.lo
gcc -g -O2 -I /opt/blackdown-jdk-1.4.1/include -I /opt/blackdown-jdk-1.4.1/include/ -c jk_lb_worker.c -fPIC -DPIC -o .libs/jk_lb_worker.lo
gcc -g -O2 -I /opt/blackdown-jdk-1.4.1/include -I /opt/blackdown-jdk-1.4.1/include/ -c jk_lb_worker.c -o jk_lb_worker.o >/dev/null 2>&1
mv -f .libs/jk_lb_worker.lo jk_lb_worker.lo
/bin/sh ../libtool --mode=compile gcc -g -O2 -I /opt/blackdown-jdk-1.4.1/include -I /opt/blackdown-jdk-1.4.1/include/ -c jk_sockbuf.c -o jk_sockbuf.lo
rm -f .libs/jk_sockbuf.lo
gcc -g -O2 -I /opt/blackdown-jdk-1.4.1/include -I /opt/blackdown-jdk-1.4.1/include/ -c jk_sockbuf.c -fPIC -DPIC -o .libs/jk_sockbuf.lo
gcc -g -O2 -I /opt/blackdown-jdk-1.4.1/include -I /opt/blackdown-jdk-1.4.1/include/ -c jk_sockbuf.c -o jk_sockbuf.o >/dev/null 2>&1
mv -f .libs/jk_sockbuf.lo jk_sockbuf.lo
/bin/sh ../libtool --mode=compile gcc -g -O2 -I /opt/blackdown-jdk-1.4.1/include -I /opt/blackdown-jdk-1.4.1/include/ -c jk_map.c -o jk_map.lo
rm -f .libs/jk_map.lo
gcc -g -O2 -I /opt/blackdown-jdk-1.4.1/include -I /opt/blackdown-jdk-1.4.1/include/ -c jk_map.c -fPIC -DPIC -o .libs/jk_map.lo
gcc -g -O2 -I /opt/blackdown-jdk-1.4.1/include -I /opt/blackdown-jdk-1.4.1/include/ -c jk_map.c -o jk_map.o >/dev/null 2>&1
mv -f .libs/jk_map.lo jk_map.lo
/bin/sh ../libtool --mode=compile gcc -g -O2 -I /opt/blackdown-jdk-1.4.1/include -I /opt/blackdown-jdk-1.4.1/include/ -c jk_uri_worker_map.c -o jk_uri_worker_map.lo
rm -f .libs/jk_uri_worker_map.lo
gcc -g -O2 -I /opt/blackdown-jdk-1.4.1/include -I /opt/blackdown-jdk-1.4.1/include/ -c jk_uri_worker_map.c -fPIC -DPIC -o .libs/jk_uri_worker_map.lo
gcc -g -O2 -I /opt/blackdown-jdk-1.4.1/include -I /opt/blackdown-jdk-1.4.1/include/ -c jk_uri_worker_map.c -o jk_uri_worker_map.o >/dev/null 2>&1
mv -f .libs/jk_uri_worker_map.lo jk_uri_worker_map.lo
/bin/sh ../libtool --mode=compile gcc -g -O2 -I /opt/blackdown-jdk-1.4.1/include -I /opt/blackdown-jdk-1.4.1/include/ -c jk_ajp14.c -o jk_ajp14.lo
rm -f .libs/jk_ajp14.lo
gcc -g -O2 -I /opt/blackdown-jdk-1.4.1/include -I /opt/blackdown-jdk-1.4.1/include/ -c jk_ajp14.c -fPIC -DPIC -o .libs/jk_ajp14.lo
gcc -g -O2 -I /opt/blackdown-jdk-1.4.1/include -I /opt/blackdown-jdk-1.4.1/include/ -c jk_ajp14.c -o jk_ajp14.o >/dev/null 2>&1
mv -f .libs/jk_ajp14.lo jk_ajp14.lo
/bin/sh ../libtool --mode=compile gcc -g -O2 -I /opt/blackdown-jdk-1.4.1/include -I /opt/blackdown-jdk-1.4.1/include/ -c jk_ajp14_worker.c -o jk_ajp14_worker.lo
rm -f .libs/jk_ajp14_worker.lo
gcc -g -O2 -I /opt/blackdown-jdk-1.4.1/include -I /opt/blackdown-jdk-1.4.1/include/ -c jk_ajp14_worker.c -fPIC -DPIC -o .libs/jk_ajp14_worker.lo
gcc -g -O2 -I /opt/blackdown-jdk-1.4.1/include -I /opt/blackdown-jdk-1.4.1/include/ -c jk_ajp14_worker.c -o jk_ajp14_worker.o >/dev/null 2>&1
mv -f .libs/jk_ajp14_worker.lo jk_ajp14_worker.lo
/bin/sh ../libtool --mode=compile gcc -g -O2 -I /opt/blackdown-jdk-1.4.1/include -I /opt/blackdown-jdk-1.4.1/include/ -c jk_md5.c -o jk_md5.lo
rm -f .libs/jk_md5.lo
gcc -g -O2 -I /opt/blackdown-jdk-1.4.1/include -I /opt/blackdown-jdk-1.4.1/include/ -c jk_md5.c -fPIC -DPIC -o .libs/jk_md5.lo
gcc -g -O2 -I /opt/blackdown-jdk-1.4.1/include -I /opt/blackdown-jdk-1.4.1/include/ -c jk_md5.c -o jk_md5.o >/dev/null 2>&1
mv -f .libs/jk_md5.lo jk_md5.lo
/bin/sh ../libtool --mode=compile gcc -g -O2 -I /opt/blackdown-jdk-1.4.1/include -I /opt/blackdown-jdk-1.4.1/include/ -c jk_shm.c -o jk_shm.lo
rm -f .libs/jk_shm.lo
gcc -g -O2 -I /opt/blackdown-jdk-1.4.1/include -I /opt/blackdown-jdk-1.4.1/include/ -c jk_shm.c -fPIC -DPIC -o .libs/jk_shm.lo
gcc -g -O2 -I /opt/blackdown-jdk-1.4.1/include -I /opt/blackdown-jdk-1.4.1/include/ -c jk_shm.c -o jk_shm.o >/dev/null 2>&1
mv -f .libs/jk_shm.lo jk_shm.lo
/bin/sh ../libtool --mode=compile gcc -g -O2 -I /opt/blackdown-jdk-1.4.1/include -I /opt/blackdown-jdk-1.4.1/include/ -c jk_ajp_common.c -o jk_ajp_common.lo
rm -f .libs/jk_ajp_common.lo
gcc -g -O2 -I /opt/blackdown-jdk-1.4.1/include -I /opt/blackdown-jdk-1.4.1/include/ -c jk_ajp_common.c -fPIC -DPIC -o .libs/jk_ajp_common.lo
gcc -g -O2 -I /opt/blackdown-jdk-1.4.1/include -I /opt/blackdown-jdk-1.4.1/include/ -c jk_ajp_common.c -o jk_ajp_common.o >/dev/null 2>&1
mv -f .libs/jk_ajp_common.lo jk_ajp_common.lo
/bin/sh ../libtool --mode=compile gcc -g -O2 -I /opt/blackdown-jdk-1.4.1/include -I /opt/blackdown-jdk-1.4.1/include/ -c jk_context.c -o jk_context.lo
rm -f .libs/jk_context.lo
gcc -g -O2 -I /opt/blackdown-jdk-1.4.1/include -I /opt/blackdown-jdk-1.4.1/include/ -c jk_context.c -fPIC -DPIC -o .libs/jk_context.lo
gcc -g -O2 -I /opt/blackdown-jdk-1.4.1/include -I /opt/blackdown-jdk-1.4.1/include/ -c jk_context.c -o jk_context.o >/dev/null 2>&1
mv -f .libs/jk_context.lo jk_context.lo
/bin/sh ../libtool --mode=compile gcc -g -O2 -I /opt/blackdown-jdk-1.4.1/include -I /opt/blackdown-jdk-1.4.1/include/ -c jk_status.c -o jk_status.lo
rm -f .libs/jk_status.lo
gcc -g -O2 -I /opt/blackdown-jdk-1.4.1/include -I /opt/blackdown-jdk-1.4.1/include/ -c jk_status.c -fPIC -DPIC -o .libs/jk_status.lo
gcc -g -O2 -I /opt/blackdown-jdk-1.4.1/include -I /opt/blackdown-jdk-1.4.1/include/ -c jk_status.c -o jk_status.o >/dev/null 2>&1
mv -f .libs/jk_status.lo jk_status.lo
make[1]: Leaving directory `/root/jakarta-tomcat-connectors-1.2.15-src/jk/native/common'
make[1]: Entering directory `/root/jakarta-tomcat-connectors-1.2.15-src/jk/native'
make[1]: Nothing to be done for `all-am'.
make[1]: Leaving directory `/root/jakarta-tomcat-connectors-1.2.15-src/jk/native'
target="all"; \
list='common '; \
for i in $list; do \
echo "Making $target in $i"; \
if test "$i" != "."; then \
(cd $i && make $target) || exit 1; \
fi; \
done;
Making all in common
make[1]: Entering directory `/root/jakarta-tomcat-connectors-1.2.15-src/jk/native/common'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/jakarta-tomcat-connectors-1.2.15-src/jk/native/common'
______________________
i seem that the "make" is wrong.can tell me why? |
|
| Back to top |
|
 |
songniao n00b

Joined: 20 May 2004 Posts: 27
|
Posted: Sat Dec 03, 2005 3:43 pm Post subject: |
|
|
and i use
native # ls ./apache-2.0
Makefile Makefile.apxs.in Makefile.vc bldjk.qclsrc mod_jk.c
Makefile.apxs Makefile.in NWGNUmakefile config.m4 mod_jk.dsp
can not see any ".so" files |
|
| Back to top |
|
 |
newtonian Guru


Joined: 19 Jan 2005 Posts: 454 Location: Hokkaido Japan
|
Posted: Sat Dec 03, 2005 4:17 pm Post subject: /usr/bin/test |
|
|
| songniao wrote: |
creating libtool
checking for test... /bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/3.3:/usr/X11R6/bin:/opt/blackdown-jdk-1.4.1/bin:/opt/blackdown-jdk-1.4.1/jre/bin:/usr/qt/3/bin:/opt/tomcat5/bin:/opt/blackdown-jdk-1.4.1/bin:/opt/blackdown-jdk-1.4.1/jre/bin
checking for rm... /bin/rm
|
I think it's having trouble finding some important files. Try this and post your results:
| Quote: | hawk david # which test
/usr/bin/test
hawk david # emerge search coreutils
Searching...
[ Results for search key : coreutils ]
[ Applications found : 3 ]
* sys-apps/coreutils
Latest version available: 5.2.1-r6
Latest version installed: 5.2.1-r6
Size of downloaded files: 4,259 kB
Homepage: http://www.gnu.org/software/coreutils/
Description: Standard GNU file utilities (chmod, cp, dd, dir, ls...), text utilities (sort, tr, head, wc..), and shell utilities (whoami, who,...)
License: GPL-2
|
Cheers, |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|