1834745 Members
2662 Online
110070 Solutions
New Discussion

C Complier, which CD?

 
SOLVED
Go to solution
Craig Smith_13
Frequent Advisor

C Complier, which CD?

I have a license for HP C (B3899BA) and the sept. 2002 hp-ux 11i application softwareCDROMs, but can not find the HP C in the depot lists on the CDs.

Which CD should have the compiler?

Thanks.
12 REPLIES 12
A. Clay Stephenson
Acclaimed Contributor
Solution

Re: C Complier, which CD?

You will not be able to 'see' the software using swinstall until you install a codeword.
Swlist, however, will be able to 'see' the software. You should mount each CD (e.g. on /cdrom) and then run swlist -s /cdrom until you find the correct Application CD. Note that Disk Part No. - you will need that when you request your codeword. You can request the codeword using the ITRC.
If it ain't broke, I can fix that.
Shannon Petry
Honored Contributor

Re: C Complier, which CD?

In your license sheet, there will be a part number for the CD ROM containing the compiler you are licensed to run.

Each of the application CD's have a part number on them, so just find the corresponding one.

You may be able to swlist a CD and find a compiler, but without the "correct" license the install may fail.

Regards,
Shannon
Microsoft. When do you want a virus today?
Ralph Grothe
Honored Contributor

Re: C Complier, which CD?

I think you don't have to mount each CDROM.
Just mount the first, and have a look at CD_TABLE_OF_CONTENTS for ANSI C Developer's Bundle.
On my application package (June 2002) it resides on the first CDROM.
As the others have said,
before you will be able to see it in the swinstall'ers list of provided software you will have to add your codeword,
either in /var/adm/sw/.codewords,
or with an -x option (codeword?, see "man 5 sd"), or interactively from the menu in swinstall ->action->add codeword.
Madness, thy name is system administration
H.Merijn Brand (procura
Honored Contributor

Re: C Complier, which CD?

Attached perl script might help. At least it helps me a lot. You don't even have to mount the CD yourself (as long as you mount the cd on /cdrom and use have a proper /etc/fstab entry for it). The script can deal with Application CD's and ExtSW CD's.

# perl ./appchk.pl -?

for instructions
Enjoy, Have FUN! H.Merijn
Ravi_8
Honored Contributor

Re: C Complier, which CD?

Hi,

C compiler exists either in 1 or 2 CD in application CD's bundle.

mount the cd (say you are mounted on /cdrom mount point)
#swlist -s /cdrom |grep -i compiler
will list the compiler.

enter the codeword in /var/adm/sw/.codewords file alon with CD part no. customer id.

#swinstall -s /cdrom should list the compiler
never give up
H.Merijn Brand (procura
Honored Contributor

Re: C Complier, which CD?

One additional warning with my script: it has a filter in it :)

I skip all japanese, spanish, korean, token ring, ... and other stuff I know never to use to prevent screen overflow. Modify that filter to your needs.

Oh, and for all that already knew how to do it, it is *still* usefull, because it might prevent you installs you don't need, because it automatically reports if the version available on CD is newer than the version installed on your system.
Enjoy, Have FUN! H.Merijn
Craig Smith_13
Frequent Advisor

Re: C Complier, which CD?



Forgot I had to enter in the codeword first to see the listing for the C compiler.

It appears that the 10.2x codeword doesn't work with 11i, I need to talk to HP about this.

Thanks again.
H.Merijn Brand (procura
Honored Contributor

Re: C Complier, which CD?

No, it does not. You receive a white sheet with codewords with the CD pack. FWIW the 10.20 application CD's are not to be used to install SW on 11.00 and/or 11i

[ BTW, don't forget to asign the points ]
Enjoy, Have FUN! H.Merijn
Craig Smith_13
Frequent Advisor

Re: C Complier, which CD?

Thanks for all your help...
Craig Smith_13
Frequent Advisor

Re: C Complier, which CD?

Sorry for not assigning points, there is only a pulldown menu for points but no ""Assign Points" button next to each answer", as instructions dictate...., when selecting a point values, they will not stay when I return to the the thread..
Shannon Petry
Honored Contributor

Re: C Complier, which CD?

I believe that the "Submit" button must be pressed at the bottom of the page for points to be updated. I have had no success in version 6.0 of Netscape in being able to select points though.


Regards,
Shannon
Microsoft. When do you want a virus today?
Craig Smith_13
Frequent Advisor

Re: C Complier, which CD?

Thanks.