Tiny Core Linux
Tiny Core Extensions => TCE Q&A Forum => Topic started by: Encyder on February 16, 2022, 06:14:00 PM
-
Hello,
Need help installing tac_plus. I’ve tried to create a TCZ file from an RPM and DEB file, it always said it successfully installed but wouldn’t work.
I think this would be a great extension for the community. Any help would be greatly appreciated.
-
Hi Encyder
Welcome to the forum.
... I’ve tried to create a TCZ file from an RPM and DEB file, ...
What steps did you perform to do this? We are not mind readers.
... it always said it successfully installed but wouldn’t work. ...
That's not enough information to determine what is wrong.
If I told you my computer doesn't work, could you tell me why? ::)
-
Hey Rich, thanks for your reply.
I’m using TinyCore version 10.1.
Steps I no doubt erroneously performed:
• Downloaded tac_plus_x86_64.rpm
o Not sure if I need a .deb or can use a .rpm – had trouble finding intel version of .deb
• rpm2cpio <tac_plus_x86_64.rpm> | cpio -id
o created the folder structure of files inside folder tac_plus/
• mksquashfs tac_plus/ tac_plus.tcz
o created tac_plus.tcz
• tce-load -i tac_plus.tcz
o it says Ok, and if I run again it says its already installed but when I try to run it, I receive line 2 syntax error.
o I’m not sure if I’m using an incompatible RPM/DEB or if it’s a problem with a different step.
Appreciate the help.
-
Tiny Core doesn't use library path "lib64"
So if you convert any package from other distros directly, there's a great chance it won't work.
It's better to recompile from source
-
In addition, the deb/rpm probably doesn’t contain any required dependencies.
-
Thanks. I tried to recompile from source:
It successfully configures. Now I run 'make' and receive:
tac_plus.c:35:11: fatal error: tcpd.h: no such file or directory
include <tcpd.h>
compilation terminated.
I ran which tcpd and it says /usr/local/sbin/tcpd
I ran ls -lr /usr/local/sbin/tcpd -> /tmp/tcloop/tcp_wrappers/usr/local/sbin/tcpd
Any thoughts? Thanks
-
Hi Encyder
Install tcp_wrappers-dev.tcz:
tce-load -wi tcp_wrappers-dev
-
Thanks! I only had tcp_wrappers. After installing tcp_wrappers_dev, make worked. I'll see if I can successfully finish the process and report back.
-
Hi Encyder
The tcp_wrappers-dev package is only required for compiling. It is not needed when running the program. It's not
unusual for -dev.tcz packages to be required when compiling programs.