LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 03-06-2004, 07:28 AM   #1
rjilb
LQ Newbie
 
Registered: Jul 2003
Distribution: Mandrake 10
Posts: 8

Rep: Reputation: 0
Angry perl gone missing


I have just installed Win4Lin on a Mandrake 9.1 box. After initial problems, needing a full reinstall of Mandrake, I had things working well for three days, but then rebooted to native windows to do some video editing.

On attempting to restart Linux, I get to a graphic login, but then it immediately logs me out.
~/.xsession-errors show missing files for /usr/bin/cpp and /usr/bin/perl

There are at least two directories worth of Perl5 files, and making a link perl-> perl5 has not helped.

rpm -i and rpm -e perl claim no file present.

Any help appreciated, thanks

Russell
 
Old 03-06-2004, 07:31 AM   #2
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 194Reputation: 194
What about:

rpm -qa | grep perl

I think that's the command.. not totally sure as I don't use RPM based distros no longer..

If they are missing, why not reinstall them?
 
Old 03-06-2004, 11:08 PM   #3
rjilb
LQ Newbie
 
Registered: Jul 2003
Distribution: Mandrake 10
Posts: 8

Original Poster
Rep: Reputation: 0
Thanks trickykid, this showed perl 5.8.0 present, but X doesn't seem to find it.

Error on attempting logon says check .xsession-errors and the output of these follows. There are two versions, one in /root/ and one in /home/:

This is in /root/ dated 6 March ie has not been updated today, perhaps because I did not try to log in as 'root' to GDM today

sh: line 1: /usr/bin/cpp: No such file or directory
sh: line 1: /usr/bin/cpp: No such file or directory
/etc/X11/Xsession: /usr/sbin/chksession: /usr/bin/perl: bad interpreter: No such file or directory

Second one in /home/

This is in /home/user_name/ dated 7 March
sh: line 1: /usr/bin/cpp: No such file or directory
/etc/X11/Xsession: /usr/sbin/chksession: /usr/bin/perl: bad interpreter: No such file or directory
Running update-menus.../etc/X11/xinit.d/menu: line 11: update-menus: command not found
done

There was on other error I noted, and looking back through syslog, goes back to my reinstall:
Mar 3 08:52:50 Horace xfs: ignoring font path element /usr/X11R6/lib/X11/fonts/drakfont (unreadable)
Mar 3 08:52:50 Horace xfs: ignoring font path element /usr/X11R6/lib/X11/fonts/drakfont/Type1 (unreadable)
Mar 3 08:52:50 Horace xfs: ignoring font path element /usr/X11R6/lib/X11/fonts/drakfont/ttf (unreadable)

Don't know if that is important, but was the only other X-based problem I could see

I am not sure what this all means, or how to sort it out. Iam reluctant to go through the trauma of a complete Mandrake reinstall if I don't have to.

Thanks
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
hosed perl - missing various perl headers suffer Slackware 4 11-14-2003 08:35 AM
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
LFS 4.1: Stalled at Perl, "missing seperator" error from "make" SparceMatrix Linux From Scratch 1 06-07-2003 03:31 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 08:54 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