You are not logged in.
Pages: 1
I have recently moved from Arch to Slitaz to give it a try. Great job on the OS!
My problem is this: I use quite a few GNU/Linux utilities that busybox is not compatible with. IE: Grep. I have to have the real version of it.
So i tried to compile it when I realized that the build environment in Slitaz is a custom one not compatible with building grep.
How do I get regular grep installed? How do I compile custom software with this custom GCC in Slitaz? Do i need to replace gcc, make, etc with the real GNU counterparts? Or is this something that Slitaz has purposely done to make it impossible to compile custom software in Slitaz and force us to use the package manager?
Please advise. thank you!
Offline
GNU grep: [c]tazpkg -gi grep[/c]
Most of GNU tools are packaged ie. findutils includes find,locate,etc.
Packages of util-linux contain some gnu-utils are named: util-linux-*
util-linux is a metapackage which contains no files on repo but when cooked a.k.a. builds all of them.
The sub-packages pull from the build of util-linux
Compile software 32bit i486 requires: [c]tazpkg -gi slitaz-toolchain[/c]
Offline
Thank you. I cannot compile 'all gnu utilities' with 'cook util-linux' as you suggested before you edited your post.
root@kepler:~$ tazpkg -gi slitaz-toolchain
slitaz-toolchain-5.0 package is already installed.
You can use the --forced option to force installation.
root@kepler:~$ cook util-linux
Unable to find package in the wok: util-linux
Is that what I need to be able to compile software correctly? Or is that how to replace the busybox commands with the real GNU counterparts? ie sed, grep etc..
Offline
After installing some gnu utilities, I'm getting a constant error on all shell script that used cat:
/etc/init.d/bootopts.sh: line 195: cat not found
/etc/init.d/system.sh. line 27: cat not found
tazpkg and other programs display the same error and don't function properly.
I think the package I recently installed was: coreutils-file-output-full
Offline
I installed coreutils-file-output-full which replaced /bin/cat -> /bin/busybox symlink with gnu version of cat
No problems here with any boot scripts or tazpkg.
Maybe cat didn't install and /bin/cat symlink was deleted so you have no cat at all.
Boot slitaz live cd, mount your install.
cd to <mountpoint>/bin as root
[c]ln -s busybox cat[/c]
Offline
Mojo:
Thanks for your prompt answer. Yes, that seems to be the problem. I tried again and this time it works fine. I could not duplicate the problem because I used this time the last rolling, but I will say that the problem initially was that cat didn't get installed for some reason like you said.
Offline
Using rolling 14-09-2014
I'm trying to install GNU coreutils and this is what I found when installing coreutils-disk:
Downloading, I get the message: "Installing coreutils-disk: failed"
But at the end it says that the package was installed.
On reboot I didn't get any error message. But I check using; tazpkg info coreutils-disk
I got the folllowing message:
sed: -e expression #1, char 109: unterminated address regex
repeated 5 time.
reboot and everything seems to work fine.
Then, I installed coreutils-file-attributes.
I got the same message as before when installing.
I check with tazpkg info and I got the same nessage;
sed: -e expression #1, char 109: unterminated address regex
repeated 5 times.
Reboot and this time there was an error message at booting:
" Cleaning up system .../etc/init.d/RCs: line 230: chmod not found [ failed ]"
But this time the packages menu didn't respond, the Documents icon didn't show up and the background color was different.
I removed the coreutils-file-atributes using tazpkg remove and answered yes to both questions.
On reboot; no error message and the system works fine.
I repeat these operations from the begining 3 times having the same results.
Previous gnu coreutils downloaded with no error and didn't show any wrong behavior on the system.
Before I tried to download the package just "coreutils" of the gnu utilties, but the download stop halfway.
I thought that maybe there was a limitation on the numbers of downloaded packages and that's why I tried first to do several at a time and now finally one at the time to ping point where the problem was.
Offline
@tony
tux@slitaz:~ $ sudo tazpkg -gi coreutils-disk
Connecting to mirror.switch.ch (130.59.10.36:80)
coreutils-disk-8.12. 100% |*******************************| 69384 0:00:00 ETA
Installation of: coreutils-disk
================================================================================
Copying coreutils-disk... [ Done ]
Extracting coreutils-disk... [ Done ]
Processing pre-install commands...
Removing all Busybox replaced utils... [ Done ]
Installing coreutils-disk... [ Done ]
Removing all tmp files... [ Done ]
================================================================================
coreutils-disk (8.12) is installed.
tux@slitaz:~ $ sudo tazpkg info coreutils-disk
TazPKG information
================================================================================
Package : coreutils-disk
Version : 8.12
Category : system-tools
Short desc : GNU utilities that work with disks.
Maintainer : rcx@zoominternet.net
License : GPL3
Depends : glibc-base
Wanted src : coreutils
Web site : http://www.gnu.org/software/coreutils/
================================================================================
tux@slitaz:~ $ sudo tazpkg -gi coreutils-file-attributes
Connecting to mirror.switch.ch (130.59.10.36:80)
coreutils-file-attri 100% |*******************************| 45444 0:00:00 ETA
Installation of: coreutils-file-attributes
================================================================================
Copying coreutils-file-attributes... [ Done ]
Extracting coreutils-file-attributes... [ Done ]
Processing pre-install commands...
Removing all Busybox replaced utils... [ Done ]
Installing coreutils-file-attributes... [ Done ]
Removing all tmp files... [ Done ]
================================================================================
coreutils-file-attributes (8.12) is installed.
tux@slitaz:~ $ sudo tazpkg info coreutils-file-attributes
TazPKG information
================================================================================
Package : coreutils-file-attributes
Version : 8.12
Category : system-tools
Short desc : GNU utilities that change file attributes.
Maintainer : rcx@zoominternet.net
License : GPL3
Depends : glibc-base
Wanted src : coreutils
Web site : http://www.gnu.org/software/coreutils/
================================================================================
tux@slitaz:~ $
No errors on install,info,or reboot.
Maybe you should switch mirror to mirror.switch.ch
Offline
Thanks Mojo, very good advise. I was able to installed 19 of the 20 coreutils using mirror.switch.ch.
Just plain coreutils gave me some problem, because the cp command continue to be linked to busybox. On the third trail, it did it.(???)
The only package that I was never able to installed was coreutils-directory. It always displayed an error and the utilities were not installed. I tried severals mirrors, but with the same result. Basically it is ls and 3 more. I think I would do that manually without using tazpkg.
Thanks again.
Offline
Pages: 1
[ Generated in 0.016 seconds, 7 queries executed - Memory usage: 1.56 MiB (Peak: 1.77 MiB) ]