Re: Building libxml2 on OpenVMS/VAX
- From: "Andreas W. Wylach" <aw@xxxxxxx>
- Date: Mon, 7 Jan 2008 03:39:51 -0800 (PST)
On 7 Jan., 11:58, s...@xxxxxxxxxxxx (Steven M. Schweda) wrote:
From: "Andreas W. Wylach" <a...@xxxxxxx>
To my problem: Since 2 days I try to build the libxml2 library on my
Vax (a VaxStation 4000/96 with
OpenVMS 7.3 with Compaq C V6.4-005).
Sounds dangerous.
CC/NAMES=(SHORTENED)/FLOAT=D_FLOAT/object=DKA300:
[AW.LIBXML2-2_6_30.DEBUG]HTMLTR
EE.OBJ; HTMLTREE.C
typedef long double trio_long_double_t;
........^
%CC-I-LONGDOUBLENYI, In this declaration, type long double has the
same
representation as type double on this platform.
At line number 156 in DKA300:
[AW.LIBXML2-2_6_30]TRIODEF.H;1.
So? Whether that's a real problem depends on now many bits it really
uses for trio_long_double_t variables. Without looking at the code, I
have no idea.
Well, I can't tell. I've never dealed with the fp/fp_class stuff in my
life so I just changed that
long double to double (like it stated in the compiler message). I know
it sounds naive, but
I have no other clue yet.
The compilation procedure gets thru and results in the libxml.olb
library. Another problem is, that I get one undefined symbol
(fp_class).
When you do what?
This linker moans about the undefined fp_class symbol, when it comes
to the point
linking some cleint programs (like nanoftp, nanohttp, etc) using the
libxml.olb library.
Overall, these problems seem to be resolvable but I have
the string feeling, that
I won't be able to build that library on OpenVMS /VAX. As far as I
know it can be build on an Alpha. With the
libxml2 distribution there's also an vms build procedure (which I
use).
cc_opts = "/NAMES=(SHORTENED)/FLOAT=IEEE/IEEE_MODE=DENORM_RESULTS"
IEEE floating point is not available on VAX. Again, without looking
at the code, it would be hard to say how important that would be.
I know, I already saw that in the cc/decc help. I was just wondering
if there's an equivalent
compiler directive / command for the VAX.
[...] Tried to install
the c++ compiler but get an vmsinstal
installtion error that reports some undefined logicals. So for now I
leave the c++ installation for later.
Any hints to get me to an result are greatly appreciated. If I forgot
to give any important info, please let me know.
Which one is "the c++ compiler"? As usual, actual commands and
actual error messages would be more informative than vague descriptions.
Its a saveset (cxx056.a) containing the VAX C++ V5.6 compiler from the
HP C/C++ page I downloaded. Somebody
solved the problem by hacking the kitinstal.com file and several other
adjustments. See
http://unix.derkeiler.com/Newsgroups/comp.os.vms/2003-04/1937.html
If I had more information on the problem I would have mentioned it in
here. All I get
are messages about 3 undefined logicals. That's it.
The fact that I need to get into VMS a lilttle more again (I work on
unix/linux) I skipped installing
the c++ compiler cause I don't know what exactly to change in that dcl
file. Need to do a little
more debugging on that (set verify on, etc). When I've done that I
might return with that problem
to the group to give detailed info's. I will try to solve that c++
compiler problem, when I have
more time to dip into that subject.
For the libxml2 I do not need the c++ compiler.
My general question was, if anybody sucessfully built that libxml2
library on OpenVMS/VAX. If
not, I think it's lost time to continue that and I just skip the xls/
xml project on the VAX. If yes,
it would be nice if I could get a copy of the distribution or at least
the changes / diff that was made.
Btw, the libraries I tried to build is libxml2-2.6.30 (that is the
latest) and also the 5 year old
library libxml2-2.6.0. (both are ready for OpenVMS and contain the
build scripts for VMS).
The port was done by John A Fotheringham in 2001, 7 years ago.
Andreas W. Wylach
------------------------------------------------------------------------
Steven M. Schweda sms@antinode-org
382 South Warwick Street (+1) 651-699-9818
Saint Paul MN 55105-2547
.
- Follow-Ups:
- Re: Building libxml2 on OpenVMS/VAX
- From: Bob Koehler
- Re: Building libxml2 on OpenVMS/VAX
- References:
- Re: Building libxml2 on OpenVMS/VAX
- From: Steven M. Schweda
- Re: Building libxml2 on OpenVMS/VAX
- Prev by Date: Re: Building libxml2 on OpenVMS/VAX
- Next by Date: making nonblocking socket
- Previous by thread: Re: Building libxml2 on OpenVMS/VAX
- Next by thread: Re: Building libxml2 on OpenVMS/VAX
- Index(es):
Relevant Pages
|