[rsf-devel] Unable to run configure on Fedora 29

5 views
Skip to first unread message

fujisan

unread,
Jul 16, 2019, 3:46:33 AM7/16/19
to rsf-...@lists.sourceforge.net
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

fujisan

unread,
Jul 16, 2019, 10:39:21 AM7/16/19
to rsf-...@lists.sourceforge.net
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.


Reply all
Reply to author
Forward
0 new messages