Using Alire, I'm attempting to follow the Scripts API instructions of
the `GNATColl 22.0w documentation` Section 3.1.2, `The Python
Language` which states that `Python support is optional in GNATColl`.
I can't figure out how to provide `GNATColl` with the optional Python support. Hence my instruction `with GNATCOLL.Scripts.Python;` fails.
No problem with `with GNATCOLL.Scripts;`
Please advise on how to provide `GNATColl` with the optional Python
support.
Mac OSX 13.0.1 (22A400)
XCode 14.1
gnat-x86_64-darwin-12.1.0-2
Thanks Simon,
I've just posted a query with gnatcoll_core as
alr get gnatcoll_python3 returns an error message.
I think the gnatcoll documentation is now out of date with respect to
changes made by alire.
I've just updated my Mac to Ventura and consequently am fighting
battles on many fronts.
Alire 1.3 will support Homebrew as the package manager for macOS, but
someone has to work out how to upgrade the above two items to use it
(and how to approach include, library paths; the ideal way would
probably be to use pkg-config to determine them, but the simplest way of doing that would mean running a script from within gprbuild - not going
to happen.
I have not used alire myself, but I noticed the following in your message:
Alire 1.3 will support Homebrew as the package manager for macOS, but
someone has to work out how to upgrade the above two items to use it
(and how to approach include, library paths; the ideal way would
probably be to use pkg-config to determine them, but the simplest way
of doing that would mean running a script from within gprbuild - not
going to happen.
Although running external scripts from gprbuild is indeed unlikely, it
is definitely in the realms of gprconfig (which is run first to
generate the .cgpr config file). For this one would need to provide
some .xml file that explains what command to run, and what to generate
in the .cgpr file (likely adding some `-I` compiler switches for C
files).
Although running external scripts from gprbuild is indeed unlikely, it is definitely in the realms of gprconfig (which is run first to generate the .cgpr config file).
For this one would need to provide some .xml file that explains what command to run, and what to generate in the .cgpr file (likely adding some `-I` compiler
switches for C files).
We are considering adding the feature to Alire directly. In particular
an easy way to get relevant info from pkg-config.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 399 |
Nodes: | 16 (3 / 13) |
Uptime: | 64:58:33 |
Calls: | 8,355 |
Calls today: | 15 |
Files: | 13,159 |
Messages: | 5,893,946 |
Posted today: | 1 |