LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   AIX (http://www.linuxquestions.org/questions/aix-43/)
-   -   Missing Filesets for C/C++ installation (http://www.linuxquestions.org/questions/aix-43/missing-filesets-for-c-c-installation-4175466842/)

nishith 06-21-2013 03:04 AM

Missing Filesets for C/C++ installation
 
Hello,

I am trying to install C/C++ on IBM Power Server,having AIX 5.3 OS. I have downloaded below package for installation.

vacpp.70.aix.may2005.ptf.tar.Z

As per the documentation, I have started installation using SMIT utility & got failure due to Base Level File Sets not found. The pre-requisite is as given below.

MISSING REQUISITES: The following filesets are required by one or more of the selected filesets listed above. They are not currently installed
and could not be found on the installation media.

(Selected filesets which depend upon these requisites are referenced in parentheses.)

memdbg.adt 5.1.0.0 # Base Level Fileset
memdbg.aix50.adt 5.1.0.0 # Base Level Fileset
vac.C 7.0.0.0 # Base Level Fileset
vac.ndi 7.0.0.0 # Base Level Fileset
vacpp.cmp.core 7.0.0.0 # Base Level Fileset
vacpp.cmp.include 7.0.0.0 # Base Level Fileset
vacpp.cmp.tools 7.0.0.0 # Base Level Fileset
vacpp.ndi 7.0.0.0 # Base Level Fileset
xlC.adt.include 7.0.0.0 # Base Level Fileset
<< End of Failure Section >>

The problem is, I have downloade some upgraded version of above mentioned file sets,but still AIX is giving installation errors.

So, I would like to know how to resolve this issue & from where can I download these base filesets?

I know that if I do update of APAR's, means applying all APAR's to system,then normally no need to have BASE FILE SETS.But, it is not possible considering AIX 5.3 support.

Waiting,
Nishith N.Vyas

Michael AM 06-22-2013 04:22 AM

you are missing base vac and vacpp filesets i expect.

simple question. can you already run the command xlc (i.e., is an IBM compiler already installed.)?

AlucardZero 06-25-2013 10:42 AM

vacpp.70.aix.may2005.ptf.tar.Z

That includes patch files only, not the full, base, filesets. You will need to buy/download/install the base compiler before you can patch it.

nishith 06-26-2013 07:36 AM

updates....
 
Hello,

I am using AIX 5.3 release 12 on IBM Power Servers & going to install Oracle 10gR2 DB. As per the pre-requisite, I have downloaded "vacpp filesets" from below URL

http://www-01.ibm.com/support/docvie...id=swg24009787

During execution of setup using "smit update_all", I have received failure due to some missing pre-requisite. The error message of SMIT is as given below.

They cannot be installed until all of their requisite filesets
are also installed. See subsequent lists for details of requisites.

memdbg.adt 5.1.0.2 # User Heap/Memory Debug Toolkit
memdbg.aix50.adt 5.1.0.2 # User Heap/Memory Debug Toolk...
vac.C 7.0.0.2 # IBM XL C Compiler
vac.ndi 7.0.0.2 # IBM XL C Non-Default Install...
vacpp.cmp.core 7.0.0.2 # IBM XL C/C++ Compiler
vacpp.cmp.include 7.0.0.2 # IBM XL C/C++ Compiler Includ...
vacpp.cmp.tools 7.0.0.2 # IBM XL C/C++ Tools
vacpp.ndi 7.0.0.2 # IBM XL C/C++ Non-Default Ins...
xlC.adt.include 7.0.0.1 # C Set ++ Application Develop...


MISSING REQUISITES: The following filesets are required by one or more
of the selected filesets listed above. They are not currently installed
and could not be found on the installation media.

memdbg.adt 5.1.0.0 # Base Level Fileset
memdbg.aix50.adt 5.1.0.0 # Base Level Fileset
vac.C 7.0.0.0 # Base Level Fileset
vac.ndi 7.0.0.0 # Base Level Fileset
vacpp.cmp.core 7.0.0.0 # Base Level Fileset
vacpp.cmp.include 7.0.0.0 # Base Level Fileset
vacpp.cmp.tools 7.0.0.0 # Base Level Fileset
vacpp.ndi 7.0.0.0 # Base Level Fileset
xlC.adt.include 7.0.0.0 # Base Level Fileset


So, I would like to know how to resolve this error without which I can not start Oracld DB setup.

AlucardZero 06-26-2013 09:24 AM

That includes patch files only, not the full, base, filesets. You will need to buy/download/install the base compiler before you can patch it.

http://www-03.ibm.com/software/products/us/en/xlcpp-aix

xj-linux 07-04-2013 10:02 PM

Quote:

Originally Posted by AlucardZero (Post 4979010)
That includes patch files only, not the full, base, filesets. You will need to buy/download/install the base compiler before you can patch it.

http://www-03.ibm.com/software/products/us/en/xlcpp-aix

x2. Alucard is correct. The following link may help you. If not, search IBM for the filesets you need and download or buy them as needed. Base filesets are now included with C++ updates.

http://www-01.ibm.com/support/docvie...id=swg24033340

Michael AM 07-24-2013 03:48 PM

Been on vacation, and working...

I am a bit surprised that Oracle would require a full compiler installed as a prerequisite - unless you are doing something additional that needs a compiler.

What I would suspect is needed is the .rte (run-time environment) filesets to be up to date and those you would need to get via IBM Fix-Central.

If you need a compiler then maybe a gcc compiler will work as well.

Finally, I suspect (as would be for myself) that is is for self-study as AIX 5.3 is past normal support, as is xlCv7, and I suspect Oracle 10-anything.

Good luck with your experiment. I am sure you will learn lots of things you never imagined you needed to know ;-)

NevemTeve 07-25-2013 02:25 AM

(I don't know about compiler, but Oracle does relink its executables during the installation so their library-search-path match to the installation directory:
Code:

dump -X64 -H $(which sqlplus)

/orabin/OraHome_4/bin/sqlplus:
...
                        ***Import File Strings***
INDEX  PATH                          BASE                MEMBER             
0      /orabin/OraHome_4/sqlplus/lib/:/orabin/OraHome_4/lib/:/usr/lib:/lib                                       
1                                    libc.a              shr_64.o           
2                                    libpthreads.a      shr_xpg5_64.o     
3                                    libdl.a            shr_64.o           
4                                    libodm.a            shr_64.o           
5                                    libperfstat.a      shr_64.o

)

xj-linux 07-25-2013 08:01 PM

Oracle asks for stuff when upgrading/installing, and we install what it asks for most of the time. Though it is not always needed from a functional standpoint... it is often helpful when you open a support ticket to Oracle (or SAP) and wish to avoid the impasse where you end up having to end the call with them, make yet another backup, go back and install prerequisites, and then call back again to continue working the issue.
Sometimes people run EOL operating systems (ie: AIX 5.3) with older applications (Oracle 10g) because they are requirements for other software that is still used, but isn't updated very often (or at all). Point being, not every request for help on old operating systems should be shrugged off as some experiment someone is pissing around with in their basement. Heck, I still have a standalone P5-550 AIX 5.3 box running Oracle 8.1 backing an IXOS jukebox archive device for legal archiving requirements for specific data of a specific age.
That said, since the OP and the other poster in post #4 never bother to post back a follow up, it's all probably a moot point. ;)

NevemTeve 07-26-2013 02:44 AM

(Note: It might be possible, that when Oracle asks for C compiler, it actually means: 'if you want to compile programs that use OCI programming interface or want to use Pro*C pre-compiler, you have to have C-compiler installed')

Michael AM 07-28-2013 04:55 AM

To reedit programs for this a compiler is not needed. AIX supplies a program ldedit.
Quote:

michael@x054:[/data/prj/openldap-2.4.35/tests/testrun]lslpp -w | grep ldedit
/usr/ccs/bin/ldedit bos.rte.bind_cmds File
/usr/bin/ldedit bos.rte.bind_cmds Symlink
/usr/share/man/info/EN_US/a_doc_lib/cmds/aixcmds3/ldedit.htm
/usr/lib/nls/msg/en_US/ldedit.cat bos.msg.en_US.rte File
Quote:

ldedit Command

Purpose

Modifies an XCOFF executable file header.

Syntax

ldedit -b Option [ -V ] File

Description

You can use the ldedit command to modify various fields in an XCOFF header or the auxiliary header of an executable file.
The ldedit command makes it possible to mark or unmark an application as a 'large page data' program. The ldedit command
also makes it possible to add or modify the values of MAXDATA and MAXSTACK without relinking.

The format of the -b flag is similar to the format used by the link editor, the ld command. The -b flag can be used
multiple times on the command line.

If no flags are specified, the ldedit command displays a usage message using the standard error output.

Flags
-b Option
Modifies an executable as specified by Option. The possible values for Option are:
datapsize:psize
Requests psize page sizes in bytes for data. The value can be specified as a decimal, hexadecimal, or octal
number. The number specifications are the same as in C programming language. Additionally, the page sizes can
be specified as a number followed by a one-character suffix:
* k or K for kilo or 0x400 bytes
* m or M for mega or 0x100000 bytes
* g or G for giga or 0x40000000 bytes
* t or T for tera or 0x10000000000 bytes
* p or P for peta or 0x4000000000000 bytes
* x or X for exo or 0x1000000000000000 bytes
For example, either -b datapsize:16k or -b datapsize:0x4000 will request 0x4000 for data and set the F_VARPG
bit in the XCOFF header. It is accomplished by setting the corresponding member of the auxiliary header to the
logarithm base 2 of the given value psize. If the value is different from 0, the F_VARPG bit of the XCOFF
header's f_flags member is also set. Otherwise, this bit is cleared.
lpdata
Marks a file as a 'large page data' executable.
nolpdata
Unmarks a file as a 'large page data' executable.
noshrsymtab
Clears the _AOUT_SHR_SYMTAB flag in the XCOFF auxiliary header. If File is a 32-bit object, no change is made.
maxdata:value
Sets the MAXDATA value. value is an octal number when it starts with 0, a hexadecimal number when it starts
with 0x, and a decimal number in all other cases.
maxdata:value/dsa
Sets the MAXDATA value and the DSA bit. value is an octal number when it starts with 0, a hexadecimal number
when it starts with 0x, and a decimal number in all other cases.
maxstack:value
Sets the MAXSTACK value. value is an octal number when it starts with 0, a hexadecimal number when it starts
etc.

And as stated above, the original poster has not returned. I am done for now.


All times are GMT -5. The time now is 01:27 PM.