public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug java/28869]  New: gcc-4.1.1 fails to build with java language on Solaris 2.8
@ 2006-08-28  9:31 bob at digilink dot net
  2006-08-28 13:26 ` [Bug java/28869] " pinskia at gcc dot gnu dot org
  2006-08-28 19:45 ` bob at digilink dot net
  0 siblings, 2 replies; 3+ messages in thread
From: bob at digilink dot net @ 2006-08-28  9:31 UTC (permalink / raw)
  To: java-prs

When building gcc-4.1.1 with the following configuration:

../gcc-4.1.1/configure   --prefix=/opt --with-local-prefix=/opt/include
--with-cpu=ultrasparc --enable-languages=c,c++,java

The build fails to build libjava with the following error:

Adding multilib support to Makefile in /lhome/gcc/gcc-4.1.1/libjava
with_multisubdir=sparcv9
configure: configuring in classpath
configure: running /bin/sh '/lhome/gcc/gcc-4.1.1/libjava/classpath/configure'
--prefix=/opt  '--with-multisubdir=sparcv9' '--with-multisrctop='
'--cache-file=./config.cache' '--build=sparc-sun-solaris2.8'
'--host=sparc-sun-solaris2.8' '--target=sparc-sun-solaris2.8'
'--enable-multilib' '--prefix=/opt' '--with-local-prefix=/opt/include'
'--with-cpu=ultrasparc' '--enable-languages=c,c++,java'
'--program-transform-name=s,y,y,' '--with-target-subdir=sparc-sun-solaris2.8'
'--srcdir=/lhome/gcc/gcc-4.1.1/libjava' 'CPPFLAGS='
'build_alias=sparc-sun-solaris2.8' 'host_alias=sparc-sun-solaris2.8'
'target_alias=sparc-sun-solaris2.8' '--disable-load-library' '--disable-debug'
'--enable-default-toolkit='
'--with-vm-classes=/lhome/gcc/gcc-4.1.1/libjava:/lhome/gcc/SunOS-5.8.sun4u/sparc-sun-solaris2.8/libjava'
'--disable-core-jni' '--disable-examples' '--with-glibj=build'
'--disable-gtk-peer' '--disable-qt-peer' '--enable-ltdl-convenience'
'--with-auxdir=/lhome/gcc/gcc-4.1.1' '-srcdir=/lhome/gcc/gcc-4.1.1/libjava'
--disable-load-library --disable-debug --enable-default-toolkit=
--with-vm-classes=/lhome/gcc/gcc-4.1.1/libjava:/lhome/gcc/SunOS-5.8.sun4u/sparc-sun-solaris2.8/sparcv9/libjava
--disable-core-jni --disable-examples --with-glibj=build --disable-gtk-peer
--disable-qt-peer --with-auxdir=/lhome/gcc/gcc-4.1.1
--cache-file=.././config.cache --srcdir=/lhome/gcc/gcc-4.1.1/libjava/classpath
/lhome/gcc/gcc-4.1.1/libjava/classpath/configure: syntax error at line 11740:
`QT_INCLUDE_DIR=$' unexpected
configure: error: /bin/sh '/lhome/gcc/gcc-4.1.1/libjava/classpath/configure'
failed for classpath
make[1]: *** [configure-target-libjava] Error 1
make[1]: Leaving directory `/lhome/gcc/SunOS-5.8.sun4u'
make: *** [all] Error 2

I have had no trouble building for just C and C++


-- 
           Summary: gcc-4.1.1 fails to build with java language on Solaris
                    2.8
           Product: gcc
           Version: 4.1.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: java
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: bob at digilink dot net
 GCC build triplet: sparc-sun-solaris2.8-gcc
  GCC host triplet: sparc-sun-solaris2.8-gcc
GCC target triplet: sparc-sun-solaris2.8-gcc


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28869


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

* [Bug java/28869] gcc-4.1.1 fails to build with java language on Solaris 2.8
  2006-08-28  9:31 [Bug java/28869] New: gcc-4.1.1 fails to build with java language on Solaris 2.8 bob at digilink dot net
@ 2006-08-28 13:26 ` pinskia at gcc dot gnu dot org
  2006-08-28 19:45 ` bob at digilink dot net
  1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-08-28 13:26 UTC (permalink / raw)
  To: java-prs



------- Comment #1 from pinskia at gcc dot gnu dot org  2006-08-28 13:26 -------
configure: error: /bin/sh '/lhome/gcc/gcc-4.1.1/libjava/classpath/configure'

You forgot to do CONFIG_SHELL=/bin/ksh as mentioned by:
http://gcc.gnu.org/install/specific.html#x-x-solaris2

The Solaris 2 /bin/sh will often fail to configure libstdc++-v3, boehm-gc or
libjava. We therefore recommend using the following initial sequence of
commands

        % CONFIG_SHELL=/bin/ksh
        % export CONFIG_SHELL


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28869


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

* [Bug java/28869] gcc-4.1.1 fails to build with java language on Solaris 2.8
  2006-08-28  9:31 [Bug java/28869] New: gcc-4.1.1 fails to build with java language on Solaris 2.8 bob at digilink dot net
  2006-08-28 13:26 ` [Bug java/28869] " pinskia at gcc dot gnu dot org
@ 2006-08-28 19:45 ` bob at digilink dot net
  1 sibling, 0 replies; 3+ messages in thread
From: bob at digilink dot net @ 2006-08-28 19:45 UTC (permalink / raw)
  To: java-prs



------- Comment #2 from bob at digilink dot net  2006-08-28 19:45 -------
I'm sorry - I thought I had looked through all of the Solaris build issues but
there it is plain as day - If it was a snake it would have bit me! 
Thank you for pointing me in the right direction and for your patience.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28869


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

end of thread, other threads:[~2006-08-28 19:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-08-28  9:31 [Bug java/28869] New: gcc-4.1.1 fails to build with java language on Solaris 2.8 bob at digilink dot net
2006-08-28 13:26 ` [Bug java/28869] " pinskia at gcc dot gnu dot org
2006-08-28 19:45 ` bob at digilink dot net

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