I found out that using GNU make instead of Sun make takes care of the
problems.
Serves me right!
best, grisa
Grisa Mocnik wrote:
Hi!
On a SPARC Solaris 8 machine I encountered problems in the intl
directory when building fetchmail6.2.1. I checked the FAQ and found out
the --disable-nls option but this did not solve my problem.
% gcc -v
Reading specs from
/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.2/specs
gcc version 2.95.2 19991024 (release)
% ./configure --disable-nls CC=gcc
I attach the configure and make outputs.
Any input from your side will be GREATLY appreciated!
thanx, grisa
% gcc -v
Reading specs from
/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.2/specs
gcc version 2.95.2 19991024 (release)
% ./configure --disable-nls CC=gcc
checking for a BSD-compatible install... ./install-sh -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets ${MAKE}... yes
checking build system type... sparc-sun-solaris2.8
checking host system type... sparc-sun-solaris2.8
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
[skipped]
...
config.status: creating po/Makefile
config.status: executing default commands
You can ignore any makedepend error messages:
% make
expect conflicts: 2 shift/reduce
yacc -d ./rcfile_y.y
conflicts: 2 shift/reduce
mv y.tab.c rcfile_y.c
mv -f y.tab.h rcfile_y.h
gcc -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/local/share/locale\" -c -I. -I.
-I./intl -I./intl -O
rcfile_y.c
flex ./rcfile_l.l
sed <lex.yy.c >rcfile_l.c -e "/lex\\.yy\\.c/s//rcfile_l.c/"
rm -f lex.yy.c
gcc -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/local/share/locale\" -c -I. -I.
-I./intl -I./intl -O
rcfile_l.c
gcc -DHAVE_CONFIG_H
...
gcc -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/local/share/locale\" -c -I. -I.
-I./intl -I./intl -O
getopt1.c
cd intl; make
make: Fatal error in reader: Makefile, line 210: Badly formed macro
assignment
Current working directory
/export/home/rt/work/grisa/fetchmail-6.2.1/intl
*** Error code 1
make: Fatal error: Command failed for target `(_at_)INTLDEPS@'
--
Grisa Mocnik +386 1 4787261 voice
Environmental Agency of RS +386 1 4787295 fax
Ministry of Environment and Spat. Plan.
Dunajska 47 / VII
SI-1000 Ljubljana
SLOVENIA / Europe grisa(_dot_)mocnik(_at_)gov(_dot_)si