Author Topic: How to get tilp running  (Read 3594 times)

0 Members and 1 Guest are viewing this topic.

Offline Ti-Programmer

  • LV3 Member (Next: 100)
  • ***
  • Posts: 84
  • Rating: +3/-0
  • Whats this? so many features...
    • View Profile
    • Ti-Programmer's website
How to get tilp running
« 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...)
Spoiler For Sig:







Offline TC01

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 344
  • Rating: +9/-0
    • View Profile
Re: How to get tilp running
« Reply #1 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.
« Last Edit: July 13, 2011, 10:00:21 pm by TC01 »



The userbars in my sig are links embedded links.

And in addition to calculator (and Python!) stuff, I mod Civilization 4 (frequently with Python).

Offline Ti-Programmer

  • LV3 Member (Next: 100)
  • ***
  • Posts: 84
  • Rating: +3/-0
  • Whats this? so many features...
    • View Profile
    • Ti-Programmer's website
Re: How to get tilp running
« Reply #2 on: July 13, 2011, 10:13:12 pm »
Thanks, I'm tryin that now.

EDIT:

Awwww, still didn't work, same output.
« Last Edit: July 13, 2011, 10:14:18 pm by Ti-Programmer »
Spoiler For Sig:







Offline TC01

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 344
  • Rating: +9/-0
    • View Profile
Re: How to get tilp running
« Reply #3 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.




The userbars in my sig are links embedded links.

And in addition to calculator (and Python!) stuff, I mod Civilization 4 (frequently with Python).

Offline Lionel Debroux

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2135
  • Rating: +290/-45
    • View Profile
    • TI-Chess Team
Re: How to get tilp running
« Reply #4 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 :)
« Last Edit: July 14, 2011, 02:42:07 pm by Lionel Debroux »
Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TILP and TIEmu.
Co-admin of TI-Planet.