SMath Studio Forum
»
SMath Studio
»
Questions
»
Problem with the Linux Installation
Rank: Newbie
Groups: Registered
Joined: 29/03/2010(UTC) Posts: 5 Location: Aberdeen, WA, USA
|
I downloaded the tarball for Linux, but after extracting it will not compile. It seems that it has already been compiled for Windows because it has an exe file. Am I doing something wrong or did somebody zip up the wrong file?
Bob
|
|
|
|
Rank: Administration Groups: Developers, Registered, Knovel Developers, Administrators, Advanced Member Joined: 11/07/2008(UTC) Posts: 1,616 Was thanked: 1978 time(s) in 666 post(s)
|
Hello. There are already built binaries in the tar.gz - you do not need to compile anything. You just have to run exe file using Mono.
Regards.
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 29/03/2010(UTC) Posts: 5 Location: Aberdeen, WA, USA
|
I tried running it from a terminal window, and I received the following error message:
[root@localhost SMathStudioDesktop.0_87.Mono]# mono SMathStudio_Desktop.exe
** (SMathStudio_Desktop.exe:7805): WARNING **: The following assembly referenced from /home/bob/Downloads/SMathStudioDesktop.0_87.Mono/SMathStudio_Desktop.exe c ould not be loaded: Assembly: System.Windows.Forms (assemblyref_index=0) Version: 2.0.0.0 Public Key: b77a5c561934e089 The assembly was not found in the Global Assembly Cache, a path listed in the MO NO_PATH environment variable, or in the location of the executing assembly (/hom e/bob/Downloads/SMathStudioDesktop.0_87.Mono/).
** (SMathStudio_Desktop.exe:7805): WARNING **: Could not load file or assembly ' System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561 934e089' or one of its dependencies.
** (SMathStudio_Desktop.exe:7805): WARNING **: Missing method EnableVisualStyles in assembly /home/bob/Downloads/SMathStudioDesktop.0_87.Mono/SMathStudio_Deskto p.exe, type System.Windows.Forms.Application
Unhandled Exception: System.IO.FileNotFoundException: Could not load file or ass embly 'System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b7 7a5c561934e089' or one of its dependencies. File name: 'System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyTok en=b77a5c561934e089' [root@localhost SMathStudioDesktop.0_87.Mono]#
What am I doing wrong?
Bob
|
|
|
|
Rank: Member Groups: Registered
Joined: 29/03/2010(UTC) Posts: 13 Location: Denmark
|
Have you installed mono WinForms libs?
/C
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 29/03/2010(UTC) Posts: 5 Location: Aberdeen, WA, USA
|
I located and installed mono-winforms, and then I got the following result.
[root@localhost SMathStudioDesktop.0_87.Mono]# mono SMathStudio_Desktop.exe Xlib: extension "Generic Event Extension" missing on display ":0.0". Xlib: extension "Generic Event Extension" missing on display ":0.0". Xlib: extension "Generic Event Extension" missing on display ":0.0". Xlib: extension "Generic Event Extension" missing on display ":0.0". Xlib: extension "Generic Event Extension" missing on display ":0.0". Xlib: extension "Generic Event Extension" missing on display ":0.0". /root/.gtkrc-2.0:56: Clearlooks configuration option "menuitemstyle" is not supported and will be ignored. /root/.gtkrc-2.0:57: Clearlooks configuration option "listviewitemstyle" is not supported and will be ignored. /root/.gtkrc-2.0:58: Clearlooks configuration option "progressbarstyle" is not supported and will be ignored. [root@localhost SMathStudioDesktop.0_87.Mono]#
I couldn't find anything in the repository labeled Xlib.
Bob
|
|
|
|
Rank: Member Groups: Registered
Joined: 29/03/2010(UTC) Posts: 13 Location: Denmark
|
As far as I can tell the "Xlib: extension "Generic Event Extension" missing on display ":0.0"." line is just a warning and should be ignored, although you might be able to fix it by installing 'libxcb-event0' See if this doesn't fix the last three lines: http://fvue.nl/wiki/Clea...rted_and_will_be_ignored
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 29/03/2010(UTC) Posts: 5 Location: Aberdeen, WA, USA
|
Claws wrote:As far as I can tell the "Xlib: extension "Generic Event Extension" missing on display ":0.0"." line is just a warning and should be ignored, although you might be able to fix it by installing 'libxcb-event0' See if this doesn't fix the last three lines: http://fvue.nl/wiki/Clea...rted_and_will_be_ignored No, that didn't help. The file it talks about (/usr/share/themes/LegacyHuman/gtk-2.0/gtkrc: ) is not on my system. The version of Linux that I'm using is PCLinuxOS 2009. Bob
|
|
|
|
Rank: Member Groups: Registered
Joined: 29/03/2010(UTC) Posts: 13 Location: Denmark
|
No, you should check the /root/.gtkrc-2.0 file instead
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 29/03/2010(UTC) Posts: 5 Location: Aberdeen, WA, USA
|
Claws wrote:No, you should check the /root/.gtkrc-2.0 file instead The file is not in root, but I did find it as hdb6/bob/.gtkrc-2.0. That section of the file is not an exact match for the one you referenced. This is what I have. engine "clearlooks" { # scrollbar_color = "#f2f3ed" menubarstyle = 0 # 0 = flat, 1 = sunken, 2 = flat gradient menuitemstyle = 1 # 0 = flat, 1 = 3d-ish (gradient), 2 = 3d-ish (button) listviewitemstyle = 1 # 0 = flat, 1 = 3d-ish (gradient) progressbarstyle = 1 # 0 = candy bar, 1 = fancy candy bar, 2 = flat animation = FALSE } The only change that I could see was to change the menubarstyle from 1 to 0. I can't see any difference in the way it operates. I can run SMath from a terminal window using mono, or I can double click on the .exe file in Konqueror and then open it with mono. The Windows version puts an icon on the desktop, but I haven't been able to get one in PCLOS. Bob
|
|
|
|
SMath Studio Forum
»
SMath Studio
»
Questions
»
Problem with the Linux Installation
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.