jacobnavia
2018-10-05 20:00:15 UTC
Hi folks
I tried to install the open source package "GEDIT".
It needed a Tex package, and a Tex installation, what I did download.
But then it needs "style sheets" (whatever that may be)
It crashed during ./autogen.sh with missing xslt-stylesheets.
So, I cloned
git clone https://github.com/docbook/xslt10-stylesheets.git
OK
Bu then it says it needs perl package xml-xpath. I figured out that issuing
sudo apt-get install libxml-xpath-perl
would fix that.
Then it needed to read a file called .xmlc. After an houro so searching
I came to see an invisible fdirectory in the download of xstyle-sheets
called ".trevis" and ythere I found a xmlc file. I copied that to my
home directory and the script went a little bit further.
A package called "xerces" was needed. I found that and wen further.
I installed then a package that is called "saxon", that asked for money.
Happily there is a free version, but apparently it will not work.
1 Exception in thread "main" java.lang.NoClassDefFoundError:
com.icl.saxon.StyleSheet
2 at gnu.java.lang.MainThread.run(libgcj.so.17)
3 Caused by: java.lang.ClassNotFoundException:
com.icl.saxon.StyleSheet not found in gnu.gcj.runtime.System
ClassLoader{urls=[file:/usr/share/java/saxon.jar,file:/usr/share/java/xercesImpl.jar,file:/usr/share/java
/xml-resolver.jar],
parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
4 at java.net.URLClassLoader.findClass(libgcj.so.17)
5 at java.lang.ClassLoader.loadClass(libgcj.so.17)
6 at java.lang.ClassLoader.loadClass(libgcj.so.17)
7 at gnu.java.lang.MainThread.run(libgcj.so.17)
8 make[2]: *** [af.xml] Error 1
9 Exception in thread "main" java.lang.NoClassDefFoundError:
com.icl.saxon.StyleSheet
10 at gnu.java.lang.MainThread.run(libgcj.so.17)
11 Caused by: java.lang.ClassNotFoundException:
com.icl.saxon.StyleSheet not found in gnu.gcj.runtime.System
ClassLoader{urls=[file:/usr/share/java/saxon.jar,file:/usr/share/java/xercesImpl.jar,file:/usr/share/java
/xml-resolver.jar],
parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
I wanted to study Gedit because I want to write an editor and I thought
that I could learn it by studying the "gedit" source code, that is
advertised as an editor written in C.
Why a C program will need java/perl/xml/ etc is beyond me.
Why the documentation is mandatory? Why do I need all those megabytes of
different languages to compile a C-GTK based editor?
Mystery.
If anyone can tell me how to proceed I would be thankful.
Thanks in advance
Jacob
I tried to install the open source package "GEDIT".
It needed a Tex package, and a Tex installation, what I did download.
But then it needs "style sheets" (whatever that may be)
It crashed during ./autogen.sh with missing xslt-stylesheets.
So, I cloned
git clone https://github.com/docbook/xslt10-stylesheets.git
OK
Bu then it says it needs perl package xml-xpath. I figured out that issuing
sudo apt-get install libxml-xpath-perl
would fix that.
Then it needed to read a file called .xmlc. After an houro so searching
I came to see an invisible fdirectory in the download of xstyle-sheets
called ".trevis" and ythere I found a xmlc file. I copied that to my
home directory and the script went a little bit further.
A package called "xerces" was needed. I found that and wen further.
I installed then a package that is called "saxon", that asked for money.
Happily there is a free version, but apparently it will not work.
1 Exception in thread "main" java.lang.NoClassDefFoundError:
com.icl.saxon.StyleSheet
2 at gnu.java.lang.MainThread.run(libgcj.so.17)
3 Caused by: java.lang.ClassNotFoundException:
com.icl.saxon.StyleSheet not found in gnu.gcj.runtime.System
ClassLoader{urls=[file:/usr/share/java/saxon.jar,file:/usr/share/java/xercesImpl.jar,file:/usr/share/java
/xml-resolver.jar],
parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
4 at java.net.URLClassLoader.findClass(libgcj.so.17)
5 at java.lang.ClassLoader.loadClass(libgcj.so.17)
6 at java.lang.ClassLoader.loadClass(libgcj.so.17)
7 at gnu.java.lang.MainThread.run(libgcj.so.17)
8 make[2]: *** [af.xml] Error 1
9 Exception in thread "main" java.lang.NoClassDefFoundError:
com.icl.saxon.StyleSheet
10 at gnu.java.lang.MainThread.run(libgcj.so.17)
11 Caused by: java.lang.ClassNotFoundException:
com.icl.saxon.StyleSheet not found in gnu.gcj.runtime.System
ClassLoader{urls=[file:/usr/share/java/saxon.jar,file:/usr/share/java/xercesImpl.jar,file:/usr/share/java
/xml-resolver.jar],
parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
I wanted to study Gedit because I want to write an editor and I thought
that I could learn it by studying the "gedit" source code, that is
advertised as an editor written in C.
Why a C program will need java/perl/xml/ etc is beyond me.
Why the documentation is mandatory? Why do I need all those megabytes of
different languages to compile a C-GTK based editor?
Mystery.
If anyone can tell me how to proceed I would be thankful.
Thanks in advance
Jacob