GNU bug report logs - #15531
Emacs configure fails with gif 5.0

Previous Next

Package: emacs;

Reported by: Barry Fishman <barry_fishman <at> acm.org>

Date: Sat, 5 Oct 2013 18:14:02 UTC

Severity: important

Found in version 24.3.50

Fixed in version 24.4

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 15531 in the body.
You can then email your comments to 15531 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#15531; Package emacs. (Sat, 05 Oct 2013 18:14:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Barry Fishman <barry_fishman <at> acm.org>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sat, 05 Oct 2013 18:14:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Barry Fishman <barry_fishman <at> acm.org>
To: submit <at> debbugs.gnu.org
Subject: Emacs configure fails with gif 5.0
Date: Sat, 05 Oct 2013 11:27:53 -0400
[Message part 1 (text/plain, inline)]
Package: emacs
Version: 24.3.50

The configure script fails to recognize the gif_lib.h header file for
gif 5.0 and so prints an error that git support can not be found.

The gif_lib.h header file has been reorganized for gif 5.0.  There is no
longer a EGifPutExtensionLast function.  However there is a new
GifMakeMapObject I used in my patch.  A better way would probably be to
look at the new GIFLIB_MAJOR define now in gif_lib.h.

I have included a patch, but I do not have many OS/platforms that I
can check.  I am far from understanding autoconfig, but my attempt at a
fix (git patch) is included below:

[emacs-gif-5.patch (text/x-diff, attachment)]
[Message part 3 (text/plain, inline)]
-- 
Barry Fishman

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#15531; Package emacs. (Sat, 05 Oct 2013 18:27:02 GMT) Full text and rfc822 format available.

Message #8 received at 15531 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Barry Fishman <barry_fishman <at> acm.org>
Cc: 15531 <at> debbugs.gnu.org
Subject: Re: bug#15531: Emacs configure fails with gif 5.0
Date: Sat, 05 Oct 2013 21:26:06 +0300
> From: Barry Fishman <barry_fishman <at> acm.org>
> Date: Sat, 05 Oct 2013 11:27:53 -0400
> 
> The configure script fails to recognize the gif_lib.h header file for
> gif 5.0 and so prints an error that git support can not be found.
> 
> The gif_lib.h header file has been reorganized for gif 5.0.  There is no
> longer a EGifPutExtensionLast function.  However there is a new
> GifMakeMapObject I used in my patch.  A better way would probably be to
> look at the new GIFLIB_MAJOR define now in gif_lib.h.
> 
> I have included a patch, but I do not have many OS/platforms that I
> can check.  I am far from understanding autoconfig, but my attempt at a
> fix (git patch) is included below:

Thanks.

For the record, this is not enough for Windows, because we must
prevent Emacs compiled with libungif 5.0 or newer to dynamically load
an older shared library, or vice versa.

Btw, where can one find this new version?  I can only find versions
4.x or older.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#15531; Package emacs. (Sat, 05 Oct 2013 19:20:02 GMT) Full text and rfc822 format available.

Message #11 received at 15531 <at> debbugs.gnu.org (full text, mbox):

From: Barry Fishman <barry_fishman <at> acm.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 15531 <at> debbugs.gnu.org
Subject: Re: bug#15531: Emacs configure fails with gif 5.0
Date: Sat, 05 Oct 2013 15:19:15 -0400
On 2013-10-05 14:26:06 EDT, Eli Zaretskii wrote:
> For the record, this is not enough for Windows, because we must
> prevent Emacs compiled with libungif 5.0 or newer to dynamically load
> an older shared library, or vice versa.
>
> Btw, where can one find this new version?  I can only find versions
> 4.x or older.

I use Arch GNU/Linux which defaults to using giflib 5.0.4.  They point
back to http://sourceforge.net/projects/giflib/.  It has the download
for 5.0.5 listed under the "Recent Releases" heading.  Its also
tagged in its git repository.

-- 
Barry Fishman




Reply sent to Glenn Morris <rgm <at> gnu.org>:
You have taken responsibility. (Thu, 10 Oct 2013 00:41:02 GMT) Full text and rfc822 format available.

Notification sent to Barry Fishman <barry_fishman <at> acm.org>:
bug acknowledged by developer. (Thu, 10 Oct 2013 00:41:02 GMT) Full text and rfc822 format available.

Message #16 received at 15531-done <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: 15531-done <at> debbugs.gnu.org
Subject: Re: bug#15531: Emacs configure fails with gif 5.0
Date: Wed, 09 Oct 2013 20:40:45 -0400
Version: 24.4

Thank you; applied.

We'll need a copyright assignment to accept any more code from you.
If you think you might contribute more in future, let me know off-list,
and I can send you a form to get started.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 07 Nov 2013 12:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 10 years and 182 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.