Change font size
It is currently Thu Mar 23, 2017 3:10 pm

Forum rules


Image
. please keep questions related to an OpenSimulator and OSgrid nature.



Post a new topicPost a reply Page 1 of 1   [ 10 posts ]
Author Message
 Post subject: NOTES/COMMENTS: Compile Mono 3.0.3 source [Universal *nix]
PostPosted: Wed Jan 16, 2013 11:33 am 
Site Admin
User avatar

Joined: Sat Feb 02, 2008 5:27 pm
Posts: 843
I didnt want to flood the main posting out for Mono-3.0.3 instructions so I am moving all comments to this channel.
http://forums.osgrid.org/viewtopic.php?f=14&t=4625


Top
 Profile  
 
 Post subject: Re: NOTES/COMMENTS: Compile Mono 3.0.3 source [Universal *nix]
PostPosted: Wed Jan 16, 2013 2:59 pm 
Site Admin
User avatar

Joined: Sat Feb 02, 2008 5:27 pm
Posts: 843
I went through the entire instruction set on Kubuntu 12.10 even got monodevelop working I adjusted the directions there was a bunch missing to get monodevelop working proper.


Top
 Profile  
 
 Post subject: Re: NOTES/COMMENTS: Compile Mono 3.0.3 source [Universal *nix]
PostPosted: Wed Jan 16, 2013 6:16 pm 
Furious Typer
User avatar

Joined: Fri Aug 19, 2011 7:10 pm
Posts: 209
Location: UK
You don't need monodevelop (unless you are planning on writing your own extension) - just mono is enough for opensim.

_________________
50's sim based at Rumbled on OSGrid
happily running on Debian Linux on a VPS for 4 years +


Top
 Profile  
 
 Post subject: Re: NOTES/COMMENTS: Compile Mono 3.0.3 source [Universal *nix]
PostPosted: Wed Jan 16, 2013 6:30 pm 
Site Admin
User avatar

Joined: Sat Feb 02, 2008 5:27 pm
Posts: 843
right, in fact after experiencing some issues with monodevelop i have since pulled it from these instructions until we can get it working more reliably hopefully next version of mono!


Top
 Profile  
 
 Post subject: Re: NOTES/COMMENTS: Compile Mono 3.0.3 source [Universal *nix]
PostPosted: Tue Jan 29, 2013 11:09 am 

Joined: Mon Apr 30, 2012 9:02 pm
Posts: 3
Successfully compiled on CentOS 6/EL6.

Had to make sure mono 2.10 was installed and just keep hitting make when errors popped up.


Top
 Profile  
 
 Post subject: Re: NOTES/COMMENTS: Compile Mono 3.0.3 source [Universal *nix]
PostPosted: Tue Jan 29, 2013 4:16 pm 
Furious Typer
User avatar

Joined: Fri Aug 19, 2011 7:10 pm
Posts: 209
Location: UK
I built it without issue on Arch - but there's an AUR package - all I had to do was install mono-git :)

_________________
50's sim based at Rumbled on OSGrid
happily running on Debian Linux on a VPS for 4 years +


Top
 Profile  
 
 Post subject: Re: NOTES/COMMENTS: Compile Mono 3.0.3 source [Universal *nix]
PostPosted: Thu May 16, 2013 1:43 am 

Joined: Thu May 16, 2013 1:41 am
Posts: 1
Spectre Draconia wrote:
Successfully compiled on CentOS 6/EL6.

Had to make sure mono 2.10 was installed and just keep hitting make when errors popped up.


http://download.opensuse.org/repositori ... o:EL6.repo


Top
 Profile  
 
 Post subject: Re: NOTES/COMMENTS: Compile Mono 3.0.3 source [Universal *nix]
PostPosted: Sat Sep 07, 2013 2:37 pm 

Joined: Tue May 14, 2013 6:05 am
Posts: 2
Mono 3.2.1 works fine for my SIMs on CentOS 6.4.

To build on i686 or x86_64 architectures of CentOS6, Scientific Linux and probably other RHEL6 clones use the following instructions. It works for all revisions of mono since 3.0.

Start with a minimal install or with whatever your server comes with:

Code:
yum -y update
yum -y install libpng-devel libexif-devel libjpeg-devel giflib-devel gettext make
yum -y install fontconfig-devel glib2-devel libX11-devel libtiff-devel gcc-c++

# workaround for a bug in several mono makefiles
# see http://mono.1490590.n4.nabble.com/Can-t-seem-to-compile-gdiplus-from-svn-td1549340.html
export echo=echo

# don't install into a system directory as we don't follow RHEL conventions on 64bit systems
export INST_PATH=/opt/opensim/mono-3.2.1

curl --get http://download.mono-project.com/sources/libgdiplus/libgdiplus-2.10.9.tar.bz2 | tar xjf -
cd libgdiplus-2.10.9
./configure --prefix=${INST_PATH}
make && make install
cd ..

curl --get http://download.mono-project.com/sources/mono/mono-3.2.1.tar.bz2 | tar xjf -
cd mono-3.2.1
./configure --prefix=${INST_PATH}
make && make install
cd ..

# tell ld about the libraries
/sbin/ldconfig ${INST_PATH}/lib

# to make ld configuration permanent use
echo "${INST_PATH}/lib" > /etc/ld.so.conf.d/mono-3.2.1.conf
/sbin/ldconfig

It requires root privileges. Use sudo where appropriate when you want to compile without.

_________________
xmpp:cbalhaus@xmpp.h24g.com


Top
 Profile  
 
 Post subject: Re: NOTES/COMMENTS: Compile Mono 3.0.3 source [Universal *nix]
PostPosted: Thu Dec 05, 2013 10:25 am 
Furious Typer

Joined: Sun Nov 22, 2009 5:28 pm
Posts: 68
Did anybody try to compile mono 4.2.5 on opensuse 13.1 ?
Or better tried to compile libgdiplus. compile fail here with error.
Sofar i have found its maby something with latest libgif version,
but yast dont have older version available.

Code:
                     ^
In file included from gifcodec.c:38:0:
/usr/include/gif_lib.h:129:14: note: previous declaration of 'EGifOpen' was here
GifFileType *EGifOpen(void *userPtr, OutputFunc writeFunc, int *Error);
              ^
gifcodec.c: In function 'AddExtensionBlockMono':
gifcodec.c:125:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
  ep->Bytes = (char *)GdipAlloc(ep->ByteCount);
            ^
gifcodec.c:132:21: error: 'SavedImage' has no member named 'Function'
   ep->Function = New->Function;
                     ^
gifcodec.c: In function 'DGifSlurpMono':
gifcodec.c:235:45: error: 'SavedImage' has no member named 'Function'
     if (DGifGetExtension(GifFile, &temp_save.Function, &ExtData) == GIF_ERROR) {
                                             ^
gifcodec.c:248:15: error: 'SavedImage' has no member named 'Function'
      temp_save.Function = 0;
               ^
gifcodec.c: In function 'gdip_load_gif_image':
gifcodec.c:307:3: error: too few arguments to function 'DGifOpen'
   gif = DGifOpen(stream, &gdip_gif_fileinputfunc);
   ^
In file included from gifcodec.c:38:0:
/usr/include/gif_lib.h:181:14: note: declared here
GifFileType *DGifOpen(void *userPtr, InputFunc readFunc, int *Error);    /* new one (TVT) */
              ^
gifcodec.c:309:3: error: too few arguments to function 'DGifOpen'
   gif = DGifOpen (stream, &gdip_gif_inputfunc);
   ^
In file included from gifcodec.c:38:0:
/usr/include/gif_lib.h:181:14: note: declared here
GifFileType *DGifOpen(void *userPtr, InputFunc readFunc, int *Error);    /* new one (TVT) */
              ^
gifcodec.c: In function 'gdip_save_gif_image':
gifcodec.c:664:3: error: too few arguments to function 'EGifOpenFileName'
   fp = EGifOpenFileName (stream, 0);
   ^
In file included from gifcodec.c:38:0:
/usr/include/gif_lib.h:126:14: note: declared here
GifFileType *EGifOpenFileName(const char *GifFileName,
              ^
gifcodec.c:705:5: warning: implicit declaration of function 'MakeMapObject' [-Wimplicit-function-declaration]
     cmap = MakeMapObject(cmap_size, 0);
     ^
gifcodec.c:705:10: warning: assignment makes pointer from integer without a cast [enabled by default]
     cmap = MakeMapObject(cmap_size, 0);
          ^
gifcodec.c:796:11: warning: assignment makes pointer from integer without a cast [enabled by default]
     cmap  = MakeMapObject (cmap_size, 0);
           ^
gifcodec.c:827:5: warning: implicit declaration of function 'QuantizeBuffer' [-Wimplicit-function-declaration]
     if (QuantizeBuffer(bitmap_data->width, bitmap_data->height, &cmap_size,
     ^
gifcodec.c:833:4: warning: implicit declaration of function 'BitSize' [-Wimplicit-function-declaration]
    cmap->BitsPerPixel = BitSize (cmap_size);
    ^
gifcodec.c:851:7: warning: implicit declaration of function 'EGifPutExtensionFirst' [-Wimplicit-function-declaration]
       EGifPutExtensionFirst(fp, APPLICATION_EXT_FUNC_CODE, 11, "NETSCAPE2.0");
       ^
gifcodec.c:852:7: warning: implicit declaration of function 'EGifPutExtensionLast' [-Wimplicit-function-declaration]
       EGifPutExtensionLast(fp, APPLICATION_EXT_FUNC_CODE, 3, Buffer);
       ^
gifcodec.c:904:4: warning: implicit declaration of function 'FreeMapObject' [-Wimplicit-function-declaration]
    FreeMapObject (cmap);
    ^
make[2]: *** [gifcodec.lo] Error 1
make[2]: Leaving directory `/home/rrgrid/source/libgdiplus/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/rrgrid/source/libgdiplus'
make: *** [all] Error 2


Top
 Profile  
 
 Post subject: Re: NOTES/COMMENTS: Compile Mono 3.0.3 source [Universal *nix]
PostPosted: Mon Apr 07, 2014 10:59 am 

Joined: Mon Apr 07, 2014 10:51 am
Posts: 2
sorry to say, but i got no better results with mono 3. i've used opensim with mono 2.10 as well..
the only difference i can see is that the machine talks much more then bevor.

any suggestions?

fine

edit: and much PUT FAILED arround.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post a new topicPost a reply Page 1 of 1   [ 10 posts ]


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron


Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
610nm Style by Daniel St. Jules of Gamexe.net