LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   gcc-3.3.3 make install error (https://www.linuxquestions.org/questions/linux-from-scratch-13/gcc-3-3-3-make-install-error-211759/)

Louis_Carole 07-31-2004 03:25 AM

gcc-3.3.3 make install error
 
Dear All,

I was able to successfully make gcc-3.3.3; however, when I tried to install the package, I got this:

"
lfs:/mnt/lfs/sources/gcc-build$ make install

/bin/sh ../gcc-3.3.3/mkinstalldirs /tools-with-local-prefix=/tools--disable\
-nls /tools-with-local-prefix=/tools--disable-nls
mkdir /tools-with-local-prefix=
mkdir /tools-with-local-prefix=/tools--disable-nls
mkdir /tools-with-local-prefix=
mkdir /tools-with-local-prefix=/tools--disable-nls
make: *** [installdirs] Error 1

lfs:/mnt/lfs/sources/gcc-build$
"

I do not know exactly what this is trying to do; make directories, I assume. But is it running things together? What's going on? Any suggestions?

- Thanks, Ben

Andrew Benton 07-31-2004 06:24 AM

It looks like you've typed in the commands wrong. There should be a space an two dashes between --prefix=tools and --with-local-prefix=/tools. You'll get the error you posted if you typed it as
../gcc-3.3.1/configure --prefix=/tools-with-local-prefix=/tools--disable-nls
The spaces are important. You can avoid a lot of typos if you copy and paste from your browser.

jomen 07-31-2004 06:44 AM

I have not red the book on this one, but: could it be a typo ?

This is what you have:

/bin/sh ../gcc-3.3.3/mkinstalldirs /tools-with-local-prefix=/tools--disable\
-nls /tools-with-local-prefix=/tools--disable-nls

this is what should be there:


/bin/sh ../gcc-3.3.3/mkinstalldirs /tools-with-local-prefix=/tools--disable\
-nls /tools-with-local-prefix=/tools --disable-nls

...between /tools-with-local-prefix=/tools and --disable-nls there should be a space !

:D

jomen 07-31-2004 06:52 AM

oops - I was too fast - there are more:

This is what it shold look like:

/bin/sh ../gcc-3.3.3/mkinstalldirs /tools --with-local-prefix=/tools --disable\
-nls /tools --with-local-prefix=/tools --disable-nls

at least I think so - please check for typos against the book...

Louis_Carole 07-31-2004 03:14 PM

Golly. I feel kinda stupid. Thank you all for your patience. The book has the configure command chopped up into three or four lines with "\" at the end of each line; I forgot to put the space before the backslash. Oh, that learning curve!

- Ben


All times are GMT -5. The time now is 05:19 AM.