Discussion:
[hercules-390] Upgrading Hercules on Linux
kalda0912@gmail.com [hercules-390]
2017-01-04 07:13:50 UTC
Permalink
I have been running Hercules on Linux OPENSUSE Leap 42.2
The Hercules version that is pre-installed is 3.11
How can I upgrade Hercules to version 3.12 ?
kerravon86@yahoo.com.au [hercules-390]
2017-01-04 07:38:20 UTC
Permalink
Post by ***@gmail.com [hercules-390]
I have been running Hercules on Linux OPENSUSE Leap 42.2
The Hercules version that is pre-installed is 3.11
How can I upgrade Hercules to version 3.12 ?
If you're willing to build from source, then
you can go here:

http://www.hercules-390.eu/

and download the source code.

BFN. Paul.
kalda0912@gmail.com [hercules-390]
2017-01-04 15:53:34 UTC
Permalink
Yes, I think I can try to do that and rebuild from source. Thanks.
kalda0912@gmail.com [hercules-390]
2017-02-09 12:39:11 UTC
Permalink
I finally got around to rebuilding Hercules 3.12 from source on Linux. After the upgrade was done, when I run Hercules and try to IPL z/os 1.10 the following error is issued:


14:07:03 IPL 0A80
14:07:03 HHCCD124E 0A80 file[0] invalid trk hdr trk 0: zlib compression unsupported
I had no problem running z/os with Hercules 3.11
any thoughts what went wrong ?
Martin Truebner Martin@pi-sysprog.de [hercules-390]
2017-02-09 12:42:49 UTC
Permalink
Kalda0912,

the problem is that when you prepared the compile-job there was no
package installed that supported compression - I am not a linux-guru so
you have to find one yourself-

once you have that you can rerun the three steps to prepare from source
and it will support your compressed disk-images.

Martin
kalda0912@gmail.com [hercules-390]
2017-02-09 13:10:00 UTC
Permalink
Thanks for the quick response. So once I find a compression package, I need to redo steps 4-5-6 ?
Kevin Monceaux Kevin@RawFedDogs.net [hercules-390]
2017-02-09 13:34:45 UTC
Permalink
Post by ***@gmail.com [hercules-390]
I finally got around to rebuilding Hercules 3.12 from source on Linux.
After the upgrade was done, when I run Hercules and try to IPL z/os 1.10
14:07:03 IPL 0A80
14:07:03 HHCCD124E 0A80 file[0] invalid trk hdr trk 0: zlib compression unsupported
I had no problem running z/os with Hercules 3.11
any thoughts what went wrong ?
Which Linux distribution are you running? Some Linux distributions, like
Debian, have separate library and "development header" packages. On Debian,
for example, you only need the zlib1g package for zlib support when running
a pre-built Hercules, but also need zlib1g-dev to build Hercules with zlib
support.
--
Kevin
http://www.RawFedDogs.net
http://www.Lassie.xyz
http://www.WacoAgilityGroup.org
Bruceville, TX

What's the definition of a legacy system? One that works!
Errare humanum est, ignoscere caninum.
kalda0912@gmail.com [hercules-390]
2017-02-09 16:15:02 UTC
Permalink
As mentioned in the OP, I'm running Linux OPENSUSE Leap 42.2
Kevin Monceaux Kevin@RawFedDogs.net [hercules-390]
2017-02-09 16:32:10 UTC
Permalink
Post by ***@gmail.com [hercules-390]
As mentioned in the OP, I'm running Linux OPENSUSE Leap 42.2
Then you would need the zlib-dev package to build Hercules from source with
zlib support.
--
Kevin
http://www.RawFedDogs.net
http://www.Lassie.xyz
http://www.WacoAgilityGroup.org
Bruceville, TX

What's the definition of a legacy system? One that works!
Errare humanum est, ignoscere caninum.
Dan Kalmar kalda0912@gmail.com [hercules-390]
2017-02-09 17:39:03 UTC
Permalink
I installed the required package and rebuilt Hercules from source.
This has resolved the problem.
Thank you all.
somitcw@yahoo.com [hercules-390]
2017-02-09 17:54:58 UTC
Permalink
Post by Dan Kalmar ***@gmail.com [hercules-390]
I installed the required package and rebuilt Hercules from source.
This has resolved the problem.
Thank you all.
Did you also do bzlib and pcre ?

I don't build Hercules but have heard them mentioned by others.
Ivan Warren ivan@vmfacility.fr [hercules-390]
2017-02-09 17:58:29 UTC
Permalink
Post by ***@yahoo.com [hercules-390]
Post by Dan Kalmar ***@gmail.com [hercules-390]
I installed the required package and rebuilt Hercules from source.
This has resolved the problem.
Thank you all.
Did you also do bzlib and pcre ?
I don't build Hercules but have heard them mentioned by others.
bzlib is only required if you use BZ2 compressed CCKD/HET

PCRE and brexx or Regina Rexx are only needed for HAO (Hercules
Automated Operator) functions.

--Ivan



[Non-text portions of this message have been removed]
somitcw@yahoo.com [hercules-390]
2017-02-09 18:05:54 UTC
Permalink
- - - In hercules-***@yahoogroups.com, <***@...> wrote:
- - - old notes snipped - - -
Post by Ivan Warren ***@vmfacility.fr [hercules-390]
bzlib is only required if you use BZ2 compressed CCKD/HET
At one time CCKD would switch from zlib to bzlib if zlib had trouble
keeping up with compression to write to disk.

I assUme that no cckd disk images with bzlib tracks can ever be used?
Post by Ivan Warren ***@vmfacility.fr [hercules-390]
PCRE and brexx or Regina Rexx are only needed for HAO (Hercules
Automated Operator) functions.
--Ivan
HAO can be handy.
If PCRE and Rexx are needed, why purposefully build without?
Maarten Hoes hoes.maarten@gmail.com [hercules-390]
2017-02-09 18:12:12 UTC
Permalink
Post by ***@yahoo.com [hercules-390]
If PCRE and Rexx are needed, why purposefully build without?
Because it's just too complex to figure out whatever the darn package names
are called for the particular Linux distribution you happen to be using at
the time.
;)

- Maarten
Kevin Monceaux Kevin@RawFedDogs.net [hercules-390]
2017-02-09 18:31:16 UTC
Permalink
Post by Maarten Hoes ***@gmail.com [hercules-390]
Because it's just too complex to figure out whatever the darn package names
are called for the particular Linux distribution you happen to be using at
the time.
;)
Even without currently using Debian or OpenSuSE I had no trouble figuring
out their zlib development package names using their online package
searches.
--
Kevin
http://www.RawFedDogs.net
http://www.Lassie.xyz
http://www.WacoAgilityGroup.org
Bruceville, TX

What's the definition of a legacy system? One that works!
Errare humanum est, ignoscere caninum.
Maarten Hoes hoes.maarten@gmail.com [hercules-390]
2017-02-09 19:50:17 UTC
Permalink
On Thu, Feb 09, 2017 at 07:12:12PM +0100, Maarten Hoes
Post by Maarten Hoes ***@gmail.com [hercules-390]
Because it's just too complex to figure out whatever the darn package
names
Post by Maarten Hoes ***@gmail.com [hercules-390]
are called for the particular Linux distribution you happen to be using
at
Post by Maarten Hoes ***@gmail.com [hercules-390]
the time.
;)
Even without currently using Debian or OpenSuSE I had no trouble figuring
out their zlib development package names using their online package
searches.
--
Kevin
Sorry, I was only kidding.

(But have you ever looked for the Arch Linux 'development packages' ? There
aren't any. They package all the 'development stuff' right in the base
package.)

Sorry again.


- Maarten
Kevin Monceaux Kevin@RawFedDogs.net [hercules-390]
2017-02-09 19:59:21 UTC
Permalink
Post by Maarten Hoes ***@gmail.com [hercules-390]
Sorry, I was only kidding.
No apology necessary. I suspected you might be. But I wanted to let others
that might be following the thread and considering building Hercules on
Linux that finding the dependencies it needs isn't hard.
Post by Maarten Hoes ***@gmail.com [hercules-390]
(But have you ever looked for the Arch Linux 'development packages' ? There
aren't any. They package all the 'development stuff' right in the base
package.)
I know. Arch Linux was my desktop OS for quite a while. Though I switched
to Gentoo to get away from systemd. I do still have Arch running on a
couple of Raspberry Pi's.
--
Kevin
http://www.RawFedDogs.net
http://www.Lassie.xyz
http://www.WacoAgilityGroup.org
Bruceville, TX

What's the definition of a legacy system? One that works!
Errare humanum est, ignoscere caninum.
Ivan Warren ivan@vmfacility.fr [hercules-390]
2017-02-09 18:21:17 UTC
Permalink
HAO can be handy.
Post by ***@yahoo.com [hercules-390]
If PCRE and Rexx are needed, why purposefully build without?
Because ... I don't any use for that maybe ?

--Ivan



[Non-text portions of this message have been removed]
Dan Kalmar kalda0912@gmail.com [hercules-390]
2017-02-09 18:00:00 UTC
Permalink
No, I only installed zlib-dev
somitcw@yahoo.com [hercules-390]
2017-02-09 18:11:32 UTC
Permalink
Post by Dan Kalmar ***@gmail.com [hercules-390]
No, I only installed zlib-dev
I don't build Hercules or run Linux but suspect that your build
instructions mention some bzlib-development package and
perhaps other packages.
Maarten Hoes hoes.maarten@gmail.com [hercules-390]
2017-02-09 18:20:42 UTC
Permalink
Post by ***@yahoo.com [hercules-390]
Post by Dan Kalmar ***@gmail.com [hercules-390]
No, I only installed zlib-dev
I don't build Hercules or run Linux but suspect that your build
instructions mention some bzlib-development package and
perhaps other packages.
That's about as helpful as saying :

"I don't build Hercules or run Windows but suspect that your build
instructions mention some 'Visual C' thingy, an SDK-development thingy and
perhaps other thingy's. "


;)


- Maarten
somitcw@yahoo.com [hercules-390]
2017-02-09 19:27:39 UTC
Permalink
Post by Maarten Hoes ***@gmail.com [hercules-390]
Post by ***@yahoo.com [hercules-390]
Post by Dan Kalmar ***@gmail.com [hercules-390]
No, I only installed zlib-dev
I don't build Hercules or run Linux but suspect that your build
instructions mention some bzlib-development package and
perhaps other packages.
"I don't build Hercules or run Windows but suspect that your build
instructions mention some 'Visual C' thingy, an SDK-development
thingy and perhaps other thingy's. "
;)
- Maarten
Yes, if the knowledgeable people aren't giving up the information
at this time, suggesting that the user read the documentation
might be helpful?

We already have zlib-dev, bzlib-dev, PCRE, and a choice between
a couple of flavors of Rexx mentioned.

Is more information needed?
Maarten Hoes hoes.maarten@gmail.com [hercules-390]
2017-02-09 19:54:20 UTC
Permalink
Post by ***@yahoo.com [hercules-390]
yahoogroups.com,
Post by Maarten Hoes ***@gmail.com [hercules-390]
Post by ***@yahoo.com [hercules-390]
Post by Dan Kalmar ***@gmail.com [hercules-390]
No, I only installed zlib-dev
I don't build Hercules or run Linux but suspect that your build
instructions mention some bzlib-development package and
perhaps other packages.
"I don't build Hercules or run Windows but suspect that your build
instructions mention some 'Visual C' thingy, an SDK-development
thingy and perhaps other thingy's. "
;)
- Maarten
Yes, if the knowledgeable people aren't giving up the information
at this time, suggesting that the user read the documentation
might be helpful?
I'm sorry, but I stopped reading your helpful 'Hercules build instructions
for Linux' right after reading the start of your sentence which reads :

"I don't build Hercules"

and

"or run Linux"


- Maarten
somitcw@yahoo.com [hercules-390]
2017-02-09 20:18:12 UTC
Permalink
- - - In hercules-***@yahoogroups.com, <***@...> wrote:
- - - old notes snipped - - -
Post by Maarten Hoes ***@gmail.com [hercules-390]
Post by ***@yahoo.com [hercules-390]
Yes, if the knowledgeable people aren't giving up the information
at this time, suggesting that the user read the documentation
might be helpful?
I'm sorry, but I stopped reading your helpful 'Hercules build instructions
"I don't build Hercules"
and
"or run Linux"
- Maarten
No apology needed.
I understand completely and appreciate your comment.

I did notice something unusual..

Of the four set of instruction for building Hercules under
Windows that I located, only Hercules 4.00 Installation
Guide mentioned Rexx. I assUme that Rexx is only
needed for the upgraded HAO support in Hyperion?

Neither Hercules Installation Guide mentioned zlib, libbz,
pcre, or rexx for Linux but zlib and bzlib are needed for
full CCKD support and some HAO needs pcre and rexx.
.het also needs zlib-dev

http://hercdoc.glanzmann.org/

The unofficial version of Hyperion uses the hyperion
manuals so is the same as the official hyperion:
http://www.softdevlabs.com/hyperion.html

Loading...