FS#38302 - [erlang] Library file missing from erlang 'wx' in R16B03
Attached to Project:
Community Packages
Opened by Paul DIckson (TwoNotes) - Saturday, 28 December 2013, 22:29 GMT
Last edited by Alexander F. Rødseth (xyproto) - Friday, 03 January 2014, 19:56 GMT
Opened by Paul DIckson (TwoNotes) - Saturday, 28 December 2013, 22:29 GMT
Last edited by Alexander F. Rødseth (xyproto) - Friday, 03 January 2014, 19:56 GMT
|
Details
Description:
Any attempt to start the Erlang GUI library 'wx' fails with: Could not find 'wxe_driver.so' in: /usr/lib/erlang/lib/wx-1.1.1/priv Additional info: * package version community/erlang version R16B03 on both x86 and x86_64 Steps to reproduce: erl then wx:demo(). This is identical to The wx-1.1.1 directory is there, but there is no 'priv' directory below it, which is where the .so should be. With this file missing, the entire 'wx'part of Erlang (the basis for GUIs written in Erlang) is non-functional. |
This task depends upon
Closed by Alexander F. Rødseth (xyproto)
Friday, 03 January 2014, 19:56 GMT
Reason for closing: Fixed
Friday, 03 January 2014, 19:56 GMT
Reason for closing: Fixed
Including 'wxgtk' and 'wxgtk2.9' in the makedepends array is not enough.
Once the right dependencies are added, the current PKGBUILD in svn might work.
Alternatively, this could be reported upstream to the erlang developers, with a link to the bug report being included here. If anyone feels like doing this, it would be helpful.
I'll continue looking at this, but the long build process makes for slow troubleshooting.
The message and any followups will be in the message archive:
http://erlang.org/pipermail/erlang-bugs/2013-December/003967.html
"I could not reproduce this bug with a fresh install of 64bit arch linux
(starting from archlinux-2013.12.01-dual.iso). wxe_driver.so and
erl_gl.so were built and wx:demo() works (gl part was not tested
properly since arch linux was run in a virtual machine)."
Since your *could* reproduce it, maybe you should compare environments.
I am using an up-to-date 64-bit Arch.
When building with makepkg it seemed to work here, but not in a chroot. I'll test again.
configure: WARNING: No GLU headers found, wx will NOT be usable
This is new. I'll add "glu" as a make dependency and try again.
"Built by makepkg. "pacman -S erlang" gave something without
wxe_driver.so and erl_gl.so
One thing I remembered about wxe_driver.so is that linking it might take
a lot of memory. If the build environment is somehow memory constrained
the linking phase might not work."
So using pacman failed for him too, in the same way. My system does have
'glu' already on it, probably from installing xfce. So that may be it.