LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 07-31-2004, 03:25 AM   #1
Louis_Carole
Member
 
Registered: Feb 2004
Location: Oxford, OH
Distribution: LFS 5.1.1, Slackware 9.1
Posts: 94

Rep: Reputation: 15
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
 
Old 07-31-2004, 06:24 AM   #2
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
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.
 
Old 07-31-2004, 06:44 AM   #3
jomen
Senior Member
 
Registered: May 2004
Location: Leipzig/Germany
Distribution: Arch
Posts: 1,687

Rep: Reputation: 55
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 !

 
Old 07-31-2004, 06:52 AM   #4
jomen
Senior Member
 
Registered: May 2004
Location: Leipzig/Germany
Distribution: Arch
Posts: 1,687

Rep: Reputation: 55
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...
 
Old 07-31-2004, 03:14 PM   #5
Louis_Carole
Member
 
Registered: Feb 2004
Location: Oxford, OH
Distribution: LFS 5.1.1, Slackware 9.1
Posts: 94

Original Poster
Rep: Reputation: 15
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
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
gcc error (can't make exexutables) TheDude05 Linux - Software 6 09-06-2005 03:51 PM
gcc-3.4.3 make -k check stops on error? Yerp Linux From Scratch 1 04-16-2005 03:25 AM
Error in gcc while trying to run make TheBelush Linux - Newbie 3 01-23-2005 12:34 AM
gcc make error in ch5.5 of LFS 6.0 Barnette Linux From Scratch 5 01-03-2005 11:09 AM
How do i install gcc bc and make rpm's Mint Sauce Linux - General 1 03-28-2004 12:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 06:29 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration