Skip to content

Compilation falling under Mac OS #254

@epaell

Description

@epaell

Apologies if this is due to something silly on my behalf but I'm trying to compile cpm65 under Mac OS (15.5) on an ARM-based Mac. I thought I had all dependencies installed but I get the following when I try to run make:

`~/local/src/cpm65$ make LLVM=$HOME/llvm-mos/bin/

build/ab.mk:81: .obj/build.mk: No such file or directory
build/ab.mk:81: .obj/build.mk: No such file or directory
AB
loading build.py
loading build/pkg.py
Error materialising Target("+libelf"): <function package at 0x1015944a0>
Arguments: {'self': Target("+libelf"), "name": "+libelf", "package": "libelf", "fallback": None, "dir": "$(OBJ)/+libelf"}
Traceback (most recent call last):
File "/Users/len067/local/src/cpm65/build/ab.py", line 623, in
main()
File "/Users/len067/local/src/cpm65/build/ab.py", line 619, in main
t.materialise()
File "/Users/len067/local/src/cpm65/build/ab.py", line 288, in materialise
raise e
File "/Users/len067/local/src/cpm65/build/ab.py", line 283, in materialise
self.callback(**cbargs)
File "build/pkg.py", line 71, in package
_package(self, name, package, fallback, TargetPkgConfig)
File "build/pkg.py", line 52, in _package
fallback
AssertionError: Required package "libelf" not installed when materialising target "$[name]"
make: *** No rule to make target "+all", needed by "all". Stop.`

I have tried to install libelf (despite it not being listed as a dependency) but it still doesn't appear to find it.

Any guidance would be greatly appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions