trying to build X from git on Debian 6.0.6

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Trying to follow the simple instructions at http://who-t.blogspot.com.au/2012/05/testing-x-servers-from-git.html but I get problems within the first three seconds. 

Little things like needing automake, autogen and such I get.  That is okay to deal with. 

However needing "xorg-macros version 1.12 or higher" I do not see what the issue is there because the blog says you get everything you need in one shot. 

But .. you don't. 

So I guess I am asking .. what's the procedure to fire off a build of X ? 

Dennis 
--- Begin Message ---


----- Original Message -----
From: Dave Airlie <airlied@xxxxxxxxx>
Date: Monday, January 14, 2013 8:43 pm
Subject: Re: Updating my Xorg on RHEL 6 etc
To: Dennis Clarke <dclarke@xxxxxxxxxxxxx>
Cc: xorg@xxxxxxxxxxx

>> you can install a second X server from git (or anywhere) next to your
>> existing one:
>> http://who-t.blogspot.com.au/2012/05/testing-x-servers-from-git.html
>

Following those instructions line by line on a clean Debian 6.0.6 install and running into problems out of the gate : 

aster $ ./util/modular/build.sh --clone --autoresume built.modules /opt/xorg    Building to run Linux / x86_64 ()                                               Fri Jan 18 23:05:01 EST 2013                                                    Skipping util module component macros...

======================================================================
==  Processing module/component:  "font/util"
==        configuration options:   
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal -I /opt/xorg/share/aclocal 
configure.ac:26: warning: AC_INIT: not a literal: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
configure.ac:38: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
/opt/xorg/share/aclocal/xorg-macros.m4:1780: XORG_INSTALL is expanded from...
/opt/xorg/share/aclocal/xorg-macros.m4:1760: XORG_DEFAULT_OPTIONS is expanded from...
configure.ac:38: the top level
autoreconf: configure.ac: tracing
configure.ac:26: warning: AC_INIT: not a literal: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
configure.ac:38: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
aclocal.m4:2758: XORG_INSTALL is expanded from...
aclocal.m4:2738: XORG_DEFAULT_OPTIONS is expanded from...
configure.ac:38: the top level
autoreconf: configure.ac: not using Libtool
autoreconf: running: /usr/bin/autoconf
configure.ac:26: warning: AC_INIT: not a literal: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
configure.ac:38: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
aclocal.m4:2758: XORG_INSTALL is expanded from...
aclocal.m4:2738: XORG_DEFAULT_OPTIONS is expanded from...
configure.ac:38: the top level
autoreconf: running: /usr/bin/autoheader
configure.ac:26: warning: AC_INIT: not a literal: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
configure.ac:38: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
aclocal.m4:2758: XORG_INSTALL is expanded from...
aclocal.m4:2738: XORG_DEFAULT_OPTIONS is expanded from...
configure.ac:38: the top level
autoreconf: running: automake --add-missing --copy --no-force
configure.ac:26: warning: AC_INIT: not a literal: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
configure.ac:38: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
aclocal.m4:2758: XORG_INSTALL is expanded from...
aclocal.m4:2738: XORG_DEFAULT_OPTIONS is expanded from...
configure.ac:38: the top level
autoreconf: Leaving directory `.'
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for gcc option to accept ISO C99... unsupported
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking whether __clang__ is declared... no
checking whether __INTEL_COMPILER is declared... no
checking whether __SUNPRO_C is declared... no
./configure: line 4157: PKG_PROG_PKG_CONFIG: command not found
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking if gcc supports -Werror=unknown-warning-option... no
checking if gcc supports -Werror=unused-command-line-argument... no
checking if gcc supports -Wall... yes
checking if gcc supports -Wpointer-arith... yes
checking if gcc supports -Wmissing-declarations... yes
checking if gcc supports -Wformat=2... yes
checking if gcc supports -Wstrict-prototypes... yes
checking if gcc supports -Wmissing-prototypes... yes
checking if gcc supports -Wnested-externs... yes
checking if gcc supports -Wbad-function-cast... yes
checking if gcc supports -Wold-style-definition... yes
checking if gcc supports -Wdeclaration-after-statement... yes
checking if gcc supports -Wunused... yes
checking if gcc supports -Wuninitialized... yes
checking if gcc supports -Wshadow... yes
checking if gcc supports -Wcast-qual... yes
checking if gcc supports -Wmissing-noreturn... yes
checking if gcc supports -Wmissing-format-attribute... yes
checking if gcc supports -Wredundant-decls... yes
checking if gcc supports -Werror=implicit... yes
checking if gcc supports -Werror=nonnull... yes
checking if gcc supports -Werror=init-self... yes
checking if gcc supports -Werror=main... yes
checking if gcc supports -Werror=missing-braces... yes
checking if gcc supports -Werror=sequence-point... yes
checking if gcc supports -Werror=return-type... yes
checking if gcc supports -Werror=trigraphs... yes
checking if gcc supports -Werror=array-bounds... yes
checking if gcc supports -Werror=write-strings... yes
checking if gcc supports -Werror=address... yes
checking if gcc supports -Werror=int-to-pointer-cast... yes
checking if gcc supports -Werror=pointer-to-int-cast... yes
checking if gcc supports -pedantic... yes
checking if gcc supports -Werror... yes
checking if gcc supports -Werror=attributes... yes
./configure: line 10095: --print-errors: command not found
checking for root directory for font files... ${datadir}/fonts/X11
configure: creating ./config.status
config.status: creating Makefile
config.status: creating man/Makefile
config.status: creating fontutil.m4
config.status: creating fontutil.pc
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
make  all-recursive
make[1]: Entering directory `/home/dclarke/xorg/font/util'
Making all in man
make[2]: Entering directory `/home/dclarke/xorg/font/util/man'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/dclarke/xorg/font/util/man'
make[2]: Entering directory `/home/dclarke/xorg/font/util'
  CC     bdftruncate.o
bdftruncate.c: In function 'main':
bdftruncate.c:170: error: 'SSIZE_MAX' undeclared (first use in this function)
bdftruncate.c:170: error: (Each undeclared identifier is reported only once
bdftruncate.c:170: error: for each function it appears in.)
make[2]: *** [bdftruncate.o] Error 1
make[2]: Leaving directory `/home/dclarke/xorg/font/util'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/dclarke/xorg/font/util'
make: *** [all] Error 2
build.sh: "make " failed on font/util
build.sh: error processing module/component:  "font/util"
aster $ 


I'm guessing some env vars are at issue here .. not the least of which is the CFLAGS. 

Not sure really. 

any thoughts ? 

Dennis 
_______________________________________________
xorg@xxxxxxxxxxx: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.x.org/mailman/listinfo/xorg
Your subscription address: dclarke@xxxxxxxxxxxxx

--- End Message ---
_______________________________________________
xorg@xxxxxxxxxxx: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.x.org/mailman/listinfo/xorg
Your subscription address: list-xorg@xxxxxxxxxxx

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [X Forum]     [Intel Graphics]     [AMD Graphics]     [Nouveau Driver]     [XFree86]     [XFree86 Newbie]     [IETF Annouce]     [Security]     [Fontconfig]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Video for Linux]     [Linux RAID]

  Powered by Linux