LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   perl gone missing (https://www.linuxquestions.org/questions/linux-software-2/perl-gone-missing-154146/)

rjilb 03-06-2004 07:28 AM

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

trickykid 03-06-2004 07:31 AM

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?

rjilb 03-06-2004 11:08 PM

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


All times are GMT -5. The time now is 03:57 AM.