I was asked how to install TiLP on Ubuntu 14, so I made a shell script to perform the build and installation.

First download the source files (do not extract them):
http://sourceforge.net/projects/tilp/files/tilp2-linux/tilp2-1.17/tilp2-1.17.tar.bz2/download
http://www.ticalc.org/pub/unix/tilibs.tar.gz

Download the TiLP_install.sh shell script:
http://jonboinc.org/index.php/download_file/27/132/

Open a terminal window and cd into your download directory, then run the following commands:

Code:
chmod +x TiLP_install.sh
./TiLP_install.sh


You will be prompted for your password in order to install the necessary dependencies, and then the script will proceed to extract, configure, build, and install the necessary files.

After the script has completed restart your computer. You can run TiLP by with the command 'tilp' from the terminal, or from the Unity launcher.[/code]

UPDATE: I have tested the script on a fresh installation and have corrected several errors.
A shell script written by the TiLP authors already exists: http://ti-pla.net/tilp
Ivoah wrote:
A shell script written by the TiLP authors already exists: http://ti-pla.net/tilp


It was not working properly.
What was not working properly, exactly ? Wink
I can't help with so little information.

FYI, the official TILP site provides, a script for building the version straight out of Git: http://lpg.ticalc.org/prj_tilp/download/install_tilp.sh (latest version available from https://github.com/debrouxl/tilp_and_gfm/blob/experimental/tilp/trunk/build/scripts/install_tilp.sh ; ticalc.org FTP uploads have been broken for some time). That script is linked from the download page Wink
The version from Git has more features (better 84+CSE support, decent 83PCE and 84+CE support, etc.) and fewer bugs than TILP II 1.17 and the corresponding libs. Don't use the release version Smile

Your script is a decent first try which (seemingly) works, but less portable and polished than the official script:
* incomplete list of build dependencies (without the dev packages for glib and gtk+, it's weird that your own your script actually works);
* no handling of niceties such as specifying the installation prefix;
* no attempt to check the compilers or the writability of the install dir;
* limited portability due to the reliance on sudo;
* --enable-logging not passed to the libticables configure.

The official script is by no means perfect, though. For instance, it does not attempt to detect the distro type and automatically install build dependencies (it just lists said build dependencies), and it does not limit privilege escalation to the sole `make install` step.
Maybe we could join forces and integrate these to the official, cross-distro script ?
Well, I tried using 2 shell scripts. If the one that jonbush made doesn't work, I'll check out the other one. I kept having issues with missing libraries and tools not existing on my computer that should have.

Thanks so much jonbush for helping me out with this! Very Happy
Ekyl wrote:
Well, I tried using 2 shell scripts. If the one that jonbush made doesn't work, I'll check out the other one. I kept having issues with missing libraries and tools not existing on my computer that should have.

Thanks so much jonbush for helping me out with this! Very Happy


What distro are you using? For Debian (and derivatives such as Ubuntu) the official one that Lionel linked to shows exactly what packages you need to install. For other distros the names should be similar at least.
And for OS X, I made a list here: https://tiplanet.org/forum/viewtopic.php?t=17297&p=189670
(with other specific instructions)
Missing packages...
  
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
Page 1 of 1
» All times are UTC - 5 Hours
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

 

Advertisement