LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 11-13-2003, 01:28 PM   #1
suffer
LQ Newbie
 
Registered: Nov 2003
Location: Austin, TX
Distribution: Slackware 9.1
Posts: 3

Rep: Reputation: 0
Angry hosed perl - missing various perl headers


i'm using slackware 9.1 with the default perl tgz. had some problems installing some modules, and then CPAN stopped working. i removepkg'd perl, and then removed unneeded modules from /usr/lib/perl5 by hand, reinstalled tgz, reinstalled needed modules. now various scipts and programs are dumping errors, saying they can't find needed modules. tried reinstalling modules again, but CPAN says they are installed. ok, remove perl again, this time also deleting /usr/lib/perl5, reinstall package and modules, same errors. found perlivp, man perlivp, well this sounds like it might help, run it, gives a bunch of errors about the missing headers...

clipped (very long output):
ok 1
ok 2
ok 3
ok 4
ok 5
# files missing from installation:
# /usr/man/man3/Bundle:BD::mysql.3 /usr/man/man3/DBD::mysql.3 /usr/man/man3/DBD::mysql::INSTALL.3 /usr/man/man3/Mysql.3
# files missing from installation:
# /usr/share/man/man1/a2p.1 /usr/share/man/man1/c2ph.1 /usr/share/man/man1
.....
clipped again:
# Perl header `sys/vfs.ph' does not appear to be properly installed.
# Perl header `sys/wait.ph' does not appear to be properly installed.
# Perl header `termios.ph' does not appear to be properly installed.
# Perl header `time.ph' does not appear to be properly installed.
# Perl header `unistd.ph' does not appear to be properly installed.
# Perl header `ustat.ph' does not appear to be properly installed.
# Perl header `utime.ph' does not appear to be properly installed.
# Perl header `values.ph' does not appear to be properly installed.
not ok 7
2/7 subtests failed, 71.43% okay.

i can't locate any of these files anywhere on my computer or in the package. so i'm at a loss here. i had hoped reinstalling the package would give me everything i needed for perl... are there other packages that contain these headers? is there something special done during the initial slackware installation that i'm missing out on by removing and reinstalling the package? i could, but am very much dreading, compiling perl from source. any suggestions??
 
Old 11-13-2003, 01:45 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,962
Blog Entries: 11

Rep: Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865
It appears that you'll need to re-install
bits and pieces from MySQL mate ...

The files you're missing aren't coming
with Perl for all I know.

Cheers,
Tink
 
Old 11-13-2003, 05:49 PM   #3
suffer
LQ Newbie
 
Registered: Nov 2003
Location: Austin, TX
Distribution: Slackware 9.1
Posts: 3

Original Poster
Rep: Reputation: 0
ok, i've completely uninstall perl and mysql. then reinstalled in the order they would have been installed during routine slackware install (ap/mysql then d/perl). there is no difference at all. below is the complete list of missing perl headers. i'm no expert of course... but it looks to me that these are the basic\essential headers for perl modules to do basic fucntions within the operating system (i hope my meaning there is clear, i'm not really sure)
. i've decompressed both packages and looked at the contents. the DBD and mysql modules mentioned in the output of perlivp are contained within the perl package for slackare 9.1. the mysql package does not contain anything being installed into /usr/lib/perl5. i've also looked at the doinst.sh files for both packages. everything in the perl doinst.sh has been done, and the mysql doinst.sh makes no reference at all to perl. as much as i appreciate your quick reply tinkster, i'm thinking this problem doesn't really involve mysql.

# Perl header `stdio.ph' does not appear to be properly installed.
# Perl header `arpa/inet.ph' does not appear to be properly installed.
# Perl header `crypt.ph' does not appear to be properly installed.
# Perl header `db.ph' does not appear to be properly installed.
# Perl header `dirent.ph' does not appear to be properly installed.
# Perl header `dlfcn.ph' does not appear to be properly installed.
# Perl header `float.ph' does not appear to be properly installed.
# Perl header `gdbm.ph' does not appear to be properly installed.
# Perl header `grp.ph' does not appear to be properly installed.
# Perl header `inttypes.ph' does not appear to be properly installed.
# Perl header `langinfo.ph' does not appear to be properly installed.
# Perl header `limits.ph' does not appear to be properly installed.
# Perl header `locale.ph' does not appear to be properly installed.
# Perl header `malloc.ph' does not appear to be properly installed.
# Perl header `math.ph' does not appear to be properly installed.
# Perl header `mntent.ph' does not appear to be properly installed.
# Perl header `netdb.ph' does not appear to be properly installed.
# Perl header `netinet/tcp.ph' does not appear to be properly installed.
# Perl header `netinet/in.ph' does not appear to be properly installed.
# Perl header `poll.ph' does not appear to be properly installed.
# Perl header `pthread.ph' does not appear to be properly installed.
# Perl header `pwd.ph' does not appear to be properly installed.
# Perl header `shadow.ph' does not appear to be properly installed.
# Perl header `stdarg.ph' does not appear to be properly installed.
# Perl header `stddef.ph' does not appear to be properly installed.
# Perl header `stdlib.ph' does not appear to be properly installed.
# Perl header `string.ph' does not appear to be properly installed.
# Perl header `sys/dir.ph' does not appear to be properly installed.
# Perl header `sys/file.ph' does not appear to be properly installed.
# Perl header `sys/ioctl.ph' does not appear to be properly installed.
# Perl header `syslog.ph' does not appear to be properly installed.
# Perl header `sys/mman.ph' does not appear to be properly installed.
# Perl header `sys/mount.ph' does not appear to be properly installed.
# Perl header `sys/param.ph' does not appear to be properly installed.
# Perl header `sys/resource.ph' does not appear to be properly installed.
# Perl header `sys/select.ph' does not appear to be properly installed.
# Perl header `sys/stat.ph' does not appear to be properly installed.
# Perl header `sys/statfs.ph' does not appear to be properly installed.
# Perl header `sys/statvfs.ph' does not appear to be properly installed.
# Perl header `sys/time.ph' does not appear to be properly installed.
# Perl header `sys/times.ph' does not appear to be properly installed.
# Perl header `sys/types.ph' does not appear to be properly installed.
# Perl header `sys/uio.ph' does not appear to be properly installed.
# Perl header `sys/un.ph' does not appear to be properly installed.
# Perl header `sys/utsname.ph' does not appear to be properly installed.
# Perl header `sys/vfs.ph' does not appear to be properly installed.
# Perl header `sys/wait.ph' does not appear to be properly installed.
# Perl header `termios.ph' does not appear to be properly installed.
# Perl header `time.ph' does not appear to be properly installed.
# Perl header `unistd.ph' does not appear to be properly installed.
# Perl header `ustat.ph' does not appear to be properly installed.
# Perl header `utime.ph' does not appear to be properly installed.
# Perl header `values.ph' does not appear to be properly installed.
 
Old 11-13-2003, 08:08 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,962
Blog Entries: 11

Rep: Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865
Guess we'll have to wait for a 9.1
user who uses Perl then ... on my
machine I don't have MySQL (I
swear by PostgreSQL ;}) and I
don't have *ANY* files with the
.ph extension besides a few in
/usr/src/nasm ;) which appear to
be related to fonts for documentation
rather than source or header files
of any kind...


Cheers,
Tink
 
Old 11-14-2003, 08:35 AM   #5
suffer
LQ Newbie
 
Registered: Nov 2003
Location: Austin, TX
Distribution: Slackware 9.1
Posts: 3

Original Poster
Rep: Reputation: 0
ok. i guess those headers were not the problem at all. i completely reinstalled and perlivp still gives the same output. what i found was a change between perl-5.8.0 in slack 9.0 and 9.1 that these scripts are choking on.

solution:
root@bourbon:/usr/lib/perl5/5.8.0# ln -s i486-linux/ i386-linux

that fixed most of the errors i was getting. then...
root@bourbon:~/Xmms-Perl-0.12# perl Makefile.PL
Warning: prerequisite MPEG::MP3Info 0 not found.
Writing Makefile for Xmms::Config
Writing Makefile for Xmms::Remote
Writing Makefile for Xmms::SongChange
Writing Makefile for Xmms-Perl
root@bourbon:~/Xmms-Perl-0.12# perl -MCPAN -e "install MPEG::MP3Info"
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
Database was generated on Fri, 14 Nov 2003 08:47:17 GMT
MPEG::MP3Info is up to date.
root@bourbon:~/Xmms-Perl-0.12# locate MPEG | grep perl
/usr/lib/perl5/site_perl/5.8.0/MPEG
/usr/lib/perl5/site_perl/5.8.0/MPEG/MP3Info.pm
/usr/lib/perl5/site_perl/5.8.0/i486-linux/auto/MPEG
/usr/lib/perl5/site_perl/5.8.0/i486-linux/auto/MPEG/MP3Info
/usr/lib/perl5/site_perl/5.8.0/i486-linux/auto/MPEG/MP3Info/.packlist
root@bourbon:~/Xmms-Perl-0.12# perl Makefile.PL
Warning: prerequisite MPEG::MP3Info 0 not found.
Writing Makefile for Xmms::Config
Writing Makefile for Xmms::Remote
Writing Makefile for Xmms::SongChange
Writing Makefile for Xmms-Perl
root@bourbon:~/Xmms-Perl-0.12#

08.32|Errors loading file /home/jeff/.xchat2/XMusix.pl:
08.32|Can't locate Xmms/Remote.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 (eval 7) line 51.
08.32|BEGIN failed--compilation aborted at (eval 7) line 51.

root@bourbon:~# locate Remote | grep perl
/usr/lib/perl5/site_perl/5.8.0/i486-linux/Xmms/Remote.pm
/usr/lib/perl5/site_perl/5.8.0/i486-linux/auto/Xmms/Remote
/usr/lib/perl5/site_perl/5.8.0/i486-linux/auto/Xmms/Remote/Remote.bs
/usr/lib/perl5/site_perl/5.8.0/i486-linux/auto/Xmms/Remote/Remote.so
root@bourbon:~#

solution:
root@bourbon:/usr/lib/perl5/site_perl/5.8.0# ln -s i486-linux/ i386-linux

i know this isn't the proper way to do things, but until i figure out a few more things, it works. so now what i need to know is where or what is this "@INC" and how do i fix it to be backward compatible so that i don't have to make symlinks everywhere?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
my perl installation is hosed abu_abdullaah Mandriva 1 07-24-2004 12:09 PM
perl gone missing rjilb Linux - Software 2 03-06-2004 11:08 PM
perl(Cwd) perl(File::Basename) perl(File::Copy) perl(strict)....What are those? Baldorg Linux - Software 1 11-09-2003 08:09 PM
missing perl.h in Mandrake 9.1 distro spooodini Linux - Software 1 10-28-2003 11:04 PM
chrooting apache v2 (php, ssl, perl support) ; perl configuration markus1982 Linux - Security 3 01-26-2003 06:15 PM


All times are GMT -5. The time now is 09:36 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration