looks like the httpd you are running does not have Apache::Util linked in.
EVERYTHING=1 should take care of that, which you can see using nm:
% nm ../apache-1.3/src/httpd | grep Util
0809b800 T XS_Apache__Util_escape_html
0809b750 T XS_Apache__Util_escape_uri
0809b8a0 T XS_Apache__Util_ht_time
0809b9e0 T XS_Apache__Util_parsedate
0809b6c4 T XS_Apache__Util_size_string
0809ba94 T boot_Apache__Util


On Wed, 8 Dec 1999, Ruben I Safir wrote:

> Working on Red HAT 6.0
> Down loaded and untarred Perl Modules and Apache
> 
> (no rpm)
> 
> make test on modperl fails on trying to find PerlTransHandler which
> httpd -L doesn't display.
> 
> Compilered according to instructions for APACI with 
> perl Makefile.PL EVERYTHING=1 DO_HTTPD=1 USE_APACI-1
> make
> make install
> 
> 
> Also - we loaded EMBPERL.  We are using the following httpd.conf listing
> on the bottom.
> 
> httpd can't load a modules Apache:Util which is in the path that it says
> it can't find.
> 
> This is the error:
> 
> 
> [root@webbie /root]#
> /usr/local/apache/bin/httpd                           
> Syntax error on line 198 of /usr/local/apache/conf/httpd.conf:
> Can't locate loadable object for module Apache::Util in @INC (@INC
> contains: /usr/lib/perl5/5.00503/i386-linux /usr/lib/perl5/5.00503
> /usr/lib/perl5/site_perl/5.005/i386-linux /usr/lib/perl5/site_perl/5.005
> . /usr/local/apache/ /usr/local/apache/lib/perl) at
> /usr/lib/perl5/site_perl/5.005/i386-linux/mod_perl.pm line 14
> BEGIN failed--compilation aborted at
> /usr/lib/perl5/site_perl/5.005/Apache/EmbperlChain.pm line 4.
> ________________________________________________________
> 
> ls -al /usr/lib/perl5/site_perl/5.005/i386-linux/Apache
> 
> Blah  Blah
> -rwxrwxrwx   1 root     root         2444 Feb  1  1999 Util.pm
> 
> As you can see, I opened Util all the way, yet it still can't seem to be
> found (grinding teeth)
> 
> I tried to uncover the error but I think I'm not getting the problem.
> 
> I modified mod_perl.pm to printout from standard error
> The result is this:
> 
> 
> [root@webbie /root]# /usr/local/apache/bin/httpd
> ENV mod_perl/1.21 CLASS : Apache::Constants 
> 
> 
> 
> ENV mod_perl/1.21 CLASS : Apache::Connection 
> 
> 
> 
> ENV mod_perl/1.21 CLASS : Apache::Server 
> 
> 
> 
> ENV mod_perl/1.21 CLASS : Apache 
> 
> 
> 
> ENV mod_perl/1.21 CLASS : Apache::Util 
> 
> 
> 
> Syntax error on line 198 of /usr/local/apache/conf/httpd.conf:
> Can't locate loadable object for module Apache::Util in @INC (@INC
> contains: /usr/lib/perl5/5.00503/i386-linux /usr/lib/perl5/5.00503
> /usr/lib/perl5/site_perl/5.005/i386-linux /usr/lib/perl5/site_perl/5.005
> . /usr/local/apache/ /usr/local/apache/lib/perl) at
> /usr/lib/perl5/site_perl/5.005/i386-linux/mod_perl.pm line 17
> BEGIN failed--compilation aborted at
> /usr/lib/perl5/site_perl/5.005/Apache/EmbperlChain.pm line 4.
> 
> 
> __________________________________________________
> 
> ServerType standalone
> 
> ServerRoot "/usr/local/apache"
> 
> PidFile /usr/local/apache/logs/httpd.pid
> 
> ScoreBoardFile /usr/local/apache/logs/httpd.scoreboard
> 
> Timeout 300
> 
> KeepAlive On
> 
> MaxKeepAliveRequests 100
> 
> KeepAliveTimeout 15
> 
> MinSpareServers 5
> MaxSpareServers 10
> 
> StartServers 5
> 
> MaxClients 150
> 
> MaxRequestsPerChild 0
> 
> Port 80
> 
> User nobody
> Group nobody
> 
> ServerAdmin [EMAIL PROTECTED]
> 
> DocumentRoot "/usr/local/apache/htdocs"
> 
> <Directory />
>     Options FollowSymLinks
>     AllowOverride None
> </Directory>
> 
> <Directory "/usr/local/apache/htdocs">
>     Options Indexes FollowSymLinks
> 
>     AllowOverride None
> 
>     Order allow,deny
>     Allow from all
> </Directory>
> 
> UserDir public_html
> 
> DirectoryIndex index.html
> 
> AccessFileName .htaccess
> 
> <Files ~ "^\.ht">
>     Order allow,deny
>     Deny from all
> </Files>
> 
> UseCanonicalName On
> 
> TypesConfig /usr/local/apache/conf/mime.types
> 
> DefaultType text/plain
> 
> <IfModule mod_mime_magic.c>
>     MIMEMagicFile /usr/local/apache/conf/magic
> </IfModule>
> 
> HostnameLookups Off
> 
> ErrorLog /usr/local/apache/logs/error_log
> 
> LogLevel warn
> 
> LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\""
> combined
> LogFormat "%h %l %u %t \"%r\" %>s %b" common
> LogFormat "%{Referer}i -> %U" referer
> LogFormat "%{User-agent}i" agent
> 
> CustomLog /usr/local/apache/logs/access_log common
> 
> ServerSignature On
> Alias /icons/ "/usr/local/apache/icons/"
> Alias /embperl2 "/usr/local/apache/embperl/"
> 
> 
> <Directory "/usr/local/apache/icons">
>     Options Indexes MultiViews
>     AllowOverride None
>     Order allow,deny
>     Allow from all
> </Directory>
> 
> 
> # This module changes base href to sruben.dental.nyu.edu
> PerlModule Apache::BASEREF
> 
> <Directory "/usr/local/apache/htdocs">
> SetHandler perl-script
> PerlHandler Apache::BASEREF
> </Directory>
> 
> <Directory "/usr/local/apache/embperl">
> SetHandler perl-script
> PerlHandler Apache::BASEREF
> </Directory>
> 
> <Directory "/usr/local/apache/finance">
> SetHandler perl-script
> PerlHandler Apache::BASEREF
> </Directory>
> 
> ScriptAlias /cgi-bin/ "/usr/local/apache/cgi-bin/"
> 
> <Directory "/usr/local/apache/cgi-bin">
>     AllowOverride None
>     Options None
>     Order allow,deny
>     Allow from all
> </Directory>
> 
> ScriptAlias /info/ "/usr/local/apache/info/"
> <Directory "/usr/local/apache/info">
>      AuthType Basic
>      AuthUserFile /usr/local/apache/conf/.htpasswd
>      require user admin
>      AuthName "OBJECT"
> </Directory>
> 
> IndexOptions FancyIndexing
> 
> AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip
> 
> AddIconByType (TXT,/icons/text.gif) text/*
> AddIconByType (IMG,/icons/image2.gif) image/*
> AddIconByType (SND,/icons/sound2.gif) audio/*
> AddIconByType (VID,/icons/movie.gif) video/*
> 
> AddIcon /icons/binary.gif .bin .exe
> AddIcon /icons/binhex.gif .hqx
> AddIcon /icons/tar.gif .tar
> AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv
> AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip
> AddIcon /icons/a.gif .ps .ai .eps
> AddIcon /icons/layout.gif .html .shtml .htm .pdf
> AddIcon /icons/text.gif .txt
> AddIcon /icons/c.gif .c
> AddIcon /icons/p.gif .pl .py
> AddIcon /icons/f.gif .for
> AddIcon /icons/dvi.gif .dvi
> AddIcon /icons/uuencoded.gif .uu
> AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl
> AddIcon /icons/tex.gif .tex
> AddIcon /icons/bomb.gif core
> 
> AddIcon /icons/back.gif ..
> AddIcon /icons/hand.right.gif README
> AddIcon /icons/folder.gif ^^DIRECTORY^^
> AddIcon /icons/blank.gif ^^BLANKICON^^
> 
> DefaultIcon /icons/unknown.gif
> 
> ReadmeName README
> HeaderName HEADER
> 
> IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t
> 
> AddEncoding x-compress Z
> AddEncoding x-gzip gz tgz
> 
> AddLanguage en .en
> AddLanguage fr .fr
> AddLanguage de .de
> AddLanguage da .da
> AddLanguage el .el
> AddLanguage it .it
> 
> LanguagePriority en fr de
> 
> AddType application/x-tar .tgz
> 
> AddHandler cgi-script .cgi
> 
> BrowserMatch "Mozilla/2" nokeepalive
> BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0
> 
> BrowserMatch "RealPlayer 4\.0" force-response-1.0
> BrowserMatch "Java/1\.0" force-response-1.0
> BrowserMatch "JDK/1\.0" force-response-1.0
> 
> 
> PerlSendHeader On
> 
> SetEnv EMBPERL_VIRTLOG /tmp/embperl
> PerlSetEnv EMBPERL_DEBUG 2284
> PerlModule Apache::EmbperlChain
> PerlModule Apache::OutputChain
> 
> <Location /embperl2>
> SetHandler perl-script
> #PerlSetVar Filter On
> #PerlHandler Apache::BaseRefEmbPerl
> PerlHandler Apache::OutputChain Apache::EmbperlChain Apache::BASEREF
> 
> #PerlHandler HTML::Embperl
> Options ExecCGI
> </Location>
> 
> 
> 
> 
> -- 
> Ruben I Safir
> [EMAIL PROTECTED]
> 
> http://www.brooklynonline.com
> Manager of Intranet Development NYU College of Dentisty
> Resume:  http://www.wynn.com/jewish/resume.html
> 
> Perl Notes:
> http://www.wynn.com/jewish/perl_course
> 

Reply via email to