Omnimaga

General Discussion => Technology and Development => Computer Usage and Setup Help => Topic started by: Ti-Programmer on July 13, 2011, 09:56:20 pm

Title: How to get tilp running
Post by: Ti-Programmer on July 13, 2011, 09:56:20 pm
Hello, I recently tried to install tilp and it failed giving me an error "TICONV not found in pkg-config"

I've attached a textfile of the log...

SirCmpwn verified that I have all pakages installed over the internet, so how do I install tilp.

OS: Fedora 15 CD version not DVD

http://pastebin.com/8tDPdaM3
(i don't know how to attach a file...)
Title: Re: How to get tilp running
Post by: TC01 on July 13, 2011, 09:59:55 pm
This is a problem with pkg-config (it happened to me as well when installing it on Fedora). What worked for me was adding this:

Code: [Select]
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$HOME/lib/pkgconfig
To "~/.bashrc", your bash configuration file. You'll need to restart the terminal after running that.
Title: Re: How to get tilp running
Post by: Ti-Programmer on July 13, 2011, 10:13:12 pm
Thanks, I'm tryin that now.

EDIT:

Awwww, still didn't work, same output.
Title: Re: How to get tilp running
Post by: TC01 on July 14, 2011, 10:44:36 am
A litte late, obviously, but I thought I'd share the results of what I just found:

On 64-bit Fedora, you need to put the line below in your .bashrc (or, rather, the root user's .bashrc, because you need to install as root):

Code: [Select]
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/lib/pkgconfig
This is because, as discussed on IRC, Fedora uses /usr/lib64 for 64-bit applications.

Title: Re: How to get tilp running
Post by: Lionel Debroux on July 14, 2011, 02:39:06 pm
That works indeed.
Another way to fix the problem, AFAICS, is making the "configure" line in handle_one_module() read
Code: [Select]
./configure "--prefix=$PREFIX" --libdir=/usr/lib64 $@ || return 1(again, on 64-bit versions of F14 and F15).

I have therefore updated the comments in http://lpg.ticalc.org/prj_tilp/download/install_tilp.sh and http://lpg.ticalc.org/prj_tiemu/downloads/install_tiemu.sh :)