LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 04-13-2009, 12:36 PM   #1
Romanus81
Member
 
Registered: Feb 2008
Posts: 201

Rep: Reputation: 31
Questions for using Stow for symlink management.


I recently had a long day trying to install glibc in LFS 6.4 section 6.9 using gnu stow. For the install command, I used:
Code:
./configure --prefix=/usr --(all the other options)
make
make install_root=/usr/pkg/glibc-20080929 install (install_root is how the INSTALL file told me to install glibc.)
Then I went into /usr/pkg (my stow directory) and
Code:
stow glibc-20080929
But it installed everything to /usr/usr/<files>, so I did:
Code:
stow -D glibc-20080929
stow -t / glibc-20080929
Does it matter what arguments I give for --configure and make as long as the package ends up in /usr/pkg and the files end up where I wanted them to? i.e., would it be better for me to use '--configure --prefix=/usr/pkg/foo-1.0.2' and 'make install' or '--configure' and 'make DESTDIR=/usr/pkg/ install', or does it need to be a combination of the two?
Thank your for any help you can offer me.

Last edited by Romanus81; 04-14-2009 at 01:33 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
LXer: Get rid of stowaway packages with GNU Stow LXer Syndicated Linux News 0 02-22-2008 05:50 PM
two questions about memory management Min Chen Linux - General 3 06-24-2006 08:38 AM
Two questions about memory management Min Chen Programming 1 06-23-2006 08:12 AM
Using stow with .tar.gz rldragev Linux - Software 1 11-29-2004 11:42 AM
Anyone use Stow for package management? Or something better? JoeLinux Linux - Software 1 03-19-2003 11:30 AM

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

All times are GMT -5. The time now is 05:30 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