[Mono-list] Compile Mono from Source

gep13 gep13 at hotmail.com
Mon Oct 13 01:23:57 EDT 2008


Hey lekamn,

I have tried following the steps in the link that you provided, and this is
what I am using:

wget ftp://ftp.gnu.org/gnu/bison/bison-2.3.tar.gz
tar -xzvf bison-2.3.tar.gz
cd bison-2.3
./configure
make
make install (must be root for that)

wget ftp://ftp.gnu.org/gnu/gettext/gettext-0.17.tar.gz
tar -xzvf gettext-0.17.tar.gz
cd gettext-0.17
./configure
make
make install (must be root for that)

wget http://ftp.gnome.org/pub/gnome/sources/glib/2.18/glib-2.18.1.tar.gz
tar -xzvf glib-2.18.1.tar.gz
cd glib-2.18.1
./configure

********
configure: error: *** pkg-config too old; version 0.16 or better required.
********

wget http://pkgconfig.freedesktop.org/releases/pkg-config-0.23.tar.gz
tar -xzvf pkg-config-0.23.tar.gz
cd pkg-config-0.23
./configure
make
make install (must be root for that)

cd ..
cd glib-2.18.1
./configure
make
make install

wget
http://ftp.novell.com/pub/mono/sources/libgdiplus/libgdiplus-2.0.tar.bz2
tar xvfj libgdiplus-2.0.tar.bz2
cd libgdiplus-2.0
./configure

********
configure: error: *** libpng12 not found. See
http://www.libpng.org/pub/png/libpng.html.
********

wget
http://prdownloads.sourceforge.net/libpng/libpng-1.2.32.tar.bz2?download
tar xvfj libpng-1.2.32.tar.bz2
cd libpng-1.2.32
./configure
make
make install (must be root for that)

cd ..
cd libgdiplus-2.0
./configure

********
configure: error: "Failed to compile with X11/Xlib.h include.  You must fix
your compiler paths"
********

Have you got any thoughts on what is going wrong with the above?

Thanks

Gary

lekamm wrote:
> 
> You will find detailled compilation/installation instructions for Mono
> here :
> 
> http://www.blardone.org/2008/10/12/compile-install-mono-20-on-linux-potentially-unix-macosx/
> 
> Don't hesitate to comment this blog if you have any unsolved issues during
> the process.
> 
> 
> 
> gep13 wrote:
>> 
>> Hey,
>> 
>> Version 1.9.1 of mono was included in pre-compiled binaries that I could
>> use on my RHEL box, but those binaries are no longer available, and I
>> have to try and compile from source.
>> 
>> Is it possible for someone to post a list of steps that I should follow
>> in order to do this?
>> 
>> I am aware of the following  http://www.mono-project.com/Compiling_Mono
>> page  and I have attempted to follow it, but I get errors regarding
>> dependencies.
>> 
>> Is there a particular order that I need to install the core components? I
>> have installed glib and pkgconfig, are there any other core components
>> that I need?
>> 
>> I am trying to get mono installed, along with mod_mono and xsp.  Any help
>> would be very much appreciated. 
>> 
>> Thanks
>> 
>> Gary
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Compile-Mono-from-Source-tp19924535p19949025.html
Sent from the Mono - General mailing list archive at Nabble.com.



More information about the Mono-list mailing list