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

ORTEP Fails to compile #3

Open
FOSSBOSS opened this issue Mar 14, 2020 · 2 comments
Open

ORTEP Fails to compile #3

FOSSBOSS opened this issue Mar 14, 2020 · 2 comments

Comments

@FOSSBOSS
Copy link

I am trying to install ortep III on a CentOS Linux server which has an i7 processor, and where x11, and pgplot are both installed. the make command returns:

gfortran -lpgplot -o ortep3 ortep.o
ortep.o: In function penwsc_': ortep.f:(.text+0x583b): undefined reference to pgslw_'
ortep.o: In function colrsc_': ortep.f:(.text+0x5ad0): undefined reference to pgsci_'
ortep.o: In function curssc_': ortep.f:(.text+0x5e90): undefined reference to pgsfs_'
ortep.f:(.text+0x5e9c): undefined reference to pgscf_' ortep.f:(.text+0x5ea8): undefined reference to pgsch_'
ortep.f:(.text+0x5ec7): undefined reference to pgcurs_' ortep.f:(.text+0x61f1): undefined reference to pgsci_'
ortep.f:(.text+0x61fd): undefined reference to pgsfs_' ortep.f:(.text+0x6218): undefined reference to pgrect_'
ortep.f:(.text+0x6224): undefined reference to pgsci_' ortep.f:(.text+0x6230): undefined reference to pgsfs_'
ortep.f:(.text+0x624b): undefined reference to pgrect_' ortep.f:(.text+0x6264): undefined reference to pgtext_'
ortep.o: In function endsc_': ortep.f:(.text+0x639b): undefined reference to pgsci_'
ortep.f:(.text+0x63a7): undefined reference to pgsfs_' ortep.f:(.text+0x63c2): undefined reference to pgrect_'
ortep.f:(.text+0x63ce): undefined reference to pgsci_' ortep.f:(.text+0x63da): undefined reference to pgsfs_'
ortep.f:(.text+0x63f5): undefined reference to pgrect_' ortep.f:(.text+0x6401): undefined reference to pgsci_'
ortep.f:(.text+0x641c): undefined reference to pgtext_' ortep.o: In function initsc_':
ortep.f:(.text+0x7289): undefined reference to pgbeg_' ortep.f:(.text+0x72a9): undefined reference to pgscr_'
ortep.f:(.text+0x72c0): undefined reference to pgscr_' ortep.f:(.text+0x72c7): undefined reference to pgpage_'
ortep.f:(.text+0x72d3): undefined reference to pgqch_' ortep.f:(.text+0x72df): undefined reference to pgsch_'
ortep.f:(.text+0x72e6): undefined reference to pgvstd_' ortep.f:(.text+0x72ff): undefined reference to pgwnad_'
ortep.f:(.text+0x730b): undefined reference to pgsch_' ortep.f:(.text+0x733b): undefined reference to pgbox_'
ortep.f:(.text+0x7347): undefined reference to pgsci_' ortep.f:(.text+0x7353): undefined reference to pgsfs_'
ortep.f:(.text+0x736e): undefined reference to pgrect_' ortep.f:(.text+0x7389): undefined reference to pgtext_'
ortep.o: In function pensc_': ortep.f:(.text+0xa614): undefined reference to pgmove_'
ortep.f:(.text+0xa701): undefined reference to pgdraw_' ortep.o: In function endsc_':
ortep.f:(.text+0x6427): undefined reference to `pgend_'
collect2: error: ld returned 1 exit status
make: *** [all] Error 1

what is the problem here?

@rosswhitfield
Copy link
Member

Which version of CentOS are you using? You may need to install pgplot-devel

@N0rbert
Copy link

N0rbert commented Mar 29, 2020

On all modern linux distros the pgplot is 5.2.2, it is not compatible with this great software from 2000s.

On Ubuntu it may be compiled by following this Q&A - https://askubuntu.com/a/1222216/66509 .
The main difference here - is to download patched version of ortep.f with disabled pgplot functionality from http://ftp.corbina.net/pub/Linux/gentoo/distfiles/81/ortep.f .

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

No branches or pull requests

3 participants