public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug libgcj/25026]  New: -libXtst not detected [--enable-java-awt=gtk]
@ 2005-11-24 20:44 pluto at agmk dot net
  2005-12-21  2:49 ` [Bug libgcj/25026] " smithj at rpath dot com
                   ` (15 more replies)
  0 siblings, 16 replies; 17+ messages in thread
From: pluto at agmk dot net @ 2005-11-24 20:44 UTC (permalink / raw)
  To: java-prs

my gcc is configured with:

../configure 
--prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib
--infodir=/usr/share/info --mandir=/usr/share/man 
--x-libraries=/usr/X11R6/lib --enable-shared --enable-threads=posix
--enable-__cxa_atexit --enable-languages=c,c++,ada,java --enable-c99
--enable-long-long --disable-multilib --enable-nls --disable-werror
--with-gnu-as --with-gnu-ld --without-x --with-demangler-in-ld
--with-system-zlib --with-slibdir=/lib --enable-libgcj
--enable-libgcj-multifile --enable-libgcj-database --enable-gtk-cairo
--enable-java-awt=gtk ppc-pld-linux
CFLAGS=-O2 -ggdb
CXXFLAGS=-O2 -ggdb
TEXCONFIG=false

but libgcj configure fails:

(...)
checking for gtk+-2.0 >= 2.4... yes
checking GTK_CFLAGS... -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API
-I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0
-I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/X11R6/include
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2
checking GTK_LIBS... -L/usr/X11R6/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -lXrandr -lXi
-lXinerama -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lXcursor -lXfixes
-lcairo -lpangoft2-1.0 -lfontconfig -lfreetype -lz -lpango-1.0 -lm -lXrender
-lX11 -lXext -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
checking for glib-2.0 >= 2.4 gthread-2.0 >= 2.4... yes
checking GLIB_CFLAGS... -pthread -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include
checking GLIB_LIBS... -pthread -lgthread-2.0 -lglib-2.0
checking for libart-2.0 >= 2.1... yes
checking LIBART_CFLAGS... -I/usr/include/libart-2.0
checking LIBART_LIBS... -lart_lgpl_2
checking for XTestQueryExtension in -lXtst... no
configure: error: libXtst not found, required by java.awt.Robot
make[2]: *** [configure-target-libjava] Error 1


$ ls -la /usr/X11R6/lib/libXtst*
   14 Nov 15 08:01 /usr/X11R6/lib/libXtst.so -> libXtst.so.6.1
   14 Aug  1 23:06 /usr/X11R6/lib/libXtst.so.6 -> libXtst.so.6.1
27012 Nov 15 01:26 /usr/X11R6/lib/libXtst.so.6.1

config.log:
(...)
configure:13839: checking for XTestQueryExtension in -lXtst
configure:13874:
/home/users/builder2/rpm/BUILD/gcc/obj-ppc-pld-linux/./gcc/xgcc
-B/home/users/builder2/rpm/BUILD/gcc/obj-ppc-pld-linux/./gcc/
-B/usr/ppc-pld-linux/bin/ -B/usr/ppc-pld-linux/lib/ -isystem
/usr/ppc-pld-linux/include -isystem /usr/ppc-pld-linux/sys-include -o conftest
-O2 -O2 -ggdb conftest.c -lXtst   >&5
/usr/bin/ld: cannot find -lXtst
collect2: ld returned 1 exit status
configure:13880: $? = 1
(...)

i don't see a -L/usr/X11R6/lib in test.


-- 
           Summary: -libXtst not detected [--enable-java-awt=gtk]
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libgcj
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pluto at agmk dot net
 GCC build triplet: *-linux
  GCC host triplet: *-linux
GCC target triplet: *-linux


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


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

* [Bug libgcj/25026] -libXtst not detected [--enable-java-awt=gtk]
  2005-11-24 20:44 [Bug libgcj/25026] New: -libXtst not detected [--enable-java-awt=gtk] pluto at agmk dot net
@ 2005-12-21  2:49 ` smithj at rpath dot com
  2005-12-21  2:51 ` smithj at rpath dot com
                   ` (14 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: smithj at rpath dot com @ 2005-12-21  2:49 UTC (permalink / raw)
  To: java-prs



------- Comment #1 from smithj at rpath dot com  2005-12-21 02:49 -------
I have this issue as well, but only with x86_64; x86 configures and compiles
fine. x11 and gcc are both built with the same configure options between the
archs.


-- 


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


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

* [Bug libgcj/25026] -libXtst not detected [--enable-java-awt=gtk]
  2005-11-24 20:44 [Bug libgcj/25026] New: -libXtst not detected [--enable-java-awt=gtk] pluto at agmk dot net
  2005-12-21  2:49 ` [Bug libgcj/25026] " smithj at rpath dot com
@ 2005-12-21  2:51 ` smithj at rpath dot com
  2006-02-21 20:30 ` smithj at rpath dot com
                   ` (13 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: smithj at rpath dot com @ 2005-12-21  2:51 UTC (permalink / raw)
  To: java-prs



------- Comment #2 from smithj at rpath dot com  2005-12-21 02:51 -------
oh, and i also get this on 4.0.2, the 4.0 weekly snapshots, and the 4.2
snapshots (sorry, i meant to say that in the first post)


-- 


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


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

* [Bug libgcj/25026] -libXtst not detected [--enable-java-awt=gtk]
  2005-11-24 20:44 [Bug libgcj/25026] New: -libXtst not detected [--enable-java-awt=gtk] pluto at agmk dot net
  2005-12-21  2:49 ` [Bug libgcj/25026] " smithj at rpath dot com
  2005-12-21  2:51 ` smithj at rpath dot com
@ 2006-02-21 20:30 ` smithj at rpath dot com
  2006-10-16 15:40 ` pinskia at gcc dot gnu dot org
                   ` (12 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: smithj at rpath dot com @ 2006-02-21 20:30 UTC (permalink / raw)
  To: java-prs



------- Comment #3 from smithj at rpath dot com  2006-02-21 20:30 -------
http://gcc.gnu.org/ml/java/2005-08/msg00161.html

however, the proposed fix does not help me


-- 


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


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

* [Bug libgcj/25026] -libXtst not detected [--enable-java-awt=gtk]
  2005-11-24 20:44 [Bug libgcj/25026] New: -libXtst not detected [--enable-java-awt=gtk] pluto at agmk dot net
                   ` (2 preceding siblings ...)
  2006-02-21 20:30 ` smithj at rpath dot com
@ 2006-10-16 15:40 ` pinskia at gcc dot gnu dot org
  2006-10-16 15:53 ` dir at lanl dot gov
                   ` (11 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-10-16 15:40 UTC (permalink / raw)
  To: java-prs



------- Comment #4 from pinskia at gcc dot gnu dot org  2006-10-16 15:40 -------
*** Bug 29460 has been marked as a duplicate of this bug. ***


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dir at lanl dot gov


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


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

* [Bug libgcj/25026] -libXtst not detected [--enable-java-awt=gtk]
  2005-11-24 20:44 [Bug libgcj/25026] New: -libXtst not detected [--enable-java-awt=gtk] pluto at agmk dot net
                   ` (3 preceding siblings ...)
  2006-10-16 15:40 ` pinskia at gcc dot gnu dot org
@ 2006-10-16 15:53 ` dir at lanl dot gov
  2006-10-16 16:53 ` smithj at rpath dot com
                   ` (10 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: dir at lanl dot gov @ 2006-10-16 15:53 UTC (permalink / raw)
  To: java-prs



------- Comment #5 from dir at lanl dot gov  2006-10-16 15:53 -------
powerpc-apple-darwin8.7.0 does not come with 64 bit libraries for x-windows -
is there some way to turn of the 64 bit branch of the build ?


-- 


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


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

* [Bug libgcj/25026] -libXtst not detected [--enable-java-awt=gtk]
  2005-11-24 20:44 [Bug libgcj/25026] New: -libXtst not detected [--enable-java-awt=gtk] pluto at agmk dot net
                   ` (4 preceding siblings ...)
  2006-10-16 15:53 ` dir at lanl dot gov
@ 2006-10-16 16:53 ` smithj at rpath dot com
  2006-10-16 18:53 ` dir at lanl dot gov
                   ` (9 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: smithj at rpath dot com @ 2006-10-16 16:53 UTC (permalink / raw)
  To: java-prs



------- Comment #6 from smithj at rpath dot com  2006-10-16 16:53 -------
if are are using 4.2: http://people.rpath.com/~smithj/gcc-java-nomulti.patch
if 4.1.1: http://tinyurl.com/y37csd


-- 


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


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

* [Bug libgcj/25026] -libXtst not detected [--enable-java-awt=gtk]
  2005-11-24 20:44 [Bug libgcj/25026] New: -libXtst not detected [--enable-java-awt=gtk] pluto at agmk dot net
                   ` (5 preceding siblings ...)
  2006-10-16 16:53 ` smithj at rpath dot com
@ 2006-10-16 18:53 ` dir at lanl dot gov
  2006-10-16 18:55 ` smithj at rpath dot com
                   ` (8 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: dir at lanl dot gov @ 2006-10-16 18:53 UTC (permalink / raw)
  To: java-prs



------- Comment #7 from dir at lanl dot gov  2006-10-16 18:53 -------
I tried installing the patch (the two patch files in comment #6 were identical)
into 4.2 , but it failed -

[dranta:~/gfortran/gcc/libjava] dir% patch -p2 <gcc-java-nomulti.patch
patching file configure
Hunk #1 succeeded at 4892 (offset 309 lines).
patching file configure.ac
Hunk #1 succeeded at 209 (offset 36 lines).
patching file Makefile.in
Hunk #1 succeeded at 7510 with fuzz 1 (offset 1524 lines).
Hunk #2 FAILED at 8896.
1 out of 2 hunks FAILED -- saving rejects to file Makefile.in.rej


-- 


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


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

* [Bug libgcj/25026] -libXtst not detected [--enable-java-awt=gtk]
  2005-11-24 20:44 [Bug libgcj/25026] New: -libXtst not detected [--enable-java-awt=gtk] pluto at agmk dot net
                   ` (6 preceding siblings ...)
  2006-10-16 18:53 ` dir at lanl dot gov
@ 2006-10-16 18:55 ` smithj at rpath dot com
  2006-10-16 19:00 ` tromey at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: smithj at rpath dot com @ 2006-10-16 18:55 UTC (permalink / raw)
  To: java-prs



------- Comment #8 from smithj at rpath dot com  2006-10-16 18:55 -------
sorry about that. http://people.rpath.com/~smithj/gcc42-java-nomulti.patch


-- 


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


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

* [Bug libgcj/25026] -libXtst not detected [--enable-java-awt=gtk]
  2005-11-24 20:44 [Bug libgcj/25026] New: -libXtst not detected [--enable-java-awt=gtk] pluto at agmk dot net
                   ` (7 preceding siblings ...)
  2006-10-16 18:55 ` smithj at rpath dot com
@ 2006-10-16 19:00 ` tromey at gcc dot gnu dot org
  2006-10-16 19:57 ` dir at lanl dot gov
                   ` (6 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: tromey at gcc dot gnu dot org @ 2006-10-16 19:00 UTC (permalink / raw)
  To: java-prs



------- Comment #9 from tromey at gcc dot gnu dot org  2006-10-16 19:00 -------
You may want to try --disable-multilib.


-- 


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


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

* [Bug libgcj/25026] -libXtst not detected [--enable-java-awt=gtk]
  2005-11-24 20:44 [Bug libgcj/25026] New: -libXtst not detected [--enable-java-awt=gtk] pluto at agmk dot net
                   ` (8 preceding siblings ...)
  2006-10-16 19:00 ` tromey at gcc dot gnu dot org
@ 2006-10-16 19:57 ` dir at lanl dot gov
  2006-10-16 20:00 ` pinskia at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: dir at lanl dot gov @ 2006-10-16 19:57 UTC (permalink / raw)
  To: java-prs



------- Comment #10 from dir at lanl dot gov  2006-10-16 19:57 -------
What does --disable-multilib do ?


-- 


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


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

* [Bug libgcj/25026] -libXtst not detected [--enable-java-awt=gtk]
  2005-11-24 20:44 [Bug libgcj/25026] New: -libXtst not detected [--enable-java-awt=gtk] pluto at agmk dot net
                   ` (9 preceding siblings ...)
  2006-10-16 19:57 ` dir at lanl dot gov
@ 2006-10-16 20:00 ` pinskia at gcc dot gnu dot org
  2006-10-16 20:03 ` smithj at rpath dot com
                   ` (4 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-10-16 20:00 UTC (permalink / raw)
  To: java-prs



------- Comment #11 from pinskia at gcc dot gnu dot org  2006-10-16 20:00 -------
(In reply to comment #10)
> What does --disable-multilib do ?
It disables all the creation of the multi arch libraries so only the default
archeture is created for the libraries.


-- 


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


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

* [Bug libgcj/25026] -libXtst not detected [--enable-java-awt=gtk]
  2005-11-24 20:44 [Bug libgcj/25026] New: -libXtst not detected [--enable-java-awt=gtk] pluto at agmk dot net
                   ` (10 preceding siblings ...)
  2006-10-16 20:00 ` pinskia at gcc dot gnu dot org
@ 2006-10-16 20:03 ` smithj at rpath dot com
  2006-10-16 20:10 ` pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: smithj at rpath dot com @ 2006-10-16 20:03 UTC (permalink / raw)
  To: java-prs



------- Comment #12 from smithj at rpath dot com  2006-10-16 20:03 -------
Be that as it may, there are plenty of cases where multilib is desired, just
not for java. That should be an option.


-- 


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


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

* [Bug libgcj/25026] -libXtst not detected [--enable-java-awt=gtk]
  2005-11-24 20:44 [Bug libgcj/25026] New: -libXtst not detected [--enable-java-awt=gtk] pluto at agmk dot net
                   ` (11 preceding siblings ...)
  2006-10-16 20:03 ` smithj at rpath dot com
@ 2006-10-16 20:10 ` pinskia at gcc dot gnu dot org
  2006-10-16 20:13 ` smithj at rpath dot com
                   ` (2 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-10-16 20:10 UTC (permalink / raw)
  To: java-prs



------- Comment #13 from pinskia at gcc dot gnu dot org  2006-10-16 20:10 -------
(In reply to comment #12)
> Be that as it may, there are plenty of cases where multilib is desired, just
> not for java. That should be an option.

Not really, if you don't have the libraries, you should not be building
multilib in general anyways.

Closing as invalid.


-- 

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


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

* [Bug libgcj/25026] -libXtst not detected [--enable-java-awt=gtk]
  2005-11-24 20:44 [Bug libgcj/25026] New: -libXtst not detected [--enable-java-awt=gtk] pluto at agmk dot net
                   ` (12 preceding siblings ...)
  2006-10-16 20:10 ` pinskia at gcc dot gnu dot org
@ 2006-10-16 20:13 ` smithj at rpath dot com
  2006-10-16 20:14 ` pinskia at gcc dot gnu dot org
  2006-10-16 20:18 ` dir at lanl dot gov
  15 siblings, 0 replies; 17+ messages in thread
From: smithj at rpath dot com @ 2006-10-16 20:13 UTC (permalink / raw)
  To: java-prs



------- Comment #14 from smithj at rpath dot com  2006-10-16 20:13 -------
Java multilib is very difficult to bootstrap. For distros which require a clean
bootstrap, yet want multilib support, having it without java is an acceptable
compromise.


-- 


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


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

* [Bug libgcj/25026] -libXtst not detected [--enable-java-awt=gtk]
  2005-11-24 20:44 [Bug libgcj/25026] New: -libXtst not detected [--enable-java-awt=gtk] pluto at agmk dot net
                   ` (13 preceding siblings ...)
  2006-10-16 20:13 ` smithj at rpath dot com
@ 2006-10-16 20:14 ` pinskia at gcc dot gnu dot org
  2006-10-16 20:18 ` dir at lanl dot gov
  15 siblings, 0 replies; 17+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-10-16 20:14 UTC (permalink / raw)
  To: java-prs



------- Comment #15 from pinskia at gcc dot gnu dot org  2006-10-16 20:14 -------
(In reply to comment #14)
> Java multilib is very difficult to bootstrap. For distros which require a clean
> bootstrap, yet want multilib support, having it without java is an acceptable
> compromise.

Is it?  You do first a C/C++ build and then build all the libraries which is
needed for libjava and then do a full GCC build and then rebuild the libraries
if really needed.


-- 


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


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

* [Bug libgcj/25026] -libXtst not detected [--enable-java-awt=gtk]
  2005-11-24 20:44 [Bug libgcj/25026] New: -libXtst not detected [--enable-java-awt=gtk] pluto at agmk dot net
                   ` (14 preceding siblings ...)
  2006-10-16 20:14 ` pinskia at gcc dot gnu dot org
@ 2006-10-16 20:18 ` dir at lanl dot gov
  15 siblings, 0 replies; 17+ messages in thread
From: dir at lanl dot gov @ 2006-10-16 20:18 UTC (permalink / raw)
  To: java-prs



------- Comment #16 from dir at lanl dot gov  2006-10-16 20:18 -------
The patch from comment #8 partly fails on a 4.2 tree created this afternoon -

[dranta:~/gfortran/gcc/libjava] dir% patch -p2 < gcc42-java-nomulti.patch
patching file Makefile.in
Hunk #1 FAILED at 9006.
1 out of 1 hunk FAILED -- saving rejects to file Makefile.in.rej
patching file configure
Hunk #1 succeeded at 4892 (offset 309 lines).
patching file configure.ac
Hunk #1 succeeded at 209 (offset 36 lines).
[dranta:~/gfortran/gcc/libjava] dir% 


-- 


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


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

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

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-11-24 20:44 [Bug libgcj/25026] New: -libXtst not detected [--enable-java-awt=gtk] pluto at agmk dot net
2005-12-21  2:49 ` [Bug libgcj/25026] " smithj at rpath dot com
2005-12-21  2:51 ` smithj at rpath dot com
2006-02-21 20:30 ` smithj at rpath dot com
2006-10-16 15:40 ` pinskia at gcc dot gnu dot org
2006-10-16 15:53 ` dir at lanl dot gov
2006-10-16 16:53 ` smithj at rpath dot com
2006-10-16 18:53 ` dir at lanl dot gov
2006-10-16 18:55 ` smithj at rpath dot com
2006-10-16 19:00 ` tromey at gcc dot gnu dot org
2006-10-16 19:57 ` dir at lanl dot gov
2006-10-16 20:00 ` pinskia at gcc dot gnu dot org
2006-10-16 20:03 ` smithj at rpath dot com
2006-10-16 20:10 ` pinskia at gcc dot gnu dot org
2006-10-16 20:13 ` smithj at rpath dot com
2006-10-16 20:14 ` pinskia at gcc dot gnu dot org
2006-10-16 20:18 ` dir at lanl dot gov

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