[erlang-questions] tk requirement?

Paul Davis paul.joseph.davis@REDACTED
Mon Nov 16 22:00:25 CET 2009

On Mon, Nov 16, 2009 at 3:48 PM, Joshua Bronson <jabronson@REDACTED> wrote:
> Hey Erlang folks,
> I know relatively little about the Erlang distribution (my exposure is
> pretty much limited to installing it as a requirement of couchdb and
> rabbitmq-server). I was wondering if tk is (or has to be?) a hard
> requirement of the distribution or if (like e.g. Python) it's possible
> to build Erlang with a no_tk variant / USE flag / etc. in the case
> that you know you won't be needing to do any gui stuff. (This query is
> prompted by http://trac.macports.org/ticket/20006.)
> Thanks!
> Josh


I've never had any issue with it using the system installed wx
libraries on 10.5 or 10.6. Reading through the ticket, the library you
want to check for linkage is probably

For instance:

$ otool -L /usr/local/lib/erlang/lib/wx-0.98.1/priv/i386-apple-darwin9.6.0/wxe_driver.so
(compatibility version 1.0.0, current version 1.0.0)
(compatibility version 1.0.0, current version 1290.0.0)
(compatibility version 1.0.0, current version 275.0.0)
(compatibility version 2.0.0, current version 136.0.0)
(compatibility version 1.0.0, current version 12.0.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
version 111.1.3)
	/usr/lib/libwx_macud_stc-2.8.0.dylib (compatibility version 2.6.0,
current version 2.8.4)
	/usr/lib/libwx_macud-2.8.0.dylib (compatibility version 2.6.0,
current version 2.8.4)
	/usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.4.0)
	/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0)

Granted, that's not the same as disabling the whole thing altogether.

Paul Davis

More information about the erlang-questions mailing list