Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

apache 2.0

Status
Not open for further replies.

syjl

Technical User
Jan 17, 2001
102
US
I am trying to configure apache 2.0 on Solaris 8 with the built in modssl. However, I am having lots of problems. I am using openssh 3.1 and it it seems to work fine for connecting my PC to the Sun box. I configure apache with ./configure --enable-ssl which configures and exits with code 0 although there are several errors in the configuration.log. Is that normal?? After make and make install I configure httpd.conf and ssl.conf and generate my cert and key concatenated in one file. However, when I run apachectl startssl I get an error referring to line 232 of the vhost.c. I don't even have any vhosts configured so I don't understand where that is coming from. Am I not compiling correctly, configuring correctly, or does apache 2 with ssl not work. I don't see many folks using it. Help!!!!
 
You mention that you have OpenSSH installed, but do you have OpenSSL, or some other SSL package installed? That is a pre-requisite for Apache/SSL.

And exactly what errors are in the configuration log? -------------------------------------------

"Now, this might cause some discomfort..."
(
 
Here are the errors in the configuration log but the last line of the log indicates that it exits with a zero which is normally a good sign. It is my understanding that modssl is included in Apache 2.0 so it does not need to be installed/compiled which is what I think it indicates since it finds 0.9.6c just fine. Thanks for looking at this mess.

configure:9084: checking whether to enable mod_ssl
configure:9120: result: checking dependencies
configure:9125: checking for SSL/TLS toolkit base
configure:9187: result: /usr/local/ssl
configure:9190: checking for SSL/TLS toolkit version
configure:9192: result: OpenSSL 0.9.6c 21 dec 2001
configure:9195: checking for SSL/TLS toolkit includes
configure:9213: result: /usr/local/ssl/include
configure:9216: checking for SSL/TLS toolkit libraries
configure:9231: result: /usr/local/ssl/lib
configure:9352: checking for SSL_set_state
configure:9395: gcc -o conftest -g -O2 -pthreads -DSOLARIS2=8 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -L/usr/local/ss
l/lib -R/usr/local/ssl/lib conftest.c -lsendfile -lrt -lm -liconv -lsocket -lnsl -lresolv -ldl -lssl -lcrypto >&5
Undefined first referenced
symbol in file
SSL_set_state /var/tmp/ccrWWiDU.o
ld: fatal: Symbol referencing errors. No output written to conftest
collect2: ld returned 1 exit status
configure:9398: $? = 1
configure: failed program was:
#line 9357 "configure"


configure:3760: gcc -c -g -O2 -pthreads -DSOLARIS2=8 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT conftest.c >&5
conftest.c:2: parse error before `me'
configure:3763: $? = 1
configure: failed program was:
#ifndef __cplusplus
choke me


endfile -lrt -lm -liconv -lsocket -lnsl -lresolv -ldl >&5
Undefined first referenced
symbol in file
bindprocessor /var/tmp/cce2WMNc.o
ld: fatal: Symbol referencing errors. No output written to conftest
collect2: ld returned 1 exit status
configure:5320: $? = 1
configure: failed program was:
#line 5279 "configure"

 
Hmm... nothing springs to mind right away, but these ARE fatal errors. Here are some potential variables:

1. What version of GCC are you using?

2. What was the whole text of your ./configure statement?

3. Did you run a checksum to make sure there was no error in the source download? Have you tried downloading again and starting from scratch?

4. What utility did you use to uncompress the source .tar.gz file? I have heard that the Solaris version of 'tar' has some problems. You might want to install GNU Tar.

These are just off the top of my head. Further than this, I cannot help you, because I am not familiar with Solaris. I will say that Apache2/SSL compiled and ran just fine on my FreeBSD 4.5 box. -------------------------------------------

"Now, this might cause some discomfort..."
(
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top