question with compiling a gnu pkg

From: Rick Y (msg_2222@yahoo.com)
Date: Tue Apr 22 2003 - 11:03:25 EDT


Host1% gcc -v
Reading specs from
/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.2/specs
Configured with: ../configure
--with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld
--disable-nls
Thread model: posix
gcc version 3.2

Host1% pwd
/opt/rcs-5.7
Host1% ls
ChangeLog configure.in INSTALL.RCS NEWS
     src
config.cache COPYING Makefile rcs.ms
config.log CREDITS Makefile.in
rcs_func.ms
config.status INSTALL man README
configure install-sh mkinstalldirs REFS

Host1% ./configure --prefix=/usr/gnu
loading cache ./config.cache
checking diff basename... (cached) diff
checking for diff... (cached) /usr/local/bin/diff
checking diff success status... (cached) 0
checking diff failure status... (cached) 1
checking diff trouble status... (cached) 2
checking diff options for RCS... (cached) -an
checking diff -L... (cached) yes
checking diff3 -m... (cached) yes
checking for diff3... (cached) /usr/local/bin/diff3
checking for ed... (cached) /usr/bin/ed
checking for sendmail... (cached) /usr/lib/sendmail
checking for pic... no
checking for gpic... no
checking for pic... no
checking for pic... no
checking for gcc... (cached) gcc
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for a BSD compatible install... (cached)
./install-sh -c
checking whether make sets ${MAKE}... (cached) yes
creating ./config.status
creating Makefile
creating man/Makefile
creating src/Makefile

Host1% make CFLAGS="-pipe -O" LDFLAGS=-s
cd man && make all
make[1]: Entering directory `/opt/rcs-5.7/man'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/opt/rcs-5.7/man'
cd src && make all
make[1]: Entering directory `/opt/rcs-5.7/src'
rm -f a.*
ALL_CFLAGS=' -Dhas_conf_h -I. -I. -pipe -O' \
CC='gcc' \
COMPAT2='0' \
DIFF3='/usr/local/bin/diff3' DIFF3_BIN='1' \
DIFF='/usr/local/bin/diff' DIFFFLAGS='-an' DIFF_L='1'
\
DIFF_SUCCESS='0' \
DIFF_FAILURE='1' \
DIFF_TROUBLE='2' \
ED='/usr/bin/ed' \
LDFLAGS='-s' LIBS='' \
RCSPREFIX='/usr/gnu/bin/' \
SENDMAIL='"/usr/lib/sendmail"' \
/bin/sh -x ./conf.sh 3>&1 >a.h 2>conf.err
./conf.sh: testing permissions ... OK
./conf.sh: testing compiler for plausibility ...
./conf.sh: The command 'gcc -Dhas_conf_h -I. -I.
-pipe -O -s -o a.out a.c ' failed on a trivial
program.
make[1]: *** [conf.h] Error 1
make[1]: Leaving directory `/opt/rcs-5.7/src'
make: *** [all] Error 2
Host1% exit
The New Yahoo! Search - Faster. Easier. Bingo
http://search.yahoo.com
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:26:14 EDT