LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-02-2003, 07:56 PM   #1
lholt
LQ Newbie
 
Registered: Nov 2002
Location: Hilo Hawaii
Distribution: Slackware
Posts: 6

Rep: Reputation: 0
Slackware 9.0 strange perl(?) problem


Hi all,
I grabed the slack-current and did my thing and got it installed and a new kernel compiled, no problem.
Installed mod_perl/apache and apache started but my perl scripts didn't output anything. Error log said Couldn't find Apache.Pm so mod_perl was dead.
Tried the Gimp and it couldn't find any of it's plugins because of a perl @INC error. Same problem as apache.
The new perl5.8 has a new dir structure with the version in the first sub dir, but that don't show up in the @INC (perl -V)

Has anybody else seen this problem? Did I do something stupid?
Here's the eror messages and such:

Gimp error
LibGimp-WARNING **: gimp: wire_read: unexpected EOF
Can't locate Gimp.pm in @INC (@INC contains:
/usr/lib/perl5/5.8.0/i386-linux
/usr/lib/perl5/5.8.0
/usr/lib/perl5/site_perl/5.8.0/i386-linux
/usr/lib/perl5/site_perl/5.8.0
/usr/lib/perl5/site_perl .)
at /usr/lib/gimp/1.2/plug-ins/yinyang line 17.

ApacheDBI error
Can't locate Apache/AuthDBI.pm in @INC (@INC contains:
/usr/lib/perl5/i386-linux
/usr/lib/perl5
/usr/lib/perl5/site_perl/i386-linux
/usr/lib/perl5/site_perl
/usr/lib/perl5/site_perl . /www/ /www/lib/perl)
at (eval 2) line 3.

perl -V
root@lholt:~>perl -V
Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration:
Platform:
osname=linux, osvers=2.4.19, archname=i386-linux
uname='linux midas 2.4.19 #1 sun aug 18 13:24:13 pdt 2002 i686 unknown
-------------snip lots of stuff -------
Characteristics of this binary (from libperl):
Compile-time options: USE_LARGE_FILES
Built under linux
Compiled at Oct 16 2002 12:53:28
@INC:
/usr/lib/perl5/5.8.0/i386-linux
/usr/lib/perl5/5.8.0
/usr/lib/perl5/site_perl/5.8.0/i386-linux
/usr/lib/perl5/site_perl/5.8.0
/usr/lib/perl5/site_perl
.
--------------
locate AuthDBI
/usr/lib/perl5/site_perl/5.8.0/Apache/AuthDBI.pm

locate Gimp.pm
/usr/lib/perl5/site_perl/i386-linux/Gimp.pm


If I can get this fixed, I can move to 9.0 and find nervana, I'm sure. Everything else works great.

Thanks for any help or suggestions and happy to see Mr. Volkerding coming buy.

Slackware Forever.

Last edited by lholt; 01-02-2003 at 09:21 PM.
 
Old 01-03-2003, 03:02 AM   #2
niknah
Member
 
Registered: Dec 2002
Location: In front of a computer
Distribution: UPS, DHL, FedEx
Posts: 466

Rep: Reputation: 38
Looks like apache is refering to your old perl installation, did you install it via rpm or compiling?

and gimp is refering to the new perl(5.8.0), the gimp's perl modules was installed when you had your old perl installation. You can always just try moving the Gimp.pm to one of those 5.8.0 directories.
 
Old 01-03-2003, 06:09 AM   #3
newpenguin
Member
 
Registered: Sep 2002
Location: lahore pakistan
Distribution: slackware,redhat, FreeBSD,openbsd
Posts: 219

Rep: Reputation: 30
slackware 9 !
would you like to tell me where did you downloaded slackware 9.
thanks.
 
Old 01-03-2003, 12:05 PM   #4
lholt
LQ Newbie
 
Registered: Nov 2002
Location: Hilo Hawaii
Distribution: Slackware
Posts: 6

Original Poster
Rep: Reputation: 0
Thanks for the replies.

nikanh: I installed the new slack9 on a seperate drive, totally new. Then I installed mod_perl 1.26, and let it build apache 1.3.20, then ApacheDBI-0.88, all from source. All compiled with no errors. The gimp was installed by the slackware install. I did nothing to it.

I'm aware that I could move/soft link stuff and get it to work, probably. The idea here is to try to fix a possible error in the Slackware-current tree so everybody else don't have to go through it all, over and over again. Either I did something weird that I'm unaware of, or there is a problem with perl 5.8 and how it reports it's @INC to external apps.
I aggree that it looks like it's using an old perl or something. Don't know why apache and gimp show different stuff in @INC.
If nobody has any suggestions, I'll wipe the whole works, download it all, and re-install just to make sure I didn't do anything.dumb.

newpenguin:
It's not really Slackware 9.0. It's the Slackware-Current tree from ftp://ftp.slackware.com/pub/slackware-current that will become Slackware 9.0, someday. I used ncftp and had it get the entire dir. Brace yourself for a long download. There's a lot there. Maybe someday we can get rsync access and make keeping up eaiser.
When you got it, have a look at the README in the isolinux dir and do what it says. Works great.
 
Old 01-03-2003, 03:18 PM   #5
newpenguin
Member
 
Registered: Sep 2002
Location: lahore pakistan
Distribution: slackware,redhat, FreeBSD,openbsd
Posts: 219

Rep: Reputation: 30
thanks. i am a true stupid .
 
Old 01-05-2003, 08:41 PM   #6
lholt
LQ Newbie
 
Registered: Nov 2002
Location: Hilo Hawaii
Distribution: Slackware
Posts: 6

Original Poster
Rep: Reputation: 0
I'm done.
Went through another _____long____ download of slackwre-current and reloaded the whole works. Gimp has the same problem. Can't find the Gimp.pm and all the perl-fu scripts fail. Tried mod_perl and got the same thing.
I don't know what is wrong but I think it has to do with perl5.8.0. I sent Mr. Volkerding a note I still don't know if anybody else has seen this.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Strange problem with Slackware & Intel Pro/Wireless 2200BG TADsince1995 Linux - Wireless Networking 2 04-25-2005 07:01 PM
Strange tar usage problem through Perl Darthlord Programming 0 09-02-2004 09:46 AM
Problem Installing GD 2.16 Perl Module with Slackware 10 kaplan71 Slackware 3 09-01-2004 12:42 PM
Strange problem when booting Slackware 9.0 azid Slackware 9 05-21-2003 09:23 AM
strange sendmail problem in slackware Anubis Linux - Networking 1 03-13-2002 01:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:44 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration