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.

Advertisements

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