[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Problems/bugs in compiling grep-2.5 on Solaris 8
From: |
Andy Tsouladze |
Subject: |
Problems/bugs in compiling grep-2.5 on Solaris 8 |
Date: |
Mon, 29 Mar 2004 14:12:47 -0600 (CST) |
Hello,
I have found three problems while compiling GNU grep-2.5.
My environment:
---------------
Sparc Solaris 8, 64-bit, all tools are also 64-bit.
address@hidden:~# uname -a
SunOS sawww 5.8 Generic sun4u sparc SUNW,UltraSPARC-IIi-cEngine
address@hidden:~# gcc -v
Reading specs from
/usr/local/lib/gcc-lib/sparcv9-sun-solaris2.8/3.3.2/specs
Configured with: ../gcc-3.3.2/configure --disable-nls
--host=sparcv9-sun-solaris2.8 --with-libiconv-prefix=/usr/local
Thread model: posix
gcc version 3.3.2
address@hidden:~# which gettext
/usr/local/bin/gettext
address@hidden:~# gettext -V
gettext (GNU gettext-runtime) 0.13
Copyright (C) 1995-1997, 2000-2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
Written by Ulrich Drepper.
Problems:
---------
1. I tried to install GNU grep without NLS support:
./configure --disable-nls
make
This results in the error below. It seems that dfa.o file is compiled
using NLS regardless of `--disable-nls' flag.
gcc -g -O2 -R/usr/local/lib -o grep grep.o dfa.o kwset.o search.o
grepmat.o ../lib/libgreputils.a
Undefined first referenced
symbol in file
libintl_gettext dfa.o
ld: fatal: Symbol referencing errors. No output written to grep
collect2: ld returned 1 exit status
make[2]: *** [grep] Error 1
make[2]: Leaving directory `/opt/src/grep-2.5/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/src/grep-2.5'
make: *** [all] Error 2
---------------------------------------------------
2. Test programs are not executable.
./configure
make
make check
This results in the following errors:
make check-TESTS
make[2]: Entering directory `/opt/src/grep-2.5/tests'
/bin/bash: ./warning.sh: Permission denied
FAIL: warning.sh
/bin/bash: ./khadafy.sh: Permission denied
FAIL: khadafy.sh
/bin/bash: ./spencer1.sh: Permission denied
FAIL: spencer1.sh
/bin/bash: ./bre.sh: Permission denied
FAIL: bre.sh
/bin/bash: ./ere.sh: Permission denied
FAIL: ere.sh
/bin/bash: ./status.sh: Permission denied
FAIL: status.sh
/bin/bash: ./empty.sh: Permission denied
FAIL: empty.sh
/bin/bash: ./options.sh: Permission denied
FAIL: options.sh
PASS: backref.sh
PASS: file.sh
====================
8 of 10 tests failed
====================
ls -l tests/*.sh
-rwxr-xr-x 1 root root 874 Nov 19 2001 tests/backref.sh*
-rw-r--r-- 1 root root 216 Nov 19 2001 tests/bre.sh
-rw-r--r-- 1 root root 798 Nov 19 2001 tests/empty.sh
-rw-r--r-- 1 root root 216 Nov 19 2001 tests/ere.sh
-rwxr-xr-x 1 root root 1155 Nov 19 2001 tests/file.sh*
-rw-r--r-- 1 root root 368 Nov 19 2001 tests/khadafy.sh
-rw-r--r-- 1 root root 925 Nov 19 2001 tests/options.sh
-rw-r--r-- 1 root root 236 Nov 19 2001 tests/spencer1.sh
-rw-r--r-- 1 root root 229 Nov 19 2001 tests/spencer2.sh
-rw-r--r-- 1 root root 1262 Nov 19 2001 tests/status.sh
-rw-r--r-- 1 root root 331 Nov 19 2001 tests/warning.sh
-------------------------------------------------
3. One test fails
After changing permissions on tests/*.sh scripts (see above) and
re-running `make check', I get one failure:
Spencer bre test #16 failed
FAIL: bre.sh
------------------------------------------------
Dr Andy Tsouladze
Sr Unix SysAdmin
UAL Loyalty Services
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Problems/bugs in compiling grep-2.5 on Solaris 8,
Andy Tsouladze <=