Skip to content

Support system installations of ECL and fix the kenzo SPKG build #29617

@thierry-FreeBSD

Description

@thierry-FreeBSD

I tried to use ECL and Maxima from system packages as suggested by #27330, but without success for the moment.

The spkg-configure.m4 are trivial (see attachments), but the problems occur during build:

In [dochtml] [manifolds] this error is produced:

RuntimeError: ECL says: The function SET-LOCALE-SUBDIR is undefined

Actually this error is reproducible out of the Sage's build mechanism:

$ ecl
> (require 'maxima)
> (in-package :maxima)
MAXIMA> (set-locale-subdir)
Condition of type: UNDEFINED-FUNCTION
The function MAXIMA::SET-LOCALE-SUBDIR is undefined.

According to Maxima's code, set-locale-subdir is defined in src/init-cl.lisp and:

    ;; If a file is declared as private-file it is loaded
    ;; from the build tree (which makes an out-of-tree
    ;; build possible), but not compiled (which means
    ;; that with ECL or ABCL it won't end up in the final image)
    ;; => no out-of-tree build for ECL.

Maybe someone with Lisp-fu could patch it, if possible?

Depends on #31593

CC: @orlitzky @kiwifb @antonio-rojas @spaghettisalat @tobiasdiez @isuruf @mkoeppe @miguelmarco @jhpalmieri @jcuevas-rozo @slel @vbraun

Component: build: configure

Keywords: ECL, Maxima

Author: Thierry Thomas, Dima Pasechnik, Michael Orlitzky

Branch/Commit: 5cbe423

Reviewer: Matthias Koeppe

Issue created by migration from https://trac.sagemath.org/ticket/29617

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions