LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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-23-2010, 11:34 AM   #1
astanton
Member
 
Registered: Nov 2010
Distribution: Slackware64 -current
Posts: 82

Rep: Reputation: 5
Question checking, and finding the source for dependencies


I'm looking to install, and perhaps create a SlackBuild) for an application that I think might be interesting.

The dependencies listed are:

libx11-dev, libxt-dev, libimlib2-dev, giblib-dev, and libxinerama-dev

I've checked to see if the packages are installed w/:

Code:
# ls /var/log/packages |grep libx11
I've also looked for any existing SlackBuilds, but the only one that showed up in the database is: "giblib"

Where can I look to find these dependencies, their sources, or determine whether they're already installed in Slackware64 13.1?

Also, how would one determine if this can compile for a 64bit, non multi-lib install?

Last edited by astanton; 11-23-2010 at 11:40 AM.
 
Old 11-23-2010, 12:00 PM   #2
sahko
Senior Member
 
Registered: Sep 2008
Distribution: Slackware
Posts: 1,041

Rep: Reputation: Disabled
Slackware doesnt make split dev packages. These are all in Slackware besides giblib.
You can find giblib at slackbuilds.org
 
Old 11-23-2010, 12:03 PM   #3
55020
Senior Member
 
Registered: Sep 2009
Location: Yorks. W.R. 167397
Distribution: Slackware
Posts: 1,307
Blog Entries: 4

Rep: Reputation: Disabled
Other distributions often waste a lot of time and effort by splitting upstream packages into a core package and what they call a "development" package that contains the header files, library documentation, or whatever.

In a world of 1Tb disks, this is pretty futile. Slackware doesn't do it. Slackware's libX11 package has everything you will need. Same for libXt and libXinerama, and the giblib and imlib2 packages from SBo. (You'll need imlib2 from SBo - Slackware itself only ships the older imlib.)

By the way, your command "ls /var/log/packages |grep libx11" is in general a useful trick, but in this case it won't tell you what you seek, because the library is libX11 (upper case X, not lower case). And that's the fault of the developers of your upstream package, who misled you when they lazily just listed a bunch of Debian-style dependencies. When you're packaging, sometimes it pays to be smarter and more paranoid than the upstream devs.

Edit: Forgot to answer your second question. How would one determine if this can compile for a 64bit, non multi-lib install? Just Do It. If you've got a multilib setup, create a non-multilib virtual machine to test it.

Last edited by 55020; 11-23-2010 at 12:08 PM. Reason: forgot to answer the other question!
 
Old 11-23-2010, 12:38 PM   #4
sahko
Senior Member
 
Registered: Sep 2008
Distribution: Slackware
Posts: 1,041

Rep: Reputation: Disabled
Errm sorry imlib2 should be obtained from slackbuilds.org as well like 55020 says
 
  


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
checking for dependencies with SBoPkg joutlancpa Slackware 8 04-09-2009 01:56 PM
Checking dependencies garyg007 Slackware 13 11-19-2008 02:17 PM
Checking for Dependencies yougene Slackware 3 12-21-2005 09:07 AM
Checking Dependencies RodimusProblem Programming 7 01-11-2005 08:48 PM
Checking for Dependencies Darkman_2099 Linux - Newbie 2 10-29-2003 07:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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