LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   installing mono on linux (https://www.linuxquestions.org/questions/linux-newbie-8/installing-mono-on-linux-4175454287/)

thunder2006 03-16-2013 03:25 AM

installing mono on linux
 
Hello,

I was trying to open windows .exe file one Linux and jdkaye told me that i can try to use wine to do that.
Now the host installed wine for me and it should be working now, But when i try to open my file i get that msgs :-
Quote:

[root@server ~]# wine spotter.exe
wine: created the configuration directory '/root/.wine'
Application tried to create a window, but no driver could be loaded.
Make sure that your X server is running and that $DISPLAY is set correctly.
err:systray:initialize_systray Could not create tray window
Application tried to create a window, but no driver could be loaded.
Make sure that your X server is running and that $DISPLAY is set correctly.
Application tried to create a window, but no driver could be loaded.
Make sure that your X server is running and that $DISPLAY is set correctly.
Application tried to create a window, but no driver could be loaded.
Make sure that your X server is running and that $DISPLAY is set correctly.
Application tried to create a window, but no driver could be loaded.
Make sure that your X server is running and that $DISPLAY is set correctly.
Could not load wine-gecko. HTML rendering will be disabled.
wine: configuration in '/root/.wine' has been updated.
wine: Install Mono 2.8 or greater for Windows to run .NET 4.0 applications.
So i searched to install Mono 2.8 or greater for Windows to run .NET 4.0 applications and found that link to guide me :-
http://jmainguy.com/index.php/instal...tos-linux-6-3/

But on the setp before installing it i got that Error :-
Quote:

[root@server mono-3.0.1]# ./configure --prefix=/opt/mono
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking how to create a ustar tar archive... gnutar
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether ln -s works... yes
checking host platform characteristics... ok
checking for gcc... no
checking for gcc... gcc
checking whether the C compiler works... no
configure: error: in `/root/mono-3.0.1':
configure: error: C compiler cannot create executables
See `config.log' for more details
So is there is any help how i can solve that problem plz ??

thunder2006 03-16-2013 06:32 PM

Is there any one can help me ??

knudfl 03-17-2013 01:15 AM

Post #2 marks the thread as answered : Your question will not appear any more.


Please start here
http://www.linuxquestions.org/linux/...Ask_a_Question
http://linuxsilo.net/docs/smart-questions_en.html
I.e. you are supposed to tell which Linux OS you are using.
Like CentOS 6 - 32bit, Fedora 18 - 64bit, Slackware 14, etc.

Your errors : Wine will not run as root.
Applications are not supposed to run as root.

Mono : Please see the "Package install documentation" for your OS.
It's like # yum install mono* ; Or # apt-get install mono-2.0-devel

Building applications (mono) :
The build prerequisites must be installed beforehand.
"Development Tools", "build-essential", etc.
(No gcc/g++, no autotools/libtool etc. means you cannot compile anything.)

-


All times are GMT -5. The time now is 12:22 AM.