I found no slackware package for the recent pdfmod, so I used the dep package, created mono-2.10.8.1-i486-1sl.xzm from txz and pdfmod_0.9.1-7_all.xzm from the deb.# Mono (Free .NET Development Framework)
#
# Mono provides the necessary software to develop and run .NET client
# and server applications on Linux, Solaris, Mac OS X, Windows, and
# Unix. Sponsored by Novell, the Mono open source project has an
# active and enthusiastic contributing community and is positioned to
# become the leading choice for development of Linux applications.
Sadly, I get an error running pdfmod:
Code: Select all
$ pdfmod
Missing method set_ProgramClass in assembly /usr/lib/pdfmod/PdfMod.exe, type Gdk.Global
Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'gdk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f' or one of its dependencies.
File name: 'gdk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f'
[ERROR] FATAL UNHANDLED EXCEPTION: System.IO.FileNotFoundException: Could not load file or assembly 'gdk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f' or one of its dependencies.
File name: 'gdk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f'
These are the modules I used / created, concerning the deps for pdfmod:
Code: Select all
gtk-sharp-2.12.11-i486-1sl.xzm
mono-2.10.8.1-i486-1sl.xzm
pdfmod_0.9.1-7_all.xzm
Code: Select all
Initializing i18n catalog from /usr/share/locale/
Unhandled Exception: System.TypeLoadException: A type load exception has occurred.
at PdfMod.PdfMod.Main (System.String[] args) [0x00000] in <filename unknown>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeLoadException: A type load exception has occurred.
at PdfMod.PdfMod.Main (System.String[] args) [0x00000] in <filename unknown>:0
Code: Select all
root@porteus:/xx# rpm2xzm libmono-2_0-1-2.10.2-36.1.i586.rpm libmono-2_0-1-2.10.2-36.1.i586.xzm
ERROR: rpm2cpio failed. (maybe libmono-2_0-1-2.10.2-36.1.i586.rpm is not an RPM?)
Cannot install /xx/libmono-2_0-1-2.10.2-36.1.i586.txz: file not found
error installing package
rm: cannot remove ‘/xx/libmono-2_0-1-2.10.2-36.1.i586.txz’: No such file or directory
Module creation failed!
root@porteus:/xx# rpm2txz libmono-2_0-1-2.10.2-36.1.i586.rpm libmono-2_0-1-2.10.2-36.1.i586.txz
ERROR: rpm2cpio failed. (maybe libmono-2_0-1-2.10.2-36.1.i586.rpm is not an RPM?)
ERROR: rpm2cpio failed. (maybe libmono-2_0-1-2.10.2-36.1.i586.txz is not an RPM?)
root@porteus:/xx# file libmono-2_0-1-2.10.2-36.1.i586.rpm
libmono-2_0-1-2.10.2-36.1.i586.rpm: RPM v3.0 bin i386/x86_64