1

I have installed GCC4TI, latest version, in /opt/gcc4ti, using the Lionel'script, modifying the path in it before installing.
I use a Debian Lenny 32 bits up-to-date.
I have qt3-assistant, official package.

When I browse files and click on the script, nothing happens.
I have put a shortcut to the script in the KMenu, and a keyboard shortcut, nothing happens.
I have to run a terminal emu and to type "gcc4tidoc" to run the doc in qt-assistant.
Why can't I load it from Konqueror or with a kbd shortcut ?

2

This happens because the KDE environment doesn't know about the value of the $TIGCC environment variable, which you defined in ~/.bashrc.
You can see it in ~/.xsession-errors (stdout/stderr for graphical applications if they don't execute in a terminal):
File does not exist: /doc/html/qt-assistant.adp
Profile '/doc/html/qt-assistant.adp' does not exist!gcc4tidoc: error: QT Assistant 3.2 required


One of the fixes (it's not the only one) is to, in the gcc4tidoc script, replace $TIGCC by its actual value (/opt/gcc4ti for you) defined in ~/.bashrc.
Another thing that might change the behaviour, if /bin/sh is not bash, is replacing #!/bin/sh by #!/bin/bash.
avatar
Membre de la TI-Chess Team.
Co-mainteneur de GCC4TI (documentation en ligne de GCC4TI), TIEmu et TILP.
Co-admin de TI-Planet.

3

Okay, thanks for your help, it works now. smile

4

I guess your login shell is not bash? Otherwise setting $TIGCC in .bashrc should just work.

And by the way, GCC4TI should be changed to use $GCC4TI, not $TIGCC.
avatar
Mes news pour calculatrices TI: Ti-Gen
Mes projets PC pour calculatrices TI: TIGCC, CalcForge (CalcForgeLP, Emu-TIGCC)
Mes chans IRC: #tigcc et #inspired sur irc.freequest.net (UTF-8)

Liberté, Égalité, Fraternité