[erlang-questions] OTP R13B04: cannot build wx (is wxGtk required?)

Dan Gudmundsson dgud@REDACTED
Mon Mar 8 10:46:43 CET 2010


Installation requirements for ubuntu 9-10, can be found here:
http://wiki.github.com/erlang/otp/installation

If you build wxWidgets on your own, read the readme in otp/lib/wx directory.
You will, for example, need to build stc located in the contrib directory.

But I havn't tested without gtk, so you are on your own and I don't know how
good the X11 port is so I don't know how well the erlang applications will
work with that port.

Anyway config.log in the wx sub-directory contains the actual
configure errors, so that
is where you can start digging.

/Dan

On Mon, Mar 8, 2010 at 5:14 AM, Dimitry Golubovsky <golubovsky@REDACTED> wrote:
> Hi,
>
> I am trying to build the most recent OTP form sources with the wx
> library. I compiled wx 2.8.10 --with-x11 (did not really want to use
> GTK version), Everything compiled fine. I use a Slax-based
> installation of Linux.
>
> While configuring OTP I see the following output:
>
> ......
> checking for wx/stc/stc.h... no
> configure: WARNING: Can not find wx/stc/stc.h
> checking if we can link wxwidgets programs... no
> configure: WARNING: Can not link wx program are all developer packages
> installed?
> ........
>
> Finally I see:
>
> wx             : Can not link the wx driver, wx will NOT be useable
>
> I found the following thread:
>
> http://groups.google.com/group/erlang-programming/browse_thread/thread/2d044dac45a36bae
>
> wx in OTP13B03 failed to build on Ubuntu 8.10
>
> where the last message in thread suggests to install libwxgtk2.8-dev.
> to resolve the missing header issue.
>
> Does this mean that Erlang wx library specifically requires wxGtk?
>
> Thanks.
>
> --
> Dimitry Golubovsky
>
> Anywhere on the Web
>
> ________________________________________________________________
> erlang-questions (at) erlang.org mailing list.
> See http://www.erlang.org/faq.html
> To unsubscribe; mailto:erlang-questions-unsubscribe@REDACTED
>
>


More information about the erlang-questions mailing list