1847833 Members
4592 Online
104021 Solutions
New Discussion

HP-UX 11.00 and yacc

 
SOLVED
Go to solution
Kyle Knight
Advisor

HP-UX 11.00 and yacc

I am looking for the patch that includes yacc, and I cannot seem to find it. I found a patch for 10.20, but that is all. Does anyone know the patch number, or how I can find it? Thank you much.

Kyle

 

 

P.S. This thread has been moved from HP-UX > Patches to HP-UX > languages - HP Forums moderator

16 REPLIES 16
A. Clay Stephenson
Acclaimed Contributor

Re: HP-UX 11.00 and yacc

Sorry, it's not a patch. In order to get lex and yacc, you have to purchase one of the Developer's Bundles like the ANSI C Compiler or aC++. Plan B. Download the GNU version (Bison) from : http://hpux.cs.utah.edu/hppd/hpux/Gnu/bison-1.29d/
If it ain't broke, I can fix that.
Helen French
Honored Contributor

Re: HP-UX 11.00 and yacc

Hi,

If you are looking for the ANSI/C compiler cumulative patch for 11.00, it is PHSS_25985.

HTH,
Shiju
Life is a promise, fulfill it!
S.K. Chan
Honored Contributor

Re: HP-UX 11.00 and yacc

Not sure if this is what you want ..

11.X ANSI C Compiler cumulative patch B11.11.04 (PHSS_25985)
Kyle Knight
Advisor

Re: HP-UX 11.00 and yacc

Ok, I downloaded that patch (PHSS_25985) and went to install it. On the 'analysis' phase, it tells me that I need 11.11, even though on the patch description it says:

Hardware Platforms - OS releases:
s700: 11.00 11.11
s800: 11.00 11.11

Any ideas why this would be?
Helen French
Honored Contributor

Re: HP-UX 11.00 and yacc

Hi,

I think the compier version is different. The patch description says it should be installed over B.11.11.04 compiler version.

HTH,
Shiju
Life is a promise, fulfill it!
A. Clay Stephenson
Acclaimed Contributor

Re: HP-UX 11.00 and yacc

Hi again:

Before we go any further, have you purchased a compiler or are you simply using the bundled compiler?

No points please, Clay
If it ain't broke, I can fix that.
Kyle Knight
Advisor

Re: HP-UX 11.00 and yacc

I am using the bundled compiler. The website didn't ask me to purchase the patch when I went to download it, So I thought it would go over what I had already. Apparently I was wrong. Unfortunately, I am not the one who needs this, it is for our build team. Everytime I try something, I have to pass it off to them and they eventually get back to me. They are testing the bison you pointed me to earlier right now.

Thank you much for all your help.
A. Clay Stephenson
Acclaimed Contributor

Re: HP-UX 11.00 and yacc

Hi Kyle:

My psychic power were working. Now for some more bad news. The bundled compiler ONLY speaks K & R C so make sure that your yacc/bison only generates non-ASNI C.

Regards, Clay
If it ain't broke, I can fix that.
Kyle Knight
Advisor

Re: HP-UX 11.00 and yacc

Ok, next question... Where would I find out if my company has purchased the B.11.11.04 ANSI C compiler? We may have, but I am still relatively new to this job. They just told my to set this machine up.

Now, I was looking through my profile, (I have the machine linked to my ID) and this is what it says...

HP-UX OE Media for Servers B3920EA

U.S. - English localization B3920EA ABA

HP-UX Operating System License, Servers B3919EA

HP-UX Unlimited user/upgrade from 2 user B3919EA AGS

HP-UX version 11.0 manuals B3921EA

CDE general usage manuals B3921EA AVL

HP-UX Developer's Toolkit LTU Server B3394BA

HP C/ANSI C Developer Bundle Server LTU B3901BA

Does that help any
A. Clay Stephenson
Acclaimed Contributor
Solution

Re: HP-UX 11.00 and yacc

Hi Kyle:

Well it appears that you have purchased the ANSI/C compiler but it looks like you have not yet installed it. Do a swlist on your box and see if the product appears. If it does not, you need to locate your software certificate. It will have your Order Number or Customer Number on it. You actually already have the software on any of your application CD sets but you must unlock it with a software codeword which you can obtain from the ITRC if you have the above mentioned data.
If it ain't broke, I can fix that.
Kyle Knight
Advisor

Re: HP-UX 11.00 and yacc

What is the swlist command to see what is installed already?
A. Clay Stephenson
Acclaimed Contributor

Re: HP-UX 11.00 and yacc

You are going to feel rather stupid; it;s called 'swlist'. Merely execute 'swlist' on your box and the list will be printed on stdout.
If it ain't broke, I can fix that.
Helen French
Honored Contributor

Re: HP-UX 11.00 and yacc

Hi,

Try this:

# swlist
# swlist -lfileset - will list in fileset level
# swlist -ldepot - will list in depot level

HTH,
Shiju
Life is a promise, fulfill it!
Kyle Knight
Advisor

Re: HP-UX 11.00 and yacc


This is what I get...

-> # swlist
# Initializing...
# Contacting target "hops"...
#
# Target: hops:/
#

#
# No Bundle(s) on hops:/
# Product(s):
#

bison 1.29d bison
byacc 3.0 byacc
-> # swlist -lfileset
# Initializing...
# Contacting target "hops"...
#
# Target: hops:/
#

# bison 1.29d bison
bison.bison-RUN
# byacc 3.0 byacc
byacc.byacc-RUN
-> # swlist -ldepot
# Initializing...
WARNING: No depot was found for "hops:".
Kyle Knight
Advisor

Re: HP-UX 11.00 and yacc

Ok. After much swearing and talking to licensing support (not at the same time) I have installed the ANSI C compiler onto my machine. It was on the application disks, locked.

I installed the bundle (B3901BA) as well as the cumulative patch PHSS_25171.

My problem, though, is that this is still not the 11.11.04 that I need. Do I need to purchase this upgrade to install yacc? Or is there a way to upgrade to it without purchase?

Again, thank you much for all your help.
A. Clay Stephenson
Acclaimed Contributor

Re: HP-UX 11.00 and yacc

Hi Kyle:

First, you need to determine the version that you have. Do this:
cd /tmp
touch dummy.c
cc -V dummy.c

That will display the compiler version that you have. In any event, you should have yacc on your box now or is that not the real problem?


If it ain't broke, I can fix that.