debrouxl / tilp_and_gfm

TILP (formerly GtkTiLink) can transfer data between Texas Instruments graphing calculators and a computer. It works with all link cables (parallel, serial, Black/Gray/Silver/Direct Link) and it supports the TI-Z80 series (73..86), the TI-eZ80 series (83PCE, 84+CE), the TI-68k series (89, 92, 92+, V200, 89T) and the Nspire series (Nspire Clickpad / Touchpad / CX, both CAS and non-CAS)
http://lpg.ticalc.org/prj_tilp
115 stars 17 forks source link

macos setup and instructions for future googlers #25

Open AlJohri opened 5 years ago

AlJohri commented 5 years ago

just wanted to say thanks!!

I was having trouble installing apps on my ti-89 with TI-Connect on macos. Turns out TI-CONNECT was using the wrong PATH to download the apps/updates and I thought it was failing to transfer.

It kept downloading:

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL /educationportal/downloadcenter/DownloadAction.do was not found on this server.</p>
</body></html>

FWIW, the latest macos ti-connect on the TI website does not work. Based on this reddit thread you need to use this version: https://education.ti.com/ticonnect/ticonnectmac41


Anyway, here were my instructions for getting tilp working on the latest macOS. Some of these options may be redundant:

(Original Source: https://tiplanet.org/forum/viewtopic.php?f=2&t=17297)

cd ~

curl -sSL "https://raw.githubusercontent.com/debrouxl/tilp_and_gfm/master/tilp/trunk/build/scripts/install_tilp.sh" > install_tilp.sh

brew install perl gettext libarchive autoconf automake libtool glib lzlib \
             libusb gtk+ libglade sdl bison flex texinfo libiconv intltool

# can't get around this step easily despite adding to PATH. might need to screw around with `LIBDIR` (`--libdir` passed to each `./configure` script)
brew link gettext --force

cpan XML::Parser

PATH="/usr/local/opt/gettext/bin:$PATH" \
PKG_CONFIG_PATH="/usr/local/lib/pkgconfig:/usr/local/lib:/usr/local/opt/libffi/lib/pkgconfig" \
LDFLAGS="-L/usr/local/opt/gettext/lib -L/usr/local/opt/libarchive/lib -L/usr/local/opt/libffi/lib" \
CPPFLAGS="-I/usr/local/opt/gettext/include -I/usr/local/opt/libarchive/include" \
PREFIX="$HOME/local" \
    ./install_tilp.sh

brew unlink gettext

To run:

sudo ~/local/bin/tilp

Download Applications from TI website: 89statisticswithlisteditor, 89calculustools

Navigate to folder on the right where you downloaded the apps, hit refresh, and then just drag the apps onto the left. 🎉