Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error building 0.9.13 on linux mint #782

Open
lowendgamer opened this issue Apr 4, 2024 · 1 comment
Open

Error building 0.9.13 on linux mint #782

lowendgamer opened this issue Apr 4, 2024 · 1 comment

Comments

@lowendgamer
Copy link

ptrck@zxc:~$ ls
Desktop         Documents  Music     Public     Videos
desmume-0.9.13  Downloads  Pictures  Templates
ptrck@zxc:~$ cd desmume-0.9.13
ptrck@zxc:~/desmume-0.9.13$ 
ptrck@zxc:~/desmume-0.9.13$ cd desmume/src/frontend/posix/
ptrck@zxc:~/desmume-0.9.13/desmume/src/frontend/posix$ ./autogen.sh
autoreconf: export WARNINGS=
autoreconf: Entering directory '.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force 
autoreconf: configure.ac: tracing
autoreconf: configure.ac: not using Libtool
autoreconf: configure.ac: not using Intltool
autoreconf: configure.ac: not using Gtkdoc
autoreconf: running: /usr/bin/autoconf --force
configure.ac:83: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:83: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
./lib/autoconf/general.m4:1534: AC_ARG_ENABLE is expanded from...
configure.ac:83: the top level
configure.ac:101: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:101: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
./lib/autoconf/general.m4:1534: AC_ARG_ENABLE is expanded from...
configure.ac:101: the top level
configure.ac:107: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:107: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
./lib/autoconf/general.m4:1534: AC_ARG_ENABLE is expanded from...
configure.ac:107: the top level
configure.ac:145: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:145: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
./lib/autoconf/general.m4:1534: AC_ARG_ENABLE is expanded from...
configure.ac:145: the top level
configure.ac:235: warning: The macro `GLIB_GNU_GETTEXT' is obsolete.
configure.ac:235: You should run autoupdate.
aclocal.m4:388: GLIB_GNU_GETTEXT is expanded from...
aclocal.m4:488: AM_GLIB_GNU_GETTEXT is expanded from...
configure.ac:235: the top level
configure.ac:235: warning: The macro `AC_TRY_LINK' is obsolete.
configure.ac:235: You should run autoupdate.
./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from...
aclocal.m4:73: GLIB_LC_MESSAGES is expanded from...
aclocal.m4:388: GLIB_GNU_GETTEXT is expanded from...
aclocal.m4:488: AM_GLIB_GNU_GETTEXT is expanded from...
configure.ac:235: the top level
configure.ac:235: warning: The macro `AC_TRY_LINK' is obsolete.
configure.ac:235: You should run autoupdate.
./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/headers.m4:89: _AC_CHECK_HEADER_COMPILE is expanded from...
./lib/autoconf/headers.m4:56: AC_CHECK_HEADER is expanded from...
aclocal.m4:172: GLIB_WITH_NLS is expanded from...
aclocal.m4:388: GLIB_GNU_GETTEXT is expanded from...
aclocal.m4:488: AM_GLIB_GNU_GETTEXT is expanded from...
configure.ac:235: the top level
configure.ac:235: warning: The macro `AC_TRY_LINK' is obsolete.
configure.ac:235: You should run autoupdate.
./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/headers.m4:89: _AC_CHECK_HEADER_COMPILE is expanded from...
./lib/autoconf/headers.m4:56: AC_CHECK_HEADER is expanded from...
aclocal.m4:172: GLIB_WITH_NLS is expanded from...
aclocal.m4:388: GLIB_GNU_GETTEXT is expanded from...
aclocal.m4:488: AM_GLIB_GNU_GETTEXT is expanded from...
configure.ac:235: the top level
configure.ac:235: warning: The macro `AC_OUTPUT_COMMANDS' is obsolete.
configure.ac:235: You should run autoupdate.
./lib/autoconf/status.m4:1025: AC_OUTPUT_COMMANDS is expanded from...
aclocal.m4:172: GLIB_WITH_NLS is expanded from...
aclocal.m4:388: GLIB_GNU_GETTEXT is expanded from...
aclocal.m4:488: AM_GLIB_GNU_GETTEXT is expanded from...
configure.ac:235: the top level
configure.ac:248: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:248: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
./lib/autoconf/general.m4:1534: AC_ARG_ENABLE is expanded from...
configure.ac:248: the top level
configure.ac:302: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:302: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
./lib/autoconf/general.m4:1534: AC_ARG_ENABLE is expanded from...
configure.ac:302: the top level
configure.ac:317: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:317: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
./lib/autoconf/general.m4:1534: AC_ARG_ENABLE is expanded from...
configure.ac:317: the top level
configure.ac:337: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:337: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.ac:337: the top level
configure.ac:340: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:340: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.ac:340: the top level
configure.ac:343: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:343: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.ac:343: the top level
configure.ac:346: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:346: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.ac:346: the top level
configure.ac:349: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:349: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.ac:349: the top level
configure.ac:372: warning: AC_C_BIGENDIAN should be used with AC_CONFIG_HEADERS
autoreconf: configure.ac: not using Autoheader
autoreconf: running: automake --add-missing --copy --force-missing
autoreconf: Leaving directory '.'
ptrck@zxc:~/desmume-0.9.13/desmume/src/frontend/posix$ ./configure
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking how to create a pax tar archive... gnutar
checking for g++... g++
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 the compiler supports GNU C++... yes
checking whether g++ accepts -g... yes
checking for g++ option to enable C++11 features... none needed
checking whether make supports the include directive... yes (GNU style)
checking dependency style of g++... gcc3
checking for ranlib... ranlib
checking for gcc... gcc
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking whether byte ordering is bigendian... no
checking for gzopen in -lz... yes
checking for main in -lpcap... yes
checking for zzip_open in -lzzip... no
checking how to run the C preprocessor... gcc -E
checking for X... libraries , headers 
checking for sdl2-config... no
configure: error: sdl is required to build desmume
ptrck@zxc:~/desmume-0.9.13/desmume/src/frontend/posix$ make
make: *** No targets specified and no makefile found.  Stop.
ptrck@zxc:~/desmume-0.9.13/desmume/src/frontend/posix$ sudo make install
make: *** No rule to make target 'install'.  Stop.
ptrck@zxc:~/desmume-0.9.13/desmume/src/frontend/posix$ 

What packages am I missing?

I was following this guide: https://wiki.desmume.org/index.php?title=Installing_DeSmuME_from_source_on_Linux

@rofl0r
Copy link
Collaborator

rofl0r commented Apr 4, 2024

it's printed right in front of your eyes, when it failed but you typed make anyway. : configure: error: sdl is required to build desmume. you gotta install sdl2-devel. the best documentation for which packages to install is the CI build, check the yml files in .github. there are some apt-get statements.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants