[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: guix environment and ld?
From: |
Christopher Baines |
Subject: |
Re: guix environment and ld? |
Date: |
Fri, 08 Feb 2019 21:48:13 +0000 |
User-agent: |
mu4e 1.0; emacs 26.1 |
zimoun <address@hidden> writes:
> Hi,
>
> I am working on the package Gmsh.
>
> Well, say the upstream repo is cloned and I am following the upstream readme.
> Basically, it is a CMake build system for C++ code with some Fortran.
>
> So, if I am doing:
> mkdir build-1 && cd build-1
> guix environment gmsh --pure
> cmake .. && make
> ./gmsh -info # ok :-)
>
> If I am doing:
> mkdir build-2 && cd build-2
> guix environment --pure --ad-hoc \
> cmake make binutils glibc address@hidden address@hidden
> cmake .. && make
> ./gmsh -info # ok :-)
>
> Now, I would like to build a version with PETSc.
>
> mkdir build-3 && cd build-3
> guix environment --pure --ad-hoc \
> cmake make binutils glibc address@hidden address@hidden \
> petsc
> cmake .. && make
> ./gmsh -info # fail!
One tip, try using address@hidden rather than binutils, glibc and
address@hidden I'm not quite sure why, but I've had it help me with other
compilation issues.
signature.asc
Description: PGP signature