Re: @INC and make test
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" > > > Options FollowSymLinks > AllowOverride None > > > > Options Indexes FollowSymLinks > > AllowOverride None > > Order allow,deny > Allow from all > > > UserDir public_html > > DirectoryIndex index.html > > AccessFileName .htaccess > > > Order allow,deny > Deny from all > > > UseCanonicalName On > > TypesConfig /usr/local/apache/conf/mime.types > > DefaultType text/plain > > > MIMEMagicFile /usr/local/apache/conf/magic > > > 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/" > > > > Options Indexes MultiViews > AllowOverride None > Order allow,deny > Allow from all > > > > # This module changes base href to sruben.dental.nyu.edu > PerlModule Apache::BASEREF > > > SetHandler perl-script > PerlHandler Apache::BASEREF > > > > SetHandler perl-script > PerlHandler Apache::BASEREF > > > > SetHandler perl-script > PerlHandler Apache::BASEREF > > > ScriptAlias /cgi-bin/ "/usr/local/apache/cgi-bin/" > > > AllowOverride None > Options None > Order allow,deny > Allow from all > > > ScriptAlias /info/ "/usr/local/apache/info/" > > AuthType Basic > Au
Re: @INC and make test
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.
@INC and make test
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" Options FollowSymLinks AllowOverride None Options Indexes FollowSymLinks AllowOverride None Order allow,deny Allow from all UserDir public_html DirectoryIndex index.html AccessFileName .htaccess Order allow,deny Deny from all UseCanonicalName On TypesConfig /usr/local/apache/conf/mime.types DefaultType text/plain MIMEMagicFile /usr/local/apache/conf/magic 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/" Options Indexes MultiViews AllowOverride None Order allow,deny Allow from all # This module changes base href to sruben.dental.nyu.edu PerlModule Apache::BASEREF SetHandler perl-script PerlHandler Apache::BASEREF SetHandler perl-script PerlHandler Apache::BASEREF SetHandler perl-script PerlHandler Apache::BASEREF ScriptAlias /cgi-bin/ "/usr/local/apache/cgi-bin/" AllowOverride None Options None Order allow,deny Allow from all ScriptAlias /info/ "/usr/local/apache/info/" AuthType Basic AuthUserFile /usr/local/apache/conf/.htpasswd require user admin AuthName "OBJECT" 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 .c