public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Re: Error during make bootstrap (gcc-4.1.1)
@ 2006-07-17 15:59 Asher Langton
  2006-07-18 14:26 ` Santosh Sugur
  0 siblings, 1 reply; 9+ messages in thread
From: Asher Langton @ 2006-07-17 15:59 UTC (permalink / raw)
  To: santosh.sugur; +Cc: gcc-help

>Thanks a lot. It went beyond the last error after I used gmake. It ran
>for a couple of hours and then quit with the following error:
>
>
>/u1/santosh/cfiles/GCC_installs/gcc-4.1.1/gcc-4.1.1/libjava/classpath/configure:
>syntax error at line 11740: `QT_INCLUDE_DIR=$' unexpected
>configure: error: /bin/sh
>'/u1/santosh/cfiles/GCC_installs/gcc-4.1.1/gcc-4.1.1/libjava/classpath/configure'
>failed for classpath

Are you using Sun's /bin/sh?  This is known to fail:

http://gcc.gnu.org/install/specific.html#x-x-solaris2

^ permalink raw reply	[flat|nested] 9+ messages in thread
* Re: Error during make bootstrap (gcc-4.1.1)
@ 2006-07-17  7:58 Santosh Sugur
  0 siblings, 0 replies; 9+ messages in thread
From: Santosh Sugur @ 2006-07-17  7:58 UTC (permalink / raw)
  To: gcc-help

Brian,

Thanks a lot. It went beyond the last error after I used gmake. It ran
for a couple of hours and then quit with the following error:

/u1/santosh/cfiles/GCC_installs/gcc-4.1.1/gcc-4.1.1/libjava/classpath/configure:
syntax error at line 11740: `QT_INCLUDE_DIR=$' unexpected
configure: error: /bin/sh
'/u1/santosh/cfiles/GCC_installs/gcc-4.1.1/gcc-4.1.1/libjava/classpath/configure'
failed for classpath
gmake[2]: *** [configure-target-libjava] Error 1
gmake[2]: Leaving directory `/u1/santosh/gcc_obj'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/u1/santosh/gcc_obj'
gmake: *** [bootstrap-lean] Error 2

I have pasted below the line it is failing on

    if test "x$HAVE_QT4" = "xyes"; then
                  QT_INCLUDE_DIR=$($PKG_CONFIG --variable=includedir QtGui)
      EXTRA_QT_INCLUDE_DIR="$QT_INCLUDE_DIR/Qt"
      as_ac_File=`echo "ac_cv_file_$QT_INCLUDE_DIR/QWidget" | $as_tr_sh`
..
..
..

Thanks,
S

^ permalink raw reply	[flat|nested] 9+ messages in thread
* Error during make bootstrap (gcc-4.1.1)
@ 2006-07-14 18:07 Santosh Sugur
  2006-07-14 21:44 ` Brian Dessent
  0 siblings, 1 reply; 9+ messages in thread
From: Santosh Sugur @ 2006-07-14 18:07 UTC (permalink / raw)
  To: gcc-help

Hello Folks,

I am trying to build and install gcc for the first time. I could
configure properly without any errors. I just give the following
option while configuring.
$pwd
/u1/santosh/gcc_obj

$/u1/santosh/cfiles/GCC_installs/gcc-4.1.1/gcc-4.1.1/configure
--prefix=/usr/local/gnu/gcc/
creating cache ./config.cache
checking host system type... sparc-sun-solaris2.10
..
..

Running make bootstrap-lean exists with the following error:

configure: creating ./config.status
config.status: creating Makefile
config.status: creating mkheaders.almost
config.status: creating config.h
make: Fatal error in reader: Makefile, line 51: Unexpected end of line seen
Current working directory
/u1/santosh/gcc_obj/build-sparc-sun-solaris2.10/fixincludes
*** Error code 1
The following command caused the error:
r=`${PWDCMD-pwd}`; export r; \
s=`cd /u1/santosh/cfiles/GCC_installs/gcc- 4.1.1/gcc-4.1.1;
${PWDCMD-pwd}`; export s; \
FLEX="/u1/santosh/cfiles/GCC_installs/gcc-4.1.1/gcc-4.1.1/missing
flex"; export FLEX;  LEX="lex"; export LEX;
BISON="/u1/santosh/cfiles/GCC_installs/gcc- 4.1.1/gcc-4.1.1/missing
bison"; export BISON;  YACC="yacc"; export YACC;  M4="m4"; export M4;
MAKEINFO="/u1/santosh/cfiles/GCC_installs/gcc-4.1.1/gcc-4.1.1/missing
makeinfo"; export MAKEINFO;  AR=""; export AR;  AS=""; export AS;
CC="cc"; export CC;  CFLAGS="-g"; export CFLAGS;
CONFIG_SHELL="/bin/sh"; export CONFIG_SHELL;  CXX="c++"; export CXX;
CXXFLAGS=""; export CXXFLAGS;  GCJ=""; export GCJ;  GFORTRAN="";
export GFORTRAN;  DLLTOOL=""; export DLLTOOL;  LD=""; export LD;
LDFLAGS=""; export LDFLAGS;  NM=""; export NM;  RANLIB=""; export
RANLIB;  WINDRES=""; export WINDRES; \
(cd build-sparc-sun-solaris2.10/fixincludes && \
  make   all)
make: Fatal error: Command failed for target `all-build-fixincludes'

$echo $PATH
/usr/bin:/usr/sbin:/usr/local/bin:/usr/ccs/bin:/var/SUNWspro/WS6U2/bin

my machine is:
SunOS 5.10 Generic_118822-19 sun4u sparc SUNW,UltraSPARC-IIi-cEngine


I have searched the mailing list and couldn't get an answer, also
looked in whatever documentation i could find. Please pull me out of
this.

TIA,
S

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2006-07-20 16:37 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-07-17 15:59 Error during make bootstrap (gcc-4.1.1) Asher Langton
2006-07-18 14:26 ` Santosh Sugur
2006-07-18 16:13   ` Asher Langton
2006-07-18 16:44     ` Santosh Sugur
2006-07-20  8:16       ` Santosh Sugur
2006-07-20 16:37         ` Asher Langton
  -- strict thread matches above, loose matches on Subject: below --
2006-07-17  7:58 Santosh Sugur
2006-07-14 18:07 Santosh Sugur
2006-07-14 21:44 ` Brian Dessent

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).