red hat 9.0

I installed PGI complier 5.2
But, it may seem another problem.
I have a license and commend the license file to /PGI

cp license.dat /PGI

and set PATH and MANPATH.

and then,

root@ARL PGI]# pgf90 -V -c x.f

pgf90 5.2-4
Copyright 1989-2000, The Portland Group, Inc. All Rights Reserved.
Copyright 2000-2004, STMicroelectronics, Inc. All Rights Reserved.
PGF90/any Linux/x86 5.2-4
Copyright 1989-2000, The Portland Group, Inc. All Rights Reserved.
Copyright 2000-2004, STMicroelectronics, Inc. All Rights Reserved.
PGF90-W-0006-Input file empty (x.f)
PGF90/any Linux/x86 5.2-4: compilation completed with warnings
PGF90/x86 Linux/x86 5.2-4
Copyright 1989-2000, The Portland Group, Inc. All Rights Reserved.
Copyright 2000-2004, STMicroelectronics, Inc. All Rights Reserved.

and, I didn’t change the types.h file to /usr/bin folder.

[root@ARL PGI]# cd /PGI/linux86/5.2/include

[root@ARL include]# diff ./sys/types.h /usr/include/sys/types.h
1c1,2
< /* Copyright © 1991,92,94,95,96,97,98,99 Free Software Foundation, Inc.

/* Copyright © 1991,1992,1994,1995,1996,1997,1998,1999,2000,2001,2002
Free Software Foundation, Inc.
5,7c6,8
< modify it under the terms of the GNU Library General Public License as
< published by the Free Software Foundation; either version 2 of the
< License, or (at your option) any later version.


modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
12c13
< Library General Public License for more details.


Lesser General Public License for more details.
14,17c15,18
< You should have received a copy of the GNU Library General Public
< License along with the GNU C Library; see the file COPYING.LIB. If not,
< write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
< Boston, MA 02111-1307, USA. */


You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, write to the Free
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
02111-1307 USA. */
32a34

ifndef __u_char_defined

39a42,43

define __u_char_defined

endif

44c48
< #ifndef ino_t

#ifndef __ino_t_defined
50c54
< # define ino_t ino_t


define __ino_t_defined

52c56
< #ifdef __USE_LARGEFILE64

#if defined __USE_LARGEFILE64 && !defined __ino64_t_defined
53a58

define __ino64_t_defined

56c61
< #ifndef dev_t

#ifndef __dev_t_defined
58c63
< # define dev_t dev_t


define __dev_t_defined

61c66
< #ifndef gid_t

#ifndef __gid_t_defined
63c68
< # define gid_t gid_t


define __gid_t_defined

66c71
< #ifndef mode_t

#ifndef __mode_t_defined
68c73
< # define mode_t mode_t


define __mode_t_defined

71c76
< #ifndef nlink_t

#ifndef __nlink_t_defined
73c78
< # define nlink_t nlink_t


define __nlink_t_defined

76c81
< #ifndef uid_t

#ifndef __uid_t_defined
78c83
< # define uid_t uid_t


define __uid_t_defined

81c86
< #ifndef off_t

#ifndef __off_t_defined
87c92
< # define off_t off_t


define __off_t_defined

89c94
< #if defined __USE_LARGEFILE64 && !defined off64_t

#if defined __USE_LARGEFILE64 && !defined __off64_t_defined
91c96
< # define off64_t off64_t


define __off64_t_defined

94c99
< #ifndef pid_t

#ifndef __pid_t_defined
96c101
< # define pid_t pid_t


define __pid_t_defined

99c104
< #if defined __USE_SVID || defined __USE_XOPEN

#if (defined __USE_SVID || defined __USE_XOPEN) && !defined __id_t_defined
100a106

define __id_t_defined

103c109
< #ifndef ssize_t

#ifndef __ssize_t_defined
105c111
< # define ssize_t ssize_t


define __ssize_t_defined

108a115

ifndef __daddr_t_defined

110a118,119

define __daddr_t_defined

endif

113c122
< #if defined __USE_SVID || defined __USE_XOPEN

#if (defined __USE_SVID || defined __USE_XOPEN) && !defined __key_t_defined
114a124

define __key_t_defined

120a131,132

#define __need_timer_t
#define __need_clockid_t
122a135,145
#ifdef __USE_XOPEN

ifndef __useconds_t_defined

typedef __useconds_t useconds_t;

define __useconds_t_defined

endif

ifndef __suseconds_t_defined

typedef __suseconds_t suseconds_t;

define __suseconds_t_defined

endif

#endif

135c158
< #if !defined GNUC || GNUC < 2 || GNUC_MINOR < 7

#if !__GNUC_PREREQ (2, 7)
137c160
< /* These types are defined by the ISO C 9x header <inttypes.h>. */


/* These types are defined by the ISO C99 header <inttypes.h>. */
143c166
< # if defined(GNUC) || defined(__PGI)


if __GLIBC_HAVE_LONG_LONG

152c175
< # if defined(GNUC) || defined(__PGI)

if __GLIBC_HAVE_LONG_LONG

199a223,227

#if defined __USE_UNIX98 && !defined __blksize_t_defined
typedef __blksize_t blksize_t;

define __blksize_t_defined

#endif

201a230

ifndef __blkcnt_t_defined

202a232,234

define __blkcnt_t_defined

endif

ifndef __fsblkcnt_t_defined

203a236,238

define __fsblkcnt_t_defined

endif

ifndef __fsfilcnt_t_defined

204a240,241

define __fsfilcnt_t_defined

endif

205a243

ifndef __blkcnt_t_defined

206a245,247

define __blkcnt_t_defined

endif

ifndef __fsblkcnt_t_defined

207a249,251

define __fsblkcnt_t_defined

endif

ifndef __fsfilcnt_t_defined

208a253,254

define __fsfilcnt_t_defined

endif

endif

ifndef __fsfilcnt_t_defined

208a253,254

define __fsfilcnt_t_defined

endif

216a263,268

/* Now add the thread types. */
#if defined __USE_POSIX199506 || defined __USE_UNIX98

include <bits/pthreadtypes.h>

#endif



[root@ARL include]# diff ./bits/types.h /usr/include/bits/types.h
49c49
< #elif defined(__GLIBC_HAVE_LONG_LONG) || defined(__PGI)

#elif defined __GLIBC_HAVE_LONG_LONG
56c56
< #if defined(__GLIBC_HAVE_LONG_LONG) || defined(__PGI)


#ifdef __GLIBC_HAVE_LONG_LONG

Does it have a problem? When I reboot the computer pgf90 doesn’t seem on computer.
for example,

root@ARL root]# pgf90 -V
-bash : pgf90: command not found

Thank you for respongind my message~
Have a nice day~

It looks like the /usr/include/bits/types.h is fine.

If you wish you can send mail to trs requesting a proper Redhat 9
$PGI/linux86/5.2/include/sys/types.h file, and we can
provide one.

The difference should be just those two lines.

% diff /usr/include/sys/types.h /usr/pgi/linux86/5.2/inlcude/sys/types.h
166c166,167
< # if __GLIBC_HAVE_LONG_LONG

/* # if __GLIBC_HAVE_LONG_LONG */

if defined(__GLIBC_HAVE_LONG_LONG) || defined(__PGI)

175c176,177
< # if __GLIBC_HAVE_LONG_LONG

/* # if __GLIBC_HAVE_LONG_LONG */

if defined(__GLIBC_HAVE_LONG_LONG) || defined(__PGI)