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

software installation problem #272

Open
YangToTyz opened this issue Nov 21, 2022 · 3 comments
Open

software installation problem #272

YangToTyz opened this issue Nov 21, 2022 · 3 comments

Comments

@YangToTyz
Copy link

YangToTyz commented Nov 21, 2022

I follow Compiling and installing from source in Ubuntu 22.04.1,when Checkout from git and compile ,i use sudo make PYTHON=python3.6 ,have error.
Is it my version? I don't know if you have encountered similar problems? Looking forward to your help.
`yzy@yzy-virtual-machine:~/ipbus-software$ sudo make PYTHON=python3.6

OS Detected: unknown.os
PACKAGES=uhal controlhub
make -C uhal
make[1]: Entering directory '/home/yzy/ipbus-software/uhal'
make -C log
make[2]: Entering directory '/home/yzy/ipbus-software/uhal/log'
OS Detected: unknown.os
Using BUILD_HOME=/home/yzy/ipbus-software
make[2]: Nothing to be done for 'default'.
make[2]: Leaving directory '/home/yzy/ipbus-software/uhal/log'
make -C grammars
make[2]: Entering directory '/home/yzy/ipbus-software/uhal/grammars'
OS Detected: unknown.os
Using BUILD_HOME=/home/yzy/ipbus-software
make[2]: Nothing to be done for 'default'.
make[2]: Leaving directory '/home/yzy/ipbus-software/uhal/grammars'
make -C uhal
make[2]: Entering directory '/home/yzy/ipbus-software/uhal/uhal'
OS Detected: unknown.os
Using BUILD_HOME=/home/yzy/ipbus-software
make[2]: Nothing to be done for 'default'.
make[2]: Leaving directory '/home/yzy/ipbus-software/uhal/uhal'
make -C tests
make[2]: Entering directory '/home/yzy/ipbus-software/uhal/tests'
OS Detected: unknown.os
Using BUILD_HOME=/home/yzy/ipbus-software
make[2]: Nothing to be done for 'default'.
make[2]: Leaving directory '/home/yzy/ipbus-software/uhal/tests'
make -C python
make[2]: Entering directory '/home/yzy/ipbus-software/uhal/python'
OS Detected: unknown.os
Using BUILD_HOME=/home/yzy/ipbus-software
make[2]: Nothing to be done for 'default'.
make[2]: Leaving directory '/home/yzy/ipbus-software/uhal/python'
make -C gui
make[2]: Entering directory '/home/yzy/ipbus-software/uhal/gui'
OS Detected: unknown.os
Using BUILD_HOME=/home/yzy/ipbus-software
make[2]: Nothing to be done for 'default'.
make[2]: Leaving directory '/home/yzy/ipbus-software/uhal/gui'
make -C tools
make[2]: Entering directory '/home/yzy/ipbus-software/uhal/tools'
OS Detected: unknown.os
Using BUILD_HOME=/home/yzy/ipbus-software
make[2]: Nothing to be done for 'clean'.
make[2]: Leaving directory '/home/yzy/ipbus-software/uhal/tools'
make[1]: Leaving directory '/home/yzy/ipbus-software/uhal'
make -C controlhub
make[1]: Entering directory '/home/yzy/ipbus-software/controlhub'
OS Detected: unknown.os
escript /home/yzy/ipbus-software/controlhub/rebar get-deps compile
==> goldrush (get-deps)
==> lager (get-deps)
==> syslog (get-deps)
==> lager_syslog (get-deps)
==> rel (get-deps)
==> controlhub (get-deps)
==> goldrush (compile)
==> lager (compile)
==> syslog (compile)
==> lager_syslog (compile)
==> rel (compile)
==> controlhub (compile)
src/ch_utils.erl:none: error in parse transform 'lager_transform':
exception error: bad argument
in function integer_to_list/1
called as integer_to_list({65,14})
*** argument 1: not an integer
in call from lager_transform:make_varname/2 (src/lager_transform.erl, line 241)
in call from lager_transform:do_transform/5 (src/lager_transform.erl, line 180)
in call from lager_transform:'-transform_statement/2-lc$^0/1-0-'/2 (src/lager_transform.erl, line 109)
in call from lager_transform:'-transform_statement/2-lc$^0/1-0-'/2 (src/lager_transform.erl, line 109)
in call from lager_transform:transform_statement/2 (src/lager_transform.erl, line 107)
in call from lager_transform:'-transform_statement/2-lc$^0/1-0-'/2 (src/lager_transform.erl, line 109)
in call from lager_transform:'-transform_statement/2-lc$^0/1-0-'/2 (src/lager_transform.erl, line 109)
Compiling src/ch_utils.erl failed:
ERROR: compile failed while processing /home/yzy/ipbus-software/controlhub: rebar_abort
make[1]: *** [Makefile:65: _all] Error 1
make[1]: Leaving directory '/home/yzy/ipbus-software/controlhub'
make: *** [Makefile:58: controlhub/.virtual.Makefile] Error 2`

@dejardin
Copy link

Dear all
I got the same problem with Fedora 36 (gcc12.2.1) after a system upgrade.
Do you have any idea on what to do with issue ?
I can run my test bench any more...

Best regards
Marc

@dacieri
Copy link

dacieri commented Apr 26, 2023

I have the same problem when trying to compile with ubuntu 22.04.2

@alindote
Copy link

Has anybody managed to solve this? I have the same problem...
Ubuntu 22.04, gcc 11.4.0, python3.10, Erlang/OTP 24 [erts-12.2.1]

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

4 participants