Re: @INC and make test

1999-12-14 Thread Doug MacEachern

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
 

Re: @INC and make test

1999-12-07 Thread G.W. Haywood

Hi all,

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

 Syntax error on line 198 of /usr/local/apache/conf/httpd.conf:
 Can't locate loadable object for module Apache::Util in @INC (@INC

 ls -al /usr/lib/perl5/site_perl/5.005/i386-linux/Apache
 -rwxrwxrwx   1 root root 2444 Feb  1  1999 Util.pm

Is this a soft link?  Big byte count!
Is that OK?  Didn't work for me:(

If it isn't, a link, why can _everybody_ write it?

73
Ged.