>From python...log:

building '_ctypes' extension gcc -fPIC -Wno-unused-result -Wsign-compare 
-DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -g -O2 -std=c99 -Wextra 
-Wno-unused-result -Wno-unused-parameter -Wno-missing-field-initializers 
-Werror=implicit-function-declaration -fvisibility=hidden 
-I./Include/internal -I./Include -I. -I/home/mhsong/sage/local/include 
-I/usr/include/x86_64-linux-gnu -I/usr/local/include 
-I/home/mhsong/sage/local/var/lib/sage/venv-python3.10.8/var/tmp/sage/build/python3-3.10.8/src/Include
 
-I/home/mhsong/sage/local/var/lib/sage/venv-python3.10.8/var/tmp/sage/build/python3-3.10.8/src
 
-c 
/home/mhsong/sage/local/var/lib/sage/venv-python3.10.8/var/tmp/sage/build/python3-3.10.8/src/Modules/_ctypes/_ctypes.c
 
-o 
build/temp.linux-x86_64-3.10/home/mhsong/sage/local/var/lib/sage/venv-python3.10.8/var/tmp/sage/build/python3-3.10.8/src/Modules/_ctypes/_ctypes.o
 
-DPy_BUILD_CORE_MODULE 
/home/mhsong/sage/local/var/lib/sage/venv-python3.10.8/var/tmp/sage/build/python3-3.10.8/src/Modules/_ctypes/_ctypes.c:107:10:
 
fatal error: ffi.h: No such file or directory 107 | #include <ffi.h> | 
^~~~~~~ compilation terminated. 

Could you post logs/pkgs/libffi*.log please?


On Friday, December 30, 2022 at 4:49:00 PM UTC-8 smh...@gmail.com wrote:

> OS: Windows10 (Build 19044.2364)
>
> I tried to install sagemath on Ubuntu but it failed.
>
> Could you check my logs and what I did, and tell me what to do at this 
> stage?
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/828e78a0-3ac9-4f7f-b68e-993d40303fean%40googlegroups.com.

Reply via email to