Comments (7)
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.
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.
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.
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.
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 anyCIAOROOT
orCIAOPATH
variable? - could you check if the PATH points to any previous Ciao installation?
from ciao.
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.
Great!
from ciao.
Related Issues (20)
- redefine lists.pl (or other modules used in the compiler)
- Clarification request: does Ciao Prolog have a foreach/2 somewhere? HOT 1
- Glitch in Syntax Highlighter of Ciao Prolog Playground HOT 1
- Feature request predicate divmod/4 HOT 9
- Compatibility issue evaluable function (^)/2 missing HOT 3
- profiling not compiling HOT 3
- Failed installation: now/1 is not exported by system HOT 4
- Missing or wrong rounding in (**)/2 HOT 4
- Feature request random/3 that works with bigint
- Rounding glitch from bigint to float HOT 1
- Evaluable function pi/0 missing HOT 2
- Ciao will not compile on GUIX HOT 5
- Termux install dependency missing in doc HOT 1
- Built-in predicate request: function_property/2 HOT 2
- subsumes_term/2 incorrect
- `./ciao-boot.sh global-install` fails when copying files HOT 4
- Symbol’s function definition is void: batch-update-autoloads HOT 2
- functor/3 incorrectly fails &ct HOT 7
- Read- and Write-Option variable_names/1 and Error Handling in Options
- Problem regarding documentation of tests with multiple solutions
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ciao.