Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

install RST - Centos 8 #563

Open
Aixuwu opened this issue Apr 4, 2023 · 4 comments
Open

install RST - Centos 8 #563

Aixuwu opened this issue Apr 4, 2023 · 4 comments

Comments

@Aixuwu
Copy link

Aixuwu commented Apr 4, 2023

Excuse me, ask a question, See from Table of Contents-Library Requirements for installing RST, CentOs only has two versions of 6.1 and 7. How to install RST on CentOs 8?

@Aixuwu
Copy link
Author

Aixuwu commented Apr 4, 2023

I try to install as CentOs 7
sudo yum install hdf5-devel libpng12-devel libX11-devel libXext libXext-devel netcdf netcdf-devel ncurses-devel zlib-devel,
then error: no match: libpng12-devel

@egthomas
Copy link
Member

egthomas commented Apr 4, 2023

@Aixuwu can you try installing libpng-devel instead of libpng12-devel ?

@ecbland
Copy link

ecbland commented Apr 5, 2023

I recently installed RST on CentOS 7 (and I was planning to share my notes...just juggling lots of things at the moment in my new job).

I needed to do the following to get RST to compile:

  1. Install libpng-devel instead of libpng12-devel as @egthomas suggested above
  2. Add -std=gnu99 to line 10 of $RSTPATH/build/make/makebin.linux and line 10 of $RSTPATH/build/make/makelib.linux
    e.g. CFLAGS+=-fPIC -std=gnu99 -Wall -pedantic -O3 -D_GNU_SOURCE -D_LINUX
  3. I could not get fitacfclientgui to compile, so as a workaround I compressed the directory $RSTPATH/codebase/superdarn/src.bin/tk/tcpip/fitacfclientgui.1.0 so that RST will skip over it. We had a similar problem with macOS (Fix fitacfclientgui compilation on macOS #536). It would be good to find a proper solution.

@egthomas
Copy link
Member

egthomas commented Apr 5, 2023

Thanks @ecbland! For fitacfclientgui, you may also need to install ncursesw5-devel (or whatever the equivalent is on CentOS) - that was required on another recent installation I tried on an older Ubuntu version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants