LinuxQuestions.org
Review your favorite Linux distribution.
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 08-25-2004, 11:40 PM   #1
Kilahchris
Member
 
Registered: Jan 2003
Location: NY
Distribution: Suse 9.0
Posts: 202

Rep: Reputation: 30
PKG_CONFIG_PATH now working


I am trying to install LIBSRVG-2.50 however when i run ./configure the shell complains about the PKG_CONFIG_PATH. The Konsole shell says

"
Perhaps you should add the directory containing `libgsf-1.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libgsf-1' found
configure: WARNING: SVGZ support disabled, as requested (Use --with-svgz to enab
le)
checking for libcroco >= 0.1.0... Package libcroco was not found in the pkg-conf
ig search path.
Perhaps you should add the directory containing `libcroco.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libcroco' found "

now when i saw this i typed in echo $PKG_CONFIG_PATH and now the shell says
/opt/gnome/lib/pkgconfig


however a thorough search has shown that libcroco.pc exist in /usr/local/lib/pkgconfig


so I now set the PKG_CONFIG_PATH environment variable by typing

export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH

i then run make clean
./configure

AND again and i still recieve the same errors
Quote:
Perhaps you should add the directory containing `libcroco.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libcroco' found "
why is this happening when I set the environment to the correct path of the file that is needed.???? what am i doing wrong??? Im running Suse 9.0


Last edited by Kilahchris; 08-27-2004 at 12:42 PM.
 
Old 08-26-2004, 12:41 PM   #2
Kilahchris
Member
 
Registered: Jan 2003
Location: NY
Distribution: Suse 9.0
Posts: 202

Original Poster
Rep: Reputation: 30
anybody???
 
Old 08-26-2004, 03:08 PM   #3
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
Did you fix your PKG_CONFIG_PATH before you compiled libcroco? I think that librsvg needs libcroco to be compiled linked to libgsf. So if libcroco couldn't find libgsf-1.pc in your PKG_CONFIG_PATH when you compiled it, librsvg won't be happy with the licroco.pc file it finds in your PKG_CONFIG_PATH now. I'm not sure though. You might get more expert help with these issues in the Gnome forums.
 
Old 08-26-2004, 03:16 PM   #4
VertX
Member
 
Registered: Aug 2004
Posts: 119

Rep: Reputation: 16
try (under root)

$ ldconfig /usr/local/lib/
$ export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH

then

$ ./configure
 
Old 08-26-2004, 03:19 PM   #5
Kilahchris
Member
 
Registered: Jan 2003
Location: NY
Distribution: Suse 9.0
Posts: 202

Original Poster
Rep: Reputation: 30
thank you for you reply,

im just trying to install librsvg because it is needed by another program called gFilerunner. Im basically fed up with nautilus so i uninstalled it and decided to install gFilerunner instead. Do you know what libcroco or libsrvg is for ???
 
  


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
Pkg_config_path rlnd Linux - Software 15 03-06-2009 02:26 PM
Pkg_config_path Kiwi UK Linux - Software 5 12-18-2004 01:36 PM
PKG_CONFIG_PATH and other questions pbibb1657 Mandriva 2 11-23-2004 03:58 PM
Pkg_config_path box_l Mandriva 3 08-03-2004 04:53 AM
Pkg_config_path kilgore_trout Linux - Software 0 09-08-2003 12:18 PM

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

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