Skip to content

Gadget 2 : make or cmake error / Amuse 26.03 #1246

@christianboily

Description

@christianboily

To compile Gadget2 I issued the command below :

(Amuse_Tahoe) cmb@FudiProM2(/opt/work/cmb/Amuse/Amuse_Tahoe/Amuse-2026.3.0){83} > ./setup install amuse-gadget2
Checking for dependencies, one moment please...

--> This works fine under the Conda forge installation, but the same instruction with a McPorts installation and still using gcc13.4 as
--> for the Conda environment I get :

Cleaning amuse-gadget2...

Makefile:27: *** mixed implicit and normal rules.  Stop.

Building and installing amuse-gadget2...

Makefile:2: support/config.mk: No such file or directory
Makefile:27: *** mixed implicit and normal rules. Stop.

amuse-gadget2 failed to build and install correctly.

This is not supposed to happen!

Please contact the developers on Slack or make an issue on GitHub,
so that we can fix this together.

This is odd because Gadget2 installed fine under McPorts with Amuse-2025.03 and prior versions.
The only major difference I spotted is that Conda install cmake 4.3 ++ while McPorts uses cmake 3.31 : could there be some
tolerance in the instructions patterns (in the Makefiles) that I should change ? cmake 4 does not seem to be available under
McPorts.

Cheers,

Chri s B.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions