LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 09-01-2005, 05:09 AM   #1
Basel
Member
 
Registered: Feb 2004
Location: United States
Distribution: Ubuntu 10.10
Posts: 319

Rep: Reputation: 30
Forgot to include --prefix=/tools


Hello,

I forgot to include --prefix=/tools while configuring gawk. Is it going to affect my system, Slackware 10.1?
Will it be fine if I configure gawk again, as part of LFS-6.1 5.13. Gawk-3.1.4, in the same directory?

Code:
lfs:/mnt/lfs_6.1/sources/gawk-3.1.4$ ./configure && make && make install && echo done_gawk
.
.
.

make[1]: Leaving directory `/mnt/lfs_6.1/sources/gawk-3.1.4/intl'
Making install in .
make[1]: Entering directory `/mnt/lfs_6.1/sources/gawk-3.1.4'
make[2]: Entering directory `/mnt/lfs_6.1/sources/gawk-3.1.4'
test -z "/usr/local/bin" || mkdir -p -- . "/usr/local/bin"
  ./install-sh -c 'gawk' '/usr/local/bin/gawk'
cp: cannot create regular file `/usr/local/bin/_inst.8023_': Permission denied
make[2]: *** [install-binPROGRAMS] Error 1
make[2]: Leaving directory `/mnt/lfs_6.1/sources/gawk-3.1.4'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/mnt/lfs_6.1/sources/gawk-3.1.4'
make: *** [install-recursive] Error 1
 
Old 09-01-2005, 06:27 AM   #2
kjordan
Member
 
Registered: Jul 2004
Distribution: LFS, I felt the itch and scratched it
Posts: 227

Rep: Reputation: 31
Nope, it won't affect your system as make install didn't pass. That's why you're making the toolkit as an unpriviliged user on your host, so you can't accidentally overwrite host files.

./install-sh -c 'gawk' '/usr/local/bin/gawk'
cp: cannot create regular file `/usr/local/bin/_inst.8023_': Permission denied

That right there says it couldn't install gawk to /usr/local/bin. So really even if you were able to install it, it wouldn't overwrite your system gawk since Slackware put it in /usr and not /usr/local. So, just reconfigure and make and install it.
 
Old 09-01-2005, 10:46 AM   #3
Basel
Member
 
Registered: Feb 2004
Location: United States
Distribution: Ubuntu 10.10
Posts: 319

Original Poster
Rep: Reputation: 30
Thanks kjordan
 
  


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
cdda ripping tools: what tools are good these days? jgombos Linux - Software 3 01-03-2005 11:09 PM
forgot to install development tools teet Fedora 6 11-20-2004 11:28 PM
Always -prefix=/usr? oneandoneis2 Linux From Scratch 5 07-28-2004 12:11 AM
Optimize/Prefix rogk Linux - Software 1 07-25-2004 05:04 AM
forgotten prefix=/tools Kroenecker Linux From Scratch 2 01-16-2004 01:02 AM

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

All times are GMT -5. The time now is 10:39 PM.

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