Re: [E-devel] Configure.ac uses non-portable use of sed, breaking autogen.sh on MacOS

2010-06-03 Thread Gustavo Sverzut Barbieri
On Thu, Jun 3, 2010 at 3:10 PM, Dave Ray cl...@jonive.com wrote:
 I attempted to compile e17 on MacOS-X Leopard (10.5.8) after doing a
 fresh OS install.

 All autoconf.sh scripts are failing in an unusual way.

 Spoke to Vincent Torri, who posted my problem on the M4 list. You can
 read the whole thread here:
 http://lists.gnu.org/archive/html/autoconf/2010-06/msg7.html

 According to the thread, configure.ac contains a non-portable use of
 sed that is causing the failure only on MacOS.

 Something changed in configure.ac in svn from 6 weeks ago, which was
 the last time I compiled e17 from svn. The problem wasn't there before.

 I observed this when trying to compile eina, the first package on the
 list of deps. I also tried e_dbus, since it doesn't have dependencies,
 and got the exact same error.

 This is a total show-stopper for e17 on MacOS-X until fixed.

 FYI I'm using autoconf 2.65, automake 1.11, m4 1.4.14.

Possibly it was Sachiel's changes from yesterday usign sed + git-log
to figure out svn revision if using git-svn.


-- 
Gustavo Sverzut Barbieri
http://profusion.mobi embedded systems
--
MSN: barbi...@gmail.com
Skype: gsbarbieri
Mobile: +55 (19) 9225-2202

--
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Configure.ac uses non-portable use of sed, breaking autogen.sh on MacOS

2010-06-03 Thread Vincent Torri


On Thu, 3 Jun 2010, Gustavo Sverzut Barbieri wrote:

 On Thu, Jun 3, 2010 at 3:10 PM, Dave Ray cl...@jonive.com wrote:
 I attempted to compile e17 on MacOS-X Leopard (10.5.8) after doing a
 fresh OS install.

 All autoconf.sh scripts are failing in an unusual way.

 Spoke to Vincent Torri, who posted my problem on the M4 list. You can
 read the whole thread here:
 http://lists.gnu.org/archive/html/autoconf/2010-06/msg7.html

 According to the thread, configure.ac contains a non-portable use of
 sed that is causing the failure only on MacOS.

 Something changed in configure.ac in svn from 6 weeks ago, which was
 the last time I compiled e17 from svn. The problem wasn't there before.

 I observed this when trying to compile eina, the first package on the
 list of deps. I also tried e_dbus, since it doesn't have dependencies,
 and got the exact same error.

 This is a total show-stopper for e17 on MacOS-X until fixed.

 FYI I'm using autoconf 2.65, automake 1.11, m4 1.4.14.

 Possibly it was Sachiel's changes from yesterday usign sed + git-log
 to figure out svn revision if using git-svn.

No it is not. The problem was before Sachiel's addition

Vincent

--
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Configure.ac uses non-portable use of sed, breaking autogen.sh on MacOS

2010-06-03 Thread Dave Ray
On Jun 3, 2010, at 12:17 PM, Gustavo Sverzut Barbieri wrote:

 On Thu, Jun 3, 2010 at 3:10 PM, Dave Ray cl...@jonive.com wrote:
 ...
 According to the thread, configure.ac contains a non-portable use of
 sed that is causing the failure only on MacOS.
 ...

 Possibly it was Sachiel's changes from yesterday usign sed + git-log
 to figure out svn revision if using git-svn.

The problem goes at least as far back as May 30, when I started  
attempting to compile e17. I just wanted to be sure it wasn't my  
system and to run it by some people before posting here. 

--
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Configure.ac uses non-portable use of sed, breaking autogen.sh on MacOS

2010-06-03 Thread Vincent Torri


On Thu, 3 Jun 2010, Vincent Torri wrote:



 On Thu, 3 Jun 2010, Gustavo Sverzut Barbieri wrote:

 On Thu, Jun 3, 2010 at 3:10 PM, Dave Ray cl...@jonive.com wrote:
 I attempted to compile e17 on MacOS-X Leopard (10.5.8) after doing a
 fresh OS install.

 All autoconf.sh scripts are failing in an unusual way.

 Spoke to Vincent Torri, who posted my problem on the M4 list. You can
 read the whole thread here:
 http://lists.gnu.org/archive/html/autoconf/2010-06/msg7.html

 According to the thread, configure.ac contains a non-portable use of
 sed that is causing the failure only on MacOS.

 Something changed in configure.ac in svn from 6 weeks ago, which was
 the last time I compiled e17 from svn. The problem wasn't there before.

 I observed this when trying to compile eina, the first package on the
 list of deps. I also tried e_dbus, since it doesn't have dependencies,
 and got the exact same error.

 This is a total show-stopper for e17 on MacOS-X until fixed.

 FYI I'm using autoconf 2.65, automake 1.11, m4 1.4.14.

 Possibly it was Sachiel's changes from yesterday usign sed + git-log
 to figure out svn revision if using git-svn.

 No it is not. The problem was before Sachiel's addition

also, read the whole thread here:

http://lists.gnu.org/archive/html/autoconf/2010-06/msg7.html

as dave mentioned. Everything is explained

Vincent

--
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Configure.ac uses non-portable use of sed, breaking autogen.sh on MacOS

2010-06-03 Thread Dave Ray
The dot character in the configure script was not the only error, just  
the only one discussed in the autoconf thread. The other errors look  
similar may be due to same problem.

Here are the details. Read through this to the end and I think it  
looks pretty obvious.

Here is the total output of autogen.sh, using older autoconf/automake  
from MacOS:

./autogen.sh
Running aclocal...
Running autoheader...
Running autoconf...
Running libtoolize...
Running automake...
configure.ac:29: installing `./missing'
configure.ac:29: installing `./install-sh'
doc/Makefile.am:23: wildcard img/*.*: non-POSIX variable name
doc/Makefile.am:23: (probably a GNU make extension)
src/lib/Makefile.am: installing `./depcomp'
./configure: line 4: .: filename argument required
.: usage: . filename [arguments]

[ If I use autoconf 2.65, automake 1.11, m4 1.4.14, I get the same  
results, but much more verbose warnings above ]


Here are the first 8 lines of the configure file:

#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.61 for eina 0.9.9.49367
.
#
# Report bugs to enlightenment-devel@lists.sourceforge.net.
#
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
# ...

If I manually delete that offending line and manually ./configure, I  
get:

checking build system type... i686-apple-darwin9.8.0
checking host system type... i686-apple-darwin9.8.0
checking for gcc... gcc
checking for C compiler default output file name...
configure: error: C compiler cannot create executables
See `config.log' for more details.


But in can in fact create executables!

Here is the section of config.log that I think has the relevant info.  
Note the unexpected newlines after version numbers in the log:


This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by eina configure 0.9.9.49367
, which was
generated by GNU Autoconf 2.61.  Invocation command line was

  $ ./configure

## - ##
## Platform. ##
## - ##

hostname = david-rays-macbook-pro.local
uname -m = i386
uname -r = 9.8.0
uname -s = Darwin
uname -v = Darwin Kernel Version 9.8.0: Wed Jul 15 16:55:01 PDT 2009;  
root:xnu-1228.15.4~1/RELEASE_I386

...

## --- ##
## Core tests. ##
## --- ##

configure:2100: checking build system type
configure:2118: result: i686-apple-darwin9.8.0
configure:2140: checking host system type
configure:2155: result: i686-apple-darwin9.8.0
configure:2225: checking for gcc
configure:2241: found /usr/bin/gcc
configure:2252: result: gcc
configure:2490: checking for C compiler version
configure:2497: gcc --version 5
i686-apple-darwin9-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5577)
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There  
is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR  
PURPOSE.

configure:2500: $? = 0
configure:2507: gcc -v 5
Using built-in specs.
Target: i686-apple-darwin9
Configured with: /var/tmp/gcc_42/gcc_42-5577~1/src/configure --disable- 
checking --enable-werror --prefix=/usr --mandir=/usr/share/man -- 
enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg] 
[^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin9 -- 
with-gxx-include-dir=/usr/include/c++/4.0.0 --host=i686-apple-darwin9  
--target=i686-apple-darwin9
Thread model: posix
gcc version 4.2.1 (Apple Inc. build 5577)
configure:2510: $? = 0
configure:2517: gcc -V 5
gcc-4.2: argument to `-V' is missing
configure:2520: $? = 1
configure:2543: checking for C compiler default output file name
configure:2570: gcc -I/usr/local/include -I/usr/include -I/usr/X11/ 
include  -L/usr/lib -L/usr/X11/lib -L/usr/local/lib conftest.c  5
conftest.c:4:25: warning: missing terminating  character
conftest.c:5:1: warning: missing terminating  character
conftest.c:5: error: missing terminating  character
conftest.c:6:24: warning: missing terminating  character
conftest.c:7:1: warning: missing terminating  character
conftest.c:7: error: missing terminating  character
configure:2573: $? = 1
configure:2611: result:
configure: failed program was:

...

## --- ##
## confdefs.h. ##
## --- ##

#define PACKAGE_NAME eina
#define PACKAGE_TARNAME eina
#define PACKAGE_VERSION 0.9.9.49367

#define PACKAGE_STRING eina 0.9.9.49367

#define PACKAGE_BUGREPORT enlightenment-devel@lists.sourceforge.net

configure: exit 77
--
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel