Resolution: Not a Bug
Affects Version/s: 23.2
Fix Version/s: None
I have maintained the Erlang package for Arch Linux since 2012. Upgrades are usually smooth, but now I have encountered an issue where I'm currently unable to find a solution.
Part of the issue is that GTK 2 has reached its end of life, and it's desirable to compile Erlang so that it uses wxgtk3 and GTK 3.
The first issue is that wx-config from the wxgtk2 and wxgtk3 packages collide, so that wx-config from wxgtk3 is named /usr/bin/wx-config-gtk3. This confuses the Erlang config/build process, since it expects that the wx-config executable is never named wx-config-gtk3.
I found a workaround by creating a directory, placing a symlink to wx-config-gtk3 named wx-config in that directory, and adding that to the $PATH before running configure. I tried various environment variables and configure flags before ending up with this.
After this change, Erlang builds and GTK3 works. However (and now comes the real issue), when running:
All the examples works great, except from the gl example. When selecting the gl example, I get this error:
I'm not entirely sure if this is even Erlang's fault, or if this is an issue in wxgtk3, or how the wxgtk3 package has been configured and installed, but it did not happen with wxgtk2.
Is this an issue in Erlang?
Any help is appreciated.
Alexander F. Rødseth