Compile problems on Linux/Unix

Stefan Armbruster <[email protected]>
Newsgroups gmane.comp.java.enhydra.barracuda.general
Message-ID <[email protected]>
Hi,

I encountered some compilation problems. The reason for this are some
changes from 2003/08/15 regarding absolute paths. E.g.
src/org/enhydra/barracuda/tutorials/xmlc/tutorials.xcat contains a
reference to file:/xlib/dtds/HelloWorld3.dtd. Note the first "/" here.
On Unix systems this refers to a absolute local file name
/xlib/dtds/HelloWorld3.dtd. 
For Unix the correct URL would be file:xlib/dtds/HelloWorld3.dtd, which
is relative to the current directory (src).

I've attached a diff file containing removal of the first "/" in some
files in order to compile fine on Linux.

Before applying it to CVS, someone should check if the patch is
compatible with Micro$oft OSes, since I don't have one, it's up to you.

Since the Unix/Linux bug is part of Barracuda 1.2.5 we should consider
releasing a 1.2.6.

Regards,
Stefan
barracuda_20030825.diff (text/x-patch, 1.7 KB)
Index: src/org/enhydra/barracuda/tutorials/xmlc/HelloWorld3.xmlc
===================================================================
RCS file: /var/cvs/Barracuda/src/org/enhydra/barracuda/tutorials/xmlc/HelloWorld3.xmlc,v
retrieving revision 1.2
diff -r1.2 HelloWorld3.xmlc
1c1
< -xcatalog file:/org/enhydra/barracuda/tutorials/xmlc/tutorials.xcat
---
> -xcatalog file:org/enhydra/barracuda/tutorials/xmlc/tutorials.xcat
Index: src/org/enhydra/barracuda/tutorials/xmlc/HelloWorld3a.xmlc
===================================================================
RCS file: /var/cvs/Barracuda/src/org/enhydra/barracuda/tutorials/xmlc/HelloWorld3a.xmlc,v
retrieving revision 1.2
diff -r1.2 HelloWorld3a.xmlc
1c1
< -xcatalog file:/org/enhydra/barracuda/tutorials/xmlc/tutorials.xcat
---
> -xcatalog file:org/enhydra/barracuda/tutorials/xmlc/tutorials.xcat
Index: src/org/enhydra/barracuda/tutorials/xmlc/Visibility2.xmlc
===================================================================
RCS file: /var/cvs/Barracuda/src/org/enhydra/barracuda/tutorials/xmlc/Visibility2.xmlc,v
retrieving revision 1.2
diff -r1.2 Visibility2.xmlc
1c1
< -xcatalog file:/org/enhydra/barracuda/tutorials/xmlc/tutorials.xcat
---
> -xcatalog file:org/enhydra/barracuda/tutorials/xmlc/tutorials.xcat
Index: src/org/enhydra/barracuda/tutorials/xmlc/tutorials.xcat
===================================================================
RCS file: /var/cvs/Barracuda/src/org/enhydra/barracuda/tutorials/xmlc/tutorials.xcat,v
retrieving revision 1.2
diff -r1.2 tutorials.xcat
12c12
<     <Map PublicID="-//Enhydra Barracuda//DTD Groceries 1.0//EN" HRef="file:/xlib/dtds/HelloWorld3.dtd" />
---
>     <Map PublicID="-//Enhydra Barracuda//DTD Groceries 1.0//EN" HRef="file:xlib/dtds/HelloWorld3.dtd" />
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.