LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-25-2002, 09:45 PM   #1
doublefailure
Member
 
Registered: Mar 2002
Location: ma
Distribution: slackware
Posts: 747

Rep: Reputation: 30
perl @INC ??


hi..

i had a perl5 rpm installed
recently installed tarball version too..
i think when i installed it, it changed @INC somehow..
my rpm perl5 is under /usr/lib/perl5
but @INC doesn't contain that directory..
can i fix this?
thank you...

[root@eugene flash_linux]# drakconf
Can't locate Gtk.pm in @INC (@INC contains: /usr/lib/libDrakX
/usr/local/lib/perl5/5.6.1/i686-linux /usr/local/lib/perl5/5.6.1
/usr/local/lib/perl5/site_perl/5.6.1/i686-linux
/usr/local/lib/perl5/site_perl/5.6.1 /usr/local/lib/perl5/site_perl .) at
/usr/lib/libDrakX/my_gtk.pm line 16.
BEGIN failed--compilation aborted at /usr/lib/libDrakX/my_gtk.pm line 16.
Compilation failed in require at /usr/X11R6/bin/drakconf.real line 35.
BEGIN failed--compilation aborted at /usr/X11R6/bin/drakconf.real line 35.
[root@eugene flash_linux]#
 
Old 06-29-2002, 08:54 AM   #2
doublefailure
Member
 
Registered: Mar 2002
Location: ma
Distribution: slackware
Posts: 747

Original Poster
Rep: Reputation: 30
hi

if u install tar.gz perl5 on your system,
and see the same error..

put this in your .bash_profile


PERL5LIB=/usr/local/lib/perl5/site_perl/5.6.1:/usr/lib/perl5/:/usr/lib/perl5/5.6.1:/usr/lib/perl5/site_perl:/usr/lib/perl5/site_perl/5.6.1:/usr/lib/perl5/site_perl/i386-linux:/usr/lib/perl5/site_perl/Curses

export PERL5LIB

-------------------------
then
PERL5LIB is included in @INC path
 
Old 06-29-2002, 01:17 PM   #3
Syncrm
Member
 
Registered: Aug 2001
Location: Lansing, Michigan
Distribution: slackware8+
Posts: 472

Rep: Reputation: 30
hey, just wanted to say thank you for posting the answer to the problem. despite the fact that you apparantly solved it yourself, putting the answer up here will provide everyone else in this forum with future assistance.

good example to follow. :-)
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with perl module for w3c validator to work on my local Apache+PHP+perl instal tbamt Linux - Software 0 12-16-2004 05:37 PM
cgi perl : I cant get perl to append my html file... the_y_man Programming 3 03-22-2004 05:07 AM
perl(Cwd) perl(File::Basename) perl(File::Copy) perl(strict)....What are those? Baldorg Linux - Software 1 11-09-2003 08:09 PM
chrooting apache v2 (php, ssl, perl support) ; perl configuration markus1982 Linux - Security 3 01-26-2003 06:15 PM
can i set ~/public_html/perl as a perl directory for apache? doublefailure Linux - Networking 1 07-09-2002 04:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:52 AM.

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