View Single Post
Old 01-10-2021, 01:53 PM   #7
JuanJakobo
Junior Member
JuanJakobo could sell banana peel slippers to a Deveel.JuanJakobo could sell banana peel slippers to a Deveel.JuanJakobo could sell banana peel slippers to a Deveel.JuanJakobo could sell banana peel slippers to a Deveel.JuanJakobo could sell banana peel slippers to a Deveel.JuanJakobo could sell banana peel slippers to a Deveel.JuanJakobo could sell banana peel slippers to a Deveel.JuanJakobo could sell banana peel slippers to a Deveel.JuanJakobo could sell banana peel slippers to a Deveel.JuanJakobo could sell banana peel slippers to a Deveel.JuanJakobo could sell banana peel slippers to a Deveel.
 
Posts: 5
Karma: 3160
Join Date: Jan 2021
Device: PB HD3
Quote:
Originally Posted by nomoi View Post
When I try this I get the following after "make python":

arm-obreey-linux-gnueabi-gcc -c -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrap
v -O3 -Wall -Wstrict-prototypes -Werror=declaration-after-statement -I. -IInclu
de -I./Include -DPy_BUILD_CORE -o Programs/python.o ./Programs/python.c
as: loadlocale.c:130: _nl_intern_locale_data: Assertion `cnt < (sizeof (_nl_value_ty
pe_LC_TIME) / sizeof (_nl_value_type_LC_TIME[0]))' failed.
arm-obreey-linux-gnueabi-gcc: internal compiler error: Aborted (program as)
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make: *** [Makefile:773: Programs/python.o] Error 4

It's no priority for me to compile python especially, because I intended to compile mg, ssh and such, but I wanted to understand the procedure and I'm not sure how to do properly.

Using C++ I got:

collect2: error: ld terminated with signal 6 [Aborted], core dumped
ld: loadlocale.c:130: _nl_intern_locale_data: Assertion `cnt < (sizeof (_nl_value_type_LC_TIME) / sizeof (_nl_value_type_LC_TIME[0]))' failed.
make[2]: *** [CMakeFiles/HelloWorld.app.dir/build.make:129: bin/HelloWorld.app] Error 1
make[2]: Leaving directory '/home/johann/Dokumente/Repo/Github/Pocketbook-HelloWorld'
make[1]: *** [CMakeFiles/Makefile2:76: CMakeFiles/HelloWorld.app.dir/all] Error 2
make[1]: Leaving directory '/home/johann/Dokumente/Repo/Github/Pocketbook-HelloWorld'
make: *** [Makefile:130: all] Error 2

and fixed it setting
LANG=/usr/lib/locale/en_US

Might also help in your case.
JuanJakobo is offline   Reply With Quote