LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 12-27-2003, 11:49 AM   #1
mohapi
Member
 
Registered: Mar 2003
Distribution: Debian
Posts: 208

Rep: Reputation: 30
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?

Last edited by mohapi; 12-27-2003 at 11:51 AM.
 
Old 12-27-2003, 12:02 PM   #2
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
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.
 
Old 12-27-2003, 12:12 PM   #3
mohapi
Member
 
Registered: Mar 2003
Distribution: Debian
Posts: 208

Original Poster
Rep: Reputation: 30
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.
 
Old 12-27-2003, 12:19 PM   #4
mohapi
Member
 
Registered: Mar 2003
Distribution: Debian
Posts: 208

Original Poster
Rep: Reputation: 30
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
 
Old 01-10-2004, 12:30 PM   #5
r_jensen11
Senior Member
 
Registered: Apr 2003
Location: Minnesota, USA
Distribution: Slack 10.0 w/2.4.26
Posts: 1,032

Rep: Reputation: 45
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.
 
Old 01-11-2004, 11:27 AM   #6
mohapi
Member
 
Registered: Mar 2003
Distribution: Debian
Posts: 208

Original Poster
Rep: Reputation: 30
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.
 
Old 01-11-2004, 05:13 PM   #7
r_jensen11
Senior Member
 
Registered: Apr 2003
Location: Minnesota, USA
Distribution: Slack 10.0 w/2.4.26
Posts: 1,032

Rep: Reputation: 45
hmm, rpm.... I still don't know why my system won't work... I'll try again soon, though.
 
Old 01-11-2004, 05:37 PM   #8
Allen614
Member
 
Registered: Dec 2002
Location: Plains
Distribution: Slackware 13
Posts: 465

Rep: Reputation: 30
In a root terminal do "ldconfig". I forget it nearly everytime and some makefiles do not include it.
 
Old 01-11-2004, 08:05 PM   #9
r_jensen11
Senior Member
 
Registered: Apr 2003
Location: Minnesota, USA
Distribution: Slack 10.0 w/2.4.26
Posts: 1,032

Rep: Reputation: 45
when do ldconfig? And what does it do?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 environment Micro420 Linux - Software 3 12-17-2004 07:57 PM
"PKG_CONFIG_PATH environment variable" huh? plz help David_g17 Linux - Software 3 09-30-2004 06:33 PM
setting PKG_CONFIG_PATH variable, GAIM ./configure Hal Linux - Newbie 5 07-17-2004 03:12 PM
Where is the PKG_CONFIG_PATH environment variable? jdruin Linux - Software 4 12-05-2003 08:31 PM
PKG_CONFIG_PATH environment variable hyperriven Linux - Software 2 10-24-2003 08:29 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration