Getting error when instrumenting a C program with Purify


 
Thread Tools Search this Thread
Operating Systems AIX Getting error when instrumenting a C program with Purify
# 8  
Old 05-02-2014
Hi Bakunin Smilie still saying thanks for taking time to reply...
I'm working at a multinational company and AIX is installed on a server in other country, I'm accessing via telnet, so I have to ask them to install the base level fileset for me or there is other solution that I can do it myself ?
# 9  
Old 05-02-2014
Quote:
Originally Posted by SteAlma
I'm working at a multinational company and AIX is installed on a server in other country, I'm accessing via telnet, so I have to ask them to install the base level fileset for me
Yes, that seems to be the most feasible solution. Most probably the medium with the filesets lurks around somewhere near the physical location of the system anyways.

Quote:
Originally Posted by SteAlma
or there is other solution that I can do it myself ?
Hardly. First off, installing software requires to be "root". I haven't asked, but you might not be allowed to become root given the circumstances.

If you can become root they do not have to install the software, just mount the media so that you can access it. In this case you can install it yourself:

1) change into the directory the packages reside in. The directory has to be writeable, otherwise copy the packages somewhere else.

2) create a contents-file:
Code:
inutoc .

This creates a content-file in the current directory named ".toc". It is clear-text, but an somewhat awkward format. There is documentation about what means what on the net.

3) start SMIT to install the packages
Code:
smitty install_all

This brings up a screen with the question where to install from. Enter "." (current directory) and in the upcoming screen select the packages (use PF4 to create/select from a list).

After finishing your installation you can delete the package-files and the .toc-file.

I hope this helps.

bakunin
This User Gave Thanks to bakunin For This Post:
# 10  
Old 05-06-2014
Hi Bakunin and Sorry for being late to reply ...
Thanks a lot, you make things clear for me, but I wasn't able to contact them so the project manager gave me access to 6.1 version of AIX ... I'm trying to install the fileset: bos.adt.syscalls.5.3.0.40 there, by this command :
Code:
/usr/lib/instl/sm_inst installp_cmd -a -Q -d 'test' -f '_all_latest'  '-c'  '-g' '-X' '-G' '-V 2' '-Y'

test=the directory which contains the fileset
But I'm getting this error :
Code:
Input device or directory does not exist

Any suggestion? I can't pinpoint the error's source
# 11  
Old 05-06-2014
As a wild guess, change -d 'test' to specify a full pathname for the directory; not just the final component of the directory.
# 12  
Old 05-06-2014
Quote:
Originally Posted by Don Cragun
As a wild guess, change -d 'test' to specify a full pathname for the directory; not just the final component of the directory.
I tried the full pathname but it didn't work , it gave the same error ..
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

Error while instrumenting purify

when i instrument ourify i am getting error like .*** OI_init: Error, cannot connect to X server Purify or PureCoverage slave: Warning: Can't open display "localhost:0", using tty mode. . Got it] I am using AIX1.6 OS i have xwin32 installed in my windows.. (1 Reply)
Discussion started by: greenworld123
1 Replies

2. AIX

Purify : command not found

I just installed IBM PurifyPlus on IBM AIX 5.3 and they suggested me to run the command through the following one: % purify cc -g hello_world.c but it's giving me the message that : purify command not found I need your help Thanks In Advance (10 Replies)
Discussion started by: SteAlma
10 Replies

3. Programming

RHEL: Problem while using "purify gcc" for ESQL-C

Hi I am facing a problem while doing Purify Instrumentation of the Informix ESQL-C files. The system is RedHat Linux 5.6 and compiler is gcc. I have set both CC and INFORMIXC variables to "purify gcc" and compiled the source code. All the .c and .ec files were compiled successfully, but... (0 Replies)
Discussion started by: nsinha
0 Replies

4. UNIX for Advanced & Expert Users

Rational® Purify® compatable SW

Hi Rational® Purify® is a dynamic software analysis tool - helps to clean your own C or C++ code from memory leak problems etc. Who knows some compatable (my be freeware) software? (1 Reply)
Discussion started by: baruchgu
1 Replies

5. Shell Programming and Scripting

Need help with program error

#!/bin/csh # # Time of day greeting # # usage: greet # if ($#argv == 0) then set hour = ‘date +%H’ else set hour = $argv endif # if ($hour < 12) then echo "Good Morning\!" else if ($hour < 18) then echo "Good Afternoon\!" ... (2 Replies)
Discussion started by: glock1800
2 Replies

6. AIX

Purify and AIX compiling problems.

Hi, i'm trying to work with a trial version of PurifyPlus 7 with fixpack 10 from Rational that needs to run over an AIX 5.3 platform, 64-bit. I had success on compiling and running the hello_world programs and even a hash test program i found over the net, but purify can achieve the same with the... (0 Replies)
Discussion started by: chrispav
0 Replies

7. AIX

Program Error

Hi, my IBM 9117-570 model (mounting SF230_126 firmware version) gives an errpt like the following. The problem is that no SRC code found at IBM information center web site. Some ideas where are those SRC searchable ? O.S. is AIX 5.2- tkx E18E984F 1119200506 P S SRC ... (0 Replies)
Discussion started by: Carmen123
0 Replies

8. Programming

probelm with purify

Hi, I am using purify to find memory leak in my process. When I run the instrumented program I get error I donot have this file in the specified directory. Instead I have following files in the directory /usr/lib/nls/loc/locales.2 What should I do in such case? I undersatnd... (1 Reply)
Discussion started by: shriashishpatil
1 Replies

9. Programming

Problem with build using Purify

Hi, I am facing problem while doing build on AIX using xlC compiler. We are using purify. Purify fails to instrument the a few libraries. Interestingly these are not developed by us and are 3rd party SW components. Can someone let me know how to proceed with the build? Here is the output... (0 Replies)
Discussion started by: asutoshch
0 Replies

10. UNIX for Advanced & Expert Users

Purify-SGI Fatal Error

Hi , attempting to purify code on the link line generates a fatal error like this #ERROR: (fatal) Cannot find libtest.so in the search path . command line: ------------- purify -show-directory=yes -always-use-cache-dir -cache-dir=/ppic/users/avadhani/sgi/pure /usr/bin/CC -n32 -mips3... (2 Replies)
Discussion started by: avadhani
2 Replies
Login or Register to Ask a Question