LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 11-28-2003, 03:31 AM   #1
janve
LQ Newbie
 
Registered: Aug 2003
Distribution: Slackware
Posts: 11

Rep: Reputation: 0
libraries, packages, file locations


I'm trying to rebuild my sendmail (an option needed) using the Slackbuild-sendmail script (slackware-9.1/source/...). I'm getting a "../../include/sm/bdb.h:17:17: db.h: No such file or directory" message. OK, I need to install a package containing the db.h file.

How can I find out which package contains a specific file ? (without installing all of them and looking into /var/log/packages)

[I guessed that it could be l/db1, I installed it and still I had to "cp /usr/include/db1/db.h /usr/include/". So this doesn't seem to be the right way - although it seems to work at the first glance.]

Thanks for help.
 
Old 11-28-2003, 03:43 AM   #2
janve
LQ Newbie
 
Registered: Aug 2003
Distribution: Slackware
Posts: 11

Original Poster
Rep: Reputation: 0
P.S. - and I read the F.M.: Slackware FAQ Q32 mentions the file FILE_LIST on ftp.slackware.com in /pub/slackware.
(1) I couldn't find any FILE_LIST in that directory
(2) all FILE_LISTs and FILELISTs I found in the distro are listings of the distro, not of an installed system.
 
Old 11-28-2003, 04:08 AM   #3
Misel
Member
 
Registered: Mar 2003
Location: Berlin
Distribution: Slackware current
Posts: 310

Rep: Reputation: 30
FILE_LIST's purpose is to list all files of the distro. If you want to check which package contains which file use slackpkg (in the extra-directory).
 
Old 11-29-2003, 04:00 AM   #4
janve
LQ Newbie
 
Registered: Aug 2003
Distribution: Slackware
Posts: 11

Original Poster
Rep: Reputation: 0
Thank you ! This helped with locating the file. I found that I have three packages with that file (db.h) installed. So I'm getting back to my original build problem, under a new thread.
 
Old 11-29-2003, 11:34 PM   #5
dugan
Senior Member
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 4,878

Rep: Reputation: 1523Reputation: 1523Reputation: 1523Reputation: 1523Reputation: 1523Reputation: 1523Reputation: 1523Reputation: 1523Reputation: 1523Reputation: 1523Reputation: 1523
There's also a file on the FTP mirrors (and on the CD) called MANIFEST, which is probably compressed with a .gz or .bz2 extension, and which tells you exactly which package contains which files.

There's actually a question in the alt.os.linux.slackware FAQ that deals with this. See here:

alt.os.linux.slackware FAQ: Which package contains <insert filename here>?
 
  


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
libraries/headers locations question (compiling) shilo Slackware 1 10-04-2005 01:01 PM
Imap file locations GraemeK Linux - Networking 2 09-27-2004 09:06 AM
File locations and dependancies...Help! wirechild Linux - General 3 11-15-2003 06:53 PM
File Locations stodgel Linux - General 1 06-13-2003 09:02 AM
File locations peeples Linux - Distributions 5 10-04-2002 03:26 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration