|
From: fujisan <fuj...@gm...> - 2019-07-16 14:39:14
|
Thanks to Zhicheng, I was able to compile successfully madagascar on Fedora
29?.
First, one must install libtirpc-devel.
Then add in framework/configure.py (around line 317)
elif plat['OS'] == 'linux' and plat['distro'] == 'fedora':
context.env['CPPPATH'] =
path_get(context,'CPPPATH','/usr/include/tirpc')
LIBS.append('tirpc')
Then ./configure --prefix=/path/to/install/dir API=gfortran
Then make.
On Tue, Jul 16, 2019 at 9:46 AM fujisan <fuj...@gm...> wrote:
> Hi
> I'm trying to compile madagascar on Fedora 29 but running the configure
> always gives me the following error:
>
> checking for Python ... /usr/bin/python
> checking Python version ... 2.7.15
> checking for RSFROOT ... /usr/local/madagascar
> checking for SCons ... /usr/bin/scons
> checking SCons version ... v3.0.1.74b2c53bc42290e911b334a6b44f187da698a668
> Running RSFROOT=/usr/local/madagascar /usr/bin/scons config ...
> ------------------------
> scons: Reading SConscript files ...
> checking platform ... (cached) linux [fedora]
> checking for C compiler ... (cached) gcc
> checking if gcc works ... yes
> checking if gcc accepts '-x c -std=gnu99 -Wall -pedantic' ... yes
> checking for ar ... (cached) ar
> checking for libraries ... no
>
> Needed package: glibc-headers
>
> Fatal missing dependency
> ------------------------
> Done with configuration.
>
> I have installed all the required libraries.
>
> What am I missing?
>
> Fuji
>
>
|