LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-08-2004, 08:03 AM   #1
GruiX
Member
 
Registered: Jan 2004
Location: Toulouse (France)
Distribution: Arch Linux
Posts: 46

Rep: Reputation: 15
Lightbulb The True Linux


Hello,

Well, I have noticed that when we usually install softwares using distribution's packages, it's often impossible to build manually (./configure, make, make install) something which depends on many librairies. The librairies exist in the system but their lay out depends on distribution.
To resolve this problem, we can install manually all the requiered librairies. But i think it may be conflictual if we had the library built manually and the library from a package.
So, for related softwares (i.e. php+apache+other libs) we sometimes may choose to install them all by packages, or all by hand.

My question is : Is it possible to set up a linux system without any package? only by compiling sources?
If yes, which distrib' is more suitable for this use?

Thanx
 
Old 11-08-2004, 08:17 AM   #2
the_sLiDe
Member
 
Registered: Sep 2004
Distribution: Slack 10
Posts: 155

Rep: Reputation: 30
I've never used gentoo, but apparently its all from source....u might want to read into that one...
 
Old 11-08-2004, 11:54 AM   #3
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 476Reputation: 476Reputation: 476Reputation: 476Reputation: 476
Have you looked into "Linux From Scratch"?
 
Old 11-08-2004, 01:47 PM   #4
Thymox
Senior Member
 
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Mostly Debian based systems
Posts: 4,368

Rep: Reputation: 64
Re: The True Linux

Quote:
Originally posted by GruiX Hello,
Well, I have noticed that when we usually install softwares using distribution's packages, it's often impossible to build manually (./configure, make, make install) something which depends on many librairies. The librairies exist in the system but their lay out depends on distribution.
Almost all configure script allow you to specify the location of libraries and such. For instance ./configure --with-win32libdir=/usr/lib/win32 (taken from installing MPlayer). If your distro is setup nicely then most configure scripts may even be able to locate the libraries themselves by using locate, slocate, whereis, which, etc, etc. I have found that the most common problem is when the configure script is expecting a newer version of a dependency that the version you have.

And on this... if you install things from source, they will not get added to your Package Manager's list of installed packages. This can cause havoc! Let's say, for argument sake, that you're running an RPM based distro, you have installed version 1 of the ID3 libraries by using RPM, you then get the source for version 2 and install them manually. If you then try to install a programme with RPM that depends on version 2 of the ID3 libraries, it won't find them! RPM will consult the RPM database of installed files and packages to determine if dependencies are met or not. If you install something from source, it won't get added to the database.

An answer to this is to install from source using something called checkinstall. Basically what it does is it allows you to install files from source by generating an RPM (or DEB or TGZ, etc, etc). This way, even if you install from source the files get added to RPM's list of installed files and packages.

I cannot recommend this highly enough! It has certainly got me out of trouble a few times.
 
  


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
what is the true power of linux? mrchaos General 6 10-31-2005 10:36 AM
im new to linux.sad but true rykle777 Mandriva 5 09-21-2005 10:07 PM
Linux + Printing = NOT true ni0wn Linux - Software 1 11-18-2004 05:50 PM
True Linux n00b Enfer Singe Linux - Newbie 27 07-22-2004 12:49 PM
Why Linux? Are there still true reasons? fantoche General 37 04-04-2004 07:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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