pdfmod + mono + gtksharp

If you are looking for a specific 32-bit package and you can't find it in any of the 32-bit repos, please post a request for it here.
Post Reply
User avatar
Rava
Contributor
Contributor
Posts: 1319
Joined: 11 Jan 2011, 02:46
Distribution: Porteus 3.1.0 x86-64 XFCe
Location: Germany

pdfmod + mono + gtksharp

Post#1 by Rava » 14 May 2013, 10:35

I tried creating a pdfmod module, and a mono module since it needs mono:
# 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.
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.

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'
I got no google hits for "Missing method set_ProgramClass in assembly /usr/lib/pdfmod/PdfMod.exe, type Gdk.Global", not even for Missing method set_ProgramClass in assembly "type Gdk.Global"...

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
After activating gtk-sharp as well I get this error:

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 
I tried to convert libmono-2_0-1-2.10.2-36.1.i586.rpm but I only get errors:

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
Any ideas? Do rpm2tzm or rpm2tgz need some stuff from 005-devel?
Cheers!
Yours Rava

User avatar
brokenman
Site Admin
Site Admin
Posts: 5436
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v3.2rcX all desktops
Location: Brazil
Contact:

Re: pdfmod + mono + gtksharp

Post#2 by brokenman » 15 May 2013, 01:25

005-devel? Are you running 32bit porteus?
How do i become super user?
Wear your underpants on the outside and put on a cape.

User avatar
Hamza
Warlord
Warlord
Posts: 1846
Joined: 28 Dec 2010, 07:41
Distribution: Porteus
Location: France

Re: pdfmod + mono + gtksharp

Post#3 by Hamza » 15 May 2013, 04:57

Are you running 32bit porteus?
Have a look at topic's location.
NjVFQzY2Rg==

User avatar
Rava
Contributor
Contributor
Posts: 1319
Joined: 11 Jan 2011, 02:46
Distribution: Porteus 3.1.0 x86-64 XFCe
Location: Germany

Re: pdfmod + mono + gtksharp

Post#4 by Rava » 15 May 2013, 05:27

brokenman wrote:005-devel? Are you running 32bit porteus?
My bad, it is 32 bit Port 2.0 finale, and I forgot that now it is called 007-devel...

I activated 007-devel as well, but still get this error:
[1 Debug 07:26:15.549] Starting PdfMod 0.9.1
[1 Debug 07:26:15.598] 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
I only tried running pdfmod after activating 007-devel, but now I cannot deactivate 007-devel:

Code: Select all

root@porteus:/usr/local/bin# deactivate 007-devel.xzm
007-devel.xzm: The module can't be removed, because it's busy (used).
Acts more like 007-devil... I don't see any running programs with ps ax... What other ways do I have to check why it won't deactivate; how can I deactivate 007-devil? This very system is a bit low when it comes to RAM, therefore I tend to only have modules activated that I really need...

(I deactivated all 3 pdfmod related modules, too...)
Last edited by Rava on 15 May 2013, 05:34, edited 1 time in total.
Cheers!
Yours Rava

User avatar
Hamza
Warlord
Warlord
Posts: 1846
Joined: 28 Dec 2010, 07:41
Distribution: Porteus
Location: France

Re: pdfmod + mono + gtksharp

Post#5 by Hamza » 15 May 2013, 05:31

Please try with this.
NjVFQzY2Rg==

User avatar
Rava
Contributor
Contributor
Posts: 1319
Joined: 11 Jan 2011, 02:46
Distribution: Porteus 3.1.0 x86-64 XFCe
Location: Germany

Re: pdfmod + mono + gtksharp

Post#6 by Rava » 15 May 2013, 05:52

Now I activated these:

Code: Select all

gtk-sharp-2.12.11-i486-1sl.xzm
libmono-2_0-1-2.10.9-7.104.i586.xzm
mono-2.10.8.1-i486-1sl.xzm
pdfmod_0.9.1-7_all.xzm
but still get this error:

Code: Select all

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
Cheers!
Yours Rava

User avatar
Hamza
Warlord
Warlord
Posts: 1846
Joined: 28 Dec 2010, 07:41
Distribution: Porteus
Location: France

Re: pdfmod + mono + gtksharp

Post#7 by Hamza » 15 May 2013, 11:28

That is a generic error. How did you run pdfmod ?
NjVFQzY2Rg==

User avatar
RamonTavarez
Contributor
Contributor
Posts: 81
Joined: 14 Mar 2011, 12:00
Distribution: 32 bit, KDE
Location: Dominican Republic

Re: pdfmod + mono + gtksharp

Post#8 by RamonTavarez » 15 May 2013, 14:13

Hi:

Here you can find and download mono 2.11: http://www.adrive.com/public/eQM5xD/mono-2.11.4.xzm.

it's already a Porteus module.

I hope it can be usefull for you!
Ramón E. Tavárez

User avatar
Rava
Contributor
Contributor
Posts: 1319
Joined: 11 Jan 2011, 02:46
Distribution: Porteus 3.1.0 x86-64 XFCe
Location: Germany

Re: pdfmod + mono + gtksharp

Post#9 by Rava » 15 May 2013, 21:03

Hamza wrote:That is a generic error. How did you run pdfmod ?
Since nothing happened when starting pdfmod from the menu, I started it via terminal to see any possible errors...
Cheers!
Yours Rava

User avatar
Rava
Contributor
Contributor
Posts: 1319
Joined: 11 Jan 2011, 02:46
Distribution: Porteus 3.1.0 x86-64 XFCe
Location: Germany

Re: pdfmod + mono + gtksharp

Post#10 by Rava » 16 May 2013, 04:07

I also used mono-3.0.0-i486-1sl.xzm instead of 2.10, but the same errors occurs. Therefore I presume same would happen with 2.11...
Cheers!
Yours Rava

Post Reply