- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- libxml building
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-08-2013 10:33 PM - edited 10-11-2013 05:24 AM
10-08-2013 10:33 PM - edited 10-11-2013 05:24 AM
Hello to everybody.
- Xml parser is required for using with c.
- I have not admin privilegies => standard solution is not appropriate.
- I've choose libxml
- Sourses include .vms directory with .com file
The first problem is: how to run .com file.
I've tried to use @ for example @filename.com, but it has not worked.
Solved! Go to Solution.
- Tags:
- XML
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-08-2013 11:18 PM
10-08-2013 11:18 PM
Re: libxml building
- error
- Readme file contains the next:
- File attributes. Having downloaded essentially a Unix distribution, some
of the file attributes weren't correct... especially those in the [.VMS]
subdirectory. In EDT you could see line feeds and carriage returns as
<LF><CR> etc. To correct this use the command
$ set file <filespec> /attr=rfm=stm
but this command does not work too:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-08-2013 11:59 PM - edited 10-09-2013 12:38 AM
10-08-2013 11:59 PM - edited 10-09-2013 12:38 AM
Re: libxml building
The correct syntax of the "Set file /attrib" OpenVMS command is :
$ Set File /Attrib=(rfm:stm) <filespec>
The following table lists the keywords and the relationship to both ACP-QIO and OpenVMS RMS File attributes:
Keyword ACP-QIO File Attribute OpenVMS RMS FileAttribute
RFM:FIX FAT$V_RTYPE=FAT$C_FIXED FAB$B_RFM=FAB$C_FIX
RFM:STM FAT$V_RTYPE=FAT$C_STREAM FAB$B_RFM=FAB$C_STM <==
RFM:STMCR FAT$V_RTYPE=FAT$C_STREAMCR FAB$B_RFM=FAB$C_STMCR
RFM:STMLF FAT$V_RTYPE=FAT$C_STREAMLF FAB$B_RFM=FAB$C_STMLF
RFM:UDF FAT$V_RTYPE=FAT$C_UNDEFINED FAB$B_RFM=FAB$C_UDF
RFM:VAR FAT$V_RTYPE=FAT$C_VARIABLE FAB$B_RFM=FAB$C_VAR
RFM:VFC FAT$V_RTYPE=FAT$C_VFC FAB$B_RFM=FAB$C_VFC
RFM:ASMD is not a valid file attibuite under OpenVMS.
As reported by the README, you should modify the file attribute of all vms specific files (only ascii format not binary), for example :
$ Set File/Attrib=RFM:STM [.vms]*.c,[.vms...]*.h,[.vms...]*.txt
But I don't exclude that you should modify also the file attribuite of other Source Codes of the libmxl distribution kit. Take a look into the libxml.com command procedure.
>>> I have not admin privilegies => standard solution is not appropriate
I suspect that your experiment will require also the "system" privileges...
Good luck,
/Maurizio
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2013 01:08 AM
10-09-2013 01:08 AM
Re: libxml building
Thanks)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2013 01:51 AM - edited 10-09-2013 01:52 AM
10-09-2013 01:51 AM - edited 10-09-2013 01:52 AM
Re: libxml building
Is helps, but not compleatly. I've got an error in the next fragment of com file:
Is the 'smth' the equivalent of $smth in linux i.e. is this an getting of variable smth value?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2013 05:27 AM - edited 10-09-2013 12:22 PM
10-09-2013 05:27 AM - edited 10-09-2013 12:22 PM
Re: libxml building
Can you post the error that you observe when you run the command file ?
Your dcl code runs error free on my system (I inserted few lines only for the troubleshooting purposes) :
$! Test_alexander.com
$!
$ whoami = f$parse(f$environment("PROCEDURE"),,,,"NO_CONCEAL")
$ write sys$output " "
$ write sys$output "whoami symbol = ''whoami'"
$ write sys$output " "
$ procdir = f$parse(whoami,,,"DEVICE") + f$parse(whoami,,,"DIRECTORY")
$ write sys$output " "
$ write sys$output "procdir symbol = ''procdir'"
$ write sys$output " "
$ set default 'procdir'
$!
$ Exit
$ sho def
$2$DKA100:[000000]
$ @test_alexander
whoami symbol = $2$DKA100:[000000]test_alexander.com;1
procdir symbol = $2$DKA100:[000000]
$ sho def
$2$DKA100:[000000]
Regards,
/Maurizio
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2013 09:11 PM - edited 10-09-2013 10:07 PM
10-09-2013 09:11 PM - edited 10-09-2013 10:07 PM
Re: libxml building
Sometimes I forget that there are no telepathists on this forum).
System: OpenVMS ALpha 8.3
The script is (I've inserted WRITE SYS$OUTPUT "tag" to locate the error):
$! BUILD_LIBXML.COM $! $! Build the LIBXML library $! $! Arguments: $! $! "DEBUG" - build everything in debug $! $! This procedure creates an object library XML_LIBDIR:LIBXML.OLB directory. $! After the library is built, you can link LIBXML routines into $! your code with the command $! $! $ LINK your_modules,XML_LIBDIR:LIBXML.OLB/LIBRARY $! $! Change History $! -------------- $! Command file author : John A Fotheringham (jaf@jafsoft.com) $! Update history : 19 March 2008 Tycho Hilhorst $! - added module schematron.c (prevent xmllint errors) $! - added /DEF and /INCLUDE options to cc_opts to tell $! config.h is available, and where to find it $! : 13 October 2003 Craig Berry (craigberry@mac.com) $! more new module additions $! : 25 April 2003 Craig Berry (craigberry@mac.com) $! added xmlreader.c and relaxng.c to source list $! : 28 September 2002 Craig Berry (craigberry@mac.com) $! updated to work with current sources $! miscellaneous enhancements to build process $! $!- configuration ------------------------------------------------------------- $! $!- compile command. If p1="nowarn" suppress the expected warning types $! $ cc_opts = "/DEF=HAVE_CONFIG_H/NAMES=(SHORTENED)/FLOAT=IEEE/IEEE_MODE=DENORM_RESULTS/INCLUDE=xml_srcdir" $! $ if p1.eqs."DEBUG" .or. p2.eqs."DEBUG" $ then $ debug = "Y" $ cc_command = "CC''cc_opts'/DEBUG/NOOPTIMIZE/LIST/SHOW=ALL" $ else $ debug = "N" $ cc_command = "CC''cc_opts'" $ endif $! $!- list of sources to be built into the LIBXML library. Compare this list $! to the definition of "libxml2_la_SOURCES" in the file MAKEFILE.IN. $! Currently this definition includes the list WITH_TRIO_SOURCES_TRUE $! $ sources = "SAX.c entities.c encoding.c error.c parserInternals.c" $ sources = sources + " parser.c tree.c hash.c list.c xmlIO.c xmlmemory.c uri.c" $ sources = sources + " valid.c xlink.c HTMLparser.c HTMLtree.c debugXML.c xpath.c" $ sources = sources + " xpointer.c xinclude.c nanohttp.c nanoftp.c DOCBparser.c" $ sources = sources + " catalog.c globals.c threads.c c14n.c xmlstring.c" $ sources = sources + " xmlregexp.c xmlschemas.c xmlschemastypes.c xmlunicode.c" $ sources = sources + " triostr.c trio.c xmlreader.c relaxng.c dict.c SAX2.c" $ sources = sources + " xmlwriter.c legacy.c chvalid.c pattern.c xmlsave.c" $ sources = sources + " schematron.c" $! $!- list of main modules to compile and link. Compare this list to the $! definition of bin_PROGRAMS in MAKEFILE.IN $! $ bin_progs = "xmllint xmlcatalog" $! $!- list of test modules to compile and link. Compare this list to the $! definition of noinst_PROGRAMS in MAKEFILE. $! $ noinst_PROGRAMS = "testSchemas testRelax testSAX testHTML testXPath testURI " - + "testThreads testC14N testAutomata testRegexp testReader" $! $!- set up build logicals -----------------------------------------------------\ $! $! $!- start from where the procedure is in case it's submitted in batch ----------\ $! $ whoami = f$parse(f$environment("PROCEDURE"),,,,"NO_CONCEAL") $ procdir = f$parse(whoami,,,"DEVICE") + f$parse(whoami,,,"DIRECTORY") $ WRITE SYS$OUTPUT "tag1" $ set default 'procdir' $ WRITE SYS$OUTPUT "tag2"
The error is:
Wx01> @build_libxml.com tag1 %RMS-F-DIR, error in directory name
After it the system lost an ability to resolve correctlu current path:
dir %DIRECT-E-OPENIN, error opening $1$DGA123:[ALEXANDER.VAX_ESF.LIBXML2-2_9_1.V MS]*.*;* as input -RMS-E-DNF, directory not found -SYSTEM-W-NOSUCHFILE, no such file
This is the error in sources from official libxml site.
I've found more specialized port of sources.
Now:
- I'll try to run script from Maurizio De Tommaso_.
- Build port of sources.
Results of experiment will be reported. May be it will be usefull for somebody else.
PS. Thanks for help and your time.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2013 09:35 PM
10-09-2013 09:35 PM
Re: libxml building
Alexander,
instead of WRITE SYS$OUTPUT "tag1", insert the following:
...
$ whoami = f$parse(f$environment("PROCEDURE"),,,,"NO_CONCEAL")
$ procdir = f$parse(whoami,,,"DEVICE") + f$parse(whoami,,,"DIRECTORY")
$ WRITE SYS$OUTPUT whoami
$ WRITE SYS$OUTPUT procdir
$ set default 'procdir'
...
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2013 09:48 PM - edited 10-09-2013 10:06 PM
10-09-2013 09:48 PM - edited 10-09-2013 10:06 PM
Re: libxml building
I've run script from Maurizio De Tommaso_.
Script:
$! test.com $! $ whoami = f$parse(f$environment("PROCEDURE"),,,,"NO_CONCEAL") $ write sys$output " " $ write sys$output "whoami symbol = ''whoami'" $ write sys$output " " $ procdir = f$parse(whoami,,,"DEVICE") + f$parse(whoami,,,"DIRECTORY") $ write sys$output " " $ write sys$output "procdir symbol = ''procdir'" $ write sys$output " " $ set default 'procdir' $! $ Exit
Result:
WX01> @test.com whoami symbol = $1$DGA123:[TST$USERS.][ALEXANDER.VAX.LIBXML2-2_9_1]TEST. COM;1 procdir symbol = $1$DGA123:[TST$USERS.][ALEXANDER.VAX.LIBXML2-2_9_1] %RMS-F-DIR, error in directory name
The same error occured.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2013 10:06 PM - edited 10-09-2013 10:11 PM
10-09-2013 10:06 PM - edited 10-09-2013 10:11 PM
Re: libxml building
Volker,
I've implemented your suggestion.
Result is the next:
WX01> @build_libxml.com $1$DGA123:[TST$USERS.][ALEXANDER.VAX_ESF.LIBXML2-2_9_1.VMS]BUILD_LIBXML.COM; $1$DGA123:[TST$USERS.][ALEXANDER.VAX_ESF.LIBXML2-2_9_1.VMS] %RMS-F-DIR, error in directory name
It seems that the result is the same.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2013 10:30 PM - edited 10-09-2013 10:45 PM
10-09-2013 10:30 PM - edited 10-09-2013 10:45 PM
Re: libxml building
Alexander,
the problem is in the directory name:
$ set def $1$DGA123:[TST$USERS.][ALEXANDER.VAX.LIBXML2-2_9_1]
%RMS-F-DIR, error in directory name
$ set def $1$DGA123:[TST$USERS.ALEXANDER.VAX.LIBXML2-2_9_1] ! this works !
As a workaround, try setting your default directory using the working SET DEFAULT command above, before you invoke @build_libxml.com
Solving this problem would most likely require a concealed logical name and changes to your account in SYSUAF:
$ define/sys/exec/transl=conc tst$users $1$DGA123:[TST$USERS.]
And your login-directory should become something like TST$USERS:[ALEXANDER]
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2013 11:22 PM
10-09-2013 11:22 PM
Re: libxml building
Thanks. Thsi error is fixed. But there are many another in compillation dependences. I'll try to resolve it.
PS. But in general, I am looking for small xml library with validation written in pure c (or binaries for openvms alpha). It is an ideal if it will have only one library file and header. I want just include it in my project without any system installing.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2013 01:59 AM
10-10-2013 01:59 AM
Re: libxml building
I sucessfully compiled libxml2 for OpenVMS 8.4. See for the the modifactions I had to make:
http://nchrem.tnw.tudelft.nl/openvms/software2.html#LIBXML2
Note that I always set the compilation qualifiers /float=ieee/name=(as_is,short).
The only reason, I do this is that this works for all packages displayed on my web-page, so ensuring inter-package comaptibility.
Jouk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2013 03:55 AM
10-10-2013 03:55 AM
Re: libxml building
Thanks for the advice.
I've located patch contents into corresponding folders and get the same error:
CC/nowarn/DEF=HAVE_CONFIG_H/NAMES=(as_is,SHORTENED)/FLOAT=IEEE/IEEE_MODE=DENORM_ RESULTS/INCLUDE=xml_srcdir/object=TST$USERS:[ALEXANDER.LIBXML2-2_9_1.DEBUG]PAR SER.OBJ; PARSER.C (const xmlChar *) "http://www.w3.org/XML/1998/namespace". .....^ %CC-E-DECLARATOR, Invalid declarator. at line number 140 in file TST$USERS:[ALEXANDER.LIBXML2-2_9_1.INCLUDE.LIBXML]T REE.H;1 xmlElementType type; /* XML_ATTRIBUTE_DECL, must be second ! */. ....^ %CC-E-MISSINGTYPE, Missing type specifier or type qualifier. at line number 254 in file TST$USERS:[ALEXANDER.LIBXML2-2_9_1.INCLUDE.LIBXML]T REE.H;1 xmlElementType type; /* XML_ELEMENT_DECL, must be second ! */ . ....^ %CC-E-MISSINGTYPE, Missing type specifier or type qualifier. at line number 347 in file TST$USERS:[ALEXANDER.LIBXML2-2_9_1.INCLUDE.LIBXML]T REE.H;1 typedef xmlElementType xmlNsType;. .......................^ %CC-E-NOSEMI, Missing ";". at line number 374 in file TST$USERS:[ALEXANDER.LIBXML2-2_9_1.INCLUDE.LIBXML]T REE.H;1 xmlNsType type; /* global or local */. ....^ %CC-E-MISSINGTYPE, Missing type specifier or type qualifier. at line number 390 in file TST$USERS:[ALEXANDER.LIBXML2-2_9_1.INCLUDE.LIBXML]T REE.H;1 ((n)->type == XML_ELEMENT_NODE ? NULL : (n)->content). ........^ %CC-E-CLOSEPAREN, Missing ")". at line number 515 in file TST$USERS:[ALEXANDER.LIBXML2-2_9_1.INCLUDE.LIBXML]T REE.H;1 htmlElementAllowedHere((parent), (elt)->name). ...............................^ %CC-E-NOTEXPECTING, Error parsing parameter list. Found "(" when expecting one o f: <type-specifier>, <identifier>, "...", ")". at line number 291 in file TST$USERS:[ALEXANDER.LIBXML2-2_9_1.INCLUDE.LIBXML]H TMLPARSER.H;1 typedef xmlChSRange *xmlChSRangePtr;. ....................^ %CC-E-NOSEMI, Missing ";". at line number 29 in file TST$USERS:[ALEXANDER.LIBXML2-2_9_1.INCLUDE.LIBXML]CH VALID.H;1 ((0x61 <= (c)) && ((c) <= 0x7a)) || \. ...................................^ %CC-E-DECLARATOR, Invalid declarator. at line number 65 in file TST$USERS:[ALEXANDER.LIBXML2-2_9_1.INCLUDE.LIBXML]CH VALID.H;1 xmlIsPubidChar_ch((c)) : 0). ........................................................^ %CC-E-NOSEMI, Missing ";". at line number 208 in file TST$USERS:[ALEXANDER.LIBXML2-2_9_1.INCLUDE.LIBXML]C HVALID.H;1 ((0x61 <= (c)) && ((c) <= 0x7a))). ...................................^ %CC-E-DECLARATOR, Invalid declarator. at line number 251 in file TST$USERS:[ALEXANDER.LIBXML2-2_9_1.INCLUDE.LIBXML]P ARSERINTERNALS.H;1 if (*(p) == 0x10) { p++ ; if (*(p) == 0x13) p++; }. ....^ %CC-E-DECLARATOR, Invalid declarator. at line number 289 in file TST$USERS:[ALEXANDER.LIBXML2-2_9_1.INCLUDE.LIBXML]P ARSERINTERNALS.H;1 while ((*p) && (*(p) != '>')) (p)++. ....^ %CC-E-DECLARATOR, Invalid declarator. at line number 298 in file TST$USERS:[ALEXANDER.LIBXML2-2_9_1.INCLUDE.LIBXML]P ARSERINTERNALS.H;1 (const xmlChar *) "urn:oasis:names:tc:entity:xmlns:xml:catalog". .....^ %CC-E-DECLARATOR, Invalid declarator. at line number 38 in file TST$USERS:[ALEXANDER.LIBXML2-2_9_1.INCLUDE.LIBXML]CA TALOG.H;1 xmlCatalogSetDefaultPrefer(xmlCatalogPrefer prefer);. ................^ %CC-E-NOSEMI, Missing ";". at line number 165 in file TST$USERS:[ALEXANDER.LIBXML2-2_9_1.INCLUDE.LIBXML]C ATALOG.H;1 ctxt->str_xml_ns = xmlDictLookup(ctxt->dict, XML_XML_NAMESPACE, 36);. ..................................................................^ %CC-E-BADEXPR, Invalid expression. at line number 1043 in file TST$USERS:[ALEXANDER.LIBXML2-2_9_1]PARSER.C;1 ( ((unsigned char *) s)[ 0 ] == c1 && ((unsigned char *) s)[ 1 ] == c2 && \. ......^ %CC-E-DECLARATOR, Invalid declarator. at line number 1985 in file TST$USERS:[ALEXANDER.LIBXML2-2_9_1]PARSER.C;1 if (*ctxt->input->cur == '%') xmlParserHandlePEReference(ctxt); \. ....^ %CC-E-DECLARATOR, Invalid declarator. at line number 2019 in file TST$USERS:[ALEXANDER.LIBXML2-2_9_1]PARSER.C;1 (ctxt->input->end - ctxt->input->cur < INPUT_CHUNK)) \. ......................^ %CC-E-CLOSEPAREN, Missing ")". at line number 2038 in file TST$USERS:[ALEXANDER.LIBXML2-2_9_1]PARSER.C;1 ctxt->input->col++; \. ............^ %CC-E-NOSEMI, Missing ";". at line number 2060 in file TST$USERS:[ALEXANDER.LIBXML2-2_9_1]PARSER.C;1 } else ctxt->input->col++; \. ......^ %CC-E-DECLARATOR, Invalid declarator. at line number 2070 in file TST$USERS:[ALEXANDER.LIBXML2-2_9_1]PARSER.C;1 while (IS_BLANK_CH(*cur)) {. ................................^ %CC-E-BADEXPR, Invalid expression. at line number 2106 in file TST$USERS:[ALEXANDER.LIBXML2-2_9_1]PARSER.C;1 while (IS_BLANK_CH(cur)) { /* CHECKED tstblanks.xml */. ...................................^ %CC-E-BADEXPR, Invalid expression. at line number 2123 in file TST$USERS:[ALEXANDER.LIBXML2-2_9_1]PARSER.C;1 } while (IS_BLANK(cur)); /* CHECKED tstblanks.xml */. ..............................^ %CC-E-BADEXPR, Invalid expression. at line number 2137 in file TST$USERS:[ALEXANDER.LIBXML2-2_9_1]PARSER.C;1 GROW;. ........^ %CC-E-BADEXPR, Invalid expression. at line number 2195 in file TST$USERS:[ALEXANDER.LIBXML2-2_9_1]PARSER.C;1 GROW;. ............^ %CC-E-BADEXPR, Invalid expression. at line number 2226 in file TST$USERS:[ALEXANDER.LIBXML2-2_9_1]PARSER.C;1 GROW;. ....................^ %CC-E-BADEXPR, Invalid expression. at line number 2230 in file TST$USERS:[ALEXANDER.LIBXML2-2_9_1]PARSER.C;1 } else if ((RAW == '&') && (NXT(1) == '#')) {. ......^ %CC-E-NOWHILE, Missing "while". at line number 2257 in file TST$USERS:[ALEXANDER.LIBXML2-2_9_1]PARSER.C;1 GROW;. ............^ %CC-E-BADEXPR, Invalid expression. at line number 2259 in file TST$USERS:[ALEXANDER.LIBXML2-2_9_1]PARSER.C;1 GROW;. ....................^ %CC-E-BADEXPR, Invalid expression. at line number 2263 in file TST$USERS:[ALEXANDER.LIBXML2-2_9_1]PARSER.C;1 } else {. ......^ %CC-E-NOWHILE, Missing "while". at line number 2286 in file TST$USERS:[ALEXANDER.LIBXML2-2_9_1]PARSER.C;1 %CC-F-TOOMANYERR, More than 30 errors were encountered in the course of compilat ion. %CC-F-ENDDIAGS, !AS completed with !UL diagnostic!%S %PURGE-W-SEARCHFAIL, error searching for TST$USERS:[ALEXANDER.LIBXML2-2_9_1.DE BUG]*.*;* -RMS-E-FNF, file not found
May be it was called by compiller version (DEC C V6.0-001 on OpenVMS Alpha V 8.3).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2013 04:13 AM
10-10-2013 04:13 AM
Re: libxml building
> Solving this problem would most likely require a concealed logical name ...
Hmm, to me it looks like there is already a concealed device, otherwise the result of f$parse (..."no_conceal") wouldn't contain the ".][". And that is what the writer of the DCL script wanted, as that's the meaning of the parse-type "no_conceal". To me it looks like a bug in the script.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2013 04:32 AM
10-10-2013 04:32 AM
Re: libxml building
(const xmlChar *) "http://www.w3.org/XML/1998/namespace".
If that's an exact cut and paste from the compiler message, then it looks like there is still a trailing character, which is shown as ".", here. As we all know, C would expect a ";" at the end. Also, as can be seen in the git repository, the tree.h include file has a
#define XML_XML_NAMESPACE \ (const xmlChar *) "http://www.w3.org/XML/1998/namespace"
To me it looks like the "\" is not seen as the last character before the end of the record, so the #define is not continued, hence it is seen as a separate, but invalid declaration => %CC-E-DECLARATOR
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2013 07:55 AM
10-10-2013 07:55 AM
Re: libxml building
Try this code should handle the logical device correctly:
$! Test_alexander.com
$!
$ whoami = f$environment("PROCEDURE")
$ procdev = f$parse(whoami,,,"DEVICE","no_conceal")
$ procdir = f$parse(whoami,,,"DIRECTORY","no_conceal")
$ procdir = procdir -"][" - "><" - "[" - "]" - "<" - ">"
$ procdir = "[" + procdir + "]"
$ procdir = procdev + procdir
$ set default 'procdir'
$!
$ Exit
Bill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2013 08:53 AM
10-10-2013 08:53 AM
Re: libxml building
I'm sure that an Alpha or I64 has enough cpu cycles to do this extra processing, but before "fixing" anything I would like to understand what the purpose of "no_conceal" in this context really is: is it needed for a simple "set default" or is there anything else?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2013 10:37 AM
10-10-2013 10:37 AM
SolutionHartmut,
Removing the "no_conceal" from the f$parse used to define the whoami symbol would also have worked for the definition of procdir and the subsequent set default 'procdir' as below.
$ whoami = f$parse(f$environment("PROCEDURE"))
$ procdir = f$parse(whoami,,,"DEVICE") + f$parse(whoami,,,"DIRECTORY")
$ set default 'procdir'
I jumped to the conclusion that the procdir symbol might be parsed as a string later in the procedure to build a temporary logical root or build a subdirectory or a file specification that would then fail.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2013 12:51 AM
10-11-2013 12:51 AM
Re: libxml building
I've rid from trail symbols. The library was built without any errors. Thanks for the help.