#54153 closed defect (fixed)
Failed to configure freeciv; Cannot build modpack installer with any gui
Reported by: | Polyergic (Shad Sterling) | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.4.1 |
Keywords: | Cc: | ||
Port: | freeciv |
Description
When I look at config.log
and main.log
it seems to be trying to use GTK, which is not listed as a dependency; I thought the port freeciv
was the SDL version, while freeciv-x11
is the X11/GTK version.
After the first failure I ran port selfupdate; port upgrade outdated; port clean freeciv
before trying again, which also failed.
From config.log:
configure:26877: /usr/bin/clang -o conftest -pipe -Os -arch x86_64 -lSM -lICE -lXaw -lXt -lX11 -I/opt/local/include -DLOCALEDIR="\"${datarootdir}/locale\"" -DBINDIR="\"${exec_prefix}/bin\"" -L/opt/local/lib -Wl,-headerpad_max_insta ll_names -arch x86_64 conftest.c -liconv -pthread >&5 conftest.c:86:10: fatal error: 'X11/Xaw/Scrollbar.h' file not found #include <X11/Xaw/Scrollbar.h> ^ 1 error generated.
configure:32177: checking for GTK+ - version >= 3.0.0 configure:32409: result: no configure:32437: /usr/bin/clang -o conftest -pipe -Os -arch x86_64 -fsigned-char -I/opt/local/include -DLOCALEDIR="\"${datarootdir}/locale\"" -DBINDIR="\"${exec_prefix}/bin\"" -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c -liconv -pthread >&5 conftest.c:81:10: fatal error: 'gtk/gtk.h' file not found #include <gtk/gtk.h> ^ 1 error generated.
configure:32488: checking for qtpaths configure:32516: result: no configure:33063: error: Cannot build modpack installer with any gui
From main.log:
:info:configure checking for GTK+ - version >= 3.0.0... Package gtk+-3.0 was not found in the pkg-config search path. :info:configure Perhaps you should add the directory containing `gtk+-3.0.pc' :info:configure to the PKG_CONFIG_PATH environment variable :info:configure No package 'gtk+-3.0' found :info:configure no :info:configure *** Could not run GTK+ test program, checking why... :info:configure *** The test program failed to compile or link. See the file config.log for the :info:configure *** exact error that occurred. This usually means GTK+ is incorrectly installed. :info:configure checking for qtpaths... no :info:configure configure: error: Cannot build modpack installer with any gui :info:configure Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_games_freeciv/freeciv/work/freeciv-2.5.6" && ./configure --prefix=/opt/local --with-readline --enable-nls --with-libiconv-prefix=/opt/local --mandir=/opt/local/share/man --with-sdl-prefix=/opt/local --disable-sdltest --enable-client=sdl :info:configure Exit code: 1 :error:configure Failed to configure freeciv, consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_games_freeciv/freeciv/work/freeciv-2.5.6/config.log :error:configure Failed to configure freeciv: configure failure: command execution failed
There are other errors, I'm guessing at which are really the problem.
Attachments (2)
Change History (4)
Changed 8 years ago by Polyergic (Shad Sterling)
Attachment: | config.log added |
---|
Changed 8 years ago by Polyergic (Shad Sterling)
comment:1 Changed 5 years ago by jmroot (Joshua Root)
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 Changed 5 years ago by ShadSterling (Shad Sterling)
Both
freeciv
andfreeciv-x11
build now on my mac with macOS 10.14.6, but running them just opens a blank window, it's not possible to play the game.
Note: See
TracTickets for help on using
tickets.
The current version built OK on 10.12.