Sage on FreeBSD

95 views
Skip to first unread message

sprock

unread,
Nov 20, 2019, 10:54:04 AM11/20/19
to sage-devel
Hello,

I'm interested in helping out with this.  I have a machine with 12.1-RELEASE installed.  I have checked out the source.

What must I do to get going?

Cheers,
Roger

Dima Pasechnik

unread,
Nov 20, 2019, 12:16:35 PM11/20/19
to sage-devel
Hi Roger,
you are most welcome.
Please have a look at https://trac.sagemath.org/ticket/26249, this is
more or less where we stand w.r.t. porting to FreeBSD.

I'm convinced that the best way to proceed would be to keep working on
https://trac.sagemath.org/ticket/27330
to use as many FreeBSD packages as possible, in particular
https://trac.sagemath.org/ticket/27870
and
https://trac.sagemath.org/ticket/27824
(for the latter perhaps the important case is Python3, whereas Python
2 may be left out)
With the latter done, the tricky Python packages such as Numpy and
Scipy, and other, can come from the
system, too.

On FreeBSD side, one should add/update ports of various packages, e.g.
the Flint port in FreeBSD should be updated to link to NTL.
And, more generally, everything listed as completed on
https://trac.sagemath.org/ticket/27330 should be available as FreeBSD
ports.
The configuration scripts in the latter might need adjustments to make
them work on FreeBSD, as only few of them were tested on it.

One annoying feature of FreeBSD is lack of "normal" support of things
installed in /usr/local/ on the compiler side.
I.e. while on Linux/OSX one can, say, do at the command like "cc
blah.c" and get blah.c compiled and linked, on FreeBSD one might need
to set CFLAGS, LDFLAGS, etc to certain non-empty values to go through
(so it'd hard to use compilers out of ports/ tree). But this
unfortunately breaks various configuration scripts that sometimes, on
purpose, ignore these flags.

I also don't know whether the libgcc_s.so.1 mess has finally been
sorted out in some way. I made experiments with flang instead of
gfortran, but flang is also needing extra flags, see
https://trac.sagemath.org/ticket/26249#comment:22

Please feel free to ask for more details.
HTH
Dima
> --
> 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/791d741d-b99e-4569-8b42-84f16289886f%40googlegroups.com.

Thierry Thomas

unread,
Mar 26, 2020, 1:00:43 PM3/26/20
to sage-devel
Hello,

A work-in-progress has been proposed in the FreeBSD Phabricator at


Its aim is to upgrade the actual port to 9.0.

Dima Pasechnik

unread,
Mar 26, 2020, 9:23:25 PM3/26/20
to sage-devel

--
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.

Roger Mason

unread,
Mar 27, 2020, 7:33:41 AM3/27/20
to sage-...@googlegroups.com
Hello,

Dima Pasechnik <dim...@gmail.com> writes:

>> A work-in-progress has been proposed in the FreeBSD Phabricator at
>>
>> https://reviews.freebsd.org/D24195
>>
>> Its aim is to upgrade the actual port to 9.0.
>>
>
> more details on https://trac.sagemath.org/ticket/26249

I volunteered to work on this late in 2019. I set up a machine with
FreeBSD 12 and made a start. Unfortunately quite soon after that I lost
access to the machine (and my office) through retirenment.

I retain an interest in this and will provide what help I can, but first
I will need to set up a FreeBSD 12 machine.

Cheers,
Roger

Dima Pasechnik

unread,
Mar 27, 2020, 11:37:32 PM3/27/20
to sage-devel
nowadays several cloud providers support FreeBSD, e.g. Vultr - for
2-core VM with 4GB of RAM
and 80GB disk one would pay about 30$ per month.

>
> Cheers,
> Roger
>
> --
> 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/y65tv2adoc4.fsf%40mun.ca.
Reply all
Reply to author
Forward
0 new messages