FS#32691 - [erlang] please rebuild erlang with wx enabled to make wings3d work

Attached to Project: Community Packages
Opened by Alexander F. Rødseth (xyproto) - Thursday, 15 November 2012, 20:59 GMT
Last edited by Alexander F. Rødseth (xyproto) - Monday, 19 November 2012, 20:12 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Lukas Fleischer (lfleischer)
Alexander F. Rødseth (xyproto)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 3
Private No

Details

Hi,

I'm trying to make erlang-sdl, erlang-cl and wings3d to compile and run.
Currently, they all compile, but wings3d crashes at start, complaining that no opengl mode is found: http://dpaste.com/hold/831740/

After talking to Dan Gudmundsson (current maintainer of the branches of esdl, cl and wings that actually seem to work with erlang 15, url https://github.com/dgud), I was adviced that this was likely to be the culprit:

Failed locating lib /usr/lib/erlang/lib/wx-0.99.2/priv/erl_gl.so:

And that building erlang with wx enabled might solve this.

Steps to reproduce:
Install and run wings3d from community. Watch how it crashes. (It did work before, for the previous release, then something changed, and the application stopped working).

Versions:
64-bit Arch Linux
Erlang R15B02 (erts-5.9.2) [source] [64-bit] [smp:4:4] [async-threads:0] [hipe] [kernel-poll:false]

Thanks.
This task depends upon

Closed by  Alexander F. Rødseth (xyproto)
Monday, 19 November 2012, 20:12 GMT
Reason for closing:  Fixed
Additional comments about closing:  erl_gl.so is now included
Comment by Alexander F. Rødseth (xyproto) - Thursday, 15 November 2012, 22:12 GMT
Clarification: wings3d is not currently in [community], but the PKGBUILD I'm working on is checked in to svn
Comment by Jakob Steltner (trurl23) - Friday, 16 November 2012, 21:33 GMT
I could reproduce this behavior with stock erlang R15B02-1 from community (observed missing /usr/lib/erlang/lib/wx-0.99.2/priv/erl_gl.so and crash of wings3d).
However, when I build erlang myself from svn (with debug enabled and optimizations disabled) the previously missing library is present and wings3d seems to work fine.
Comment by Alexander F. Rødseth (xyproto) - Friday, 16 November 2012, 22:11 GMT
Thanks for confirming the problem, trurl23.
Comment by Alexander F. Rødseth (xyproto) - Monday, 19 November 2012, 14:10 GMT
Adopted erlang so that Lukas Fleischer and I co-maintain it. Rebuilding right now, looks like erl_gl.so is included. Will update the package in [community] after testing with wings3d, if everything turns out ok.
Comment by Alexander F. Rødseth (xyproto) - Monday, 19 November 2012, 20:11 GMT
Rebuilt erlang so that erl_gl.so is included. However, wings3d does not immediately work. I'll close this bug and rebuild wings3d to see if it helps.

Loading...