coreutils-8.12

GNU Core Utilities jest pakietem podstawowych narzędzi manipulacji plikami, powłoką i tekstem dla systemów operacyjnych GNU. W Solarisie też się przydają.

Zapis sesji konfiguracji i kompilacji poniżej, skrypt w załączniku.


soft@wega:~/coreutils% wget http://ftp.gnu.org/gnu/coreutils/coreutils-8.12.tar.gz
...
soft@wega:~/coreutils% gtar -xf coreutils-8.12.tar.gz
soft@wega:~/coreutils% cp -p drf_coreutils-7.4_conf drf_coreutils-8.12_conf
soft@wega:~/coreutils% vi drf_coreutils-8.12_conf

Konfiguracja:


soft@wega:~/coreutils% ./drf_coreutils-8.12_conf 
cc: Sun C 5.10 SunOS_sparc 2009/06/03
usage: cc [ options] files.  Use 'cc -flags' for details
MANPATH=/usr/local/share/man:/usr/local/man:/usr/share/man
PATH=/usr/local/bin:/usr/bin:/opt/SUNWspro/bin:/usr/ccs/bin
CFLAGS=-fast
CPPFLAGS=-I/usr/local/include
CXXFLAGS=-fast
LDFLAGS=-L/usr/local/lib -R/usr/local/lib
=============================================
gmake clean [y|n] ?
n
=============================================
configure [y|n] ?
y
checking for a BSD-compatible install... build-aux/install-sh -c
checking whether build environment is sane... yes
...
config.status: executing depfiles commands
config.status: executing po-directories commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
=============================================

Kompilacja:


gmake [y|n] ?
y
gmake  all-recursive
gmake[1]: Entering directory `/home/soft/coreutils/coreutils-8.12'
Making all in lib
gmake[2]: Entering directory `/home/soft/coreutils/coreutils-8.12/lib'
...
gmake[2]: Leaving directory `/home/soft/coreutils/coreutils-8.12'
gmake[1]: Leaving directory `/home/soft/coreutils/coreutils-8.12'
Compilation successful
=============================================

Testowanie:


Test (gmake test || gmake check) [y|n] ?
y
gmake: *** No rule to make target `test'.  Stop.
gmake  check-recursive
gmake[1]: Entering directory `/home/soft/coreutils/coreutils-8.12'
Making check in lib
...
FAIL: cp/fail-perm
...
======================================
1 of 371 tests failed
(82 tests were not run)
See tests/test-suite.log
...

Jeden test kończy się z błędem, w poprzednich wersjach również ten błąd występował + inne. Nie znalazłem nic ciekawego w sieci na ten temat. Instalacja gmake install po przełączeniu na roota.


# /usr/local/bin/ls --version
ls (GNU coreutils) 8.12
# /usr/local/bin/cp --version
cp (GNU coreutils) 8.12
# /usr/local/bin/whoami --version
whoami (GNU coreutils) 8.12
...

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.