snes9xgit / snes9x

Snes9x - Portable Super Nintendo Entertainment System (TM) emulator
http://www.snes9x.com
Other
2.67k stars 460 forks source link

configure fails with autoreconf. #370

Closed orbea closed 6 years ago

orbea commented 6 years ago

OS: Slackware64-current autoconf-2.69

When generating the configure script and Makefiles with autoreconf configure will fail.

configure: creating ./config.status
config.status: creating Makefile
config.status: creating data/Makefile
config.status: error: cannot find input file: `po/Makefile.in.in'

This can be reproduced with.

cd gtk
autoreconf -fi
./configure

It does work with autogen.sh, but it would be nice if autoreconf worked too.

Here is a full log.

configure.ac:16: installing './compile'
configure.ac:23: installing './install-sh'
configure.ac:24: installing './missing'
Makefile.am: installing './depcomp'
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for ranlib... ranlib
checking whether g++ supports C++11 features by default... yes
checking for a BSD-compatible install... /usr/bin/ginstall -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports the include directive... yes (GNU style)
checking whether make supports nested variables... yes
checking dependency style of gcc... gcc3
checking dependency style of g++... gcc3
checking whether make supports nested variables... (cached) yes
checking whether NLS is requested... yes
checking for intltool >= 0.37.0... 0.51.0 found
checking for intltool-update... /usr/bin/intltool-update
checking for intltool-merge... /usr/bin/intltool-merge
checking for intltool-extract... /usr/bin/intltool-extract
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for perl... /usr/bin/perl
checking for perl >= 5.8.1... 5.28.0
checking for XML::Parser... ok
checking how to run the C++ preprocessor... g++ -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... yes
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for ngettext in libc... yes
checking for dgettext in libc... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... (cached) /usr/bin/msgfmt
checking for dcgettext... yes
checking if msgfmt accepts -c... yes
checking for gmsgfmt... (cached) /usr/bin/msgfmt
checking for xgettext... (cached) /usr/bin/xgettext
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for GTK... yes
checking for GLIB... yes
checking for LIBXML... yes
checking for XRANDR... yes
checking for glGetString in -lGL... yes
checking for EPOXY... yes
checking for SDL... yes
checking for XV... yes
checking for PORTAUDIO... yes
checking sys/soundcard.h usability... yes
checking sys/soundcard.h presence... yes
checking for sys/soundcard.h... yes
checking for ALSA... yes
checking for PULSEAUDIO... no
Cannot find PulseAudio library.
--> Disabling PulseAudio
checking for LIBPNG... yes
checking for SYSTEM_ZIP... no
configure: WARNING: Cannot find system minizip library
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for gzread in -lz... yes
checking for mkstemp... yes
checking for strings.h... (cached) yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking for stdint.h... (cached) yes
checking if sizeof(void *) == sizeof(int)... no
checking if rightshift int8 is arithmetic... yes
checking if rightshift int16 is arithmetic... yes
checking if rightshift int32 is arithmetic... yes
checking if rightshift int64 is arithmetic... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating data/Makefile
config.status: error: cannot find input file: `po/Makefile.in.in'
bearoso commented 6 years ago

autoreconf doesn't know about the glib tool used for internationalization, so it won't work. That's why autogen.sh is there.