all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#8342: 24.0.50; Emacs HEAD cannot build with OS X standard autoconf
@ 2011-03-25 13:29 Steve Purcell
  2011-03-25 14:26 ` Jan Djärv
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Steve Purcell @ 2011-03-25 13:29 UTC (permalink / raw
  To: 8342

The latest Apple developer tools (XCode 3.2.6) provide autoconf version
2.61. Since 'configure' was removed from emacs bzr, it cannot be
regenerated on this platform without autoconf >= 2.6.5, i.e. overriding
Apple's standard autotools, which is widely deprecated.

IMHO, it should continue to be possible to build emacs without doing so,
as has always been the case.

% ./configure --with-ns
zsh: no such file or directory: ./configure
% autoreconf
configure.in:24: error: Autoconf version 2.65 or higher is required
configure.in:24: the top level
autom4te: /usr/bin/gm4 failed with exit status: 63
aclocal: /usr/bin/autom4te failed with exit status: 63
autoreconf: aclocal failed with exit status: 63



In GNU Emacs 24.0.50.1 (x86_64-apple-darwin10.6.0, NS apple-appkit-1038.35)
of 2011-03-21 on mandala.home
Windowing system distributor `Apple', version 10.3.1038
configured using `configure  '--with-ns' '--without-dbus' 'CFLAGS=-g''






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

* bug#8342: 24.0.50; Emacs HEAD cannot build with OS X standard autoconf
  2011-03-25 13:29 bug#8342: 24.0.50; Emacs HEAD cannot build with OS X standard autoconf Steve Purcell
@ 2011-03-25 14:26 ` Jan Djärv
  2011-03-25 15:04   ` Steve Purcell
  2011-03-25 18:02 ` Andreas Schwab
  2011-03-25 19:59 ` Stefan Monnier
  2 siblings, 1 reply; 13+ messages in thread
From: Jan Djärv @ 2011-03-25 14:26 UTC (permalink / raw
  To: Steve Purcell; +Cc: 8342



Steve Purcell skrev 2011-03-25 14.29:
> The latest Apple developer tools (XCode 3.2.6) provide autoconf version
> 2.61. Since 'configure' was removed from emacs bzr, it cannot be
> regenerated on this platform without autoconf>= 2.6.5, i.e. overriding
> Apple's standard autotools, which is widely deprecated.

Deprecated by who?  I have had autoconf in /usr/local for years on OSX, and 
noticed no ill effects on XCode projects.
>
> IMHO, it should continue to be possible to build emacs without doing so,
> as has always been the case.

It is still the case for released versions, it is just the developer version 
that has changed.  This is more or less how other projects manage development 
versions.

	Jan D.





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

* bug#8342: 24.0.50; Emacs HEAD cannot build with OS X standard autoconf
  2011-03-25 14:26 ` Jan Djärv
@ 2011-03-25 15:04   ` Steve Purcell
  2011-03-25 15:51     ` Chong Yidong
  2011-03-25 17:08     ` Glenn Morris
  0 siblings, 2 replies; 13+ messages in thread
From: Steve Purcell @ 2011-03-25 15:04 UTC (permalink / raw
  To: Jan Djärv; +Cc: 8342

On 25 Mar 2011, at 14:26, Jan Djärv wrote:
> 
> Steve Purcell skrev 2011-03-25 14.29:
>> The latest Apple developer tools (XCode 3.2.6) provide autoconf version
>> 2.61. Since 'configure' was removed from emacs bzr, it cannot be
>> regenerated on this platform without autoconf>= 2.6.5, i.e. overriding
>> Apple's standard autotools, which is widely deprecated.
> 
> Deprecated by who?  I have had autoconf in /usr/local for years on OSX, and noticed no ill effects on XCode projects.
>> 
>> IMHO, it should continue to be possible to build emacs without doing so,
>> as has always been the case.
> 
> It is still the case for released versions, it is just the developer version that has changed.  This is more or less how other projects manage development versions.
> 
> 	Jan D.

Hi Jan,

I'm sure some other projects do the same thing. Though I appreciate the purity of not checking in the configure script, I think it is neither pragmatic nor common to do so.

The majority of software I have ever installed from source has been supplied with a pre-generated configure script, and this is independent of whether that software was a development or release version. Provided the relevant libraries are installed, almost everything will build with only gcc and a standard shell.

For reference, I'm using the Homebrew package manager (http://github.com/mxcl/homebrew), which relies on the Apple-standard autoconf. Of the ~1500 packages it currently supports, both in stable and dev versions, Emacs HEAD is now the only one which I know will fail to build due to the autoconf version.

The change appears to simplify things for the very few developers who touch configure.in at the expense of the many more casual users/developers who build Emacs from HEAD, use it and provide feedback and patches. Making the software harder to build will reduce the user base.

That's probably why most projects tend to check the configure script into VC (which is a compromise aesthetically) and it's why I still hope that a convenient method can be found to keep the configure script up to date and checked-in.

I will probably take the time to work around this issue on my own machine sooner or later, but not everybody will do so, and this is why I raised this bug.

Cheers, and many thanks for your work on Emacs.

-Steve




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

* bug#8342: 24.0.50; Emacs HEAD cannot build with OS X standard autoconf
  2011-03-25 15:04   ` Steve Purcell
@ 2011-03-25 15:51     ` Chong Yidong
  2011-03-25 17:58       ` Glenn Morris
  2011-03-25 17:58       ` Steve Purcell
  2011-03-25 17:08     ` Glenn Morris
  1 sibling, 2 replies; 13+ messages in thread
From: Chong Yidong @ 2011-03-25 15:51 UTC (permalink / raw
  To: Steve Purcell; +Cc: 8342

Steve Purcell <steve@sanityinc.com> writes:

> Of the ~1500 packages it currently supports, both in stable and dev
> versions, Emacs HEAD is now the only one which I know will fail to
> build due to the autoconf version.

If you change the line

AC_PREREQ(2.65)

in configure.in to your exisiting autoconf version, does Emacs build
properly?





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

* bug#8342: 24.0.50; Emacs HEAD cannot build with OS X standard autoconf
  2011-03-25 15:04   ` Steve Purcell
  2011-03-25 15:51     ` Chong Yidong
@ 2011-03-25 17:08     ` Glenn Morris
  2011-03-25 18:06       ` Steve Purcell
  1 sibling, 1 reply; 13+ messages in thread
From: Glenn Morris @ 2011-03-25 17:08 UTC (permalink / raw
  To: Steve Purcell; +Cc: 8342

Steve Purcell wrote:

> I will probably take the time to work around this issue on my own machine sooner or later, but not everybody will do so, and this is why I raised this bug.

If installing autoconf is too hard, you can use

./autogen/copy_autogen

as a workaround

(as advised by the top-level autogen.sh script, if you run it)





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

* bug#8342: 24.0.50; Emacs HEAD cannot build with OS X standard autoconf
  2011-03-25 15:51     ` Chong Yidong
@ 2011-03-25 17:58       ` Glenn Morris
  2011-03-25 17:58       ` Steve Purcell
  1 sibling, 0 replies; 13+ messages in thread
From: Glenn Morris @ 2011-03-25 17:58 UTC (permalink / raw
  To: Chong Yidong; +Cc: Steve Purcell, 8342

Chong Yidong wrote:

> AC_PREREQ(2.65)
>
> in configure.in to your exisiting autoconf version, does Emacs build
> properly?

I seem to recall there were bugs fixed in autoconf 2.62 that were
relevant to Emacs on some platforms. But I can't remember what the bugs
were.





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

* bug#8342: 24.0.50; Emacs HEAD cannot build with OS X standard autoconf
  2011-03-25 15:51     ` Chong Yidong
  2011-03-25 17:58       ` Glenn Morris
@ 2011-03-25 17:58       ` Steve Purcell
  1 sibling, 0 replies; 13+ messages in thread
From: Steve Purcell @ 2011-03-25 17:58 UTC (permalink / raw
  To: 8342

On 25 Mar 2011, at 15:51, Chong Yidong wrote:

> Steve Purcell <steve@sanityinc.com> writes:
> 
>> Of the ~1500 packages it currently supports, both in stable and dev
>> versions, Emacs HEAD is now the only one which I know will fail to
>> build due to the autoconf version.
> 
> If you change the line
> 
> AC_PREREQ(2.65)
> 
> in configure.in to your exisiting autoconf version, does Emacs build
> properly?
> 

Nope - autoconf fails on an undefined macro.






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

* bug#8342: 24.0.50; Emacs HEAD cannot build with OS X standard autoconf
  2011-03-25 13:29 bug#8342: 24.0.50; Emacs HEAD cannot build with OS X standard autoconf Steve Purcell
  2011-03-25 14:26 ` Jan Djärv
@ 2011-03-25 18:02 ` Andreas Schwab
  2011-03-25 19:34   ` Steve Purcell
  2011-03-25 19:59 ` Stefan Monnier
  2 siblings, 1 reply; 13+ messages in thread
From: Andreas Schwab @ 2011-03-25 18:02 UTC (permalink / raw
  To: Steve Purcell; +Cc: 8342

Steve Purcell <steve@sanityinc.com> writes:

> IMHO, it should continue to be possible to build emacs without doing so,
> as has always been the case.

Just use the files in autogen if you are stuck with antique software.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."





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

* bug#8342: 24.0.50; Emacs HEAD cannot build with OS X standard autoconf
  2011-03-25 17:08     ` Glenn Morris
@ 2011-03-25 18:06       ` Steve Purcell
  2011-03-25 18:10         ` Glenn Morris
  0 siblings, 1 reply; 13+ messages in thread
From: Steve Purcell @ 2011-03-25 18:06 UTC (permalink / raw
  To: Glenn Morris; +Cc: 8342

On 25 Mar 2011, at 17:08, Glenn Morris wrote:
> 
> If installing autoconf is too hard, you can use
> 
> ./autogen/copy_autogen
> 
> as a workaround
> 
> (as advised by the top-level autogen.sh script, if you run it)
> 

Hi Glenn,

That works, and I apologise for having failed to notice it.

It's not that installing autogen is too hard, of course -- I have an autogen, just not the very latest version, and that never mattered before since 'configure' was all I needed.

It seems like if there's an accepted case for checking in a version of the autogen'd files, then why not spare the users by sticking with the previous simpler scheme, and use the ./autogen cronjob to update the primary files directly?

I imagine the Homebrew build recipe will end up just using copy_autogen if the new scheme remains in place, and a bunch of OS X users will also get used to running ./autogen/copy_autogen every time they build.

I should stress that I'm far from a hard-core Emacs developer, and I don't fully understand the big picture of making Emacs work *everywhere*, but I hope that this at least qualifies my bug report as the feedback of an informed (and grateful) user on one reasonably popular platform.

Cheers,

-Steve




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

* bug#8342: 24.0.50; Emacs HEAD cannot build with OS X standard autoconf
  2011-03-25 18:06       ` Steve Purcell
@ 2011-03-25 18:10         ` Glenn Morris
       [not found]           ` <F7203268-7EC9-49BE-A31F-592ECC383EF5@sanityinc.com>
  0 siblings, 1 reply; 13+ messages in thread
From: Glenn Morris @ 2011-03-25 18:10 UTC (permalink / raw
  To: Steve Purcell; +Cc: 8342

Steve Purcell wrote:

> I imagine the Homebrew build recipe will end up just using
> copy_autogen if the new scheme remains in place, and a bunch of OS X
> users will also get used to running ./autogen/copy_autogen every time
> they build.

How about asking Homebrew to package a recent autoconf?
I'm not familiar with their system, but maybe their Emacs package could
even require it as a dependency.






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

* bug#8342: 24.0.50; Emacs HEAD cannot build with OS X standard autoconf
       [not found]               ` <A43D9B2F-FAF5-4096-99E6-0AE152FBB49C@sanityinc.com>
@ 2011-03-25 18:36                 ` Glenn Morris
  0 siblings, 0 replies; 13+ messages in thread
From: Glenn Morris @ 2011-03-25 18:36 UTC (permalink / raw
  To: 8342


(I think the following off-list stuff is worth having in the bug report).


Steve Purcell wrote (on Fri, 25 Mar 2011 at 18:26 +0000):

> On 25 Mar 2011, at 18:24, Glenn Morris wrote:
> 
> > Steve Purcell wrote (on Fri, 25 Mar 2011 at 18:18 +0000):
> > 
> >> Dependencies can be specified, but autoconf won't get into Homebrew
> >> because Homebrew aims to avoid providing packages that Apple already
> >> provide, presumably in the interest of avoiding compatibility
> >> issues. That goal seems to be surprisingly possible, and there are
> >> around 1500 packages right now that don't require a newer autoconf
> >> than Apple's.
> > 
> > How many of the 1500 have you actually checked, and how many of those
> > offer the option to build from the repository as opposed to the last
> > stable release?
> 
> I haven't checked, but many recipes support the --head build option.
> 
> > Because the first one I looked at, GNU coreutils (Apple don't provide
> > coreutils?) did not even seem to offer the option to build from the
> > repo, and when I look at the repo, they do not include configure, and
> > require autoconf 2.62.
> > 
> That recipe would not, then, support the --head option.





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

* bug#8342: 24.0.50; Emacs HEAD cannot build with OS X standard autoconf
  2011-03-25 18:02 ` Andreas Schwab
@ 2011-03-25 19:34   ` Steve Purcell
  0 siblings, 0 replies; 13+ messages in thread
From: Steve Purcell @ 2011-03-25 19:34 UTC (permalink / raw
  To: Andreas Schwab; +Cc: 8342

On 25 Mar 2011, at 18:02, Andreas Schwab wrote:

> Steve Purcell <steve@sanityinc.com> writes:
> 
>> IMHO, it should continue to be possible to build emacs without doing so,
>> as has always been the case.
> 
> Just use the files in autogen if you are stuck with antique software.


Yes, I am sure that will happen. And I'm the first to admit that if I still lived in Debian (and was able to use a new enough distro to have the requisite autoconf version), this problem wouldn't have affected or even interested me.

But I hope I'll be forgiven for trying to point out that:

1. Emacs HEAD users on OS X will mostly use the copy_autogen script in future
2. Those people may well end up slightly confused along the way, like me (and I think I qualify as very experienced)
3. Any issues arising from that confusion or the freshness of the files in ./autogen will likely end up filed as emacs bugs

Thanks to Glenn I can now make my own build and the Homebrew build work, and I've provided what I hope is useful feedback on the changes, so I don't mind if this bug report is closed.




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

* bug#8342: 24.0.50; Emacs HEAD cannot build with OS X standard autoconf
  2011-03-25 13:29 bug#8342: 24.0.50; Emacs HEAD cannot build with OS X standard autoconf Steve Purcell
  2011-03-25 14:26 ` Jan Djärv
  2011-03-25 18:02 ` Andreas Schwab
@ 2011-03-25 19:59 ` Stefan Monnier
  2 siblings, 0 replies; 13+ messages in thread
From: Stefan Monnier @ 2011-03-25 19:59 UTC (permalink / raw
  To: Steve Purcell; +Cc: 8342

> IMHO, it should continue to be possible to build emacs without doing so,
> as has always been the case.

It's still just as possible as before.  You just need to do:

   ./autogen/copy_autogen; make.


        Stefan





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

end of thread, other threads:[~2011-03-25 19:59 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-25 13:29 bug#8342: 24.0.50; Emacs HEAD cannot build with OS X standard autoconf Steve Purcell
2011-03-25 14:26 ` Jan Djärv
2011-03-25 15:04   ` Steve Purcell
2011-03-25 15:51     ` Chong Yidong
2011-03-25 17:58       ` Glenn Morris
2011-03-25 17:58       ` Steve Purcell
2011-03-25 17:08     ` Glenn Morris
2011-03-25 18:06       ` Steve Purcell
2011-03-25 18:10         ` Glenn Morris
     [not found]           ` <F7203268-7EC9-49BE-A31F-592ECC383EF5@sanityinc.com>
     [not found]             ` <19852.56802.807219.528249@fencepost.gnu.org>
     [not found]               ` <A43D9B2F-FAF5-4096-99E6-0AE152FBB49C@sanityinc.com>
2011-03-25 18:36                 ` Glenn Morris
2011-03-25 18:02 ` Andreas Schwab
2011-03-25 19:34   ` Steve Purcell
2011-03-25 19:59 ` Stefan Monnier

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.