Command to find AIX version

# oslevel
6.1.3.0
Advertisements

Buildclient and CC – Cannot execute C compiler cc

I am trying to compile a few .C files with tuxedo’s buildclient command. I have gcc in my path.

# which gcc
/bin/gcc

when I try to issue the buildclient command it returns

sh: cc: not found
CMDTUX_CAT:512: ERROR: Cannot execute C compiler cc -I$TUXDIR/include -o ....

it goes on!

Is there any compulsion to use only CC? Still working on it 😦 will update this post later.

Tuxedo installation in AIX became a tragedy

I was suppose to compile a few C files for Tuxedo on a 64 bit AIX box. It is not successful, It ended up with JRE extraction issues. Still working on it. Hope  it will get cleared tonight or tomorrow.

# ls -l
total 93536
-rw-r-----    1 root     system     47869952 May 05 06:19 tuxedo11gR1_64_aix_53_ppc.bin
# ./tuxedo11gR1_64_aix_53_ppc.bin
Preparing to install...
WARNING: /tmp does not have enough disk space!
 Attempting to use / for install base and tmp dir.
WARNING! The amount of / disk space required to perform
this installation is greater than what is available.  Please
free up at least 310082 kilobytes in / and attempt this
installation again.  You may also set the IATEMPDIR environment
variable to a directory on a disk partition with enough free
disk space.  To set the variable enter one of the following
commands at the UNIX command line prompt before running this
installer again:
- for Bourne shell (sh), ksh, bash and zsh:
 $ IATEMPDIR=/your/free/space/directory
 $ export IATEMPDIR
- for C shell (csh) and tcsh:
 $ setenv IATEMPDIR /your/free/space/directory

Changed the temp directory

# export IATEMPDIR=/opt/tuxedo/temp

now JRE Extraction error 😦

# ./tuxedo11gR1_64_aix_53_ppc.bin
Preparing to install...
Extracting the JRE from the installer archive...
The included VM could not be extracted. Please try to download
the installer again and make sure that you download using 'binary'
mode.  Please do not attempt to install this currently downloaded copy.

It seems the "uncompress" is not available on your system. Try following
command before installation,

With Googling, I have been suggested to make link to gunzip

ln -s /bin/gunzip uncompress

removed all java references from path

/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11:/sbin:

# ./tuxedo11gR1_64_aix_53_ppc.bin LAX_VM /usr/java5/bin/java -i console
Preparing to install...
Extracting the JRE from the installer archive...
The included VM could not be extracted. Please try to download
the installer again and make sure that you download using 'binary'
mode.  Please do not attempt to install this currently downloaded copy.
#

LAX_VM indicates that the installer should use this JVM instead the one in the .bin file.
-i console indicates that I rather use a text interface.


Find out the version for the bos.rte.archive fileset on the AIX
machine reporting the problem. You can check this by entering
# lslpp -l bos.rte.archive
 Fileset                      Level  State      Description
 ----------------------------------------------------------------------------
Path: /usr/lib/objrepos
 bos.rte.archive            6.1.3.0  COMMITTED  Archive Commands
Path: /etc/objrepos
 bos.rte.archive            6.1.3.0  COMMITTED  Archive Commands

Still not successful! lets see

System configuration in AIX

prtconf

This is the command to fetch the system information

# prtconf
System Model: IBM,8203-E4A
Machine Serial Number: 0631D75
Processor Type: PowerPC_POWER6
Processor Implementation Mode: POWER 6
Processor Version: PV_6_Compat
Number Of Processors: 1
Processor Clock Speed: 4204 MHz
CPU Type: 64-bit
Kernel Type: 64-bit
LPAR Info: 4 aixtest
Memory Size: 2176 MB
Good Memory Size: 2176 MB
Platform Firmware level: EL350_038
Firmware Version: IBM,EL350_038
Console Login: enable
Auto Restart: true
Full Core: false
Network Information
 Host Name: egtest
 IP Address: 192.168.1.6
 Sub Netmask: 255.255.255.0
 Gateway:
 Name Server:
 Domain Name:
Paging Space Information
 Total Paging Space: 512MB
 Percent Used: 3%
Volume Groups Information
==============================================================================
rootvg:
PV_NAME           PV STATE          TOTAL PPs   FREE PPs    FREE DISTRIBUTION
hdisk0            active            639         102         00..00..00..00..102
==============================================================================
INSTALLED RESOURCE LIST
The following resources are installed on the machine.
+/- = Added or deleted from Resource List.
*   = Diagnostic support not available.
 Model Architecture: chrp
 Model Implementation: Multiple Processor, PCI bus
+ sys0                                                           System Object
+ sysplanar0                                                     System Planar
* vio0                                                           Virtual I/O Bus
* vscsi0           U8203.E4A.0631D75-V4-C2-T1                    Virtual SCSI Cl                                                                                                                           ient Adapter
* hdisk0           U8203.E4A.0631D75-V4-C2-T1-L8100000000000000  Virtual SCSI Di                                                                                                                           sk Drive
* vsa0             U8203.E4A.0631D75-V4-C0                       LPAR Virtual Se                                                                                                                           rial Adapter
* vty0             U8203.E4A.0631D75-V4-C0-L0                    Asynchronous Te                                                                                                                           rminal
* lhea0            U789C.001.DQD2J88-P1                          Logical Host Et                                                                                                                           hernet Adapter (l-hea)
+ ent0             U789C.001.DQD2J88-P1-C7-T1                    Logical Host Et                                                                                                                           hernet Port (lp-hea)
+ L2cache0                                                       L2 Cache
+ mem0                                                           Memory
+ proc0                                                          Processor
#
#