LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 03-06-2005, 04:12 AM   #16
tMwtMP
LQ Newbie
 
Registered: Apr 2004
Distribution: LFS
Posts: 4

Rep: Reputation: 0

I'm doing the symlinks thing using GNU stow.
Basically i have all the packages in their own dirs in /usr/local.
For example qt in /usr/local/qt/3.3.4.
With stow i then symlink the whole stuff up into /usr.
This is working pretty fine for me except when you have packages that have dirs of the same name (this happens quite often with local).
Those dirs i have to create in /usr and stow then symlinks the packages into them.
Quite a lot of work in the beginning but now the system is up and running its quite easy to do.
Its quite possible to install all the stuff in separate dirs but you'll always be needing to symlink it back into the FHS dirs because so many programs just
assume the stuff is in there.

I had tried this before without symlinking but putting all the dirs into PATH,LDFLAGS and so forth but that was doomed.
Many packages would put all the LDFLAGS into their .la file as a dependency and once i removed a package mentioned i couldn't build against said
packages anymore.

You should take a look at GoboLinux and their install script, maybe you can modify it to suit your needs.

Last edited by tMwtMP; 03-06-2005 at 04:13 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



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

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