Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
papo483 opened this issue Nov 23, 2022 · 2 comments
Open

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

papo483 opened this issue Nov 23, 2022 · 2 comments

Comments

@papo483
Copy link

papo483 commented Nov 23, 2022

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?

@hawk
Copy link
Owner

hawk commented Nov 23, 2022 via email

@papo483
Copy link
Author

papo483 commented Nov 24, 2022

Hi hawk,
I had installation for ArchLinux and tried autoconf/.configure/make/make install and it worked this time. I think previously I didn't uninstall original lux (pacman -Rsn lux), sorry my bad.
When I do "lux --version" now I am getting output

(ng-venv) mpapco@thinkarch $ lux --version
2.1

It seems there is just ArchLinux way not working (wget https://github.com/hawk/lux/releases/download/lux-2.1/PKGBUILD, makepkg -si).

Thanks,
Marek

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants