Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 494312

Summary: media-libs/libdc1394--2.2.1 - configure.in:47: error: possibly undefined macro: AM_PATH_SDL
Product: Gentoo Linux Reporter: Andrej Gelenberg <andrej.gelenberg>
Component: [OLD] LibraryAssignee: Gentoo Media-video project <media-video>
Status: RESOLVED FIXED    
Severity: normal CC: denis, patrick, staff
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: aclocal.out
autoconf.out
emerge --info
emerge --info

Description Andrej Gelenberg 2013-12-15 10:43:58 UTC
autoconf fail without autoconf due to missing macro AM_PATH_SDL.:
***** autoconf *****
***** PWD: /var/tmp/portage/media-libs/libdc1394-2.2.1/work/libdc1394-2.2.1
***** autoconf

configure.in:42: error: possibly undefined macro: AC_DEFINE
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.in:47: error: possibly undefined macro: AM_PATH_SDL

I could install libdc1394 after installing libsdl

Reproducible: Always
Comment 1 Andrej Gelenberg 2013-12-15 10:45:27 UTC
Created attachment 365382 [details]
aclocal.out
Comment 2 Andrej Gelenberg 2013-12-15 10:45:54 UTC
Created attachment 365384 [details]
autoconf.out
Comment 3 Andrej Gelenberg 2013-12-15 10:48:11 UTC
Created attachment 365386 [details]
emerge --info
Comment 4 kramlat 2013-12-19 18:02:14 UTC
how strange, I have seen this one too.  the first error about AC_DEFINE commonly is connected with pkgconfig.  the other, obviously, sdl
Comment 5 Denys Dmytriyenko 2014-01-28 16:45:20 UTC
Created attachment 368986 [details]
emerge --info

Same here - attached my emerge --info
Comment 6 Raimund 2014-03-15 14:13:48 UTC
Same here.

The libdc1394 configure.in seems to require libsdl, however, the compiled library does not depend on libsdl.
Comment 7 Oleh 2014-04-13 10:28:25 UTC
missing libsdl dependency, with later installed libdc1394 emerged without issues.
Comment 8 Samuli Suominen (RETIRED) gentoo-dev 2014-06-20 11:44:36 UTC
*** Bug 513966 has been marked as a duplicate of this bug. ***
Comment 9 Samuli Suominen (RETIRED) gentoo-dev 2014-06-20 11:53:30 UTC
+  20 Jun 2014; Samuli Suominen <ssuominen@gentoo.org> libdc1394-2.2.1.ebuild:
+  Download and extract sdl.m4 and point AT_M4DIR for eautoreconf to it wrt
+  #494312 by Andrej Gelenberg