Skip to content

Archlinux: The application 'lux' is missing. #47

Description

@mpapco

Hi. I have installed lux using method in INSTALL.md for Arch Linux, tried building using "autoconf/.configure/make/make install" but I am still getting following error when I try to run lux:

FATAL ERROR : The application 'lux' is missing.
ESCRIPT : /usr/bin/lux
VERSION : nofile
CWD : /home/mpapco/Projects/ngena/src
APP DIR : /usr/lib/lux
ROOT DIR : /usr/lib/erlang
CODE PATH : ["/usr/lib/lux/ebin",".",
"/usr/lib/erlang/lib/kernel-8.5.1/ebin",
"/usr/lib/erlang/lib/stdlib-4.1.1/ebin",
"/usr/lib/erlang/lib/xmerl-1.3.30/ebin",
"/usr/lib/erlang/lib/wx-2.2/ebin",
"/usr/lib/erlang/lib/tools-3.5.3/ebin",
"/usr/lib/erlang/lib/tftp-1.0.3/ebin",
"/usr/lib/erlang/lib/syntax_tools-3.0/ebin",
"/usr/lib/erlang/lib/ssl-10.8.5/ebin",
"/usr/lib/erlang/lib/ssh-4.15/ebin",
"/usr/lib/erlang/lib/snmp-5.13.1/ebin",
"/usr/lib/erlang/lib/sasl-4.2/ebin",
"/usr/lib/erlang/lib/runtime_tools-1.19/ebin",
"/usr/lib/erlang/lib/reltool-0.9/ebin",
"/usr/lib/erlang/lib/public_key-1.13.1/ebin",
"/usr/lib/erlang/lib/parsetools-2.4.1/ebin",
"/usr/lib/erlang/lib/os_mon-2.7.1/ebin",
"/usr/lib/erlang/lib/observer-2.13/ebin",
"/usr/lib/erlang/lib/mnesia-4.21.2/ebin",
"/usr/lib/erlang/lib/megaco-4.4.1/ebin",
"/usr/lib/erlang/lib/jinterface-1.13.1/ebin",
"/usr/lib/erlang/lib/inets-8.1/ebin",
"/usr/lib/erlang/lib/ftp-1.1.1/ebin",
"/usr/lib/erlang/lib/eunit-2.8.1/ebin",
"/usr/lib/erlang/lib/et-1.6.5/ebin",
"/usr/lib/erlang/lib/erts-13.1.2/ebin",
"/usr/lib/erlang/lib/erl_interface-5.3/ebin",
"/usr/lib/erlang/lib/erl_docgen-1.4/ebin",
"/usr/lib/erlang/lib/eldap-1.2.10/ebin",
"/usr/lib/erlang/lib/edoc-1.2/ebin",
"/usr/lib/erlang/lib/diameter-2.2.7/ebin",
"/usr/lib/erlang/lib/dialyzer-5.0.3/ebin",
"/usr/lib/erlang/lib/debugger-5.3/ebin",
"/usr/lib/erlang/lib/crypto-5.1.2/ebin",
"/usr/lib/erlang/lib/compiler-8.2.1/ebin",
"/usr/lib/erlang/lib/common_test-1.23.1/ebin",
"/usr/lib/erlang/lib/asn1-5.0.21/ebin"]

I am using archlinux(6.0.7-arch1-1) with installed erlang 25.1.2-2 package (I have tried erlang-nox 25.1.2-1, but getting same error).

Error seems to be raised in main method of lux on line
LuxAppDir = require_app(undefined, ?APPLICATION),
then require_app method

   AppDir ->
        case application:load(AppName) of
            ok ->
                AppDir;
            {error, {already_loaded,AppName}}->
                AppDir;
            {error, _} ->	    
  	    io:format("...PAPO in require_app _ AppDir:~s", [AppDir]),
                missing_app(MainOp, AppName)
        end

I have checked issue #19 that looks similar, but setting "export ERL_LIBS=/usr/local/lux/lib" didn't really help.
Is there any further step necessary for Linux/ArchLinux?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions