Skip to content

Install Osiris in a Mac #6

@Haidar-Al-Naseri

Description

@Haidar-Al-Naseri

Hi!
I tried to build the Osiris code in my Mac, but was unable to do it.
I used:

./configure -s config/osiris_sys.macosx_M1.gnu -d 1

The error message I have is

cd source && /Library/Developer/CommandLineTools/usr/bin/make

config.mk:23: Configure script did not set cc variable (C compiler), defaulting to gcc

fatal: not a git repository (or any of the parent directories): .get

fatal: not a git repository (or any of the parent directories): .get

[F90] os-stringutil.f90

In file included from :425:

:3:9: error: macro name must be an identifier

3 | #define -I. 1

I tried to use ChatGPT and Google; it did not help. I reinstalled Xcode. I used

CC=/usr/bin/clang

But that did not work.

Thank you.

Best regards, Haidar Al-Naseri

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions