cebix / macemu

Basilisk II and SheepShaver Macintosh emulators
1.37k stars 285 forks source link

configure fails on linux / gtk problem #243

Open orzel opened 2 years ago

orzel commented 2 years ago

Hi. I did a fresh checkout as of today, on an updated gentoo amd64 system. There was no ./configure, so i did 'autoconf' first.. Then ./configure fails with :

...
checking for IceConnectionNumber in -lICE... yes
checking for library containing pthread_create... -lpthread
checking for pthread_cond_init... yes
checking for pthread_cancel... yes
checking for pthread_testcancel... yes
checking for pthread_mutexattr_setprotocol... yes
checking for pthread_mutexattr_settype... yes
checking for pthread_mutexattr_setpshared... yes
checking for sem_init... yes
checking for XF86DGAQueryExtension in -lXxf86dga... yes
configure: WARNING: Cannot have both --enable-xf86-dga and --enable-fbdev-dga, ignoring --enable-fbdev-dga.
checking for XF86VidModeQueryExtension in -lXxf86vm... yes
./configure: line 7527: syntax error near unexpected token `1.3.15,'
./configure: line 7527: `  AM_PATH_GTK_2_0(1.3.15,'

My gtk is 4.2.1, which is probably related. But it seems lot of other people manage this step, so I thought I would still report this very problem.

For reference, autoconf version is 2.69. I've tried an old one i had (2.13), but it wont even create the configure: autoconf: configure.in: No such file or directory

dylan-lom commented 2 years ago

For anyone else who runs into this issue:

I solved this by following the build advice here (linked in the Linux section of the forums); running ./autogen.sh instead of autoconf directly fixed this for me.