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 05-24-2012, 04:55 AM   #1
kabamaru
Member
 
Registered: Dec 2011
Location: Greece
Distribution: Slackware
Posts: 276

Rep: Reputation: 134Reputation: 134
Building from source: Dependencies and PKG_CONFIG_PATH


I've been reading various SlackBuilds lately, and one of those was the official Xfce SlackBuild. Slackware's Xfce is some sort of an "all-in-one" package; it contains libxfce4util, xfconf, xfceutils, thunar etc. So, my questions is this:

Considering that xfconf, for instance, depends on libxfce4util, how come the SlackBuild doesn't fail? I mean libxfe4util is compiled and installed in a non-standard place (/tmp/package-xfce-4.62/libxfce4util-$VERSION/), and when the SlackBuild proceeds with the next module, xfconf, the dependency is satisfied and the SlackBuild doesn't fail.

But when I manually compile the modules, one by one, xfconf won't see libxfce4util, unless I actually install it on my system (/usr). The ./configure step will exit with an error about not finding the required package and making a suggestion about adjusting my PKG_CONFIG_PATH variable.
 
Old 05-24-2012, 05:01 AM   #2
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8105Reputation: 8105Reputation: 8105Reputation: 8105Reputation: 8105Reputation: 8105Reputation: 8105Reputation: 8105Reputation: 8105Reputation: 8105Reputation: 8105
I guess you missed the line
Code:
make install || exit 1
in the SlackBuild? Every component is installed to the filesystem as well as to /tmp/package-xfce-4.62/libxfce4util-$VERSION/ .

Eric
 
1 members found this post helpful.
Old 05-24-2012, 05:10 AM   #3
kabamaru
Member
 
Registered: Dec 2011
Location: Greece
Distribution: Slackware
Posts: 276

Original Poster
Rep: Reputation: 134Reputation: 134
OMG... I read the script 4 times or something and never saw this:

Code:
make $NUMJOBS || make || exit 1
make install || exit 1
make install DESTDIR=$PKG
Thanks Eric

Last edited by kabamaru; 05-24-2012 at 05:11 AM. Reason: typo
 
  


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
building multimedia software, problems finding dependencies jiobo Linux - Software 4 02-18-2010 11:39 PM
apt-get source and dependencies stockerz Debian 2 08-23-2006 02:09 PM
problems with compiling from source PKG_CONFIG_PATH ISSUES Nadim Slackware 7 01-20-2005 05:37 PM
building from src ...checking dependencies?? purpleburple Linux - General 1 12-31-2002 11:09 AM
RPM Dependencies vs Source aragorn Linux - General 8 02-17-2002 06:20 PM

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

All times are GMT -5. The time now is 05:06 PM.

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