You can subscribe to this list here.
| 2001 |
Jan
|
Feb
(15) |
Mar
(71) |
Apr
(30) |
May
(33) |
Jun
(53) |
Jul
(36) |
Aug
(15) |
Sep
(19) |
Oct
(28) |
Nov
(11) |
Dec
(13) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2002 |
Jan
(65) |
Feb
(59) |
Mar
(72) |
Apr
(27) |
May
(39) |
Jun
(36) |
Jul
(49) |
Aug
(23) |
Sep
(46) |
Oct
(39) |
Nov
(122) |
Dec
(78) |
| 2003 |
Jan
(25) |
Feb
(13) |
Mar
(9) |
Apr
(31) |
May
(39) |
Jun
(18) |
Jul
(33) |
Aug
(24) |
Sep
(42) |
Oct
(38) |
Nov
(4) |
Dec
(13) |
| 2004 |
Jan
(8) |
Feb
(9) |
Mar
(9) |
Apr
(15) |
May
(29) |
Jun
(19) |
Jul
(21) |
Aug
(13) |
Sep
(28) |
Oct
(4) |
Nov
(1) |
Dec
|
| 2005 |
Jan
|
Feb
(5) |
Mar
(1) |
Apr
|
May
(13) |
Jun
(11) |
Jul
(3) |
Aug
(12) |
Sep
(5) |
Oct
(6) |
Nov
(3) |
Dec
(62) |
| 2006 |
Jan
(3) |
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
(7) |
Jul
(4) |
Aug
(8) |
Sep
|
Oct
|
Nov
|
Dec
(3) |
| 2007 |
Jan
(1) |
Feb
(1) |
Mar
|
Apr
|
May
(3) |
Jun
(1) |
Jul
(2) |
Aug
(22) |
Sep
|
Oct
|
Nov
|
Dec
|
| 2008 |
Jan
(2) |
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2009 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(4) |
Nov
|
Dec
|
| 2010 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(6) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2011 |
Jan
(4) |
Feb
|
Mar
|
Apr
(3) |
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
| 2012 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2013 |
Jan
|
Feb
|
Mar
|
Apr
(14) |
May
|
Jun
|
Jul
(2) |
Aug
|
Sep
|
Oct
|
Nov
(7) |
Dec
|
| 2017 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(5) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2018 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2019 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
|
| 2020 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
| 2022 |
Jan
|
Feb
(2) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2023 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: Rui <ru...@ch...> - 2023-06-17 20:30:28
|
On Sat, Jun 17, 2023 at 4:29 PM Rui Chen <che...@gm...> wrote: > Hi, > > While trying to regression build open-sp 1.5.2 release with gettext 0.22, > I got the following build failure: > > ``` > /opt/homebrew/Cellar/open-sp/1.5.2_1/lib/libosp.5.dylib > -compatibility_version 6 -current_version 6.0 -Wl,-single_module > Undefined symbols for architecture arm64: > "_bindtextdomain", referenced from: > > OpenSP::GettextMessageTable::registerMessageDomain(OpenSP::MessageModule&, > char*, char*) const in MessageTable.o > "_dgettext", referenced from: > OpenSP::GettextMessageTable::getText(OpenSP::MessageFragment const&, > OpenSP::String<char>&) const in MessageTable.o > ld: symbol(s) not found for architecture arm64 > ``` > > Let me know if that makes sense. Thanks! > > Also relates to https://u19827006.ct.sendgrid.net/ls/click?upn=ryLzx7DjVl90fIV9iRudSBJpkdC7cyG6T3yoMYr1vpfFbl5bbQilUNglC54XROzNuxPscfx5Rk0F-2FkLGBYSUgw-3D-3DuStY_j9ml1MukRGemWwfDwvgy6NEQ6HEAhvNa-2F-2FT9fPL-2FJZXdGEKFwYKQvmAsC4JxEL0gOMaEXjwpvIPhR5W-2Fiu-2BNKzyn-2B6dBSyj1cNktbrsnxCu44qjfiRlu8Ic6WPeN0MNshgM4-2FYWCb0n521gctOZbVWZQdnEeiplovuiEHfv-2FwpL0jTKwqAD5liMRkYS3ivSpk9qGyHX6nhaDemGU7aqTUfFRjK7hlRVob-2F-2FYoE3Xe8A-3D > > Best, > Rui > |
|
From: William F H. <ge...@gm...> - 2022-02-12 23:12:13
|
On Sat, Feb 12, 2022 at 1:58 PM Chris Moller <mo...@mo...> wrote: > I have a document writth in SGML Docbook and I'm trying to convert it to > XML Docbook, but > > docbook2pdf tryit.xml > > comes up with a bunch of lines like > > jade:/usr/share/sgml/docbook/xml-dtd-4.5/ent/isogrk4.ent:42:30:E: "1D6C2" > is not a character number in the document character set > > I assume I'm missing a font or something, but it's not clear how to fix > this. Any help would be appreciated. > > > Linux hpbox 5.14.18-100.fc33.x86_64 #1 SMP > > Thanks, > Chris Moller > _______________________________________________ > OpenJade-devel mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/openjade-devel Curious. It looks like something of an anachronism in that U+1D6C2 is plane 1 Unicode and, the last time I checked, jade was not handling anything beyond plane 0. I do not have anything called "docbook2pdf" handy here. Apparently it is calling openjade. I believe that OpenJade and OpenSP work with XML document types as SGML document types under an "SGML declaration for XML". My guess is that the SGML declaration for XML *that you are using *does not allow characters beyond plane 0. You could probably eliminate *this *complaint about U+1D6C2 (mathematical bold small alpha) simply by a fairly simple editing of the SGML declaration for XML. But, the last time I checked, OpenSP was not parsing plane 1 characters correctly. I complained about this in a talk I gave at TUG2020. BTW, the copy of ISOgrk4.ent that I have resolves "b.alpha" to "α", the XML CDATA reference for U+03B1 (greek small letter alpha). If that has been updated in a way that is compatible with openjade, then maybe the version of openjade underneath docbook2pdf has been fixed. Good luck. William F Hammond Email: ge...@gm... https://www.facebook.com/william.f.hammond http://www.albany.edu/~hammond/ 𝑺𝒖𝒑𝒑𝒐𝒓𝒕𝒊𝒏𝒈 𝒂𝒇𝒇𝒊𝒓𝒎𝒂𝒕𝒊𝒗𝒆 𝒂𝒄𝒕𝒊𝒐𝒏 𝒇𝒐𝒓 𝒕𝒉𝒆 𝒇𝒊𝒏𝒊𝒕𝒆 𝒑𝒍𝒂𝒄𝒆𝒔 |
|
From: Chris M. <mo...@mo...> - 2022-02-12 21:58:43
|
I have a document writth in SGML Docbook and I'm trying to convert it to
XML Docbook, but
docbook2pdf tryit.xml
comes up with a bunch of lines like
jade:/usr/share/sgml/docbook/xml-dtd-4.5/ent/isogrk4.ent:42:30:E:
"1D6C2" is not a character number in the document character set
I assume I'm missing a font or something, but it's not clear how to fix
this. Any help would be appreciated.
Linux hpbox 5.14.18-100.fc33.x86_64 #1 SMP
Thanks,
Chris Moller
|
|
From: William O. <gun...@us...> - 2020-08-09 21:47:03
|
Hello, If it is of interest to the project, I'm offering to update the Visual Studio project files to the latest version, and fix a few issues that are making the compilation fail. Please let me know how I can contribute towards this. My sourceforge account is guneemwelloeux in case you want to add me as a developer on the project. Kind regards, Will |
|
From: Chris M. <mo...@mo...> - 2019-11-08 20:05:20
|
To be honest, I'm not altogether sure this isn't a stupid question, but... I'm trying to insert an interrobang character (‽) into an SGML Docbook doc for subsequent conversion to epub and PDF. My thought was to point Openjade at a custom-modified Times New Roman font. Is this possible? If so, where do I start tinkering? I just downloaded openjade-1.3.2.tar.gz Thanks, Chris Moller |
|
From: Maxim C. <max...@gm...> - 2018-07-02 14:05:07
|
Dear Openjade maintainers,
I've recently tried packaging Openjade for the GNU Guix package manager,
and have found a couple issues:
1. Getopt::Std should be used instead of the legacy getopts.pl in the
"msggen.pl" file.
2. The (language "EN" "US") directive in the testsuite/expr-lang.dsl
would fail since it was trying to find files named "en_US" and not
"en_US.UTF-8". To work around the problem, I had to rename "US" to
"US-UTF-8" in that file.
3. Parallel builds (make -j3, for example) had to be disabled otherwise
there was some build errors.
4. OpenSP had to be enabled explicitly; it would be nicer if the
configure script would attempt a compiler test as in Guix this should
just work as long as the dependencies are provided as inputs.
5. There is no top level 'check' make target as is common for the GNU
build system.
6. The test suite failed its diff test with the following errors:
--8<---------------cut here---------------start------------->8---
starting phase `check'
../jade/openjade -c ../dsssl/catalog -t sgml -d expr-lang.dsl null.sgml > expr-lang.actual
diff expr-lang.actual expr-lang.expected
7c7
< (char<? #\a #\A --> #t
---
> (char<? #\a #\A --> #f
10c10
< (char<=? #\a #\A --> #t
---
> (char<=? #\a #\A --> #f
13c13
< (char>? #\a #\A --> #f
---
> (char>? #\a #\A --> #t
16c16
< (char>=? #\a #\A --> #f
---
> (char>=? #\a #\A --> #t
make: *** [Makefile:11: expr-lang.expected] Error 1
--8<---------------cut here---------------end--------------->8---
I'm not sure what could be at caused. I tried setting the environment
variable LANG to "en_US.UTF-8" but it didn't change the result.
The current Guix package definition for Openjade is listed below for
reference.
Thanks,
Maxim
--8<---------------cut here---------------start------------->8---
(define-public openjade
(package
(name "openjade")
(version "1.3.2")
(source (origin
(method url-fetch)
(uri (string-append "mirror://sourceforge/openjade/openjade/"
version "/" name "-" version ".tar.gz"))
(sha256
(base32
"1l92sfvx1f0wmkbvzv1385y1gb3hh010xksi1iyviyclrjb7jb8x"))))
(build-system gnu-build-system)
(arguments
`(#:configure-flags
(list (string-append "--enable-spincludedir="
(assoc-ref %build-inputs "opensp")
"/include/OpenSP")
(string-append "--enable-splibdir="
(assoc-ref %build-inputs "opensp") "/lib"))
#:parallel-build? #f ;build fails otherwise
;; The test suite fails with diff errors between the actual and
;; expected results, like: (char<? #\a #\A) returning #t rather than
;; #f.
#:tests? #f
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'replace-deprecated-getopt
(lambda _
(substitute* "msggen.pl"
(("use POSIX;") "use POSIX;\nuse Getopt::Std;")
(("do 'getopts.pl';") "")
(("&Getopts") "getopts"))
#t))
(add-after 'replace-deprecated-getopt 'fix-locale-lookup
(lambda _
(substitute* "testsuite/expr-lang.dsl"
(("\\(language \"EN\" \"US\"\\)")
"(language \"EN\" \"US.UTF-8\")"))
#t))
(delete 'check)
(add-after 'install 'check
(lambda* (#:key tests? out #:allow-other-keys)
(if tests?
(with-directory-excursion "testsuite"
(invoke "make"))
(format #t "test suite not run~%"))
#t)))))
(inputs
`(("opensp" ,opensp)))
(native-inputs
`(("perl" ,perl)))
(home-page "http://openjade.sourceforge.net/")
(synopsis "DSSSL implementation")
(description "OpenJade is an implementation of DSSSL, a style language to
format SGML or XML documents. It contains backends for various formats (RTF,
HTML, TeX, MIF, SGML2SGML, and FOT).")
(license license:non-copyleft)))
--8<---------------cut here---------------end--------------->8---
|
|
From: William O. <gun...@gm...> - 2017-07-17 21:27:15
|
Hello Charles, Those are issues I am nothing but too familiar with. I'm not sure how I can help you compile OpenSP, I haven't done so recenlty myself. I vaguely remember that the solution I had most success with was using Visual studio to compile, but there was a lot of fooling around, and mixing in some partial results from Mingw (the config.h probably) However, if you are simply looking for the dll, I did manage to compile it in the past, and uploaded the binaries to the Sourceforge page of the project I needed it for at that time. You can still find that package here: https://sourceforge.net/projects/grisbi/files/dependancies/0.6/ The file is called libofx-Win32.zip ( https://sourceforge.net/projects/grisbi/files/dependancies/0.6/libofx_Win32.zip/download ) Hope it is compiled with the correct options (which I did not know much about at that time) and it helps Will 2017-07-12 0:12 GMT+02:00 C E Macfarlane <c.e...@ma...>: > Errors also compiling under MinGW Win32 ... > $ ./configure --prefix=Perl\\site --disable-doc-build > $ make > ... > g++ -shared -nostdlib bin/../lib/gcc/mingw32/4.8.1/../../../dllcrt2.o > bin/../lib/gcc/mingw32/4.8.1/crtbegin.o .libs/Allocator.o > .libs/ArcEngine.o > .libs/Attribute.o .libs/Big5CodingSystem.o .libs/CharsetDecl.o > .libs/CharsetInfo.o .libs/CharsetRegistry.o .libs/CmdLineApp.o > .libs/CodingSystem.o .libs/CodingSystemKit.o .libs/ConsoleOutput.o > .libs/ContentState.o .libs/ContentToken.o .libs/DescriptorManager.o > .libs/Dtd.o .libs/DtdDeclEventHandler.o .libs/EUCJPCodingSystem.o > .libs/ElementType.o .libs/Entity.o .libs/EntityApp.o .libs/EntityCatalog.o > .libs/EntityDecl.o .libs/EntityManager.o .libs/ErrnoMessageArg.o > .libs/ErrorCountEventHandler.o .libs/Event.o .libs/EventGenerator.o > .libs/ExtendEntityManager.o .libs/ExternalId.o .libs/Fixed2CodingSystem.o > .libs/GenericEventHandler.o .libs/Group.o .libs/Hash.o .libs/IListBase.o > .libs/Id.o .libs/IdentityCodingSystem.o .libs/InputSource.o > .libs/InternalInputSource.o .libs/Link.o .libs/LinkProcess.o > .libs/LiteralStorage.o .libs/Location.o .libs/Lpd.o .libs/Markup.o > .libs/Message.o .libs/MessageArg.o .libs/MessageEventHandler.o > .libs/MessageFormatter.o .libs/MessageReporter.o .libs/MessageTable.o > .libs/ModeInfo.o .libs/Notation.o .libs/NotationStorage.o > .libs/NumericCharRefOrigin.o .libs/OffsetOrderedList.o .libs/OpenElement.o > .libs/OutputByteStream.o .libs/OutputCharStream.o .libs/OutputState.o > .libs/Param.o .libs/Parser.o .libs/ParserApp.o > .libs/ParserEventGeneratorKit.o .libs/ParserMessages.o > .libs/ParserOptions.o > .libs/ParserState.o .libs/Partition.o .libs/PosixStorage.o > .libs/Recognizer.o .libs/RewindStorageObject.o .libs/SGMLApplication.o > .libs/SJISCodingSystem.o .libs/SOEntityCatalog.o .libs/Sd.o .libs/SdText.o > .libs/SearchResultMessageArg.o .libs/SgmlParser.o .libs/ShortReferenceMap.o > .libs/StdioStorage.o .libs/StorageManager.o .libs/Syntax.o .libs/Text.o > .libs/TokenMessageArg.o .libs/TranslateCodingSystem.o.libs/TrieBuilder.o > .libs/TypeId.o .libs/URLStorage.o .libs/UTF8CodingSystem.o .libs/Undo.o > .libs/UnicodeCodingSystem.o.libs/UnivCharsetDesc.o .libs/XMLCodingSystem.o > .libs/assert.o .libs/parseAttribute.o .libs/parseCommon.o .libs/parseDecl.o > .libs/parseInstance.o .libs/parseMode.o .libs/parseParam.o .libs/parseSd.o > .libs/splib.o .libs/app_inst.o .libs/arc_inst.o .libs/entmgr_inst.o > .libs/parser_inst.o .libs/xentmgr_inst.o .libs/SubstTable.o > .libs/UTF16CodingSystem.o .libs/Fixed4CodingSystem.o .libs/memcmp.o > .libs/memmove.o > .libs/strerror.o -lintl -Lbin/../lib/gcc/mingw32/4.8.1 -Lbin/../lib/gcc > -Lb > in/../lib/gcc/mingw32/4.8.1/../../../../mingw32/lib > -Lc:/programs/mingw/bin/ > ../lib/gcc/mingw32/4.8.1/../../.. -lstdc++ -lmingw32 -lgcc_s -lgcc > -lmoldnam > e -lmingwex -lmsvcrt -ladvapi32 -lshell32 -luser32 -lkernel32 -lmingw32 > -lgc > c_s -lgcc -lmoldname -lmingwex -lmsvcrt > bin/../lib/gcc/mingw32/4.8.1/crtend.o -o > .libs/libosp-5.dll -Wl,--image-base=0x10000000 > -Wl,--out-implib,.libs/libosp > .dll.a.libs/CodingSystemKit.o: In function > `ZN6OpenSP19CodingSystemKitImplC2EPKNS_21TranslateCodingSystem4DescE': > OpenSP-1.5.2\lib/CodingSystemKit.cxx:353: undefined reference to > `OpenSP::Win32CodingSystem::Win32CodingSystem(OpenSP:: > Win32CodingSystem::Spe > cialCodePage, unsigned int)' > OpenSP-1.5.2\lib/CodingSystemKit.cxx:353: undefined reference to > `OpenSP::Win32CodingSystem::Win32CodingSystem(OpenSP:: > Win32CodingSystem::Spe > cialCodePage, unsigned int)' > .libs/CodingSystemKit.o: In function `~Win32CodingSystem': > OpenSP-1.5.2\lib/../include/Win32CodingSystem.h:18: undefined reference to > `vtable for OpenSP::Win32CodingSystem' > OpenSP-1.5.2\lib/../include/Win32CodingSystem.h:18: undefined reference to > `vtable for OpenSP::Win32CodingSystem' > OpenSP-1.5.2\lib/../include/Win32CodingSystem.h:18: undefined reference to > `vtable for OpenSP::Win32CodingSystem' > OpenSP-1.5.2\lib/../include/Win32CodingSystem.h:18: undefined reference to > `vtable for OpenSP::Win32CodingSystem' > OpenSP-1.5.2\lib/../include/Win32CodingSystem.h:18: undefined reference to > `vtable for OpenSP::Win32CodingSystem' > .libs/CodingSystemKit.o:OpenSP-1.5.2\lib/../include/ > Win32CodingSystem.h:18: > more undefined references to `vtable for OpenSP::Win32CodingSystem' follow > collect2.exe: error: ld returned 1 exit status > make[3]: *** [libosp.la] Error 1 > make[3]: Leaving directory `/d/CEM/Dev/C/OpenSP-1.5.2/lib' > make[2]: *** [all] Error 2 > make[2]: Leaving directory `/d/CEM/Dev/C/OpenSP-1.5.2/lib' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/d/CEM/Dev/C/OpenSP-1.5.2' > make: *** [all] Error 2 > -- > www.macfh.co.uk/MacFH.html > > > -----Original Message----- > > > > If I try and compile either OpenSP 1.5.2 or OpenJade 1.3.2 by > > running the > > batch file build-win32.bat, I get the errors appended below. > > > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > OpenJade-devel mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/openjade-devel > |
|
From: C E M. <c.e...@ma...> - 2017-07-11 22:25:55
|
Errors also compiling under MinGW Win32 ... $ ./configure --prefix=Perl\\site --disable-doc-build $ make ... g++ -shared -nostdlib bin/../lib/gcc/mingw32/4.8.1/../../../dllcrt2.o bin/../lib/gcc/mingw32/4.8.1/crtbegin.o .libs/Allocator.o .libs/ArcEngine.o .libs/Attribute.o .libs/Big5CodingSystem.o .libs/CharsetDecl.o .libs/CharsetInfo.o .libs/CharsetRegistry.o .libs/CmdLineApp.o .libs/CodingSystem.o .libs/CodingSystemKit.o .libs/ConsoleOutput.o .libs/ContentState.o .libs/ContentToken.o .libs/DescriptorManager.o .libs/Dtd.o .libs/DtdDeclEventHandler.o .libs/EUCJPCodingSystem.o .libs/ElementType.o .libs/Entity.o .libs/EntityApp.o .libs/EntityCatalog.o .libs/EntityDecl.o .libs/EntityManager.o .libs/ErrnoMessageArg.o .libs/ErrorCountEventHandler.o .libs/Event.o .libs/EventGenerator.o .libs/ExtendEntityManager.o .libs/ExternalId.o .libs/Fixed2CodingSystem.o .libs/GenericEventHandler.o .libs/Group.o .libs/Hash.o .libs/IListBase.o .libs/Id.o .libs/IdentityCodingSystem.o .libs/InputSource.o .libs/InternalInputSource.o .libs/Link.o .libs/LinkProcess.o .libs/LiteralStorage.o .libs/Location.o .libs/Lpd.o .libs/Markup.o .libs/Message.o .libs/MessageArg.o .libs/MessageEventHandler.o .libs/MessageFormatter.o .libs/MessageReporter.o .libs/MessageTable.o .libs/ModeInfo.o .libs/Notation.o .libs/NotationStorage.o .libs/NumericCharRefOrigin.o .libs/OffsetOrderedList.o .libs/OpenElement.o .libs/OutputByteStream.o .libs/OutputCharStream.o .libs/OutputState.o .libs/Param.o .libs/Parser.o .libs/ParserApp.o .libs/ParserEventGeneratorKit.o .libs/ParserMessages.o .libs/ParserOptions.o .libs/ParserState.o .libs/Partition.o .libs/PosixStorage.o .libs/Recognizer.o .libs/RewindStorageObject.o .libs/SGMLApplication.o .libs/SJISCodingSystem.o .libs/SOEntityCatalog.o .libs/Sd.o .libs/SdText.o .libs/SearchResultMessageArg.o .libs/SgmlParser.o .libs/ShortReferenceMap.o .libs/StdioStorage.o .libs/StorageManager.o .libs/Syntax.o .libs/Text.o .libs/TokenMessageArg.o .libs/TranslateCodingSystem.o.libs/TrieBuilder.o .libs/TypeId.o .libs/URLStorage.o .libs/UTF8CodingSystem.o .libs/Undo.o .libs/UnicodeCodingSystem.o.libs/UnivCharsetDesc.o .libs/XMLCodingSystem.o .libs/assert.o .libs/parseAttribute.o .libs/parseCommon.o .libs/parseDecl.o .libs/parseInstance.o .libs/parseMode.o .libs/parseParam.o .libs/parseSd.o .libs/splib.o .libs/app_inst.o .libs/arc_inst.o .libs/entmgr_inst.o .libs/parser_inst.o .libs/xentmgr_inst.o .libs/SubstTable.o .libs/UTF16CodingSystem.o .libs/Fixed4CodingSystem.o .libs/memcmp.o .libs/memmove.o .libs/strerror.o -lintl -Lbin/../lib/gcc/mingw32/4.8.1 -Lbin/../lib/gcc -Lb in/../lib/gcc/mingw32/4.8.1/../../../../mingw32/lib -Lc:/programs/mingw/bin/ ../lib/gcc/mingw32/4.8.1/../../.. -lstdc++ -lmingw32 -lgcc_s -lgcc -lmoldnam e -lmingwex -lmsvcrt -ladvapi32 -lshell32 -luser32 -lkernel32 -lmingw32 -lgc c_s -lgcc -lmoldname -lmingwex -lmsvcrt bin/../lib/gcc/mingw32/4.8.1/crtend.o -o .libs/libosp-5.dll -Wl,--image-base=0x10000000 -Wl,--out-implib,.libs/libosp .dll.a.libs/CodingSystemKit.o: In function `ZN6OpenSP19CodingSystemKitImplC2EPKNS_21TranslateCodingSystem4DescE': OpenSP-1.5.2\lib/CodingSystemKit.cxx:353: undefined reference to `OpenSP::Win32CodingSystem::Win32CodingSystem(OpenSP::Win32CodingSystem::Spe cialCodePage, unsigned int)' OpenSP-1.5.2\lib/CodingSystemKit.cxx:353: undefined reference to `OpenSP::Win32CodingSystem::Win32CodingSystem(OpenSP::Win32CodingSystem::Spe cialCodePage, unsigned int)' .libs/CodingSystemKit.o: In function `~Win32CodingSystem': OpenSP-1.5.2\lib/../include/Win32CodingSystem.h:18: undefined reference to `vtable for OpenSP::Win32CodingSystem' OpenSP-1.5.2\lib/../include/Win32CodingSystem.h:18: undefined reference to `vtable for OpenSP::Win32CodingSystem' OpenSP-1.5.2\lib/../include/Win32CodingSystem.h:18: undefined reference to `vtable for OpenSP::Win32CodingSystem' OpenSP-1.5.2\lib/../include/Win32CodingSystem.h:18: undefined reference to `vtable for OpenSP::Win32CodingSystem' OpenSP-1.5.2\lib/../include/Win32CodingSystem.h:18: undefined reference to `vtable for OpenSP::Win32CodingSystem' .libs/CodingSystemKit.o:OpenSP-1.5.2\lib/../include/Win32CodingSystem.h:18: more undefined references to `vtable for OpenSP::Win32CodingSystem' follow collect2.exe: error: ld returned 1 exit status make[3]: *** [libosp.la] Error 1 make[3]: Leaving directory `/d/CEM/Dev/C/OpenSP-1.5.2/lib' make[2]: *** [all] Error 2 make[2]: Leaving directory `/d/CEM/Dev/C/OpenSP-1.5.2/lib' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/d/CEM/Dev/C/OpenSP-1.5.2' make: *** [all] Error 2 -- www.macfh.co.uk/MacFH.html > -----Original Message----- > > If I try and compile either OpenSP 1.5.2 or OpenJade 1.3.2 by > running the > batch file build-win32.bat, I get the errors appended below. |
|
From: C E M. <c.e...@ma...> - 2017-07-10 18:44:28
|
Windows XP, VS6, OpenJade 1.3.2, OpenSP 1.5.1/2. I want to run the PERL W3c Validator which requires the modulue SGML::Parser::OpenSP, which in turn requires OpenSP 1.5.2, but so many problems ... I've found the downloadable sources for OpenJade 1.3.2 and OpenSP 1.5.1, and the binaries for OpenSP 1.5.2, but originally not the source files for OpenSP 1.5.2 (there is a broken link on the OpenJade web site), but I've since found them at Source Forge. I tried putting the ready built OpenSP 1.5.2 binaries in my Perl\site\bin folder, but the PERL module build errors out because it can't find the header files for the binaries. If I take them from the OpenSP 1.5.2 source, and put them in Perl\site\include, other errors follow, as appended below. If I try and compile either OpenSP 1.5.2 or OpenJade 1.3.2 by running the batch file build-win32.bat, I get the errors appended below. AIUI, if you are running Apache 64-bit, you can't call a 32-bit module, but there seems to be no way to build these projects as available for download on any version of Windows, even 32-bit, let alone a current one such as Windows 7 64-bit with a recent version of Visual Studio. I'm not a particular fan of either Windows or Linux and don't wish to get involved in pointless flame wars about the pros and cons of either, but Windows is the most popular operating system on the planet, so it doesn't make any sense at all that apparently the W3c validator can't be run on it, because it relies on an external module that apparently can't be built for it with the sources that currently are publicly available. What can be done about all this? Regards, Charles Macfarlane. -- www.macfh.co.uk/MacFH.html Log of PERL SGML::Parser::OpenSP error: ======================================= >cpan SGML::Parser::OpenSP Loading internal null logger. Install Log::Log4perl for logging messages CPAN: Term::ANSIColor loaded ok (v4.06) CPAN: Win32::Console::ANSI loaded ok (v1.08) Reading 'Perl\cpan\Metadata' Database was generated on Sun, 09 Jul 2017 17:53:51 GMT CPAN: YAML::XS loaded ok (v0.65) CPAN: Time::HiRes loaded ok (v1.9742) Reading 1 yaml file from Perl/cpan/build/ DONE Restored the state of none (in 0.0187 secs) Running install for module 'SGML::Parser::OpenSP' BJOERN/SGML-Parser-OpenSP-0.994.tar.gz Has already been unwrapped into directory Perl\cpan\build\SGML-Parser-OpenSP-0.994-0 BJOERN/SGML-Parser-OpenSP-0.994.tar.gz Has already been prepared BJOERN/SGML-Parser-OpenSP-0.994.tar.gz Could not make: Unknown error CPAN: CPAN::Meta loaded ok (v2.150010) >cd Perl\cpan\build\SGML-Parser-OpenSP-0.994-0 Perl\cpan\build\SGML-Parser-OpenSP-0.994-0>perl Makefile.PL INC="-IPerl\site\include" LIBS="-LPerl\site\lib" Where is the OpenSP link library? [T:\osp\lib\Release\osp152.lib] Perl\site\bin Which compiler should be used? [cl -TP -EHsc -IT:/osp/] cl -TP -EHsc Warning (mostly harmless): No library found for -lmoldname Warning (mostly harmless): No library found for -lkernel32 Warning (mostly harmless): No library found for -luser32 Warning (mostly harmless): No library found for -lgdi32 Warning (mostly harmless): No library found for -lwinspool Warning (mostly harmless): No library found for -lcomdlg32 Warning (mostly harmless): No library found for -ladvapi32 Warning (mostly harmless): No library found for -lshell32 Warning (mostly harmless): No library found for -lole32 Warning (mostly harmless): No library found for -loleaut32 Warning (mostly harmless): No library found for -lnetapi32 Warning (mostly harmless): No library found for -luuid Warning (mostly harmless): No library found for -lws2_32 Warning (mostly harmless): No library found for -lmpr Warning (mostly harmless): No library found for -lwinmm Warning (mostly harmless): No library found for -lversion Warning (mostly harmless): No library found for -lodbc32 Warning (mostly harmless): No library found for -lodbccp32 Warning (mostly harmless): No library found for -lcomctl32 Generating a dmake-style Makefile Writing Makefile for SGML::Parser::OpenSP Writing MYMETA.yml and MYMETA.json Perl\cpan\build\SGML-Parser-OpenSP-0.994-0>dmake Skip blib\lib\SGML\Parser\OpenSP.pm (unchanged) Skip blib\lib\SGML\Parser\OpenSP\Tools.pm (unchanged) Running Mkbootstrap for OpenSP () "Perl\bin\perl.exe" -MExtUtils::Command -e chmod -- 644 "OpenSP.bs" "Perl\bin\perl.exe" -MExtUtils::Command::MM -e cp_nonempty -- OpenSP.bs blib\arch\auto\SGML\Parser\OpenSP\Op enSP.bs 644 cl -TP -EHsc -c -IPerl\site\include -s -O2 -DWIN32 -DPERL_TEXTMODE_S CRIPTS -DUSE_SITECUSTOMIZE -DPER L_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -fwrapv -fno-strict-alia sing -mms-bitfields -s -O2 -DVERSION=\"0. 994\" -DXS_VERSION=\"0.994\" "-IPerl\lib\CORE" -DSP_MULTI_BYTE=1 OpenSP.c Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8168 for 80x86 Copyright (C) Microsoft Corp 1984-1998. All rights reserved. Command line warning D4002 : ignoring unknown option '-s' Command line warning D4002 : ignoring unknown option '-fwrapv' Command line warning D4002 : ignoring unknown option '-fno-strict-aliasing' Command line warning D4002 : ignoring unknown option '-mms-bitfields' Command line warning D4002 : ignoring unknown option '-s' OpenSP.c OpenSP.xs(7) : fatal error C1083: Cannot open include file: 'math.h': No such file or directory dmake: Error code 130, while making 'OpenSP.o' Log of OpenSP-1.5.2\build-win32.bat =================================== OpenSP-1.5.2>build-win32.bat OpenSP-1.5.2>nmake -f sp-generate.mak Microsoft (R) Program Maintenance Utility Version 6.00.8168.0 Copyright (C) Microsoft Corp 1988-1998. All rights reserved. copy include\config.h.old.in include\config.h 1 file(s) copied. OpenSP-1.5.2>msdev SP.dsw /make "all - win32 release" --------------------Configuration: lib - Win32 Release-------------------- Compiling resources... Compiling... splib.cxx ..\include\Allocator.h(7) : fatal error C1083: Cannot open include file: 'stddef.h': No such file or directory Error executing cl.exe. osp152.dll - 1 error(s), 0 warning(s) --------------------Configuration: lib - Win32 Release-------------------- Compiling... splib.cxx ..\include\Allocator.h(7) : fatal error C1083: Cannot open include file: 'stddef.h': No such file or directory Error executing cl.exe. onsgmls.exe - 1 error(s), 0 warning(s) --------------------Configuration: sgmlnorm - Win32 Release-------------------- Compiling resources... Compiling... SGMLGenerator.cxx ..\include\types.h(7) : fatal error C1083: Cannot open include file: 'limits.h': No such file or directory sgmlnorm.cxx ..\include\sptchar.h(7) : fatal error C1083: Cannot open include file: 'string.h': No such file or directory Error executing cl.exe. osgmlnorm.exe - 2 error(s), 0 warning(s) --------------------Configuration: spam - Win32 Release-------------------- Compiling resources... Compiling... CopyEventHandler.cxx ..\include\Allocator.h(7) : fatal error C1083: Cannot open include file: 'stddef.h': No such file or directory MarkupEventHandler.cxx ..\include\Allocator.h(7) : fatal error C1083: Cannot open include file: 'stddef.h': No such file or directory spam.cxx ..\include\types.h(7) : fatal error C1083: Cannot open include file: 'limits.h': No such file or directory spam_inst.cxx Error executing cl.exe. ospam.exe - 3 error(s), 0 warning(s) --------------------Configuration: spent - Win32 Release-------------------- Compiling resources... Compiling... spent.cxx ..\include\sptchar.h(7) : fatal error C1083: Cannot open include file: 'string.h': No such file or directory Error executing cl.exe. ospent.exe - 1 error(s), 0 warning(s) --------------------Configuration: sx - Win32 Release-------------------- Compiling resources... Compiling... sx.cxx ..\include\sptchar.h(7) : fatal error C1083: Cannot open include file: 'string.h': No such file or directory sx_inst.cxx XmlOutputEventHandler.cxx ..\include\types.h(7) : fatal error C1083: Cannot open include file: 'limits.h': No such file or directory Error executing cl.exe. osx.exe - 2 error(s), 0 warning(s) --------------------Configuration: spcat - Win32 Release-------------------- Compiling resources... Compiling... spcat.cxx ..\include\types.h(7) : fatal error C1083: Cannot open include file: 'limits.h': No such file or directory Error executing cl.exe. ospcat.exe - 1 error(s), 0 warning(s) Log of openjade-1.3.2\build-win32.bat ===================================== openjade-1.3.2>build-win32.bat openjade-1.3.2>nmake -f sp-generate.mak Microsoft (R) Program Maintenance Utility Version 6.00.8168.0 Copyright (C) Microsoft Corp 1988-1998. All rights reserved. NMAKE : fatal error U1073: don't know how to make 'lib\entmgr_inst.cxx' Stop. openjade-1.3.2>nmake -f jade-generate.mak Microsoft (R) Program Maintenance Utility Version 6.00.8168.0 Copyright (C) Microsoft Corp 1988-1998. All rights reserved. del /f style\style_inst.cxx 2> nul perl lib\instmac.pl style\style_inst.m4 >style\style_inst.cxx Can't open perl script "lib\instmac.pl": No such file or directory NMAKE : fatal error U1077: 'perl' : return code '0x2' Stop. openjade-1.3.2>msdev jade.dsw /make "all - win32 release" --------------------Configuration: grove - Win32 Release-------------------- Compiling... LocNode.cxx openjade-1.3.2\grove\LocNode.cxx(5) : fatal error C1083: Cannot open include file: 'config.h': No such file or directory Node.cxx openjade-1.3.2\grove\Node.cxx(8) : fatal error C1083: Cannot open include file: 'config.h': No such file or directory Error executing cl.exe. all - 2 error(s), 0 warning(s) |
|
From: Dr. D. J. H. Jr. <dh...@su...> - 2017-07-02 04:04:27
|
Sorry, I needed to escape a $ with $$ to pass through make. Here’s an updated patch. - David |
|
From: Dr. D. J. H. Jr. <dh...@su...> - 2017-07-01 23:20:31
|
While building openjade as part of another package to create a Mac .app bundle, I was bitten by an overzealous sed expression in openjade's build process. To trigger the problem, build with a prefix such as /Applications/Something.app/whatever, and a sed expression is converting such paths into /Applications/Something.lapp/whatever -- turning the “.app" into “.lapp", which doesn’t exist. The problem has been encountered by others for a few years at least, such as documented in this MacPorts trouble ticket where I also put in a description of my proposed fix: https://trac.macports.org/ticket/46132 I’ve attached a patch for your review. Thank you, David |
|
From: Mark A. <ma...@ib...> - 2013-11-20 02:11:32
|
Hi folks, I'm seeing this issue during a compile but since my C++ is minimal, I can't backtrack yet to find out what needs tweaking. From what I can tell append() needs a size_t and it's being passed an unsigned long, which may or may not be the same. It's on an LP64 machine. I've logged a bug as shown below. ta, Mark. https://sourceforge.net/p/openjade/bugs/144/ gmake[3]: Entering directory `/var/tmp/OpenSP-1.5.2/lib' source='app_inst.cxx' object='app_inst.lo' libtool=yes \ DEPDIR=.deps depmode=none /bin/sh ../depcomp \ /bin/sh ../libtool --tag=CXX --mode=compile CC -xtarget=ultra -m64 -xcode=pic32 -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -I/usr/local/include -g -c -o app_inst.lo app_inst.cxx CC -xtarget=ultra -m64 -xcode=pic32 -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -I/usr/local/include -g -c app_inst.cxx -KPIC -DPIC -o .libs/app_inst.o "../include/Message.h", line 241: Warning: OpenSP::NullMessenger::dispatchMessage hides the virtual function OpenSP::Messenger::dispatchMessage(OpenSP::Message&). "../include/MessageReporter.h", line 55: Warning: OpenSP::MessageReporter::dispatchMessage hides the virtual function OpenSP::Messenger::dispatchMessage(OpenSP::Message&). "../include/Vector.cxx", line 125: Error: Could not find a match for OpenSP::MessageFragment::MessageFragment() needed in OpenSP::Vector<OpenSP::MessageFragment>::append(unsigned long). "app_inst.cxx", line 90: Where: While instantiating "OpenSP::Vector<OpenSP::MessageFragment>::append(unsigned long)". "app_inst.cxx", line 90: Where: Instantiated from non-template code. 1 Error(s) and 2 Warning(s) detected. gmake[3]: *** [app_inst.lo] Error 1 |
|
From: Mark A. <ma...@ib...> - 2013-11-19 14:08:23
|
The Vector.cxx errors still exist in 1.5.2:
source='OffsetOrderedList.cxx' object='OffsetOrderedList.lo' libtool=yes \
DEPDIR=.deps depmode=none /bin/sh ../depcomp \
/bin/sh ../libtool --tag=CXX --mode=compile CC -xtarget=ultra -m64
-xcode=pic32 -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic
-I/usr/local/include -g -c -o OffsetOrderedList.lo OffsetOrderedList.cxx
CC -xtarget=ultra -m64 -xcode=pic32 -DHAVE_CONFIG_H -I. -I. -I..
-I../include -I../generic -I/usr/local/include -g -c OffsetOrderedList.cxx
-KPIC -DPIC -o .libs/OffsetOrderedList.o
"../include/Vector.cxx", line 15: Error: Templates can only declare classes
or functions.
"../include/Vector.cxx", line 19: Warning: Implicit int is not supported in
C++.
"../include/Vector.cxx", line 19: Error: ptr_ is not defined.
"../include/Vector.cxx", line 21: Error: A declaration was expected instead
of "}".
"../include/Vector.cxx", line 26: Error: Templates can only declare classes
or functions.
"../include/Vector.cxx", line 27: Error: Use ";" to terminate statements.
"../include/Vector.cxx", line 27: Error: A declaration was expected instead
of ",".
"../include/Vector.cxx", line 27: Warning: Implicit int is not supported in
C++.
"../include/Vector.cxx", line 27: Warning: Implicit int is not supported in
C++.
"../include/Vector.cxx", line 28: Error: "," expected instead of "{".
"../include/Vector.cxx", line 30: Error: A declaration was expected instead
of "}".
"../include/Vector.cxx", line 33: Error: Templates can only declare classes
or functions.
"../include/Vector.cxx", line 34: Error: Use ";" to terminate statements.
"../include/Vector.cxx", line 34: Error: A declaration was expected instead
of ",".
"../include/Vector.cxx", line 34: Warning: Implicit int is not supported in
C++.
"../include/Vector.cxx", line 34: Error: Multiple declaration for size_.
"../include/Vector.cxx", line 34: Warning: Implicit int is not supported in
C++.
"../include/Vector.cxx", line 34: Error: Multiple declaration for alloc_.
"../include/Vector.cxx", line 35: Error: "," expected instead of "{".
"../include/Vector.cxx", line 37: Error: A declaration was expected instead
of "}".
"../include/Vector.cxx", line 40: Error: Templates can only declare classes
or functions.
"../include/Vector.cxx", line 44: Error: A declaration was expected instead
of "if".
"../include/Vector.cxx", line 44: Error: No direct declarator preceding "(".
"../include/Vector.cxx", line 46: Warning: Implicit int is not supported in
C++.
"../include/Vector.cxx", line 46: Error: ptr_ is not defined.
"../include/Vector.cxx", line 46: Error: v is not defined.
"../include/Vector.cxx", line 46: Error: v is not defined.
"../include/Vector.cxx", line 46: Error: v is not defined.
"../include/Vector.cxx", line 46: Error: Badly formed expression.
"../include/Vector.cxx", line 46: Error: Badly formed expression.
"../include/Vector.cxx", line 46: Error: Badly formed expression.
Compilation aborted, too many Error messages.
gmake[3]: *** [OffsetOrderedList.lo] Error 1
gmake[3]: Leaving directory `/var/tmp/OpenSP-1.5.2/lib'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/var/tmp/OpenSP-1.5.2/lib'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/var/tmp/OpenSP-1.5.2'
gmake: *** [all] Error 2
As mentioned in the bug provided by Bjoern, the inclusion of <Vector.h>
fixed the issue.
# diff -u include/Vector.cxx.orig include/Vector.cxx
--- include/Vector.cxx.orig Wed Nov 20 01:06:30 2013
+++ include/Vector.cxx Wed Nov 20 01:04:53 2013
@@ -4,6 +4,7 @@
#ifndef Vector_DEF_INCLUDED
#define Vector_DEF_INCLUDED 1
+#include <Vector.h>
#include <stddef.h>
#include <string.h>
ta,
Mark
On Tue, Nov 19, 2013 at 9:47 PM, Bjoern Hoehrmann <der...@gm...> wrote:
> * Mark Ashley wrote:
> >Solaris 11 SPARC using Sun Studio 12.3 compiler.
> >
> >OpenSP-1.5.1
> >
> >Note: Sun Studio is much more adherent to the C++ standard than gcc is, it
> >doesn't allow loose coding which gcc might. The sorts of errors like the
> >ones below are often seen when porting to Solaris from open source coders
> >who use linux.
>
> We released OpenSP 1.5.2 almost 8 years ago and I would recommend
> against using v1.5.1. It seems an issue like this has been reported
> http://sourceforge.net/p/openjade/bugs/38/ back in 2002 and that
> comes with a patch. If you could try that and if the issue is still
> present in 1.5.2 someone might apply the patch.
>
>
|
|
From: Mark A. <ma...@ib...> - 2013-11-19 14:03:03
|
configure sets -fno-implicit-templates in the CXXFLAGS # grep -n fno-implicit-templates configure.in 360: CXXFLAGS="$CXXFLAGS -fno-implicit-templates" This doesn't make much sense to non gcc compilers. ta, Mark. |
|
From: Mark A. <ma...@ib...> - 2013-11-19 10:53:50
|
Hmm, thanks for that insight. I'll re-spin the compiles. Having never heard of these programs before tonight I wasn't aware of the version bumps. I'm working off the info in http://openjade.sourceforge.net/ after having got there from google. I'd suggest the maintainer update the website, if the info is over 8 years old. ta, Mark. On Tue, Nov 19, 2013 at 9:47 PM, Bjoern Hoehrmann <der...@gm...> wrote: > * Mark Ashley wrote: > >Solaris 11 SPARC using Sun Studio 12.3 compiler. > > > >OpenSP-1.5.1 > > > >Note: Sun Studio is much more adherent to the C++ standard than gcc is, it > >doesn't allow loose coding which gcc might. The sorts of errors like the > >ones below are often seen when porting to Solaris from open source coders > >who use linux. > > We released OpenSP 1.5.2 almost 8 years ago and I would recommend > against using v1.5.1. It seems an issue like this has been reported > http://sourceforge.net/p/openjade/bugs/38/ back in 2002 and that > comes with a patch. If you could try that and if the issue is still > present in 1.5.2 someone might apply the patch. > -- > Björn Höhrmann · mailto:bj...@ho... · http://bjoern.hoehrmann.de > Am Badedeich 7 · Telefon: +49(0)160/4415681 · http://www.bjoernsworld.de > 25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ > |
|
From: Bjoern H. <der...@gm...> - 2013-11-19 10:47:18
|
* Mark Ashley wrote: >Solaris 11 SPARC using Sun Studio 12.3 compiler. > >OpenSP-1.5.1 > >Note: Sun Studio is much more adherent to the C++ standard than gcc is, it >doesn't allow loose coding which gcc might. The sorts of errors like the >ones below are often seen when porting to Solaris from open source coders >who use linux. We released OpenSP 1.5.2 almost 8 years ago and I would recommend against using v1.5.1. It seems an issue like this has been reported http://sourceforge.net/p/openjade/bugs/38/ back in 2002 and that comes with a patch. If you could try that and if the issue is still present in 1.5.2 someone might apply the patch. -- Björn Höhrmann · mailto:bj...@ho... · http://bjoern.hoehrmann.de Am Badedeich 7 · Telefon: +49(0)160/4415681 · http://www.bjoernsworld.de 25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ |
|
From: Mark A. <ma...@ib...> - 2013-11-19 09:22:51
|
Solaris 11 SPARC using Sun Studio 12.3 compiler.
OpenSP-1.5.1
Note: Sun Studio is much more adherent to the C++ standard than gcc is, it
doesn't allow loose coding which gcc might. The sorts of errors like the
ones below are often seen when porting to Solaris from open source coders
who use linux.
source='OffsetOrderedList.cxx' object='OffsetOrderedList.lo' libtool=yes \
depfile='.deps/OffsetOrderedList.Plo'
tmpdepfile='.deps/OffsetOrderedList.TPlo' \
depmode=none /bin/sh ../depcomp \
/bin/sh ../libtool --mode=compile CC -xtarget=ultra -m64 -xcode=pic32
-DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic
-I/usr/local/include -g -c -o OffsetOrderedList.lo `test -f
'OffsetOrderedList.cxx' || echo './'`OffsetOrderedList.cxx
rm -f .libs/OffsetOrderedList.lo
CC -xtarget=ultra -m64 -xcode=pic32 -DHAVE_CONFIG_H -I. -I. -I..
-I../include -I../generic -I/usr/local/include -g -c OffsetOrderedList.cxx
-KPIC -DPIC -o .libs/OffsetOrderedList.lo
"../include/Vector.cxx", line 15: Error: Templates can only declare classes
or functions.
"../include/Vector.cxx", line 19: Warning: Implicit int is not supported in
C++.
"../include/Vector.cxx", line 19: Error: ptr_ is not defined.
"../include/Vector.cxx", line 21: Error: A declaration was expected instead
of "}".
"../include/Vector.cxx", line 26: Error: Templates can only declare classes
or functions.
"../include/Vector.cxx", line 27: Error: Use ";" to terminate statements.
"../include/Vector.cxx", line 27: Error: A declaration was expected instead
of ",".
"../include/Vector.cxx", line 27: Warning: Implicit int is not supported in
C++.
"../include/Vector.cxx", line 27: Warning: Implicit int is not supported in
C++.
"../include/Vector.cxx", line 28: Error: "," expected instead of "{".
"../include/Vector.cxx", line 30: Error: A declaration was expected instead
of "}".
"../include/Vector.cxx", line 33: Error: Templates can only declare classes
or functions.
"../include/Vector.cxx", line 34: Error: Use ";" to terminate statements.
"../include/Vector.cxx", line 34: Error: A declaration was expected instead
of ",".
"../include/Vector.cxx", line 34: Warning: Implicit int is not supported in
C++.
"../include/Vector.cxx", line 34: Error: Multiple declaration for size_.
"../include/Vector.cxx", line 34: Warning: Implicit int is not supported in
C++.
"../include/Vector.cxx", line 34: Error: Multiple declaration for alloc_.
"../include/Vector.cxx", line 35: Error: "," expected instead of "{".
"../include/Vector.cxx", line 37: Error: A declaration was expected instead
of "}".
"../include/Vector.cxx", line 40: Error: Templates can only declare classes
or functions.
"../include/Vector.cxx", line 44: Error: A declaration was expected instead
of "if".
"../include/Vector.cxx", line 44: Error: No direct declarator preceding "(".
"../include/Vector.cxx", line 46: Warning: Implicit int is not supported in
C++.
"../include/Vector.cxx", line 46: Error: ptr_ is not defined.
"../include/Vector.cxx", line 46: Error: v is not defined.
"../include/Vector.cxx", line 46: Error: v is not defined.
"../include/Vector.cxx", line 46: Error: v is not defined.
"../include/Vector.cxx", line 46: Error: Badly formed expression.
"../include/Vector.cxx", line 46: Error: Badly formed expression.
"../include/Vector.cxx", line 46: Error: Badly formed expression.
Compilation aborted, too many Error messages.
*** Error code 1
make: Fatal error: Command failed for target `OffsetOrderedList.lo'
Current working directory /var/tmp/OpenSP-1.5.1/lib
*** Error code 1
make: Fatal error: Command failed for target `all'
Current working directory /var/tmp/OpenSP-1.5.1/lib
*** Error code 1
# cat -n include/Vector.cxx
1 // Copyright (c) 1994, 1996 James Clark
2 // See the file COPYING for copying permission.
3
4 #ifndef Vector_DEF_INCLUDED
5 #define Vector_DEF_INCLUDED 1
6
7 #include <stddef.h>
8 #include <string.h>
9
10 #ifdef SP_NAMESPACE
11 namespace SP_NAMESPACE {
12 #endif
13
14 template<class T>
15 Vector<T>::~Vector()
16 {
17 if (ptr_) {
18 erase(ptr_, ptr_ + size_);
19 ::operator delete((void *)ptr_);
20 }
21 };
22
23 #ifndef NC
24
25 template<class T>
26 Vector<T>::Vector(const Vector<T> &v)
27 : ptr_(0), size_(0), alloc_(0)
28 {
29 insert(ptr_ + size_, v.ptr_, v.ptr_ + v.size_);
30 };
31
32 template<class T>
33 Vector<T>::Vector(size_t n, const T &t)
34 : ptr_(0), size_(0), alloc_(0)
35 {
36 insert(ptr_ + size_, n, t);
37 };
38
39 template<class T>
40 Vector<T> &Vector<T>::operator=(const Vector<T> &v)
41 {
42 if (&v != this) {
43 size_t n = v.size_;
44 if (n > size_) {
45 n = size_;
46 insert(ptr_ + size_, v.ptr_ + size_, v.ptr_ + v.size_);
47 }
48 else if (n < size_)
49 erase(ptr_ + n, ptr_ + size_);
50 while (n-- > 0)
51 ptr_[n] = v.ptr_[n];
52 }
53 return *this;
54 }
55
|
|
From: Mark A. <ma...@ib...> - 2013-11-19 09:17:33
|
On Solaris 11 SPARC with Sun Studio 12.3 compiler: OpenSP-1.5.1 "MessageReporter.cxx", line 31: Error: The function "getenv" must have a prototype. --- lib/MessageReporter.cxx.orig Tue Nov 19 19:14:23 2013 +++ lib/MessageReporter.cxx Tue Nov 19 19:14:32 2013 @@ -13,6 +13,7 @@ #include "macros.h" #include <string.h> +#include <stdlib.h> #ifdef SP_NAMESPACE |
|
From: William O. <gun...@gm...> - 2013-07-30 06:50:12
|
Hello Kiruthika, Unfortunately, OpenSP does not compile well under mingw. The main reason for this is that the Makefile is not properly designed to handle a few source files that are needed on Windows. And even if it did, you would still be missing the .lib file which is only generated by Visual Studio. If you just need the dll file, you can get it directly from the OpenJade project on Sourceforge: http://sourceforge.net/projects/openjade/files/opensp/1.5.2/OpenSP-1.5.2-win32.zip/download If you feel up to it, you could use Visual Studio to compile OpenSP yourself, using the project files and makefiles provided in the OpenSP-1.5.2.zip archive from sourceforge. ( http://sourceforge.net/projects/openjade/files/opensp/1.5.2/OpenSP-1.5.2.zip/download ) Alternatively, you could try using the following pre-compiled package that contains both the lib and dll files, that was build by myself for another open source project; however, I cannot guarantee that the files will still work. I did this a long time ago, and I didn't really know what I was exactly doing at that time. Here is the download link: http://sourceforge.net/projects/grisbi/files/dependancies/0.6/libofx_Win32.zip/download Hope it solves your problem. Cheers, Will 2013/7/29 kiruthika r <kir...@gm...> > Hi Team, > > Facing issue on compiling SGML -OpenSP for W3C validator. > > Using Sgml-Parser-Opensp-0.994 in windows. When i do makefile, it is > asking for linking library and copiler to use. I have downloaded osp152.lib > from openjade and using mingw / g++ compiler. > > Since 'make ,is not success, it didn't create OpenSP.dll, hence not able > to configure the W3C validator in local. > > Please get me the OpenSP.dll or steps to follow to get the dll file. It > would be a great help for me to complete the W3C. > > Thanks, > Kiruthika > > > ------------------------------------------------------------------------------ > See everything from the browser to the database with AppDynamics > Get end-to-end visibility with application monitoring from AppDynamics > Isolate bottlenecks and diagnose root cause in seconds. > Start your free trial of AppDynamics Pro today! > http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk > _______________________________________________ > OpenJade-devel mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/openjade-devel > > |
|
From: kiruthika r <kir...@gm...> - 2013-07-29 04:15:34
|
Hi Team, Facing issue on compiling SGML -OpenSP for W3C validator. Using Sgml-Parser-Opensp-0.994 in windows. When i do makefile, it is asking for linking library and copiler to use. I have downloaded osp152.lib from openjade and using mingw / g++ compiler. Since 'make ,is not success, it didn't create OpenSP.dll, hence not able to configure the W3C validator in local. Please get me the OpenSP.dll or steps to follow to get the dll file. It would be a great help for me to complete the W3C. Thanks, Kiruthika |
|
From: Bjoern H. <der...@gm...> - 2013-04-07 23:55:04
|
* William F Hammond wrote: >Two private correspondents have been able to replicate the >difficulty that I am reporting. > >One of them makes these comments: > >--- > > > For example, compare these two: > > http://math.albany.edu/pers/hammond/sg/fraeuEnt.xhtml > > http://math.albany.edu/pers/hammond/sg/fraeuRaw.xhtml > > > > Are you able to parse the second of these two correctly > > with onsgmls? > > No, this triggers UTF8CodingSystem.cxx line 145 > > if (charMax < min5 - 1) > *to++ = invalid; > > which appears to be a logic error in the decoder. In Unicode builds > charMax is 0x10FFFF, and min5 is the minimum legal code point that > can be constructed with a 5 byte sequence (under the original de- > finition of UTF-8). So the assumption is that the current code point > can be up to 0x1FFFFF which may be too big. The check probably needs > to occur later when the variable "c" has its final value. > > Fixing that does not help though, the decoder is called, in this > instance anyway, though MappingDecoder::decode, which which then runs > the decoded string through some map which it probably should not in > the case of UTF-8. This also happens when using UTF-16. It should be relatively simple to replace UTF8Decoder::decode with my http://bjoern.hoehrmann.de/utf-8/decoder/dfa/ while maintaining the calling convention (except perhaps the "recovery" parts for malformed input which wouldn't be needed for testing), which seems to be to read in `s` at most `slen` and writing to `to`, returning a pointer to the remainder of `s` in `result`, returning the number of bytes read, and apparently hoping that `to` can hold all the bytes. That's what I would try anyway, but I couldn't make much sense out of the second problem when I looked at this in 2009. -- Björn Höhrmann · mailto:bj...@ho... · http://bjoern.hoehrmann.de Am Badedeich 7 · Telefon: +49(0)160/4415681 · http://www.bjoernsworld.de 25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ |
|
From: William F H. <ha...@cs...> - 2013-04-07 23:54:01
|
As to SGML documentation:
William Ollivier writes:
> Finally, do you have pointers to SGML documentation? LibOFX is
> another open source project that is based on the use of OpenSP, and
> being a maintainer for the former, I kind of have to be also for the
> latter, but I know very little in fact about it.
This is tough.
The basic reference is Charles Goldfarb's book,
The SGML Handbook. There is information at his
website
http://www.sgmlsource.com/
and there is a very large collection of pointers at
http://xml.coverpages.org.
-- Bill
|
|
From: William F H. <ge...@gm...> - 2013-04-07 23:15:10
|
Note that the astral planes problem is with raw utf-8 and seemingly not with entity references. On Sun, Apr 7, 2013 at 12:46 PM, William Ollivier <gun...@gm...>wrote: > Hello William, > > Would you be able to procure me with an example of file that I could use > reproduce the unicode parsing problem with? > Could you also give the command that you are using that is causing the > problem? > Finally, do you have pointers to SGML documentation? LibOFX is another > open source project that is based on the use of OpenSP, and being a > maintainer for the former, I kind of have to be also for the latter, but I > know very little in fact about it. > . . . > Since I don't use OpenJade itself, I cannot speak to the question of > >> whether it is "dead", but I use OpenSP every day. I use OpenSP parsing >> fed >> to sgmlspl/sgmlspm for transformations of both sgml and xml document >> types. >> >> There is at least one outstanding maintenance issue with OpenSP: it >> fails to parse the astral planes of unicode correctly. So far this >> does not block my usage. Nonetheless, I wish someone more energetic >> than I would address this issue. >> >> See the October 2009 thread in this list archived at the (long) url: http://sourceforge.net/mailarchive/forum.php?thread_name=19150.38512.71394.999881%40ml330.occamsrazor.net&forum_name=openjade-devel The minimal example I cited was http://math.albany.edu/pers/hammond/sg/fraeuRaw.xhtml The (GNU bash) command invocation I reported to the list in July 2009 was: env SP_BCTF=utf-8 onsgmls -w xml -c {catalog} {instance} I tried various other incantations as well with no different results. Is the example sufficient? -- Bill -- William F Hammond http://www.albany.edu/~hammond/ Email: ge...@gm... |
|
From: William O. <gun...@gm...> - 2013-04-07 19:47:03
|
Hello William, Would you be able to procure me with an example of file that I could use reproduce the unicode parsing problem with? Could you also give the command that you are using that is causing the problem? Finally, do you have pointers to SGML documentation? LibOFX is another open source project that is based on the use of OpenSP, and being a maintainer for the former, I kind of have to be also for the latter, but I know very little in fact about it. Regards, Will 2013/4/3 William F Hammond <ha...@ma...> > > Bjoern Hoehrmann <der...@gm...> writes: > > > * Dolan, Kelly wrote: > >>I need to convert XML to SGML and I'm looking to try OpenJade to see if > >>it will do what I need to do. The download page indicates a Win32 > >>binary is usually available as a courtesy to Windows users who may not > >>have a suitable compiler available. I fall into that category but cannot > >>find a download for a Win32 binary. > > > > XML documents are SGML documents and it would easier to encode rules for > > e.g. tag omission in a simple pretty printer than waking dead SGML tools > > but <http://sourceforge.net/projects/openjade/files/openjade/> seems to > > have a Windows version of OpenJade 1.3.1 you could try. > > Yes, every XML document (perhaps less any xml declaration and processing > instructions) is an SGML document under the SGML declaration for XML > documents > that is distributed with OpenSP. > > Since I don't use OpenJade itself, I cannot speak to the question of > whether it is "dead", but I use OpenSP every day. I use OpenSP parsing fed > to sgmlspl/sgmlspm for transformations of both sgml and xml document types. > > There is at least one outstanding maintenance issue with OpenSP: it > fails to parse the astral planes of unicode correctly. So far this > does not block my usage. Nonetheless, I wish someone more energetic > than I would address this issue. > > -- Bill > > > > ------------------------------------------------------------------------------ > Minimize network downtime and maximize team effectiveness. > Reduce network management and security costs.Learn how to hire > the most talented Cisco Certified professionals. Visit the > Employer Resources Portal > http://www.cisco.com/web/learning/employer_resources/index.html > _______________________________________________ > OpenJade-devel mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/openjade-devel > |
|
From: William F H. <ge...@gm...> - 2013-04-05 17:46:17
|
Answers to some of your questions:
>
> What are you seeing for these in the OpenSP ESIS? Unless they have
> resolved to CDATA, it should be possible for transformation code to
> handle them. (I'm dodging the question for DSSSL, because I don't use
> DSSSL.)
>
> KD: I don't even know what OpenSP ESIS is. I have OpenJade and a DSSSL
> file.
>
>
It's the output from onsgmls. By default SP uses the reference SGML
declaration.
An SGML declaration sets the notation, character set, and parsing rules.
Most of the time another SGML declaration is needed. There is a single
SGML declaration used with all xml document types. But most SGML
applications use custom SGML declarations. See, for
example, W3C's HTML-4. BTW a DSSSL sheet is an SGML document under a
rather baroque SGML declaration.
...
> > * Handling of <element/> tags (currently <br/> gets translated to
> > <br>></br> and comes w/ an error; > is the greater than
> > symbol)
>
> My guess is that this is the result of incorrect parsing of the xml with
> OpenSP. Without the OpenSP-provided sgml declaration for xml document
> types, <br/> will not be parsed correctly.
>
> KD: Sorry for the confusion w/ <br/>. The XML does not look like HTML.
> It was just an example. What is the OpenSP-provided SGML declaration for
> xml document types?
>
In the OpenSP distribution it is "xml.dcl" in the directory "pubtext". At
the command line
compare
echo "a<br/>b" | onsgmls
with
echo "a<br/>b" | onsgmls -c xml.soc
where "xml.soc" is the tiny SGML catalog found next to "xml.dcl".
-- Bill
--
William F Hammond
http://www.albany.edu/~hammond/
Email: ge...@gm...
|