LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 04-06-2011, 11:55 AM   #1
spoovy
Member
 
Registered: Feb 2010
Location: London, UK
Distribution: Scientific, Ubuntu, Fedora
Posts: 373

Rep: Reputation: 43
Build problem - ./configure output saying package is not present when it is.


I'm trying to build xfce 4.8 from source on Scientific Linux 6.0. Following the instructions here - http://www.xfce.org/download/building - All is fine until I come to configure xfce4-panel when I get the following error. Note that I have successfully built and installed the supposedly missing package in several locations.


Code:
checking for pkg-config... /usr/bin/pkg-config                                                                                                       
checking for pkg-config >= 0.9.0... 0.23                                                                                                             
checking for libxfce4util-1.0 >= 4.8.0... 4.8.1                                                                                                      
checking LIBXFCE4UTIL_CFLAGS... -I/usr/include/xfce4 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include                                             
checking LIBXFCE4UTIL_LIBS... -lxfce4util -lglib-2.0                                                                                                 
checking for garcon-1 >= 0.1.5... 0.1.5
checking GARCON_CFLAGS... -pthread -I/usr/include/garcon-1 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
checking GARCON_LIBS... -pthread -lgarcon-1 -lgio-2.0 -lgthread-2.0 -lrt -lgobject-2.0 -lgmodule-2.0 -lglib-2.0
checking for libxfce4ui-1 >= 4.8.0... not found
*** The required package libxfce4ui-1 was not found on your system.
*** Please install libxfce4ui-1 (atleast version 4.8.0) or adjust
*** the PKG_CONFIG_PATH environment variable if you
*** installed the package in a nonstandard prefix so that
*** pkg-config is able to find it.
[spoovy@kermitsl xfce4-panel-4.8.0]$ sudo find / -name libxfce4ui-1
/include/xfce4/libxfce4ui-1
/lib/libxfce4ui-1
/lib/include/xfce4/libxfce4ui-1
/usr/include/libxfce4ui-1
/usr/local/include/xfce4/libxfce4ui-1
/usr/bin/include/xfce4/libxfce4ui-1
[spoovy@kermitsl xfce4-panel-4.8.0]$


Any help gratefully accepted.

spoov
 
Old 04-06-2011, 12:42 PM   #2
Snark1994
Senior Member
 
Registered: Sep 2010
Distribution: Debian
Posts: 1,632
Blog Entries: 3

Rep: Reputation: 346Reputation: 346Reputation: 346Reputation: 346
It will be looking for a ".pc" file to say that the package is installed, if you're using pkgconfig... Try
Code:
sudo find / -iname *.pc | grep libxfce
 
1 members found this post helpful.
Old 04-06-2011, 12:42 PM   #3
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Hi,

What was the PREFIX you used to build the initial components? If it was /usr/local (or you didn't used a --prefix) then you should use:
Code:
export PKG_CONFIG_PATH=/usr/local/lib/pkconfig:$PKG_CONFIG_PATH
Or change the path to pkgconfig accordingly.
You can also try to find libxfce4ui-1.pc and use that pathin PKG_CONFIG_PATH

Regards
 
1 members found this post helpful.
Old 04-06-2011, 01:27 PM   #4
spoovy
Member
 
Registered: Feb 2010
Location: London, UK
Distribution: Scientific, Ubuntu, Fedora
Posts: 373

Original Poster
Rep: Reputation: 43
Thanks guys. The .pc file(s) are present alright. I tried your edit to my PKG_CONFIG_PATH bathory and it worked (once i'd spotted your deliberate typo that is

Thanks again.
 
Old 04-06-2011, 01:38 PM   #5
spoovy
Member
 
Registered: Feb 2010
Location: London, UK
Distribution: Scientific, Ubuntu, Fedora
Posts: 373

Original Poster
Rep: Reputation: 43
On reading further down the xfce instructions page I see this was covered. I must read the whole page before starting!!
 
Old 04-07-2011, 04:07 PM   #6
Snark1994
Senior Member
 
Registered: Sep 2010
Distribution: Debian
Posts: 1,632
Blog Entries: 3

Rep: Reputation: 346Reputation: 346Reputation: 346Reputation: 346
Well done for fixing it, now just mark the thread as SOLVED
 
  


Reply



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
build a slackware12.1 package geetha_sg Slackware 5 06-25-2008 11:44 PM
How to build a slackware package : itz2000 Slackware 12 05-15-2007 07:47 PM
TrueCrypt: problem running build.sh; cannot configure kernel source wakawaka Linux - Software 1 04-09-2007 07:03 AM
Package not present. BUT IT IS! n8tgc Fedora 7 03-17-2005 08:38 PM
Build iso from package AwesomeMachine Linux - Software 1 01-28-2005 04:12 AM

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

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