Installation problems with RH9.0/PGF90 5.0

Alex Brown alex.brown at ualberta.ca
Fri Aug 8 20:04:04 BST 2003


Hi all,

  I am trying to get Molpro 2002.3 to compile on my P4 which has
RedHat9.0 installed (current up to July 25th, 2003). I am compiling
using Portland group compilers - PGF90 5.0-1

If I simply run configure, I get the following message

Cannot link with any objects !
This architecture or combination of architecture and integer
size is probably not supported. Sorry ....

This was strange! But after simply editing CONFIG by hand to add my
license keys and telling Molpro too use
PARSE=parse-i686-pc-linux-gnu-i4.o.gz (which I think is correct)
everything starts to compile fine. However, at the linking stage, I get
the following error:

linking /usr/local/molpro2002.3/bin/molpros_2002_3.exe
link failed
pgf90 -pc 64 -fast -g77libs -o
/usr/local/molpro2002.3/bin/molpros_2002_3.exe molver.o molpro.o
-L/usr/local/molpro2002.3/lib -lmolpro -lgks0 -L/usr/lib -lblas
-lz
/usr/local/molpro2002.3/lib/libmolpro.a(licence.o)(.text+0x4893): In
function `yylex':
: undefined reference to `__ctype_b'
/usr/local/molpro2002.3/lib/libmolpro.a(licence.o)(.text+0x48b3): In
function `yylex':
: undefined reference to `__ctype_b'
/usr/local/molpro2002.3/lib/libmolpro.a(licence.o)(.text+0x498c): In
function `yylex':
: undefined reference to `__ctype_b'
/usr/local/molpro2002.3/lib/libmolpro.a(licence.o)(.text+0x49db): In
function `yylex':
: undefined reference to `__ctype_b'
/usr/local/molpro2002.3/lib/libmolpro.a(licence.o)(.text+0x4a1d): In
function `yylex':
: undefined reference to `__ctype_b'
/usr/local/molpro2002.3/lib/libmolpro.a(licence.o)(.text+0x4ad0): more
undefined references to `__ctype_b' follow
make: *** [bin/molpros_2002_3.exe] Error 1

Any ideas? 
Note I have already had some problems with pgf90 5.0-1 which I think
relate to my use of glibc-2.3.x (Portland Group's website seems to
indicate the use of glibc-2.2.x). However, for other code, in spite of
getting annoying warning messages everything seems to compile fine.

Thanks.
Alex


-- 
Alex Brown
Assistant Professor                
Department of Chemistry      
University of Alberta                 
Edmonton, AB
T6G 2G2
http://www.chem.ualberta.ca/faculty/brown.htm





More information about the Molpro-user mailing list