Whenever I run the install_tilp script it gives me this error:


/bin/sh: line 3: syntax error near unexpected token `('
/bin/sh: line 3: `int main(int argc, char * argv[]) {'
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../lib/Scrt1.o: in function `_start':
(.text+0x24): undefined reference to `main'
collect2: error: ld returned 1 exit status

any ideas?
Tilp is directly in the aur as aur/tilp. Not sure why you would want to run the install script ? Anyway, it seems it fails to compile for whatever reason.
TheMachine02 wrote:
Tilp is directly in the aur as aur/tilp. Not sure why you would want to run the install script ? Anyway, it seems it fails to compile for whatever reason.


But the aur package gives me this error:

==> ERROR: Could not resolve all dependencies.
:: Packages failed to build: libticables-1.3.5-2 libticonv-1.1.5-1 libtifiles-1.1.7-1 libticalcs-1.1.9-1 tilp-1.18-1
reesericci wrote:
TheMachine02 wrote:
Tilp is directly in the aur as aur/tilp. Not sure why you would want to run the install script ? Anyway, it seems it fails to compile for whatever reason.


But the aur package gives me this error:

==> ERROR: Could not resolve all dependencies.
:: Packages failed to build: libticables-1.3.5-2 libticonv-1.1.5-1 libtifiles-1.1.7-1 libticalcs-1.1.9-1 tilp-1.18-1

You need to seperately install libticables, libticonv, etc.
An easier way would be to install the yay aur helper:
git clone https://aur.archlinux.org/yay.git
cd yay
makepkg -si
Then just type:
yay -S tilp
It should automatically clone and compile the missing dependencies.
bailwillharr wrote:
reesericci wrote:
TheMachine02 wrote:
Tilp is directly in the aur as aur/tilp. Not sure why you would want to run the install script ? Anyway, it seems it fails to compile for whatever reason.


But the aur package gives me this error:

==> ERROR: Could not resolve all dependencies.
:: Packages failed to build: libticables-1.3.5-2 libticonv-1.1.5-1 libtifiles-1.1.7-1 libticalcs-1.1.9-1 tilp-1.18-1

You need to seperately install libticables, libticonv, etc.
An easier way would be to install the yay aur helper:
git clone https://aur.archlinux.org/yay.git
cd yay
makepkg -si
Then just type:
yay -S tilp
It should automatically clone and compile the missing dependencies.


Of course I use yay
TheMachine02 wrote:
Tilp is directly in the aur as aur/tilp. Not sure why you would want to run the install script ?

For instance, compiling an up to date version ? The TILP II 1.18 release and associated libti* versions are pretty outdated by now. Yes, it's my fault.

reesericci: a shell or C compile failure on "int main(int argc, char * argv[]) {" is very unusual and unexpected Smile

How are you running install_tilp.sh ? It contains a shebang, as all well-behaved shell scripts do, so it can be run by:
* ./install_tilp.sh from the same directory, a relative path or an absolute path, after using chmod +x on the file;
* bash install_tilp.sh, again with -
Put another way, do not use commands of the `sh install_tilp.sh` form. Your sh might not be bash - it isn't on Debian, for instance.
bailwillharr wrote:

An easier way would be to install the yay aur helper:
git clone https://aur.archlinux.org/yay.git
cd yay
makepkg -si
Then just type:
yay -S tilp
It should automatically clone and compile the missing dependencies.


Yay is deprecated. Do not use or recommend the usage of yay. Instead, install paru, the official successor to yay made by the same developers as yay.


Code:

yay -R yay
sudo pacman -S --needed base-devel
git clone https://aur.archlinux.org/paru.git
cd paru
makepkg -si
paru -S tilp

It should automatically build tilp and any dependencies.
At the very least, don't use tilp, use tilp-git, since the AUR has such a package. But the correct thing to do is to use the official install script for libti*/gfm/tilp.
Lionel Debroux wrote:
At the very least, don't use tilp, use tilp-git, since the AUR has such a package. But the correct thing to do is to use the official install script for libti*/gfm/tilp.
You mean install_tilp.sh from the Tilp website? If so, I was getting errors when using it. See 1st post in this thread.
Sure, I mean https://ti-pla.net/tilpinst . I replied above, but you didn't yet provide the information I needed to try and understand what's going on, which, of course, may simply be caused by the fact that you hadn't seen my reply or haven't yet had time to reply Smile
TheDarkBomber wrote:
bailwillharr wrote:

An easier way would be to install the yay aur helper:
git clone https://aur.archlinux.org/yay.git
cd yay
makepkg -si
Then just type:
yay -S tilp
It should automatically clone and compile the missing dependencies.


Yay is deprecated. Do not use or recommend the usage of yay. Instead, install paru, the official successor to yay made by the same developers as yay.


Code:

yay -R yay
sudo pacman -S --needed base-devel
git clone https://aur.archlinux.org/paru.git
cd paru
makepkg -si
paru -S tilp

It should automatically build tilp and any dependencies.

I use paru, but I reference yay because thats what people know
Is there an AppImage for tilp? My AUR broke recently...
You can install from git: https://github.com/debrouxl/tilp_and_gfm
And the install script is https://ti-pla.net/tilpinst .
  
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