public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug java/26574]  New: libjava configration error
@ 2006-03-06  4:56 shanwill44 at yahoo dot com
  2006-03-06  5:00 ` [Bug libgcj/26574] " pinskia at gcc dot gnu dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: shanwill44 at yahoo dot com @ 2006-03-06  4:56 UTC (permalink / raw)
  To: java-prs

On Solaris 9 (x86), the error occurs in the libjava.
I fixed line 11597 of gcc-4.1.0/libjava/classpath/configure
from
                  QT_INCLUDE_DIR=$($PKG_CONFIG --variable=includedir QtGui)
to
                  QT_INCLUDE_DIR=$(`$PKG_CONFIG --variable=includedir QtGui`)

Is this a right fix for the following error ?

--------------------------------
configure: configuring in classpath
configure: running /bin/sh '../../../../gcc-4.1.0/libjava/classpath/configure'
--prefix=/usr/local  '--cache-file=./config.cache' '--build=i386-pc-solaris2.9'
'--host=i386-pc-solaris2.9' '--target=i386-pc-solaris2.9' '--enable-multilib'
'--with-gnu-ld' '--enable-languages=c,c++,fortran,java'
'--program-transform-name=s,y,y,' '--with-target-subdir=i386-pc-solaris2.9'
'--srcdir=../../../gcc-4.1.0/libjava' 'CPPFLAGS='
'build_alias=i386-pc-solaris2.9' 'host_alias=i386-pc-solaris2.9'
'target_alias=i386-pc-solaris2.9' --disable-load-library --disable-debug
--enable-default-toolkit=
--with-vm-classes=/hoge/gcc-4.1.0/libjava:/hoge/GCC_OBJ410/i386-pc-solaris2.9/libjava
--disable-core-jni --disable-examples --with-glibj=build --disable-gtk-peer
--disable-qt-peer --enable-ltdl-convenience --with-auxdir=/hoge/gcc-4.1.0
--cache-file=.././config.cache --srcdir=../../../../gcc-4.1.0/libjava/classpath
../../../../gcc-4.1.0/libjava/classpath/configure: syntax error at line 11591:
`QT_INCLUDE_DIR=$' unexpected
configure: error: /bin/sh '../../../../gcc-4.1.0/libjava/classpath/configure'
failed for classpath
make[1]: *** [configure-target-libjava] Error 1
make[1]: Leaving directory `/hoge/gcc/GCC_OBJ410'
make: *** [all] Error 2


-- 
           Summary: libjava configration error
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: java
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: shanwill44 at yahoo dot com


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


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

* [Bug libgcj/26574] libjava configration error
  2006-03-06  4:56 [Bug java/26574] New: libjava configration error shanwill44 at yahoo dot com
@ 2006-03-06  5:00 ` pinskia at gcc dot gnu dot org
  2006-03-06  5:06 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-03-06  5:00 UTC (permalink / raw)
  To: java-prs



------- Comment #1 from pinskia at gcc dot gnu dot org  2006-03-06 05:00 -------
Did you set CONFIG_SHELL to be /bin/ksh as directed on the installation
directions?
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 to use the following sequence of commands to
bootstrap and install GCC:

        % CONFIG_SHELL=/bin/ksh
        % export CONFIG_SHELL

/bin/sh on Solaris is known not to be a POSIX shell which is why the
documention mentions CONFIG_SHELL.


-- 


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


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

* [Bug libgcj/26574] libjava configration error
  2006-03-06  4:56 [Bug java/26574] New: libjava configration error shanwill44 at yahoo dot com
  2006-03-06  5:00 ` [Bug libgcj/26574] " pinskia at gcc dot gnu dot org
@ 2006-03-06  5:06 ` pinskia at gcc dot gnu dot org
  2006-03-06  5:47 ` pinskia at gcc dot gnu dot org
  2006-03-06  8:36 ` shanwill44 at yahoo dot com
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-03-06  5:06 UTC (permalink / raw)
  To: java-prs



------- Comment #2 from pinskia at gcc dot gnu dot org  2006-03-06 05:06 -------
*** Bug 26575 has been marked as a duplicate of this bug. ***


-- 


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


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

* [Bug libgcj/26574] libjava configration error
  2006-03-06  4:56 [Bug java/26574] New: libjava configration error shanwill44 at yahoo dot com
  2006-03-06  5:00 ` [Bug libgcj/26574] " pinskia at gcc dot gnu dot org
  2006-03-06  5:06 ` pinskia at gcc dot gnu dot org
@ 2006-03-06  5:47 ` pinskia at gcc dot gnu dot org
  2006-03-06  8:36 ` shanwill44 at yahoo dot com
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-03-06  5:47 UTC (permalink / raw)
  To: java-prs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING


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


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

* [Bug libgcj/26574] libjava configration error
  2006-03-06  4:56 [Bug java/26574] New: libjava configration error shanwill44 at yahoo dot com
                   ` (2 preceding siblings ...)
  2006-03-06  5:47 ` pinskia at gcc dot gnu dot org
@ 2006-03-06  8:36 ` shanwill44 at yahoo dot com
  3 siblings, 0 replies; 5+ messages in thread
From: shanwill44 at yahoo dot com @ 2006-03-06  8:36 UTC (permalink / raw)
  To: java-prs



------- Comment #3 from shanwill44 at yahoo dot com  2006-03-06 08:36 -------
(In reply to comment #1)
Thank you for your support. After setting CONFIG_SHELL to
/bin/ksh, the compilation was successful. I am sorry that
I did not noticed the existence of the Solaris specific
documentation, because the compilation had been almost straight-forward.


-- 

shanwill44 at yahoo dot com changed:

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


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


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

end of thread, other threads:[~2006-03-06  8:36 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-03-06  4:56 [Bug java/26574] New: libjava configration error shanwill44 at yahoo dot com
2006-03-06  5:00 ` [Bug libgcj/26574] " pinskia at gcc dot gnu dot org
2006-03-06  5:06 ` pinskia at gcc dot gnu dot org
2006-03-06  5:47 ` pinskia at gcc dot gnu dot org
2006-03-06  8:36 ` shanwill44 at yahoo dot com

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