Trying out a full build as indicated on the Wiki using
cd $HOME/src
git clone git://anongit.freedesktop.org/git/xorg/util/modular util/modular
mkdir $HOME/build
cd $HOME/src
./util/modular/build.sh --clone $HOME/build

this is on openindiana (SunOS 5.11) with pkgsrc gnu tools including gcc4.7.2 autoconf 2.69 automake 1.13.1 pkg-config 0.28
native solaris shells

seems to go great until libXrender:
======================================================================
==  Processing module/component:  "lib/libXrender"
==        configuration options:
Cloning into 'lib/libXrender'...
remote: Counting objects: 402, done.
remote: Compressing objects: 100% (175/175), done.
remote: Total 402 (delta 241), reused 324 (delta 191)
Receiving objects: 100% (402/402), 83.92 KiB | 103 KiB/s, done.
Resolving deltas: 100% (241/241), done.
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal -I /home/richard/build//share/aclocal
...
checking whether malloc(0) returns NULL... yes
checking for RENDER... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
./config.status[12]: export: SHELL##: is not an identifier
build.sh: "autogen.sh" failed on lib/libXrender
build.sh: error processing module/component:  "lib/libXrender"

indeed the first few lines confirm in config.status:
richard@devzoneX:~/src/lib/libXrender$ more config.status
#! /bin/sh
# Generated by configure.
# Run this file to recreate the current configuration.
# Compiler output produced by configure, useful for debugging
# configure, is in config.log if it exists.

debug=false
ac_cs_recheck=false
ac_cs_silent=false

SHELL=${CONFIG_SHELL-/bin/sh}
export SHELL## -------------------- ##
## M4sh Initialization. ##
## -------------------- ##


If I specifically checkout libXrender-0.9.7, then configure seems to work ok. (!)

the only differences I see between master and 0.9.7 are:
richard@devzoneX:~/src/lib/libXrender$ git diff master
diff --git a/autogen.sh b/autogen.sh
index fc34bd5..904cd67 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -9,6 +9,4 @@ cd $srcdir
 autoreconf -v --install || exit 1
 cd $ORIGDIR || exit $?

-if test -z "$NOCONFIGURE"; then
-    $srcdir/configure "$@"
-fi
+$srcdir/configure --enable-maintainer-mode "$@"
diff --git a/configure.ac b/configure.ac
index 19dce7a..bf7fe60 100644
--- a/configure.ac
+++ b/configure.ac
@@ -36,6 +36,7 @@ AC_CONFIG_HEADERS([config.h])

 # Initialize Automake
 AM_INIT_AUTOMAKE([foreign dist-bzip2])
+AM_MAINTAINER_MODE

 # Initialize libtool
 AC_PROG_LIBTOOL

It appears 'configure' spews when AM_MAINTAINER_MODE is removed from configure.ac and autoreconf is run, there must be some funkiness in there that I can't seem to quickly pinpoint...



_______________________________________________
xorg@lists.x.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.x.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com

Reply via email to