GNU bug report logs -
#12058
AM_PATH_SDL does not find SDL framework installations on Mac OSX
Previous Next
Reported by: David Lowe <doctorjlowe <at> verizon.net>
Date: Thu, 26 Jul 2012 15:24:02 UTC
Severity: normal
Tags: notabug
Done: Stefano Lattarini <stefano.lattarini <at> gmail.com>
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 12058 in the body.
You can then email your comments to 12058 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-automake <at> gnu.org
:
bug#12058
; Package
automake
.
(Thu, 26 Jul 2012 15:24:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
David Lowe <doctorjlowe <at> verizon.net>
:
New bug report received and forwarded. Copy sent to
bug-automake <at> gnu.org
.
(Thu, 26 Jul 2012 15:24:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Background information: on OSX, the preferred distribution method for libraries is the 'framework' which is a click-and-draggable object that contains headers and libraries together. The standard location for these is: /Library/Frameworks/
I have the latest version of officially provided SDL runtime libraries here:
Darlene-Lowes-Mac-mini:/ (222) $ ls /Library/Frameworks/SDL*
/Library/Frameworks/SDL.framework:
Headers Resources SDL Versions
/Library/Frameworks/SDL_image.framework:
Frameworks Headers Resources SDL_image Versions
/Library/Frameworks/SDL_mixer.framework:
Frameworks Headers Resources SDL_mixer Versions
However, automake ignores them, leading to:
checking for sdl-config... no
checking for SDL - version >= 1.1.4... no
*** The sdl-config script installed by SDL could not be found
*** If SDL was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the SDL_CONFIG environment variable to the
*** full path to sdl-config.
configure: error: specified client 'sdl' not configurable (SDL >= 1.1.4 is needed (www.libsdl.org))
The above portion of a log came from a recent attempt to install Freeciv-SDL from source. I will attach the full copies of configure.ac and Makefile.am that were generated during that attempt, as i don't know enough to be sure what i could trim out without removing useful information. In any case, the failure is repeatable across a range of versions of OSX with these frameworks. I did once grab the SDL sources and do the usual configure/make. The resulting installation does not create a framework, but automake does find the libraries.
[configure.ac (application/octet-stream, attachment)]
[Makefile.am (application/octet-stream, attachment)]
[Message part 4 (text/plain, inline)]
Relevant versions:
automake: 1.10
SDL: 1.2.14
OSX: 10.6.8
Desired results: I would prefer that AM_PATH_SDL be upgraded to find and use such frameworks. Failing that, it would be nice if someone could suggest an alternate test so that the framework can be used in the configure process of the Freeciv project.
Information forwarded
to
bug-automake <at> gnu.org
:
bug#12058
; Package
automake
.
(Thu, 26 Jul 2012 18:46:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 12058 <at> debbugs.gnu.org (full text, mbox):
close 12058 notabug
thanks
Hi Dave.
On 07/26/2012 04:42 PM, David Lowe wrote:
> Background information: on OSX, the preferred distribution method for
> libraries is the 'framework' which is a click-and-draggable object
> that contains headers and libraries together. The standard location
> for these is: /Library/Frameworks/
>
> I have the latest version of officially provided SDL runtime
> libraries here:
>
> Darlene-Lowes-Mac-mini:/ (222) $ ls /Library/Frameworks/SDL*
> /Library/Frameworks/SDL.framework:
> Headers Resources SDL Versions
>
> /Library/Frameworks/SDL_image.framework:
> Frameworks Headers Resources SDL_image Versions
>
> /Library/Frameworks/SDL_mixer.framework:
> Frameworks Headers Resources SDL_mixer Versions
>
> However, automake ignores them, leading to:
>
> checking for sdl-config... no
> checking for SDL - version >= 1.1.4... no
> *** The sdl-config script installed by SDL could not be found
> *** If SDL was installed in PREFIX, make sure PREFIX/bin is in
> *** your path, or set the SDL_CONFIG environment variable to the
> *** full path to sdl-config.
> configure: error: specified client 'sdl' not configurable (SDL >= 1.1.4 is needed (www.libsdl.org))
>
> The above portion of a log came from a recent attempt to install
> Freeciv-SDL from source. I will attach the full copies of configure.ac
> and Makefile.am that were generated during that attempt, as i don't
> now enough to be sure what i could trim out without removing useful
> information. In any case, the failure is repeatable across a range
> of versions of OSX with these frameworks. I did once grab the SDL
> sources and do the usual configure/make. The resulting installation
> does not create a framework, but automake does find the libraries.
>
> Relevant versions:
>
> automake: 1.10
> SDL: 1.2.14
> OSX: 10.6.8
>
> Desired results: I would prefer that AM_PATH_SDL be upgraded to
> find and use such frameworks. Failing that, it would be nice if
> someone could suggest an alternate test so that the framework
> can be used in the configure process of the Freeciv project.=
>
Well, this problem has nothing to do with Automake, because the macro
AM_PATH_SDL is *not* provided by Automake -- although the fact that the
macro name starts with 'AM_' confusingly suggest otherwise.
IMNSHO that choice of a name it is a serious mistake by whoever is
defining/distributing that macro, for two reasons:
1. it gives the wrong impression that the macro is provided
by or related to Automake -- not true.
2. It invades the 'AM_' namespace, that should be reserved
for automake macros.
Back to you problem: a google search *suggests* that AM_PATH_SDL is
provided by the SDL project itself:
<http://wiki.libsdl.org/moin.cgi/FAQLinux>
<http://lists.libsdl.org/pipermail/commits-libsdl.org/2010-April/002622.html>
<http://www.libsdl.org/release/SDL-1.2.15/sdl.m4>
So you might want to report the issue to them.
Regards, and good luck,
Stefano
Information forwarded
to
bug-automake <at> gnu.org
:
bug#12058
; Package
automake
.
(Thu, 26 Jul 2012 18:46:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 12058 <at> debbugs.gnu.org (full text, mbox):
close 12058 notabug
thanks
Hi Dave.
On 07/26/2012 04:42 PM, David Lowe wrote:
> Background information: on OSX, the preferred distribution method for
> libraries is the 'framework' which is a click-and-draggable object
> that contains headers and libraries together. The standard location
> for these is: /Library/Frameworks/
>
> I have the latest version of officially provided SDL runtime
> libraries here:
>
> Darlene-Lowes-Mac-mini:/ (222) $ ls /Library/Frameworks/SDL*
> /Library/Frameworks/SDL.framework:
> Headers Resources SDL Versions
>
> /Library/Frameworks/SDL_image.framework:
> Frameworks Headers Resources SDL_image Versions
>
> /Library/Frameworks/SDL_mixer.framework:
> Frameworks Headers Resources SDL_mixer Versions
>
> However, automake ignores them, leading to:
>
> checking for sdl-config... no
> checking for SDL - version >= 1.1.4... no
> *** The sdl-config script installed by SDL could not be found
> *** If SDL was installed in PREFIX, make sure PREFIX/bin is in
> *** your path, or set the SDL_CONFIG environment variable to the
> *** full path to sdl-config.
> configure: error: specified client 'sdl' not configurable (SDL >= 1.1.4 is needed (www.libsdl.org))
>
> The above portion of a log came from a recent attempt to install
> Freeciv-SDL from source. I will attach the full copies of configure.ac
> and Makefile.am that were generated during that attempt, as i don't
> now enough to be sure what i could trim out without removing useful
> information. In any case, the failure is repeatable across a range
> of versions of OSX with these frameworks. I did once grab the SDL
> sources and do the usual configure/make. The resulting installation
> does not create a framework, but automake does find the libraries.
>
> Relevant versions:
>
> automake: 1.10
> SDL: 1.2.14
> OSX: 10.6.8
>
> Desired results: I would prefer that AM_PATH_SDL be upgraded to
> find and use such frameworks. Failing that, it would be nice if
> someone could suggest an alternate test so that the framework
> can be used in the configure process of the Freeciv project.=
>
Well, this problem has nothing to do with Automake, because the macro
AM_PATH_SDL is *not* provided by Automake -- although the fact that the
macro name starts with 'AM_' confusingly suggest otherwise.
IMNSHO that choice of a name it is a serious mistake by whoever is
defining/distributing that macro, for two reasons:
1. it gives the wrong impression that the macro is provided
by or related to Automake -- not true.
2. It invades the 'AM_' namespace, that should be reserved
for automake macros.
Back to you problem: a google search *suggests* that AM_PATH_SDL is
provided by the SDL project itself:
<http://wiki.libsdl.org/moin.cgi/FAQLinux>
<http://lists.libsdl.org/pipermail/commits-libsdl.org/2010-April/002622.html>
<http://www.libsdl.org/release/SDL-1.2.15/sdl.m4>
So you might want to report the issue to them.
Regards, and good luck,
Stefano
Added tag(s) notabug.
Request was from
Stefano Lattarini <stefano.lattarini <at> gmail.com>
to
control <at> debbugs.gnu.org
.
(Thu, 26 Jul 2012 18:47:02 GMT)
Full text and
rfc822 format available.
bug closed, send any further explanations to
12058 <at> debbugs.gnu.org and David Lowe <doctorjlowe <at> verizon.net>
Request was from
Stefano Lattarini <stefano.lattarini <at> gmail.com>
to
control <at> debbugs.gnu.org
.
(Thu, 26 Jul 2012 18:47:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-automake <at> gnu.org
:
bug#12058
; Package
automake
.
(Thu, 26 Jul 2012 21:53:02 GMT)
Full text and
rfc822 format available.
Message #18 received at 12058 <at> debbugs.gnu.org (full text, mbox):
On Fri, Jul 27, 2012 at 4:38 AM, Stefano Lattarini
<stefano.lattarini <at> gmail.com> wrote:
> IMNSHO that choice of a name it is a serious mistake by whoever is
> defining/distributing that macro, for two reasons:
>
> 1. it gives the wrong impression that the macro is provided
> by or related to Automake -- not true.
>
> 2. It invades the 'AM_' namespace, that should be reserved
> for automake macros.
IIRC a number of packages used to define their own AM_PATH_FOO macros,
all subtly different. This is before pkg-config came about, and before
the AX_ namespace was widely used (available?).
> Back to you problem: a google search *suggests* that AM_PATH_SDL is
> provided by the SDL project itself:
>
> <http://wiki.libsdl.org/moin.cgi/FAQLinux>
> <http://lists.libsdl.org/pipermail/commits-libsdl.org/2010-April/002622.html>
> <http://www.libsdl.org/release/SDL-1.2.15/sdl.m4>
I don't have a mac handy so I can't go rummaging around in the .dmg,
but if there's a sdl-config in the framework you've installed, you
make be able to get freeciv to configure by passing an appropriate
--with-sdl-prefix flag.
So if you can make it configure, then the bug is with sdl.m4, which
should be looking for frameworks on OSX, I suppose. You may be able to
make it work with pkg-config (replace the call to AM_PATH_SDL with an
appropriate PKG_CHECK_MODULES call), depending on whether the
framework distributes sdl.pc and your PKG_CONFIG_PATH.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Fri, 24 Aug 2012 11:24:03 GMT)
Full text and
rfc822 format available.
This bug report was last modified 12 years and 358 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.