Apache 1.3.41 Problem

transmobius

Verified User
Joined
Jan 11, 2006
Messages
49
Trying './build all d' after an OpenSSL upgrade and I get a failure as the script gets to Apache:

gcc -c -I../../os/unix -I../../include -DLINUX=22 -DHAVE_SET_DUMPABLE -I/usr/include/gdbm -DMOD_SSL=208131 -DUSE_HSREGEX -DEAPI `../../apaci` -fpic -DSHARED_MODULE -DSSL_COMPAT -DSSL_USE_SDBM -I/usr/include -DMOD_SSL_VERSION=\"2.8.31\" ssl_util_ssl.c && mv ssl_util_ssl.o ssl_util_ssl.lo
ssl_util_ssl.c: In function `SSL_X509_isSGC':
ssl_util_ssl.c:327: error: `STACK' undeclared (first use in this function)
ssl_util_ssl.c:327: error: (Each undeclared identifier is reported only once
ssl_util_ssl.c:327: error: for each function it appears in.)
ssl_util_ssl.c:327: error: `sk' undeclared (first use in this function)
ssl_util_ssl.c:336: error: syntax error before ')' token
ssl_util_ssl.c:337: error: syntax error before ')' token
ssl_util_ssl.c:341: error: break statement not within loop or switch
ssl_util_ssl.c: At top level:
ssl_util_ssl.c:345: error: syntax error before '}' token
make[4]: *** [ssl_util_ssl.lo] Error 1
make[3]: *** [all] Error 1
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/usr/local/directadmin/custombuild/apache_1.3.41/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/usr/local/directadmin/custombuild/apache_1.3.41'
make: *** [build] Error 2
 
What if that old Apache does not support your OpenSSL version? Why don't you upgrade Apache?
 
Apache Upgrade

Is there a well tested/trusted HowTo on upgrading to the v2.0 or v2.2 tree?

Don't mind running the newer version, I just want to be sure that everything will be working after the upgrade . . .
 
I'm not sure, whether there is any actual HowTo.

Read this http://www.directadmin.com/features.php?id=441 (about httpd templates) until words To get and build apache 2.0, run the following: and stop

By default with custombuild you run just this:

Code:
cd /usr/local/directadmin/custombuild
./build update && ./build clean
./build set_fastest
./build set apache_ver 2.2
./build apache
./build rewrite_confs

And for updating mod_php

Code:
./build php n

If you're using suphp:

Code:
./build suphp

Recompile additional third-parts modules for Apache 2.x, if used any. I think that's all.
 
And this is safe on a live (production) install that was set up 7 years ago?

I'll try this late tonight and report back. Thanks.
 
I can not give you any guarantee that you won't break anything. Check whether you've got fresh and actual backups for Apache's configs.
 
Everything is working. Minor mishaps (iconv complained about needing to be re-installed, then freetype, the I noticed the mysql version regressed slightly).

Ended up running './build all d' after the above were cleared just to be sure and it all seems good now.

Thanks for your help!
 
Back
Top