LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 03-19-2013, 04:47 AM   #1
qrpengx
LQ Newbie
 
Registered: Mar 2008
Posts: 7

Rep: Reputation: 0
How to create a mono 3.0 RPM package


hi~
I recently found myself needing to build Mono 3.0 for CentOS 6.
Because there are currently no Mono 3.0 RPMs that I could find
How to create a mono 3.0 RPM package
 
Old 03-19-2013, 11:01 AM   #2
eklavya
Member
 
Registered: Mar 2013
Posts: 590

Rep: Reputation: 131Reputation: 131
Code:
yum -y update
yum -y install glib2-devel
yum -y install libpng-devel
yum -y install libjpeg-devel 
yum -y install giflib-devel 
yum -y install libtiff-devel 
yum -y install libexif-devel 
yum -y install libX11-devel 
yum -y install fontconfig-devel 
yum -y install gettext 
yum -y install make 
yum -y install gcc-c++
Code:
export echo=echo

# build libgdiplus
curl -O http://download.mono-project.com/sources/libgdiplus/libgdiplus-2.10.9.tar.bz2
bunzip2 libgdiplus-2.10.9.tar.bz2
tar xvf libgdiplus-2.10.9.tar
cd libgdiplus-2.10.9
./configure --prefix=/usr/local
make
make install

# build mono
curl -O http://download.mono-project.com/sources/mono/mono-3.0.0.tar.bz2
bunzip2 mono-3.0.0.tar.bz2
tar xvf mono-3.0.0.tar
cd mono-3.0.0
./configure --prefix=/usr/local
make
make install
Code:
# tell binfmt how to launch CLR executables
echo ':CLR:M::MZ::/usr/local/bin/mono:' > /proc/sys/fs/binfmt_misc/register


---------- Post added 03-19-13 at 10:02 AM ----------

If you are still facing problems, try this.
http://jmainguy.com/index.php/instal...tos-linux-6-3/
 
  


Reply

Tags
mono


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to create rpm package (.sh file to rpm package) kirthan Linux - Software 2 02-19-2013 05:35 AM
How to create RPM for RHEL 6 to deploy a Mono Binary, with Mono 2.8.2 as a dependency bmoran Linux - Software 2 06-04-2012 10:53 AM
You can create your own RPM package mike_rhce Linux - Certification 2 07-11-2011 03:35 PM
how to create .rpm package shalin Programming 1 07-13-2004 11:12 AM
how to create RPM Package shalin Programming 0 03-10-2004 12:04 AM


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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration