PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

CUDA-x86.

install problem
Goto page 1, 2  Next
 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Licenses and Installation
View previous topic :: View next topic  
Author Message
eris.Chang



Joined: 18 Mar 2007
Posts: 2

PostPosted: Mon Mar 19, 2007 3:24 am    Post subject: install problem Reply with quote

My operating system:Kubuntu Linux 6.10
kernel: 2.6.17
glibc :2.4
CPU :amd64X2
memery :1GB
PGI workstation complete : 7.0.2

When I install PGI workstation complete,the install promgram output :



Code:

Installing software into /opt/pgi (this may take some time).

##############################################

ERROR: Linker : not found
test: 603: ==: unexpected operator
localrc has not changed



what wrong with install?

Thank you ver much
Back to top
View user's profile
mkcolg



Joined: 30 Jun 2004
Posts: 5943
Location: The Portland Group Inc.

PostPosted: Mon Mar 19, 2007 10:22 am    Post subject: Reply with quote

Hi eris.Chang,

To determine which dynamic linker you have installed, the install script checks the verbose output from gcc for the keyword "-dynamic-linker". For some reason on your system, either gcc or a linker is not installed.

Please post the output of the following commands:
Code:

% cat hello.c
#include <stdio.h>
int main () {
   printf ("hello\n");
   return 0;
}
% gcc -v hello.c > & tmp.out
% cat tmp.out
% grep collect2 tmp.out | sed q | sed -e 's/.* -dynamic-linker //' -e 's/ .*//'


Thanks,
Mat
Back to top
View user's profile
eris.Chang



Joined: 18 Mar 2007
Posts: 2

PostPosted: Tue Mar 20, 2007 5:37 am    Post subject: Reply with quote

Thank you

follow is tmp.out
Code:

Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr --enable-checking=release i486-linux-gnu
Thread model: posix
gcc version 4.1.2 20060928 (prerelease) (Ubuntu 4.1.1-13ubuntu5)
 /usr/lib/gcc/i486-linux-gnu/4.1.2/cc1 -quiet -v hello.c -quiet -dumpbase hello.c -mtune=generic -auxbase hello -version -fstack-protector -fstack-protector -o /tmp/ccXPhLN6.s
ignoring nonexistent directory "/usr/local/include/i486-linux-gnu"
ignoring nonexistent directory "/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../i486-linux-gnu/include"
ignoring nonexistent directory "/usr/include/i486-linux-gnu"
#include "..." search starts here:
#include <...> search starts here:
 /usr/local/include
 /usr/lib/gcc/i486-linux-gnu/4.1.2/include
 /usr/include
End of search list.
GNU C version 4.1.2 20060928 (prerelease) (Ubuntu 4.1.1-13ubuntu5) (i486-linux-gnu)
        compiled by GNU C version 4.1.2 20060928 (prerelease) (Ubuntu 4.1.1-13ubuntu5).
GGC heuristics: --param ggc-min-expand=63 --param ggc-min-heapsize=63469
Compiler executable checksum: 9dfacd053f7c05ab266630071b88af60
 as -V -Qy -o /tmp/ccYyhvH6.o /tmp/ccXPhLN6.s
GNU assembler version 2.17 (i486-linux-gnu) using BFD version 2.17 Debian GNU/Linux
 /usr/lib/gcc/i486-linux-gnu/4.1.2/collect2 --eh-frame-hdr -m elf_i386 -dynamic-linker /lib/ld-linux.so.2 /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/crt1.o /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/crti.o /usr/lib/gcc/i486-linux-gnu/4.1.2/crtbegin.o -L/usr/lib/gcc/i486-linux-gnu/4.1.2 -L/usr/lib/gcc/i486-linux-gnu/4.1.2 -L/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib -L/lib/../lib -L/usr/lib/../lib /tmp/ccYyhvH6.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/gcc/i486-linux-gnu/4.1.2/crtend.o /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/crtn.o



Code:


root@kubuntu:/home/eris/pgi# grep collect2 tmp.out | sed q | sed -e 's/.* -dynamic-linker //' -e 's/ .*//'
/lib/ld-linux.so.2
root@kubuntu:/home/eris/pgi#             



Thanks
Back to top
View user's profile
mkcolg



Joined: 30 Jun 2004
Posts: 5943
Location: The Portland Group Inc.

PostPosted: Tue Mar 20, 2007 12:14 pm    Post subject: Reply with quote

Hi eris.Chang,

Is Kubuntu 6.10 a 64-bit or 32-bit OS? What is the output of "uname -m"?

My guess is that Kubuntu is a 64-bit OS but the GCC version your using is 32-bits. If this is the case, do you have 64-bit GCC available? If not, then you'll only be able to install the 32-bit PGI compilers.

- Mat
Back to top
View user's profile
Rosa.Maria18



Joined: 02 Jun 2008
Posts: 1

PostPosted: Tue Jun 03, 2008 5:02 pm    Post subject: Problems installing PGI workstation on kubuntu linux Reply with quote

My operating system: Kubuntu Linux 7.10
kernel: 2.6.22-14-generic
CPU :Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz 64bits
RAM : 2GB

When I try to install the PGI Workstation the follow error occurs:


ERROR: Linker : not found
test: 620: ==: unexpected operator
test: 994: ==: unexpected operator

Making symbolic links in /opt/pgi/linux86/7.2
Making symbolic links in /opt/pgi/linux86-64/7.2
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    PGI User Forum Forum Index -> Licenses and Installation All times are GMT - 7 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © phpBB Group