Error building Sage

38 views
Skip to first unread message

Grigory Solomatov

unread,
Mar 11, 2020, 3:54:43 PM3/11/20
to sage-devel
Hi,

I am trying to build Sage from source, but get the following error:

"
Error building Sage.

The following package(s) may have failed to build (not necessarily
during this run of 'make all-start'):

* package:         r-3.6.2.p0
  last build time: Mar 11 19:11
  log file:        /home/gsol/sage-9.0/logs/pkgs/r-3.6.2.p0.log
  build directory: /home/gsol/sage-9.0/local/var/tmp/sage/build/r-3.6.2.p0
"

The error in r-3.6.2.p0.log is

"
make[7]: Entering directory '/home/gsol/sage-9.0/local/var/tmp/sage/build/r-3.6.2.p0/src/src/main'
gcc -I../../src/extra  -I. -I../../src/include -I../../src/include -I/home/gsol/Instalations/anaconda3/include  -I../../src/nmath -DHAVE_CONFIG_H   -fopenmp -fpic  -g -O2   -c Rmain.c -o Rmain.o
gcc -Wl,--export-dynamic -fopenmp  -L"../../lib" -L/home/gsol/sage-9.0/local/lib -Wl,-rpath,/home/gsol/sage-9.0/local/lib  -o R.bin Rmain.o  -lR 
../../lib/libR.so: undefined reference to `ucol_strcollIter_58'
../../lib/libR.so: undefined reference to `u_getVersion_58'
../../lib/libR.so: undefined reference to `uloc_setDefault_58'
../../lib/libR.so: undefined reference to `ucol_close_58'
../../lib/libR.so: undefined reference to `ucol_getLocaleByType_58'
../../lib/libR.so: undefined reference to `ucol_setAttribute_58'
../../lib/libR.so: undefined reference to `u_versionToString_58'
../../lib/libR.so: undefined reference to `ucol_open_58'
../../lib/libR.so: undefined reference to `uiter_setUTF8_58'
../../lib/libR.so: undefined reference to `ucol_setStrength_58'
collect2: error: ld returned 1 exit status
Makefile:145: recipe for target 'R.bin' failed
"

My setup is:

Computer : HP EliteBook 840 G5 (2FA64AV)
Os: Pop!_OS 18.04 LTS

Is there something that I can do to fix this?

Thanks in advance!
r-3.6.2.p0.log

Matthias Koeppe

unread,
Mar 11, 2020, 4:42:29 PM3/11/20
to sage-devel
This looks like it may be caused by an interaction with Anaconda. 
Try again after deactivating the conda environment

Grigory Solomatov

unread,
Mar 11, 2020, 7:58:42 PM3/11/20
to sage-...@googlegroups.com
The installation was successful.

Thank you!

--
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+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/83bbbf32-875d-4d17-b5f7-477ce3e098f0%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages