configure: error: Could not find Xproto headers - Try installing xorg-x11-proto-devel

Andrew Hughes gnu.andrew at redhat.com
Thu Jan 23 09:37:48 PST 2014



----- Original Message -----
> 
> I executed this command
> apt-get build-dep openjdk-7-jdk
> 
> and executed again
> root at raspberry-pi:/opt/icedtea-2.4.4#  ./configure --enable-cacao
> --without-rhino --disable-system-kerberos --disable-system-zlib
> --disable-system-jpeg --disable-system-png --disable-system-gif
> --disable-system-lcms --disable-system-gtk --disable-system-gio
> --disable-system-fontconfig --disable-compile-against-syscalls
> 
> // command successfully executed
> 
> after that I executed make
> root at raspberry-pi:/opt/icedtea-2.4.4# make
> CDPATH="${ZSH_VERSION+.}:" && cd .
> && /bin/bash /opt/icedtea-2.4.4/missing aclocal-1.13
> /opt/icedtea-2.4.4/missing: line 81: aclocal-1.13: command not found
> WARNING: 'aclocal-1.13' is missing on your system.
>          You should only need it if you modified 'acinclude.m4' or
>          'configure.ac' or m4 files included by 'configure.ac'.
>          The 'aclocal' program is part of the GNU Automake package:
>          <http://www.gnu.org/software/automake>
>          It also requires GNU Autoconf, GNU m4 and Perl in order to run:
>          <http://www.gnu.org/software/autoconf>
>          <http://www.gnu.org/software/m4/>
>          <http://www.perl.org/>
> make: *** [aclocal.m4] Error 127
> 
> 
> 
> On Thu, 2014-01-23 at 08:55 -0500, Andrew Hughes wrote:
> 
> > 
> > ----- Original Message -----
> > > I downloaded icedtea-2.4.4 on raspberry and executed the command
> > > ./configure --enable-cacao --without-rhino --disable-system-kerberos
> > > --disable-system-zlib --disable-system-jpeg --disable-system-png
> > > --disable-system-gif --disable-system-lcms --disable-system-gtk
> > > --disable-system-gio --disable-system-fontconfig
> > > --disable-compile-against-syscalls
> > > 
> > > The output is
> > > configure: error: Could not find Xproto headers - Try installing
> > > xorg-x11-proto-devel.
> > > 
> > > 
> > > 
> > > Information about the system:
> > > root at raspberry-pi:~# cat /proc/cpuinfo
> > > Processor : ARMv6-compatible processor rev 7 (v6l)
> > > BogoMIPS : 697.95
> > > Features : swp half thumb fastmult vfp edsp java tls
> > > CPU implementer : 0x41
> > > CPU architecture: 7
> > > CPU variant : 0x0
> > > CPU part : 0xb76
> > > CPU revision : 7
> > > 
> > > Hardware : BCM2708
> > > Revision : 000e
> > > Serial : 00000000cbe2dc72
> > > 
> > > root at raspberry-pi:~# java -version
> > > java version "1.7.0_25"
> > > OpenJDK Runtime Environment (IcedTea 2.3.10) (7u25-2.3.10-1~deb7u1+rpi1)
> > > OpenJDK Zero VM (build 22.0-b10, mixed mode)
> > > 
> > > root at raspberry-pi:~# cat /proc/version
> > > Linux version 3.6.11+ (dc4 at dc4-arm-01) (gcc version 4.7.2 20120731
> > > (prerelease) (crosstool-NG linaro-1.13.1+bzr2458 - Linaro GCC 2012.08) )
> > > #545 PREEMPT Fri Sep 20 23:57:55 BST 2013
> > > 
> > > root at raspberry-pi:/opt/icedtea-2.4.4# find / -name Xproto.h
> > > /usr/include/X11/Xproto.h
> > > 
> > > root at raspberry-pi:/opt/icedtea-2.4.4# apt-cache search
> > > xorg-x11-proto-devel
> > > empty
> > > 
> > > The image I downloaded from
> > > http://www.linuxsystems.it/raspbian-wheezy-armhf-raspberry-pi-minimal-image/
> > > I want to install icedtea and cacao because our application started with
> > > openjdk runs very slow.
> > > 
> > > Thank you,
> > > Titu
> > > 
> > 
> > Can you attach the config.log file from your build?  That would give me
> > more idea
> > why it's failing; the error output is just a best guess.
> 
> 
> 

The config.log looks sane, but then it isn't for your original failure.

Did you alter any of the tarball files?  It looks like this has been detected
and it's trying to re-run the autotools to rebuild.
-- 
Andrew :)

Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)

PGP Key: 248BDC07 (https://keys.indymedia.org/)
Fingerprint = EC5A 1F5E C0AD 1D15 8F1F  8F91 3B96 A578 248B DC07



More information about the distro-pkg-dev mailing list