LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   PKG_CONFIG_PATH environment variable (http://www.linuxquestions.org/questions/linux-software-2/pkg_config_path-environment-variable-129278/)

mohapi 12-27-2003 11:49 AM

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; http://tilp.sourceforge.net/tilp-linux.php. 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 12: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 12: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 ticalcs-4.pc.in
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 ticalcs-4.pc.in


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

mohapi 12-27-2003 12: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
fi


# 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
fi

r_jensen11 01-10-2004 12: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 11:27 AM

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,
http://speakeasy.rpmfind.net/linux/R...37-1.i386.html

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 rpmfind.net.

r_jensen11 01-11-2004 05: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 05: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 08:05 PM

when do ldconfig? And what does it do?


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