Open rohini2512 opened 8 years ago
This is the same as problem as issue #3. I solved it by running make like this
$ CFLAGS="-O2" make
Hi,
Sorry for the late reply. (I have been out of office for 3 weeks.)
What does "/home/rohinijain/lux/bin/lux --version" display?
Can you try to reproduce the problem using the latest version of lux on the upgrade-branch?
/Håkan
On Thu, Apr 21, 2016 at 2:39 AM, rohini2512 notifications@github.com wrote:
I cannot find a way to upgrade lux version from 1.10 to 1.13. I tried removal of lux directory and also /usr/local/lux/ directory but looks like something is still left to remove. Can someone provide the documentation to upgrade versions. I got the following error
gcc -o ../priv/bin/runpty -g -O2 -Wall runpty.c runpty.c: In function ‘main’: runpty.c:98:11: warning: ignoring return value of ‘setuid’, declared with attribute warn_unused_result [-Wunused-result] setuid(getuid()); ^ make[1]: Leaving directory /home/rohinijain/lux/c_src' make[1]: Entering directory/home/rohinijain/lux/src' mkdir -p /usr/local/lux /home/rohinijain/lux/bin/lux --install /usr/local/lux /home/rohinijain/lux/bin/lux: The application 'lux' is missing. make[1]: *\ [install] Error 4 make[1]: Leaving directory /home/rohinijain/lux/src' make[1]: Entering directory/home/rohinijain/lux/c_src' make[1]: Nothing to be done for install'. make[1]: Leaving directory/home/rohinijain/lux/c_src'
— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/hawk/lux/issues/10
Hi for erlang 19. version . I am unable to configure lux . as xmerl module is not included in path. I cloned lux and tried to make in lux folder i get the same error Please find the trace
"/Users/spudukko/nso-4.1.2.2/bin/erlc" +warnings_as_errors +warn_unused_vars +debug_info -o ../ebin lux_html_parse.erl lux_html_parse.erl:13: can't find include lib "xmerl/include/xmerl.hrl" lux_html_parse.erl:186: record xmlElement undefined lux_html_parse.erl:189: variable 'Tag' is unbound lux_html_parse.erl:190: variable 'Attrs' is unbound lux_html_parse.erl:191: variable 'Content' is unbound lux_html_parse.erl:192: record xmlAttribute undefined lux_html_parse.erl:194: variable 'Tag' is unbound lux_html_parse.erl:194: variable 'Value' is unbound lux_html_parse.erl:195: record xmlText undefined lux_html_parse.erl:196: variable 'Text' is unbound lux_html_parse.erl:200: record xmlComment undefined make[1]: *\ [../ebin/lux_html_parse.beam] Error 1
_
Erlang verson
_ erl --version Erlang/OTP 19 [erts-8.0.1] [source] [64-bit] [smp:8:8] [async-threads:10] [hipe] [kernel-poll:false] [dtrace]
Eshell V8.0.1 (abort with ^G)
Hi,
Sorry for the late reply. I have been on vacation.
The newer versions of lux needs xmerl to be installed.
xmerl should be automatically be installed if you install entire Erlang/OTP with
sudo ports install erlang
sudo apt-get install erlang
or similar. But if you have choosen to just install parts of the Erlang/OTP system such as
sudo apt-get install erlang-base sudo apt-get install erlang-reltool ...
you can add xmerl with
sudo apt-get install erlang-xmerl
Does that solve your problem?
/Håkan
On Wed, Aug 3, 2016 at 1:45 AM, shyamsubbu notifications@github.com wrote:
Hi for erlang 19. version . I am unable to configure lux . as xmerl module is not included in path. I cloned lux and tried to make in lux folder i get the same error Please find the trace
"/Users/spudukko/nso-4.1.2.2/bin/erlc" +warnings_as_errors +warn_unused_vars +debug_info -o ../ebin lux_html_parse.erl lux_html_parse.erl:13: can't find include lib "xmerl/include/xmerl.hrl" lux_html_parse.erl:186: record xmlElement undefined lux_html_parse.erl:189: variable 'Tag' is unbound lux_html_parse.erl:190: variable 'Attrs' is unbound lux_html_parse.erl:191: variable 'Content' is unbound lux_html_parse.erl:192: record xmlAttribute undefined lux_html_parse.erl:194: variable 'Tag' is unbound lux_html_parse.erl:194: variable 'Value' is unbound lux_html_parse.erl:195: record xmlText undefined lux_html_parse.erl:196: variable 'Text' is unbound lux_html_parse.erl:200: record xmlComment undefined make[1]: *\ [../ebin/lux_html_parse.beam] Error 1
_
Erlang verson
_ erl --version Erlang/OTP 19 [erts-8.0.1] [source] [64-bit] [smp:8:8] [async-threads:10] [hipe] [kernel-poll:false] [dtrace]
Eshell V8.0.1 (abort with ^G)
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/hawk/lux/issues/10#issuecomment-237085041, or mute the thread https://github.com/notifications/unsubscribe-auth/AAJpsP-2AfarWeqJi3H-Fa-7i7UgDng4ks5qb9a0gaJpZM4IMPjI .
I cannot find a way to upgrade lux version from 1.10 to 1.13. I tried removal of lux directory and also /usr/local/lux/ directory but looks like something is still left to remove. Can someone provide the documentation to upgrade versions. I got the following error on make. I have erlang version R16BO3
rohinijain@ubuntu:~/lux$ make make[1]: Entering directory
/home/rohinijain/lux/src' "/home/rohinijain/ncs-4.0.3.1/ncs-4.0.3.1//bin/erlc" +warnings_as_errors +warn_unused_vars +debug_info -o ../ebin lux.erl "/home/rohinijain/ncs-4.0.3.1/ncs-4.0.3.1//bin/erlc" +warnings_as_errors +warn_unused_vars +debug_info -o ../ebin lux_debug.erl "/home/rohinijain/ncs-4.0.3.1/ncs-4.0.3.1//bin/erlc" +warnings_as_errors +warn_unused_vars +debug_info -o ../ebin lux_html_gen.erl "/home/rohinijain/ncs-4.0.3.1/ncs-4.0.3.1//bin/erlc" +warnings_as_errors +warn_unused_vars +debug_info -o ../ebin lux_html_parse.erl lux_html_parse.erl:13: can't find include lib "xmerl/include/xmerl.hrl" lux_html_parse.erl:186: record xmlElement undefined lux_html_parse.erl:189: variable 'Tag' is unbound lux_html_parse.erl:190: variable 'Attrs' is unbound lux_html_parse.erl:191: variable 'Content' is unbound lux_html_parse.erl:192: record xmlAttribute undefined lux_html_parse.erl:194: variable 'Tag' is unbound lux_html_parse.erl:194: variable 'Value' is unbound lux_html_parse.erl:195: record xmlText undefined lux_html_parse.erl:196: variable 'Text' is unbound lux_html_parse.erl:200: record xmlComment undefined make[1]: *** [../ebin/lux_html_parse.beam] Error 1 make[1]: Leaving directory
/home/rohinijain/lux/src' make[1]: Entering directory `/home/rohinijain/lux/c_src' gcc -o ../priv/bin/runpty -g -O2 -Wall runpty.c runpty.c: In function ‘main’: runpty.c:98:11: warning: ignoring return value of ‘setuid’, declared with attribute warn_unused_result [-Wunused-result] setuid(getuid()); ^