LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   Chapter 6: Perl make error (https://www.linuxquestions.org/questions/linux-from-scratch-13/chapter-6-perl-make-error-40789/)

Obi Perrin 01-08-2003 10:00 PM

Chapter 6: Perl make error
 
I try to make Perl, with the ./configure.gnu --prefix=/usr, and that goes fine, but right after that, when I run make, it dies right away with the following:

makefile:856: *** missing separator. Stop.

Anyone any ideas? Thanks.

Obi Perrin 01-08-2003 10:20 PM

Bit of an update, I went looking a bit more on google, and was led to an archive post that had the error, and told the guy to get lost and read the faq basically :D

In case someone searches for this here in the future, I think it's been mentioned that at the line that's causing the error, there's a stray 0, and that by removing that some people have had success - though it seems most say that just results in another error. The LFS FAQ says the following:

Perl fails with "*** missing separator. Stop."

It's missing a device file. (AFAIK, /dev/null, but maybe /dev/zero.) Anyway, either you forgot to run MAKEDEV, or MAKEDEV failed, or you're using devfs and forgot to mount --bind it under $LFS.


Which doesn't do me much help either, I have both /dev/null and /dev/zero. Definately haven't forgot to run MAKEDEV, done it twice actually when I thought it was causing the kernel headers problem of a couple of days ago. The last one, I don't have a clue what that means. I assume devfs is the MAKEDEV -v generic over the MAKEDEV -v generic-nopty? And if it is, how would I mount/bind it as mentioned above?

Obi Perrin 01-09-2003 02:21 AM

Problem solved. Adding my fix for anyone who searches.

Went to the really helpful guys at #LFS on irc.linuxfromscratch.org and one of them found the problem right away. My main lfs partition was mounted with the options rw,nosuid and nodev. He told me to remove nodev and he was right. Ran the makedev script again, and the perl install went perfectly.


All times are GMT -5. The time now is 06:48 PM.