GithubHelp home page GithubHelp logo

Comments (7)

jfmc avatar jfmc commented on August 23, 2024

Hi,

Apple M1 is a supported platform and it should compile and install without any problem. The error message that you report is a bit strange. Something like:

$ git clone [email protected]:ciao-lang/ciao.git
$ cd ciao
$ ./ciao-boot.sh local-install

should work. If it does not, could you try this instead?

./ciao-boot.sh configure
./ciao-boot.sh build
./ciao-boot.sh install

(and attach a copy of the log messages if it still does not work)

Binary distributions for that platform are unfortunately not available in GitHub Actions (AFAIK, except for self-hosted runners).

from ciao.

Robert-Adelard avatar Robert-Adelard commented on August 23, 2024

Thank you for confirming that Apple M1 is a support platform. Unfortunately, it doesn't work for me...

$ ./ciao-boot.sh local-install
=> builder: building [boot]
   compiling ciaoengine (engine for ciaoc.sta)
   compiling ciao_builder (command) [using ciaoc.sta]
{Reading .../ciao/core/lib/compiler/exemaker.pl
ERROR: (lns 1-6) Module exemaker already defined in source ..../ciao/core/lib/compiler/exemaker
}
   reusing ciaoengine (engine for ciao_builder)
{ERROR (ciao_builder): '.' does not look like a valid builder target.

It does not correspond to a known bundle name, a path to a bundle, or a path
to a workspace containing bundles.

Some possible reasons: the target is not reachable from CIAOROOT or CIAOPATH,
or it does not contain the ACTIVATE mark (for catalogues), or the bundle
sources are incomplete (no valid Manifest.pl?).} 

If I run the configure command separately, I get the same error message from ciao_builder:

$ ./ciao-boot.sh configure
{ERROR (ciao_builder): '.' does not look like a valid builder target.

It does not correspond to a known bundle name, a path to a bundle, or a path
to a workspace containing bundles.

Some possible reasons: the target is not reachable from CIAOROOT or CIAOPATH,
or it does not contain the ACTIVATE mark (for catalogues), or the bundle
sources are incomplete (no valid Manifest.pl?).}

from ciao.

jfmc avatar jfmc commented on August 23, 2024

That error is strange (somehow the build system is not recognizing the source tree).
Are you installing from a fresh git clone? Is any of the parent directories in a symbolic link?

from ciao.

Robert-Adelard avatar Robert-Adelard commented on August 23, 2024

Yes, I'm installing from a fresh git clone, and No, none of the parent directories is a symbolic link.

Are there any debug flags I can use to generate more logging information?

from ciao.

jfmc avatar jfmc commented on August 23, 2024

There is no logging information at the required level to trace this issue. I've located a couple of places to inspect by manually adding logging code (if you are familiar with Prolog).

Some checks before:

  • does the absolute path of Ciao contain non-alphanumeric or UTF8 characters?
  • does your environment (unix env command) report any CIAOROOT or CIAOPATH variable?
  • could you check if the PATH points to any previous Ciao installation?

from ciao.

Robert-Adelard avatar Robert-Adelard commented on August 23, 2024

Some checks before:

  • does the absolute path of Ciao contain non-alphanumeric or UTF8 characters?

Aha - the parent directory was S-CASP. Changing it to SCASP has fixed the problem.

Thank you for your help.

from ciao.

jfmc avatar jfmc commented on August 23, 2024

Great!

from ciao.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.