LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   Having a problem with installing fileutils (https://www.linuxquestions.org/questions/linux-from-scratch-13/having-a-problem-with-installing-fileutils-13495/)

hanzerik 02-04-2002 08:20 AM

Having a problem with installing fileutils
 
It got to the point where you start the make command, then errored out.

make-recursive
make[1]: Entering directory '/usr/src/lfs-packages-3.1/fileutils-4.1'
Making all in lib
make[2]: Entering directory '/usr/src/lfs-packages-3.1/fileutils-4.1/lib'
Makefile:624: *** missing separator. Stop.
make[2]: Leaving directory '/usr/src/lfs-packages-3.1/fileutils-4.1/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/usr/src/lfs-packages-3.1/fileutils-4.1'
make: *** [all] Error 2


I had to enter this by hand because i dont have a floppy but I think it's all correct

Anyone have any ideas on whats wrong?

Mik 02-04-2002 08:45 AM

Did you edit your makefiles by hand? Or run it through something which substitutes tabs with spaces? When you get the error Makefile: missing seperator then it's usually because there are spaces instead of tabs used.

Taking this example:

testprogram:
gcc -o testprogram testprogram.c

There should be a tab right before the gcc line otherwise you'll get a message missing seperator. There might be other cases where you'll get a missing seperator error but I've only gotten it on the one I mentioned. Either way it's an error in the makefile syntax. You could either edit the makefile or unpack fileutils from the tarball and start again.

hanzerik 02-04-2002 09:06 AM

Fixed it.

Went back to the part in chapter 5 and reinstalled fileutils with the fix for glibc-2.2.3 and then came back into the chroot and reinstalled fileutils. No more errors. I should have checked the version of glibc I was using in chapter5.

Sry for the wasted post

lfslinux 02-08-2002 12:48 PM

Re: Having a problem with installing fileutils
 
Quote:

Originally posted by hanzerik
It got to the point where you start the make command, then errored out.

make-recursive
make[1]: Entering directory '/usr/src/lfs-packages-3.1/fileutils-4.1'
Making all in lib
make[2]: Entering directory '/usr/src/lfs-packages-3.1/fileutils-4.1/lib'
Makefile:624: *** missing separator. Stop.
make[2]: Leaving directory '/usr/src/lfs-packages-3.1/fileutils-4.1/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/usr/src/lfs-packages-3.1/fileutils-4.1'
make: *** [all] Error 2


I had to enter this by hand because i dont have a floppy but I think it's all correct

Anyone have any ideas on whats wrong?

I know you fixed the problem already but I'd like to comment on the error you pasted:

It doesn't tell us anything, really. All it says is that _something_ went wrong, but it doens't say _what_ went wrong. The actual error messages (be it compiler errors, or ohter) are just above the lines you wrote down. Next time, you can omit the stuff you wrote and instead type out a bunch of lines before it, including the command that was executed and the error message that followed it.

lfslinux 02-08-2002 12:50 PM

Re: Re: Having a problem with installing fileutils
 
Oops my bad, I totally missed the "missing seperator" which was the error. Hmm, somebody else replied that too.

I'll try to pay more attention next time.


All times are GMT -5. The time now is 11:01 PM.