How to get Erlang to show UI components "debugger" and "observer" on Linux?

I'm running Kubuntu 15.04 64-bit and trying to get Erlang's 18.1 'debugger' or 'observer' to run (EDIT: from within the shell):


I get the following error:

{error,{{load_driver,"No driver found"},

ERROR REPORT==== 4-Oct-2015::15:34:01 ===
ERROR: Could not find '' in: /home/howler/erlang/18.1/lib/wx-1.5/priv

I've tried various forums and have followed the prescribed advice concerning wxWidgets but I still can't get it to work?

Does anyone know of a definitive way to solve this problem?


  • Easy Way

    Adding repository For Erlang Solutions repository using following commands:

    sudo dpkg -i erlang-solutions_1.0_all.deb

    Install Erlang:

    sudo apt-get update
    sudo apt-get install erlang

    Test run run erl and call wx:demo()

    λ VIDIA ~ → erl
    Erlang/OTP 18 [erts-7.1] [source] [64-bit] [smp:8:8] [async-threads:10] [hipe] [kernel-poll:false]
    local .erlang loaded
    Eshell V7.1  (abort with ^G)
    1> wx:demo().
    <0.35.0> Closing window 

    Build From Source

    apt-get update

    Install the build tools (dpkg-dev g++ gcc libc6-dev make)

    apt-get -y install build-essential

    automatic configure script builder (debianutils m4 perl)

    apt-get -y install autoconf

    Needed for HiPE (native code) support, but already installed by autoconf

    apt-get -y install m4

    Needed for terminal handling (libc-dev libncurses5 libtinfo-dev libtinfo5 ncurses-bin)

    apt-get -y install libncurses5-dev

    For building with wxWidgets

    apt-get -y install libwxgtk2.8-dev libgl1-mesa-dev libglu1-mesa-dev libpng3

    For building ssl (libssh-4 libssl-dev zlib1g-dev)

    apt-get -y install libssh-dev

    ODBC support (libltdl3-dev odbcinst1debian2 unixodbc)

    apt-get -y install unixodbc-dev

    Get Erlang/OTP source files

    mkdir -p ~/code/erlang
    cd ~/code/erlang
    tar -xvzf otp_src_18.0.tar.gz
    chmod -R 777 otp_src_18.0
    cd otp_src_18.0
    make install
    exit 0

    Steps From Bryan Hunter shell script gist