Re: Problem configuring and making mod_perl

2003-07-18 Thread Richard Kurth
I get this when I run locate krb5.h
/usr/kerberos/include/gssapi/gssapi_krb5.h
/usr/kerberos/include/krb5.h
So I would say it is there



Richard Kurth wrote:
Thanks for the suggestion but it did not work I still get the same error. 
Also this is a rh9.0 Server
it's possible that you don't have the kerberos package installed. What:

  % locate krb5.h

gives? If you get nada, install the package and try again.

I hit the same error trying to build on a rh9.0 workstation. This solved
my problem:
CPPFLAGS=-I/usr/kerberos/include
export CPPFLAGS
[...]
 -DMOD_SSL_VERSION=\2.8.12\ mod_ssl.c  mv mod_ssl.o mod_ssl.lo
 In file included from /usr/include/openssl/ssl.h:179,
   from mod_ssl.h:116,
   from mod_ssl.c:65:
 /usr/include/openssl/kssl.h:72:18: krb5.h: No such file or directory
[...]

__
Stas BekmanJAm_pH -- Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide --- http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com



Problem configuring and making mod_perl

2003-07-16 Thread Richard Kurth
I am trying to compile mod_perl-1.28 with apache_1.3.27,openssl-0.9.7b and 
mod_ssl-2.8.12-1.3.27. When I run configure with the following and then do 
a make I get all these parse error can anybody tell me way I get this.

THIS IS WHAT I AM RUNNING TO CONFIGURE
perl Makefile.PL USE_APACI=1 EVERYTHING=1 \
DO_HTTPD=1 SSL_BASE=/usr/ \
APACHE_PREFIX=/usr/apache \
APACHE_SRC=../apache_1.3.27/src \
APACI_ARGS='--enable-module=rewrite --enable-shared=rewrite \
--sysconfdir=/etc/httpd/conf --logfiledir=/home/log --manualdir=/home/manual \
--server-uid=apache --server-gid=apache --enable-module=so 
--htdocsdir=/home/sites \
--cgidir=/home/cgi-bin --enable-module=proxy --enable-shared=proxy 
--enable-module=ssl \
--enable-shared=ssl --enable-module=access --enable-module=autoindex '

THIS IS WHAT I GET WHEN I DO A MAKE IT SEAMS TO HAVE SOMETHING TO DO WITH 
OPENSSL
gcc -c -I../.. -I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE 
-I../../os/unix -I../../include   -DLINUX=22 -I/usr/include/gdbm 
-DMOD_SSL=208112 -DMOD_PERL -DUSE_PERL_SSI 
-D_REENTRANT  -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing 
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
-I/usr/include/gdbm -DUSE_HSREGEX -DEAPI -D_REENTRANT -DTHREADS_HAVE_PIDS 
-DDEBUGGING -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm `../../apaci` -fpic 
-DSHARED_MODULE -DSSL_COMPAT -DSSL_USE_SDBM -DSSL_ENGINE -I/usr//include 
-DMOD_SSL_VERSION=\2.8.12\ mod_ssl.c  mv mod_ssl.o mod_ssl.lo
In file included from /usr/include/openssl/ssl.h:179,
 from mod_ssl.h:116,
 from mod_ssl.c:65:
/usr/include/openssl/kssl.h:72:18: krb5.h: No such file or directory
In file included from /usr/include/openssl/ssl.h:179,
 from mod_ssl.h:116,
 from mod_ssl.c:65:
/usr/include/openssl/kssl.h:132: parse error before krb5_enctype
/usr/include/openssl/kssl.h:134: parse error before FAR
/usr/include/openssl/kssl.h:135: parse error before '}' token
/usr/include/openssl/kssl.h:147: parse error before kssl_ctx_setstring
/usr/include/openssl/kssl.h:147: parse error before '*' token
/usr/include/openssl/kssl.h:148: parse error before '*' token
/usr/include/openssl/kssl.h:149: parse error before '*' token
/usr/include/openssl/kssl.h:149: parse error before '*' token
/usr/include/openssl/kssl.h:150: parse error before '*' token
/usr/include/openssl/kssl.h:151: parse error before kssl_ctx_setprinc
/usr/include/openssl/kssl.h:151: parse error before '*' token
/usr/include/openssl/kssl.h:153: parse error before kssl_cget_tkt
/usr/include/openssl/kssl.h:153: parse error before '*' token
/usr/include/openssl/kssl.h:155: parse error before kssl_sget_tkt
/usr/include/openssl/kssl.h:155: parse error before '*' token
/usr/include/openssl/kssl.h:157: parse error before kssl_ctx_setkey
/usr/include/openssl/kssl.h:157: parse error before '*' token
/usr/include/openssl/kssl.h:159: parse error before context
/usr/include/openssl/kssl.h:160: parse error before kssl_build_principal_2
/usr/include/openssl/kssl.h:160: parse error before context
/usr/include/openssl/kssl.h:163: parse error before kssl_validate_times
/usr/include/openssl/kssl.h:163: parse error before atime
/usr/include/openssl/kssl.h:165: parse error before kssl_check_authent
/usr/include/openssl/kssl.h:165: parse error before '*' token
/usr/include/openssl/kssl.h:167: parse error before enctype
In file included from mod_ssl.h:116,
 from mod_ssl.c:65:
/usr/include/openssl/ssl.h:909: parse error before KSSL_CTX
/usr/include/openssl/ssl.h:931: parse error before '}' token
make[5]: *** [mod_ssl.lo] Error 1
make[4]: *** [all] Error 1
make[3]: *** [subdirs] Error 1
make[3]: Leaving directory `/tmp/builldinstall/apache_1.3.27/src'
make[2]: *** [build-std] Error 2
make[2]: Leaving directory `/tmp/builldinstall/apache_1.3.27'
make[1]: *** [build] Error 2
make[1]: Leaving directory `/tmp/builldinstall/apache_1.3.27'
make: *** [apaci_httpd] Error 2



Re: Problem configuring and making mod_perl

2003-07-16 Thread Richard Kurth
Thanks for the suggestion but it did not work I still get the same error. 
Also this is a rh9.0 Server

I hit the same error trying to build on a rh9.0 workstation. This solved
my problem:
CPPFLAGS=-I/usr/kerberos/include
export CPPFLAGS
Than unpack, config, make, etc ...

On Wed, 16 Jul 2003, Richard Kurth wrote:

 I am trying to compile mod_perl-1.28 with apache_1.3.27,openssl-0.9.7b and
 mod_ssl-2.8.12-1.3.27. When I run configure with the following and then do
 a make I get all these parse error can anybody tell me way I get this.

 THIS IS WHAT I AM RUNNING TO CONFIGURE
 perl Makefile.PL USE_APACI=1 EVERYTHING=1 \
  DO_HTTPD=1 SSL_BASE=/usr/ \
  APACHE_PREFIX=/usr/apache \
  APACHE_SRC=../apache_1.3.27/src \
  APACI_ARGS='--enable-module=rewrite --enable-shared=rewrite \
 --sysconfdir=/etc/httpd/conf --logfiledir=/home/log 
--manualdir=/home/manual \
 --server-uid=apache --server-gid=apache --enable-module=so
 --htdocsdir=/home/sites \
 --cgidir=/home/cgi-bin --enable-module=proxy --enable-shared=proxy
 --enable-module=ssl \
 --enable-shared=ssl --enable-module=access --enable-module=autoindex '


 THIS IS WHAT I GET WHEN I DO A MAKE IT SEAMS TO HAVE SOMETHING TO DO WITH
 OPENSSL
 gcc -c -I../.. -I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE
 -I../../os/unix -I../../include   -DLINUX=22 -I/usr/include/gdbm
 -DMOD_SSL=208112 -DMOD_PERL -DUSE_PERL_SSI
 -D_REENTRANT  -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing
 -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
 -I/usr/include/gdbm -DUSE_HSREGEX -DEAPI -D_REENTRANT -DTHREADS_HAVE_PIDS
 -DDEBUGGING -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE
 -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm `../../apaci` -fpic
 -DSHARED_MODULE -DSSL_COMPAT -DSSL_USE_SDBM -DSSL_ENGINE -I/usr//include
 -DMOD_SSL_VERSION=\2.8.12\ mod_ssl.c  mv mod_ssl.o mod_ssl.lo
 In file included from /usr/include/openssl/ssl.h:179,
   from mod_ssl.h:116,
   from mod_ssl.c:65:
 /usr/include/openssl/kssl.h:72:18: krb5.h: No such file or directory
 In file included from /usr/include/openssl/ssl.h:179,
   from mod_ssl.h:116,
   from mod_ssl.c:65:
 /usr/include/openssl/kssl.h:132: parse error before krb5_enctype
 /usr/include/openssl/kssl.h:134: parse error before FAR
 /usr/include/openssl/kssl.h:135: parse error before '}' token
 /usr/include/openssl/kssl.h:147: parse error before kssl_ctx_setstring
 /usr/include/openssl/kssl.h:147: parse error before '*' token
 /usr/include/openssl/kssl.h:148: parse error before '*' token
 /usr/include/openssl/kssl.h:149: parse error before '*' token
 /usr/include/openssl/kssl.h:149: parse error before '*' token
 /usr/include/openssl/kssl.h:150: parse error before '*' token
 /usr/include/openssl/kssl.h:151: parse error before kssl_ctx_setprinc
 /usr/include/openssl/kssl.h:151: parse error before '*' token
 /usr/include/openssl/kssl.h:153: parse error before kssl_cget_tkt
 /usr/include/openssl/kssl.h:153: parse error before '*' token
 /usr/include/openssl/kssl.h:155: parse error before kssl_sget_tkt
 /usr/include/openssl/kssl.h:155: parse error before '*' token
 /usr/include/openssl/kssl.h:157: parse error before kssl_ctx_setkey
 /usr/include/openssl/kssl.h:157: parse error before '*' token
 /usr/include/openssl/kssl.h:159: parse error before context
 /usr/include/openssl/kssl.h:160: parse error before 
kssl_build_principal_2
 /usr/include/openssl/kssl.h:160: parse error before context
 /usr/include/openssl/kssl.h:163: parse error before kssl_validate_times
 /usr/include/openssl/kssl.h:163: parse error before atime
 /usr/include/openssl/kssl.h:165: parse error before kssl_check_authent
 /usr/include/openssl/kssl.h:165: parse error before '*' token
 /usr/include/openssl/kssl.h:167: parse error before enctype
 In file included from mod_ssl.h:116,
   from mod_ssl.c:65:
 /usr/include/openssl/ssl.h:909: parse error before KSSL_CTX
 /usr/include/openssl/ssl.h:931: parse error before '}' token
 make[5]: *** [mod_ssl.lo] Error 1
 make[4]: *** [all] Error 1
 make[3]: *** [subdirs] Error 1
 make[3]: Leaving directory `/tmp/builldinstall/apache_1.3.27/src'
 make[2]: *** [build-std] Error 2
 make[2]: Leaving directory `/tmp/builldinstall/apache_1.3.27'
 make[1]: *** [build] Error 2
 make[1]: Leaving directory `/tmp/builldinstall/apache_1.3.27'
 make: *** [apaci_httpd] Error 2


--
+ Jon Larsen: Chief Technology Officer, Richweb, Inc.
+ Richweb.com: Providing Internet-Based Business Solutions since 1995
+ GnuPG Public Key: http://richweb.com/jlarsen.gpg
+ Business: (804) 359.2220 x 101; Mobile: (804) 307.6939



installing mod_perl with Apache and mod_ssl

2003-03-30 Thread Richard Kurth
Hello ,

I am trying to install mod_perl with Apache apache_1.3.27
mod_ssl-2.8.12-1.3.27 and Frontpage This is what I am doing to install
it but for some reason mod_perl does not install properly.

cd /tmp
tar xfz apache_1.3.27.tar.gz

#Frontpage Module
cd /tmp
cd apache_1.3.27
rm -f apache_1.3.27/src/modules/extra/mod_frontpage.c
patch -p1  ../fp-patch-apache_1.3.27-5.0

#modperl Module
cd /tmp
tar zxf mod_perl-1.27.tar.gz
cd mod_perl-1.27
perl Makefile.PL APACHE_SRC=../apache_1.3.27/src \
DO_HTTPD=1 USE_APACI=1 EVERYTHING=1

make  make test  make install

#SSL Module
cd /tmp
echo Untarring modssl
tar xfz mod_ssl-2.8.12-1.3.27.tar.gz 
cd mod_ssl-2.8.12-1.3.27
./configure --with-apache=../apache_1.3.27 --with-ssl=/usr --prefix=/usr/apache \
--htdocsdir=/home --enable-module=rewrite --enable-shared=rewrite \
--sysconfdir=/etc/httpd/conf --logfiledir=/home/log --manualdir=/home/manual \
--server-uid=nobody --server-gid=nobody --enable-module=so --htdocsdir=/home/sites \
--cgidir=/home/cgi-bin --enable-module=proxy --enable-shared=proxy --enable-module=ssl 
\
--enable-shared=ssl --activate-module=src/modules/perl/libperl.a

cd ../apache_1.3.27
make
make install


-- 
Best regards,
Richard Kurth
DirectPHP Inc
mailto:[EMAIL PROTECTED]
360-686-8448 Home
360-686-0374 Office