Skip to content

Dependency Conflict When Installing gmake #304

@Yangtze20

Description

@Yangtze20

Sorry to bother you, but I have to ask this question.

The commands I used are as follows:

export REPO_DEST=~/Project
cd ${REPO_DEST}
git clone --recursive https://github.com/Exawind/exawind-manager.git
export EXAWIND_MANAGER=${REPO_DEST}/exawind-manager
source ${EXAWIND_MANAGER}/start.sh && spack-start
mkdir ${REPO_DEST}/env_amrwind_openfast && cd ${REPO_DEST}/env_amrwind_openfast
quick-create-dev -d . -s [email protected]+openfast+netcdf%[email protected] [email protected]+rosco%[email protected]
export EXAWIND_MANAGER=${REPO_DEST}/exawind-manager
source ${EXAWIND_MANAGER}/start.sh && spack-start
cd ${REPO_DEST}/env_amrwind_openfast
quick-activate .
spack install

However,it always like this when install gmake

`spack install
==> Concretized 2 specs

[+] /usr (external glibc-2.17-pxp43eu5qccxvkdqcljno3qjn25knaes)
[+] /data/home/zwyang2/Project/exawind-manager/spack/opt/spack/linux-centos7-zen2/gcc-11.2.0/gcc-runtime-11.2.0-c3r357rg6bwomzrmpmyqyyqtlc6iyzgo
[+] /data/home/zwyang2/Project/exawind-manager/spack/opt/spack/linux-centos7-zen2/gcc-11.2.0/ca-certificates-mozilla-2025-02-25-quv4t6ldvb7la4c7zc5qlf6aamo4pejx
==> Installing gmake-4.4.1-vg5uos6oivgzygonxioh2vbkqaqnxlan [4/82]
==> No binary for gmake-4.4.1-vg5uos6oivgzygonxioh2vbkqaqnxlan found: installing from source
==> Using cached archive: /data/home/zwyang2/.spack_downloads/_source-cache/archive/dd/dd16fb1d67bfab79a72f5e8390735c49e3e8e70b4945a15ab1f81ddb78658fb3.tar.gz
==> No patches needed for gmake
==> gmake: Executing phase: 'install'
==> Error: ProcessError: Command exited with status 77:
'/data/home/zwyang2/Project/exawind-manager/stage/spack-stage-gmake-4.4.1-vg5uos6oivgzygonxioh2vbkqaqnxlan/spack-src/configure' '--prefix=/data/home/zwyang2/Project/exawind-manager/spack/opt/spack/linux-centos7-zen2/gcc-11.2.0/gmake-4.4.1-vg5uos6oivgzygonxioh2vbkqaqnxlan' '--without-guile' '--disable-nls' '--disable-dependency-tracking'

2 errors found in build log:
6 checking for gawk... gawk
7 checking whether make sets $(MAKE)... yes
8 checking whether make supports nested variables... yes
9 checking whether make supports the include directive... yes (GNU style)
10 checking for gcc... /data/home/zwyang2/Project/exawind-manager/spack/lib/spack/e
nv/c++
11 checking whether the C compiler works... no

12 configure: error: in /data/home/zwyang2/Project/exawind-manager/stage/spack-sta ge-gmake-4.4.1-vg5uos6oivgzygonxioh2vbkqaqnxlan/spack-src/spack-build': 13 configure: error: C compiler cannot create executables 14 See config.log' for more details
`

However, when I use gcc 4.8.5 alone to install gmake, it works successfully.

Can you please let me know what I am doing wrong?

Very very thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions