-   Linux - Software (
-   -   PKG_CONFIG_PATH environment variable (

mohapi 12-27-2003 12:49 PM

PKG_CONFIG_PATH environment variable
checking TIFILES_LIBS... -ltifiles
checking for ticalcs-4 >= 4.4.4... Package ticalcs-4 was not found in the pkg-config search path.
Perhaps you should add the directory containing `ticalcs-4.pc'
to the PKG_CONFIG_PATH environment variable
No package 'ticalcs-4' found

configure: error: Library requirements (ticalcs-4 >= 4.4.4) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.

I just installed libticalcs as one of the three necessaries for tilp as per this page; I assumed that ticalcs-4 would be in libticalcs. Was I wrong, and if so, how do i get it? If not, how do I ; add the directory containing `ticalcs-4.pc'
to the PKG_CONFIG_PATH environment variable ? Do I echo $PATH and if so, from where do I do so?

Andrew Benton 12-27-2003 01:02 PM

Where is ticalcs-4.pc? I usually find that most of the things Pkg-config needs are installed in either /usr/lib/pkgconfig or /usr/local/lib/pkgconfig so
export PKG_CONFIG_PATH=/usr/lib/pkgconfig:/usr/local/lib/pkgconfig
you can type that in each time you go to compile something or copy and paste it into .bashrc under your home directory.

mohapi 12-27-2003 01:12 PM

ls /usr/lib/pkgconfig
gnome-mime-data-2.0.pc libmetacity-private.pc libxml-2.0.pc mozilla-nspr.pc openssl.pc
gnome-python-2.0.pc libnautilus.pc libxml.pc mozilla-nss.pc ticables.pc
gtk-engines-2.pc libpanelapplet-2.0.pc mozilla-gtkmozembed.pc mozilla-plugin.pc
gucharmap.pc libuser.pc mozilla-js.pc mozilla-xpcom.pc tifiles.pc
[root@localhost root]# ls /usr/local/lib/pkgconfig
glib-2.0.pc gmodule-2.0.pc gobject-2.0.pc gthread-2.0.pc libexif.pc

Here are the 2 pkgconfigs. Is "" the package called for? The ".in" makes me wonder.

mohapi 12-27-2003 01:19 PM

This is my /home/user/.bashrc. Where do I paste "export PKG_CONFIG_PATH=/usr/lib/pkgconfig:/usr/local/lib/pkgconfig" ? Where do I paste it in /root/.bashrc ?

# less /home/booda/.bashrc
# .bashrc

# User specific aliases and functions

# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc

# less /root/.bashrc
# .bashrc

# User specific aliases and functions

alias rm='rm -i'
alias cp='cp -i'
alias mv='mv -i'
alias poop='java -jar /neurosjar/NeurosDBM.1.20.jar'
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc

r_jensen11 01-10-2004 01:30 PM

I installed in this order:

cables, files, calc, tilp

My problem is that it doesn't want to look for tiglusb, only tiusb... This is angering me. So now I'm recompiling my kernel to have tiglusb as a module instead of imbedded, and I'm going to try to ln -s tiusb.c to tiglusb.c Let me know how your system works out.

mohapi 01-11-2004 12:27 PM

I've installed Fedora Core 1 and upgraded immeadiately afterward using Yum. I now have a fully working TiLP which I gained from this site,

also you must have ;

libticalcs-1.8.0-1.i386.rpm and libticables-1.8.1-1.src.rpm befor tilp is installed!!
They are all at

r_jensen11 01-11-2004 06:13 PM

hmm, rpm.... I still don't know why my system won't work... I'll try again soon, though.

Allen614 01-11-2004 06:37 PM

In a root terminal do "ldconfig". I forget it nearly everytime and some makefiles do not include it.

r_jensen11 01-11-2004 09:05 PM

when do ldconfig? And what does it do?

All times are GMT -5. The time now is 01:00 PM.