Author Topic: connecting a Nspire to a Linux comp?  (Read 11666 times)

0 Members and 1 Guest are viewing this topic.

Offline Lionel Debroux

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2135
  • Rating: +290/-45
    • View Profile
    • TI-Chess Team
Re: connecting a Nspire to a Linux comp?
« Reply #15 on: October 24, 2010, 08:41:00 am »
The newest versions of the libs are the ones the install_tilp.sh script downloads :)
Please:
* purge all libticonv, libtifiles2, libticables2, libticalcs2, gfm and tilp packages from your package manager (because they're outdated);
* make sure you have modified the PKG_CONFIG_PATH and LD_LIBRARY_PATH environment variables as appropriate depending on the PREFIX you use (described within the script itself, as mentioned above);
* try again, and report back ;)
If everything is configured properly and you have the build dependencies, you will get proper binaries: Ubuntu 10.04 has been reported multiple times to work :)
Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TILP and TIEmu.
Co-admin of TI-Planet.

Offline Smitty

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 18
  • Rating: +0/-0
    • View Profile
Re: connecting a Nspire to a Linux comp?
« Reply #16 on: October 25, 2010, 03:25:44 pm »
Purged 'em, same result as before. Here's a log of the script running.
edit: It seems I can still run tilp  :o, even though the package tilp2 is not installed, nor are any packages containing the name "tilp". Could this cause problems?
« Last Edit: October 25, 2010, 03:34:53 pm by Smitty »

Offline Smitty

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 18
  • Rating: +0/-0
    • View Profile
Re: connecting a Nspire to a Linux comp?
« Reply #17 on: November 04, 2010, 12:02:49 pm »
OK, the packages have been purged properly this time, and tilp doesn't run. So, now I get a different error: "files8x.c:36:20: error: ticonv.h: No such file or directory
files8x.c: In function ‘ti8x_file_read_regular’:
files8x.c:213: warning: implicit declaration of function ‘ticonv_varname_from_tifile_s’
files8x.c: In function ‘ti8x_file_write_regular’:
files8x.c:645: warning: implicit declaration of function ‘ticonv_varname_to_tifile_s’
files8x.c: In function ‘ti8x_content_display_regular’:
files8x.c:896: warning: implicit declaration of function ‘ticonv_varname_to_utf8_s’
make[2]: *** [libtifiles2_la-files8x.lo] Error 1
make[2]: Leaving directory `/media/Home/tim/lpg/tilp/libtifiles/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/media/Home/tim/lpg/tilp/libtifiles'
make: *** [all] Error 2"
I made a new log, at the same link as before.
« Last Edit: November 04, 2010, 12:05:59 pm by Smitty »

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: connecting a Nspire to a Linux comp?
« Reply #18 on: November 04, 2010, 07:40:11 pm »
Moved to General calculator help section.

Offline Lionel Debroux

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2135
  • Rating: +290/-45
    • View Profile
    • TI-Chess Team
Re: connecting a Nspire to a Linux comp?
« Reply #19 on: November 06, 2010, 04:42:29 am »
Smitty: well, the script has been reported multiple times to work on Ubuntu 10.04 :)
The key to the build script working, if you let the script's default of PREFIX being $HOME (i.e. per-user installation), is proper value of the PKG_CONFIG_PATH and LD_LIBRARY_PATH environment variables. In such a case, in your ~/.bashrc, you'll have to add the following lines such as
export LD_LIBRARY_PATH=$HOME/lib:$LD_LIBRARY_PATH
export PKG_CONFIG_PATH=$HOME/lib/pkgconfig:$PKG_CONFIG_PATH
and run `source ~/.bashrc`.

You can also modify the PREFIX to replace $HOME by /usr, in which case you will have to execute install_tilp.sh with sudo, and you won't have to modify LD_LIBRARY_PATH and PKG_CONFIG_PATH.

As usual, don't hesitate to report back ;)
Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TILP and TIEmu.
Co-admin of TI-Planet.