Results 1 to 2 of 2
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'
...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 08-26-2004 #1Just Joined!
- Join Date
- Jan 2003
- Posts
- 46
PKG_CONFIG_PATH not 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
and run echo $PKG_CONFIG_PATH
/usr/local/lib/pkgconfig:/opt/gnome/lib/pkgconfig
Assuming this is right I then run
make clean.
/configure
again and i still recieve the same errors
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 path of the file that is needed.???? what am i doing wrong??? Im running Suse 9.0
quote:Perhaps you should add the directory containing `libcroco.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libcroco' found "
- 01-16-2007 #2Just Joined!
- Join Date
- Jul 2003
- Posts
- 4
try running ldconfig after changing that and it will add the directories to the search path.


Reply With Quote
