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  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

* Re: Error during make bootstrap (gcc-4.1.1)
  2006-07-20  8:16       ` Santosh Sugur
@ 2006-07-20 16:37         ` Asher Langton
  0 siblings, 0 replies; 9+ messages in thread
From: Asher Langton @ 2006-07-20 16:37 UTC (permalink / raw)
  To: Santosh Sugur; +Cc: gcc-help

On 7/20/06, Santosh Sugur <santosh.sugur@gmail.com> wrote:
> If I am allowed one more question.. after the install when I compile
> 'hello.cpp' and try to run ./a.out, I get
> ld.so.1: a.out: fatal: libstdc++.so.6: open failed: No such file or directory
> Killed
>
> Now I added the path to the newly installed lib directory to
> LD_LIBRARY_PATH, and everything works fine. My ony question is that
> there is another gcc/g++ in /usr/sfw/bin (probably installed with the
> Solaris distribution), which works fine without any LD_LIBRARY_PATH
> setting, how come?

Your system should have a default library search path, telling it to
check standard places like /usr/lib, /usr/local/lib, etc. in some
specific order after it checks the locations specified in your
LD_LIBRARY_PATH.

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

* Re: Error during make bootstrap (gcc-4.1.1)
  2006-07-18 16:44     ` Santosh Sugur
@ 2006-07-20  8:16       ` Santosh Sugur
  2006-07-20 16:37         ` Asher Langton
  0 siblings, 1 reply; 9+ messages in thread
From: Santosh Sugur @ 2006-07-20  8:16 UTC (permalink / raw)
  To: Asher Langton; +Cc: gcc-help

On 7/18/06, Santosh Sugur <santosh.sugur@gmail.com> wrote:
> On 7/18/06, Asher Langton <langton2@llnl.gov> wrote:
> > On 7/18/06, Santosh Sugur <santosh.sugur@gmail.com> wrote:
> > > On 7/17/06, Asher Langton <langton2@llnl.gov> wrote:
> > > > >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
> > > >
> > >
> > >
> > > Thanks Asher. However the build still failed after setting
> > > CONFIG_SHELL=/usr/bin/ksh
> >
> > Did you also export CONFIG_SHELL?  Or, if you are using /bin/csh, you
> > might need to 'setenv CONFIG_SHELL /usr/bin/ksh'.
> >
> > Try starting from scratch (with a clean object directory), setting
> > CONFIG_SHELL and building with GNU make (gmake).  If that doesn't
> > work, post the error messages you are seeing.
> >
> > > One more question, I had gone through the host specific notes and had
> > > not applied them as all of them were for *-*-solaris2*. I am using
> > > SunOS 5.10. Was I wrong?
> >
> > From what I understand, SunOS and Solaris refer to the same system;
> > SunOS is the kernel, while Solaris is the distribution.  In your
> > earlier post, the log file line "checking host system type..."
> > identified the system as Solaris.  When in doubt, run the config.guess
> > script in the gcc source directory, and you'll get an idea of what
> > system GCC thinks you have.
> >
> > > Can the variable CONFIG_SHELL be set explicitly in some file because still
> > > /bin/sh is being used.
> >
> > See above.  It sounds like CONFIG_SHELL isn't being set.  In the shell
> > where you have set CONFIG_SHELL, type 'env'.  Does CONFIG_SHELL show
> > up in the listing?
> >
> >
> > -Asher
> >
>
> I am using bash shell. I did do an export and had also checked the
> value using env.
>
> [ssugur@mx5test ~/gcc_obj]$env
> ..
> ..
> PATH=/usr/sfw/bin:/usr/sfw/bin/:/usr/sfw/bin/gmake:/usr/bin:/usr/sbin:/usr/local/bin:/usr/ccs/bin:/var/SUNWspro/WS6U2/bin
> CONFIG_SHELL=/usr/bin/ksh
>
> This morning I had also cleaned up the object directory and ran gmake
> bootstrap-lean.
> After running for about 4 hours it quit with the same error as before:
>
> <snip>
> configure: configuring in classpath
> configure: running /bin/sh
> '/u1/santosh/cfiles/GCC_installs/gcc-4.1.1/gcc-4.1.1/libjava/classpath/configure'
> --prefix=/usr/local/gnu/gcc/  '--with-multisubdir=sparcv9'
> '--with-multisrctop=' '--cache-file=./config.cache'
> '--build=sparc-sun-solaris2.10' '--host=sparc-sun-solaris2.10'
> '--target=sparc-sun-solaris2.10' '--enable-multilib'
> '--prefix=/usr/local/gnu/gcc/' '--enable-languages=c,c++,java,objc'
> '--program-transform-name=s,y,y,'
> '--with-target-subdir=sparc-sun-solaris2.10'
> '--srcdir=/u1/santosh/cfiles/GCC_installs/gcc-4.1.1/gcc-4.1.1/libjava'
> 'CPPFLAGS=' 'build_alias=sparc-sun-solaris2.10'
> 'host_alias=sparc-sun-solaris2.10'
> 'target_alias=sparc-sun-solaris2.10' '--disable-load-library'
> '--disable-debug' '--enable-default-toolkit='
> '--with-vm-classes=/u1/santosh/cfiles/GCC_installs/gcc-4.1.1/gcc-4.1.1/libjava:/u1/santosh/gcc_obj/sparc-sun-solaris2.10/libjava'
> '--disable-core-jni' '--disable-examples' '--with-glibj=build'
> '--disable-gtk-peer' '--disable-qt-peer' '--enable-ltdl-convenience'
> '--with-auxdir=/u1/santosh/cfiles/GCC_installs/gcc-4.1.1/gcc-4.1.1'
> '-srcdir=/u1/santosh/cfiles/GCC_installs/gcc-4.1.1/gcc-4.1.1/libjava'
> --disable-load-library --disable-debug --enable-default-toolkit=
> --with-vm-classes=/u1/santosh/cfiles/GCC_installs/gcc-4.1.1/gcc-4.1.1/libjava:/u1/santosh/gcc_obj/sparc-sun-solaris2.10/sparcv9/libjava
> --disable-core-jni --disable-examples --with-glibj=build
> --disable-gtk-peer --disable-qt-peer
> --with-auxdir=/u1/santosh/cfiles/GCC_installs/gcc-4.1.1/gcc-4.1.1
> --cache-file=.././config.cache
> --srcdir=/u1/santosh/cfiles/GCC_installs/gcc-4.1.1/gcc-4.1.1/libjava/classpath
> /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
>
> <\snip>
>
> When I start I get the following:
>
> [ssugur@mx5test ~/gcc_obj]$gmake bootstrap-lean
> gmake[1]: Entering directory
> `/u1/santosh/gcc_obj/build-sparc-sun-solaris2.10/libiberty'
> gmake[2]: Entering directory
> `/u1/santosh/gcc_obj/build-sparc-sun-solaris2.10/libiberty/testsuite'
> gmake[2]: Nothing to be done for `all'.
> gmake[2]: Leaving directory
> `/u1/santosh/gcc_obj/build-sparc-sun-solaris2.10/libiberty/testsuite'
> gmake[1]: Leaving directory
> `/u1/santosh/gcc_obj/build-sparc-sun-solaris2.10/libiberty'
> gmake[1]: Entering directory
> `/u1/santosh/gcc_obj/build-sparc-sun-solaris2.10/fixincludes'
> gmake[1]: Nothing to be done for `all'.
> gmake[1]: Leaving directory
> `/u1/santosh/gcc_obj/build-sparc-sun-solaris2.10/fixincludes'
> gmake[1]: Entering directory `/u1/santosh/gcc_obj/intl'
> rm -f stamp-h1
> /bin/sh ./config.status config.h
>
> The last line shows it is again executing /bin/sh inspite of setting
> CONFIG_SHELL=/usr/bin/ksh
>
> Following is the output from uname and config.guess.
> [ssugur@mx5test ~/cfiles/GCC_installs/gcc-4.1.1/gcc-4.1.1]$./config.guess
> sparc-sun-solaris2.10
> [ssugur@mx5test ~/cfiles/GCC_installs/gcc-4.1.1/gcc-4.1.1]$uname -a
> SunOS mx5test 5.10 Generic_118822-19 sun4u sparc SUNW,UltraSPARC-IIi-cEngine
>
> Thanks a lot for the information. The machine type nomenclature is
> much clear to me now.
>
> S
>


Sorry. I was not configuring again after setting the variable. Really
sorry for my naive behavior.

If I am allowed one more question.. after the install when I compile
'hello.cpp' and try to run ./a.out, I get
ld.so.1: a.out: fatal: libstdc++.so.6: open failed: No such file or directory
Killed

Now I added the path to the newly installed lib directory to
LD_LIBRARY_PATH, and everything works fine. My ony question is that
there is another gcc/g++ in /usr/sfw/bin (probably installed with the
Solaris distribution), which works fine without any LD_LIBRARY_PATH
setting, how come?

S

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

* Re: Error during make bootstrap (gcc-4.1.1)
  2006-07-18 16:13   ` Asher Langton
@ 2006-07-18 16:44     ` Santosh Sugur
  2006-07-20  8:16       ` Santosh Sugur
  0 siblings, 1 reply; 9+ messages in thread
From: Santosh Sugur @ 2006-07-18 16:44 UTC (permalink / raw)
  To: Asher Langton; +Cc: gcc-help

On 7/18/06, Asher Langton <langton2@llnl.gov> wrote:
> On 7/18/06, Santosh Sugur <santosh.sugur@gmail.com> wrote:
> > On 7/17/06, Asher Langton <langton2@llnl.gov> wrote:
> > > >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
> > >
> >
> >
> > Thanks Asher. However the build still failed after setting
> > CONFIG_SHELL=/usr/bin/ksh
>
> Did you also export CONFIG_SHELL?  Or, if you are using /bin/csh, you
> might need to 'setenv CONFIG_SHELL /usr/bin/ksh'.
>
> Try starting from scratch (with a clean object directory), setting
> CONFIG_SHELL and building with GNU make (gmake).  If that doesn't
> work, post the error messages you are seeing.
>
> > One more question, I had gone through the host specific notes and had
> > not applied them as all of them were for *-*-solaris2*. I am using
> > SunOS 5.10. Was I wrong?
>
> From what I understand, SunOS and Solaris refer to the same system;
> SunOS is the kernel, while Solaris is the distribution.  In your
> earlier post, the log file line "checking host system type..."
> identified the system as Solaris.  When in doubt, run the config.guess
> script in the gcc source directory, and you'll get an idea of what
> system GCC thinks you have.
>
> > Can the variable CONFIG_SHELL be set explicitly in some file because still
> > /bin/sh is being used.
>
> See above.  It sounds like CONFIG_SHELL isn't being set.  In the shell
> where you have set CONFIG_SHELL, type 'env'.  Does CONFIG_SHELL show
> up in the listing?
>
>
> -Asher
>

I am using bash shell. I did do an export and had also checked the
value using env.

[ssugur@mx5test ~/gcc_obj]$env
..
..
PATH=/usr/sfw/bin:/usr/sfw/bin/:/usr/sfw/bin/gmake:/usr/bin:/usr/sbin:/usr/local/bin:/usr/ccs/bin:/var/SUNWspro/WS6U2/bin
CONFIG_SHELL=/usr/bin/ksh

This morning I had also cleaned up the object directory and ran gmake
bootstrap-lean.
After running for about 4 hours it quit with the same error as before:

<snip>
configure: configuring in classpath
configure: running /bin/sh
'/u1/santosh/cfiles/GCC_installs/gcc-4.1.1/gcc-4.1.1/libjava/classpath/configure'
--prefix=/usr/local/gnu/gcc/  '--with-multisubdir=sparcv9'
'--with-multisrctop=' '--cache-file=./config.cache'
'--build=sparc-sun-solaris2.10' '--host=sparc-sun-solaris2.10'
'--target=sparc-sun-solaris2.10' '--enable-multilib'
'--prefix=/usr/local/gnu/gcc/' '--enable-languages=c,c++,java,objc'
'--program-transform-name=s,y,y,'
'--with-target-subdir=sparc-sun-solaris2.10'
'--srcdir=/u1/santosh/cfiles/GCC_installs/gcc-4.1.1/gcc-4.1.1/libjava'
'CPPFLAGS=' 'build_alias=sparc-sun-solaris2.10'
'host_alias=sparc-sun-solaris2.10'
'target_alias=sparc-sun-solaris2.10' '--disable-load-library'
'--disable-debug' '--enable-default-toolkit='
'--with-vm-classes=/u1/santosh/cfiles/GCC_installs/gcc-4.1.1/gcc-4.1.1/libjava:/u1/santosh/gcc_obj/sparc-sun-solaris2.10/libjava'
'--disable-core-jni' '--disable-examples' '--with-glibj=build'
'--disable-gtk-peer' '--disable-qt-peer' '--enable-ltdl-convenience'
'--with-auxdir=/u1/santosh/cfiles/GCC_installs/gcc-4.1.1/gcc-4.1.1'
'-srcdir=/u1/santosh/cfiles/GCC_installs/gcc-4.1.1/gcc-4.1.1/libjava'
--disable-load-library --disable-debug --enable-default-toolkit=
--with-vm-classes=/u1/santosh/cfiles/GCC_installs/gcc-4.1.1/gcc-4.1.1/libjava:/u1/santosh/gcc_obj/sparc-sun-solaris2.10/sparcv9/libjava
--disable-core-jni --disable-examples --with-glibj=build
--disable-gtk-peer --disable-qt-peer
--with-auxdir=/u1/santosh/cfiles/GCC_installs/gcc-4.1.1/gcc-4.1.1
--cache-file=.././config.cache
--srcdir=/u1/santosh/cfiles/GCC_installs/gcc-4.1.1/gcc-4.1.1/libjava/classpath
/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

<\snip>

When I start I get the following:

[ssugur@mx5test ~/gcc_obj]$gmake bootstrap-lean
gmake[1]: Entering directory
`/u1/santosh/gcc_obj/build-sparc-sun-solaris2.10/libiberty'
gmake[2]: Entering directory
`/u1/santosh/gcc_obj/build-sparc-sun-solaris2.10/libiberty/testsuite'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory
`/u1/santosh/gcc_obj/build-sparc-sun-solaris2.10/libiberty/testsuite'
gmake[1]: Leaving directory
`/u1/santosh/gcc_obj/build-sparc-sun-solaris2.10/libiberty'
gmake[1]: Entering directory
`/u1/santosh/gcc_obj/build-sparc-sun-solaris2.10/fixincludes'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory
`/u1/santosh/gcc_obj/build-sparc-sun-solaris2.10/fixincludes'
gmake[1]: Entering directory `/u1/santosh/gcc_obj/intl'
rm -f stamp-h1
/bin/sh ./config.status config.h

The last line shows it is again executing /bin/sh inspite of setting
CONFIG_SHELL=/usr/bin/ksh

Following is the output from uname and config.guess.
[ssugur@mx5test ~/cfiles/GCC_installs/gcc-4.1.1/gcc-4.1.1]$./config.guess
sparc-sun-solaris2.10
[ssugur@mx5test ~/cfiles/GCC_installs/gcc-4.1.1/gcc-4.1.1]$uname -a
SunOS mx5test 5.10 Generic_118822-19 sun4u sparc SUNW,UltraSPARC-IIi-cEngine

Thanks a lot for the information. The machine type nomenclature is
much clear to me now.

S

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

* Re: Error during make bootstrap (gcc-4.1.1)
  2006-07-18 14:26 ` Santosh Sugur
@ 2006-07-18 16:13   ` Asher Langton
  2006-07-18 16:44     ` Santosh Sugur
  0 siblings, 1 reply; 9+ messages in thread
From: Asher Langton @ 2006-07-18 16:13 UTC (permalink / raw)
  To: Santosh Sugur; +Cc: gcc-help

On 7/18/06, Santosh Sugur <santosh.sugur@gmail.com> wrote:
> On 7/17/06, Asher Langton <langton2@llnl.gov> wrote:
> > >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
> >
>
>
> Thanks Asher. However the build still failed after setting
> CONFIG_SHELL=/usr/bin/ksh

Did you also export CONFIG_SHELL?  Or, if you are using /bin/csh, you
might need to 'setenv CONFIG_SHELL /usr/bin/ksh'.

Try starting from scratch (with a clean object directory), setting
CONFIG_SHELL and building with GNU make (gmake).  If that doesn't
work, post the error messages you are seeing.

> One more question, I had gone through the host specific notes and had
> not applied them as all of them were for *-*-solaris2*. I am using
> SunOS 5.10. Was I wrong?

From what I understand, SunOS and Solaris refer to the same system;
SunOS is the kernel, while Solaris is the distribution.  In your
earlier post, the log file line "checking host system type..."
identified the system as Solaris.  When in doubt, run the config.guess
script in the gcc source directory, and you'll get an idea of what
system GCC thinks you have.

> Can the variable CONFIG_SHELL be set explicitly in some file because still
> /bin/sh is being used.

See above.  It sounds like CONFIG_SHELL isn't being set.  In the shell
where you have set CONFIG_SHELL, type 'env'.  Does CONFIG_SHELL show
up in the listing?


-Asher

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

* Re: Error during make bootstrap (gcc-4.1.1)
  2006-07-17 15:59 Asher Langton
@ 2006-07-18 14:26 ` Santosh Sugur
  2006-07-18 16:13   ` Asher Langton
  0 siblings, 1 reply; 9+ messages in thread
From: Santosh Sugur @ 2006-07-18 14:26 UTC (permalink / raw)
  To: Asher Langton, gcc-help

On 7/17/06, Asher Langton <langton2@llnl.gov> wrote:
> >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
>


Thanks Asher. However the build still failed after setting
CONFIG_SHELL=/usr/bin/ksh

One more question, I had gone through the host specific notes and had
not applied them as all of them were for *-*-solaris2*. I am using
SunOS 5.10. Was I wrong?  Can the variable CONFIG_SHELL be set
explicitly in some file because still /bin/sh is being used.

Thanks,
S

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

* 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-14 18:07 Santosh Sugur
@ 2006-07-14 21:44 ` Brian Dessent
  0 siblings, 0 replies; 9+ messages in thread
From: Brian Dessent @ 2006-07-14 21:44 UTC (permalink / raw)
  To: gcc-help

Santosh Sugur wrote:

> 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:

The above error output does not look like what GNU make would output.  
Are you using GNU make?  This is a requirement as per
<http://gcc.gnu.org/install/prerequisites.html>.  It might be installed
on your system already as gmake, or you may have to install it first.

Brian

^ 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  7:58 Error during make bootstrap (gcc-4.1.1) Santosh Sugur
  -- strict thread matches above, loose matches on Subject: below --
2006-07-17 15:59 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
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).