[MacPorts] #54153: Failed to configure freeciv; Cannot build modpack installer with any gui
MacPorts
noreply at macports.org
Thu May 11 21:17:12 UTC 2017
#54153: Failed to configure freeciv; Cannot build modpack installer with any gui
-----------------------+---------------------
Reporter: Polyergic | Owner:
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.4.1
Keywords: | Port: freeciv
-----------------------+---------------------
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.
--
Ticket URL: <https://trac.macports.org/ticket/54153>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list