Omnimaga

Calculator Community => TI Calculators => General Calculator Help => Topic started by: Smitty on September 08, 2013, 10:52:15 am

Title: Problem compiling TILP (SOLVED)
Post by: Smitty on September 08, 2013, 10:52:15 am
Hello again, everybody! Don't think I've posted here in a few years. All that time and I've still never gotten TILP working..
I was trying it again today, after discovering that 1.16 wouldn't properly connect to my NSpire (not really sure if this a problem with TILP itself or not, says file transfer with NSpire should work in that version) I decided I'd try their auto-build script for 1.17, as per instructions here (http://ourl.ca/12289). It runs for a good while, and then stops with this error message:
Code: [Select]
checking for ARCHIVE... no
configure: error: Package requirements (libarchive) were not met:

No package 'libarchive' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables ARCHIVE_CFLAGS
and ARCHIVE_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
I'm running Ubuntu 13.04, and I do have libarchive13 installed, which is the only version in the repo's. Do I need a package simply named libarchive, or is there a way to set a variable to use libarchive13 instead? I'm not really sure how to use environment variables, so if that's the answer, instructions would be appreciated.  ;D
Title: Re: Problem compiling TILP
Post by: Lionel Debroux on September 08, 2013, 11:02:57 am
The instructions in that topic are outdated, that's all :)
The message duly displayed by the script at its very beginning is, however, correct:

Before proceeding further, make sure that you're ready to go (look inside the install script):
1) configured PREFIX and SRCDIR the way you wish
   (as well as CC and CXX if you're into using non-GCC compilers);
2a) if you're using 64-bit Fedora (or any distro which installs libraries to non-standard paths), added --libdir=/usr/lib64 to the marked line, or...
2b) configured PKG_CONFIG_PATH if necessary
3) installed the build dependencies listed in the script. Unless you're on Debian and derivatives, use libusb 1.0.
        For instance, on Debian and derivatives, you would run:
        (sudo) apt-get install git autoconf automake libtool libglib2.0-dev zlib1g-dev libusb-dev libgtk2.0-dev libglade2-dev libsdl1.2-dev gettext bison flex groff texinfo xdg-utils libarchive-dev intltool
Otherwise, the build will fail!.
ENTER to proceed, CTRL + C to abort.


Just install libarchive-dev and intltool :)
Title: Re: Problem compiling TILP
Post by: Smitty on September 08, 2013, 11:05:49 am
Ah, I wrongly assumed that both lists were the same. Thanks for the tip, compiling now. :)

Edit: It works perfectly! Can't wait to try out everybody's programs.  ;D Maybe I'll get to writing my own someday.