[Pkg-erlang-devel] wx-common in build-depends of Erlang?

Motiejus Jakštys desired.mta at gmail.com
Tue Aug 7 12:00:58 UTC 2012


Hi,
I was building Erlang R15B with up-to-date eunit and got the following[1]:

checking for debug build of wxWidgets... checking for wx-config... no
checking for standard build of wxWidgets... checking for wx-config...
(cached) no
configure: WARNING:
                wxWidgets must be installed on your system.

		Please check that wx-config is in path, the directory
		where wxWidgets libraries are installed (returned by
		'wx-config --libs' or 'wx-config --static --libs' command)
		is in LD_LIBRARY_PATH or equivalent variable and
		wxWidgets version is 2.8.4 or above.

lib/wx/config.log complains that it does not have wx-config and
therefore cannot find the libraries.

Adding wx-common to build-depends solved the problem. However, I am
not sure why it helped. This is the magic one. wx-common has only
/usr/share/man/man1/wx-config.1.gz, no executable. How does wx-config
work..?


I would appreciate an explanation.. If work of wx-config is debian
specific, I will ask ubuntu erlang maintainers to add it to the
build-depends.

[1]: https://launchpadlibrarian.net/112140277/buildlog_ubuntu-precise-i386.erlang_1%3A15.b.1-dfsg-3ubuntu4_BUILDING.txt.gz

Thanks,
Motiejus Jakštys



More information about the Pkg-erlang-devel mailing list