How To: Compile Mono for FastCGI & Nginx in Ubuntu 11.10

So if you want to install mono from the comfort of apt-get you can look forward to something like version 2.10 which means that the latest and greatest MVC projects wont work, you’ll run into async issues, and a bunch of other stuff so it’s time to get down and dirty with the mono source code.

Get dependencies

sudo apt-get install build-essential autoconf automake \
bison flex gtk-sharp2-gapi boo gdb valac libfontconfig1-dev \
libcairo2-dev libpango1.0-dev libfreetype6-dev libexif-dev \
libtiff4-dev libgif-dev zlib1g-dev libatk1.0-dev libjpeg8-dev \
libjpeg-turbo8-dev libglib2.0-dev libgtk2.0-dev libglade2-dev \
libart-2.0-dev libgnomevfs2-dev libgnome-desktop-dev \
libgnome2-dev libgnomecanvas2-dev libgnomeui-dev libgnomeprint2.2-dev \
libgnomeprintui2.2-dev libpanel-applet-4-dev \
libnautilus-extension-dev librsvg2-dev libgtkhtml3.14-dev \
libgtksourceview2.0-dev libgtksourceview2.0-dev libvte-dev \
libwnck-dev libnspr4-dev libnss3-dev libwebkit-dev libvala-0.18-dev

Get the source

First we’ll need the following sourcecode:

  • libgdiplus: An Open Source implementation of the GDI+ API. [latest snapshot – see below]
  • mono: Mono open source ECMA CLI, C# and .NET implementation [release 3.2.5]
  • XSP: Monos ASP.NET hosting server. Includes an apache module, fastCGI module and standalone server [release 3.0.11]

note: if we get the latest release version of libgdiplus you may run into an issue during make

/usr/bin/ld: testgdi.o: undefined reference to symbol ‘g_print’
/usr/bin/ld: note: ‘g_print’ is defined in DSO /lib/x86_64-linux-gnu/libglib-2.0.so.0 so try adding it to the linker command line

getting the latest version linked above includes the pull request that fixes this issue.

Compilation

Untar/unzip each of the archives:

unzip master.zip # unzip libgdiplus
tar -zxf 3.2.5 # untar mono
tar -zxf 3.0.11.tar.gz # untar XSP

for each project the process is exactly the same (before you do this though, read the section on uninstalling below)

# change to project directory (mono in this example)
cd mono
# run autogen to configure the build
./autogen.sh --prefix=/usr
# build
make
# install
make install

You may run into missing packages depending on your system configuration, but usually apt-get install the missing dependency is all you really need to do.

Configuring Nginx and FastCGI

coming soon, no really…

Uninstalling

I have in the past stayed away from building software on my production server as it can be a pain to remove or upgrade but I’ve found a great tool called CheckInstall. What this does is keep track of the files being copied during the ‘make install’ step and gives you a handy .deb or .rpm file which you can then use to uninstall (or even use this file on other systems instead of having to repeat the build)

To use it, replace ‘sudo make install’ with ‘sudo checkinstall’

3 comments

  1. a href=”http://www.nike-shoes.in.net/”>nike shoes,Cheap Jordans,Cheap Jordan Shoes,Cheap Air Max,Cheap Free Run Shoes,nike outlet,nike factory,nike store,nike factory outlet,nike outlet store,cheap nike shoes,nike sneakers it oakley a true religion derivative lululemon uk from timberland boots,timberland shoes,timberland outlet fear; nike free others replica watches,rolex watches,rolex,watches for men,watches for women,omega watches,rolex watches for sale,rolex replica,rolex watch,cartier watches,rolex submariner,fake rolex,rolex replica watches,replica rolex connect insanity workout,insanity,insanity workout calendar,insanity calendar,insanity workout schedule it kate spade uk with ferragamo the ray ban sunglasses sexual replica watches life

  2. dsgsdgI vans shoes don’t michael kors canada have vans any uggs trouble prada shoes understanding michael kors canada why the north face some ugg boots merchant nfl jerseys who’s longchamp having kate spade a hermes handbags hard mont blanc time nike roshe run pas cher competing michael kors with hogan uswouldn’t louis vuitton handbags be barbour uk too swarovski happy coach purses about tn pas cher our michael kors outlet being barbour there. ray ban pas cher What timberland boots I ralph lauren outlet haven’t louboutin been coach factory outlet able replica watches to hollister figure kate spade outlet at air max all burberry is north face outlet these burberry sale peoplewho jordan 12 have north face jackets decided true religion outlet we’re lululemon somehow montre homme responsible oakley vault for ugg outlet the beats headphones decline hollister canada of louis vuitton outlet online the nike free small uggs town. hollister clothing My oakley vault guess canada goose is ray ban that michael kors bags a reebok outlet lot baseball bats ofthese christian louboutin critics rolex watches are nike air huarache folks nike air max who air jordans grew oakley sunglasses outlet up polo ralph lauren in longchamp bags small moncler towns replica handbags and air huarache then longchamp bags deserted louis vuitton them ugg boots for wedding dresses the coach outlet store online big cheap nfl jerseys cities canada goose jackets decades oakley sunglasses ago.Now nike free uk when nike sneakers they oakley sunglasses cheap come michael kors handbags home cheap gucci for louboutin outlet a michaelkors-outlet-store.us.com visit, cheap oakley it michael kors outlet makes louis vuitton uk them louis vuitton sad longchamp pas cher that jordan retro the nike free old longchamp handbags town polo ralph lauren square sac lancel isn’t barbour exactly moncler like hollister it mac cosmetics waswhen canada goose pas cher they polo outlet left abercrombie it mcm handbags back gucci bags in air force 1954. toms shoes It’s ralph lauren almost nike free like new jordans they air max 2015 want coach outlet store online their ugg hometown abercrombie to tiffany and co be true religion outlet stuck louis vuitton outlet online in jordan future time, michael kors anold-fashioned lacoste pas cher place vans scarpe filled christian louboutin outlet with roshe run pas cher old-fashioned longchamp soldes people ugg doing oakley sunglasses wholesale business new balance outlet the canada goose old-fashioned wedding dresses uk way. hollister uk Somehow,small-town jordan 6 populations longchamp weren’t polo ralph lauren outlet supposed moncler jackets to barbour jackets uk move converse shoes out jimmy choo outlet into moncler their louis vuitton own ugg uk suburbs, ugg and uggs they pandora charms weren’t hogan outlet supposedto oakley vault go cheap oakley sunglasses out mulberry to nike free run uk the replica watches intersections canada goose uk of cheap ugg boots highways links of london uk and oakley sunglasses cheap build air max malls prada handbags with lululemon canada lots doudoune canada goose of louis vuitton outlet free oakley pas cher parking. bottes ugg That’s guess pas cher just replica rolex not michael kors the north face pas cher waysome vans pas cher of cheap jordans these barbour outlet people michael kors outlet online sale remember gucci their longchamp handbags old red bottom shoes towns. jordan xx9 But longchamp outlet folks nike trainers uk who fake rolex grew babyliss up louboutin in juicy couture outlet big new balance shoes cities barbour jackets feel canada goose the moncler sito ufficiale same nike trainers wayabout nike store what’s nike outlet happened louis vuitton outlet to coach outlet their ralph lauren uk cities michael kors over mont blanc pens the louboutin shoes last uggs outlet forty asics running shoes or longchamp fifty sac guess years. tory burch A rolex replica watches lot canada goose of michael kors outlet the north face outlet stores http://www.michaelkors-outlet-store.us.com and ugg pas cher the ralph lauren movietheaters nike free pas cher and michael kors outlet the tory burch outlet online restaurants north face outlet online that ugg italia they sac michael kors remember jordan shoes loving air max as longchamp uk kids christian louboutin uk have hermes pas cher boarded vanessa bruno pas cher up cheap oakley and chaussures louboutin either louboutin gone louis vuitton out sac hermes ofbusiness louis vuitton outlet or insanity workout moved lunette ray ban pas cher to longchamp the nike air max uk suburbs instyler ionic styler too.I burberry outlet online think oakley vault what lululemon happened cheap uggs to sac longchamp Wal-Mart christian louboutin shoes in lancel all thomas sabo uk this ghd is bottega veneta that gucci outlet we rolex replica got sac burberry to polo ralph lauren uk be ugg australia a lululemon outlet online certain hermes birkin size louis vuitton purses and phone cases became michael kors handbags so montre femme wellknown air max as sac vanessa bruno the abercrombie small-town oakleysunglasses1.us.com merchants hollister clothing store that jordan 1 we swarovski crystal became oakley an longchamp bags easy louboutin target. louis vuitton Certain gucci outlet online folks replica watches figured michaelkors-outlet-store they michael kors handbags clearance couldcreate ray ban uk a ugg pas cher niche true religion jeans for converse pas cher themselves, longchamp outlet online a canada goose outlet platform jimmy choo shoes from moncler which nike blazer pas cher to rolex watches express nike huarache their juicy couture views jordan 3 about moncler outlet small-town hermes bags America,by sac louis vuitton zeroing ralph lauren polo in lunette oakley pas cher on nike roshe run us. louis vuitton handbags The michael kors outlet whole nike air max 2015 thing karen millen uk taught air jordan me burberry outlet a new balance lesson longchamp pas cher about doudoune moncler the hogan sito ufficiale way canada goose the tiffany and co national nike factory media polo ralph lauren seems nike air max to herve leger think.When lancel pas cher you polo ralph lauren outlet start p90x out burberry handbags as hermes belt an chi flat iron unknown abercrombie quantity vanessa bruno with burberry just michael kors outlet online a moncler dream moncler jackets and canada goose a ugg boots commitment, oakley sunglasses cheap you coach handbags couldn’t air jordan shoes buy true religion jeans amention supra shoes of nike huaraches your fake oakleys company beats by dre in north face one air max 2015 of canada goose outlet these ghd hair publications. air max When marc jacobs handbags you mulberry handbags become abercrombie and fitch moderately ugg boots successful, longchamp outlet online theystill nike shoes ignore uggs you polo ralph lauren outlet online unless ray ban sunglasses something timberland bad reebok shoes happens converse to moncler jackets you. coach outlet Then, instyler the jordan 4 more vans outlet successful new balance you michael kors outlet online become, true religion jeans the coach outlet online moresuspicious louboutin they uggs become nike free run pas cher of nike roshe run you. louboutin shoes And ralph lauren outlet online if air jordan retro you ugg soldes ever hermes become north face a uggs outlet large-scale lululemon outlet success, ray ban it’s louboutin outlet Katie north face outlet bar ugg the polo ralph lauren door.As moncler outlet an ugg outlet old-time ralph lauren outlet small-town sac louis vuitton pas cher merchant, christian louboutin outlet I birkin bag can iphone cases tell gucci handbags you ray ban outlet that burberry nobody nike air max pas cher has polo ralph lauren outlet more ray ban love louis vuitton for true religion outlet the michael kors heyday air max of ralph lauren outlet thesmalltown coach factory retailing mulberry bags era hollister than christian louboutin I nike air max 2015 do. tiffany jewelry That’s ferragamo belts one ugg boots clearance of jimmy choo the gucci shoes reasons thomas sabo we ray ban sunglasses chose cheap nike shoes to north face jackets put celine handbags our moncler little michael kors Wal-Mart nike tn museumon uggs outlet the michael kors outlet online square nike roshe in michael kors outlet online sale Bentonville. babyliss pro It’s uggs outlet in uggs the air max pas cher old christian louboutin shoes Walton’s asics shoes Five uggs on sale and ugg soldes Dime true religion outlet building, ugg boots and nike air max it gucci belts tries prada outlet to timberland pas cher capture hollister a pandora jewelry littlebit nike air max of moncler the toms outlet old louis vuitton outlet dime nike air max uk store michael kors feel.But coach bags I canada goose outlet can cheap ugg boots outlet also louis vuitton pas cher tell the north face you barbour jackets this: uggs if nike factory outlet we north face uk had christian louboutin gotten kate spade handbags smug michael kors outlet online sale about michael kors outlet our converse early michael kors outlet online success, burberry outlet and nike blazer said, moncler outlet “Well, abercrombie and fitch we’re burberry pas cher thebest ugg merchant oakley store in canada goose jackets town,” oakley sunglasses and uggs on sale just michael kors outlet kept polo lacoste doing pandora charms everything ray ban sunglasses exactly michael kors handbags the oakley outlet way moncler we oakley were cheap sunglasses doing canada goose outlet it, hollister pas cher somebody abercrombie and fitch elsewould christian louboutin have chanel handbags come air jordan pas cher along burberry outlet online and jordans for sale given moncler pas cher our louboutin customers louis vuitton what nike free run they discount oakley sunglasses wanted, wedding dresses and michael kors we uggs canada would north face jackets be louboutin pas cher out ralph lauren of ugg boots clearance businesstoday. michael kors uk I longchamp don’t lululemon outlet canada know oakley sale who uggs on sale it iphone case would nike air max have michael kors outlet online sale been. longchamp outlet online Maybe ghd straighteners Gibson’s soccer jerseys or coach outlet TG&Y louis vuitton outlet stores would moncler uk have louis vuitton pulled ugg outlet it longchamp outlet off. nike air force But nike outlet store Isuspect abercrombie and fitch uk it michael kors would ferragamo shoes have louis vuitton bags been nike free run a swarovski uk combination karen millen of nike air max Kmart ray ban sunglasses and valentino shoes Target, nike roshe which, michael kors purses like giuseppe zanotti McDonald’s, michael kors outlet would nike free run haverolled moncler outlet out michael kors pas cher into canada goose jackets the mulberry uk small soccer shoes towns swarovski jewelry once hollister they louboutin uk began bottes ugg to nike roshe run saturate michael kors bags their ghd hair straighteners big-city uggs outlet markets.What true religion jeans happened rolex watches for sale was air max absolutely canada goose jackets a lululemon outlet necessary replica watches uk and nike roshe uk inevitable new balance pas cher evolution http://www.michaelkors-outlet-store.us.com/ in burberry factory outlet retailing, rolex watch as air jordan 11 inevitable sunglasses outlet as sac longchamp pas cher thereplacement bottes ugg pas cher of longchamp outlet the oakley glasses buggy jordan 11 by cheap oakley sunglasses the cheap oakley sunglasses car p90x workout and ray ban sunglasses outlet the kate spade outlet online disappearance michael jordan shoes of oakley sunglasses the cheap oakley sunglasses buggy jordan 5 whip longchamp pliage makers. tory burch outlet The montre pas cher small celine bags storeswere abercrombie just jordans destined oakley sunglasses to scarpe hogan disappear, jerseys at michael kors outlet online least hollister in jordan retro 11 the louis vuitton canada numbers coach outlet they tiffany jewelry once pandora uk existed, michael kors handbags because links of london the pandora jewelry whole p90x3 thing mulberry outlet isdriven sac louis vuitton by canada goose outlet the ralph lauren pas cher customers, michael kors outlet canada who nike roshe run uk are bottes ugg pas cher free polo ralph lauren pas cher to jordan pas cher choose marc jacobs where ugg boots clearance to michael kors outlet online shop. air jordan vans michael kors outlet online nike tn pas cher wedding dress retro jordans coach outlet store ugg boots true religion ugg boots uk nike roshe nike air max polo lacoste pas cher dsfsdfg

  3. If fashion were a religion, Karl Lagerfeld would be God. Confirmed miracles include turning the Great Wall of China into a catwalk and resurrecting Fendi — an old fur house — in the age of coach factory PETA.The Kaiser’s latest feat? Making models walk on water in Rome’s renowned Trevi Fountain for the brand’s 90th anniversary couture spectacular.For this, he cast a coach purses lineup of top girls, including Ruth Bell and Bella Hadid, to tread across a clear Plexiglas runway built over the baroque landmark, which was recently Longchamp Handbags renovated to the tune of $2.4 million.The collection — inspired by fairy-tale illustrations by Danish artist Kay Nielsen — was as over-the-top as you would Longchamp Outlet expect, all folkloric flora and fauna (and, of course, a forest worth of mink).Kendall Jenner opened the show and, during his bow, Lagerfeld flicked three Coach Outlet Online coins into the fountain. Fitting, since affording any of these clothes will require much good fortune.Jalila Essaïdi’s diaphanous tunics, crocheted halter tops and flowing coach outlet online lounge pants may not look like crap — but they are literally made from the stuff.The Dutch designer has developed a lightweight ecofriendly fabric from michael kors outlet recycled cow dung, fashioning all sorts of garments with the novel textile. The project, called Mestic, aims to alleviate the the world’s excessive amount of michael kors outlet online animal excrement, which can bring about salmonella, groundwater contamination and other environmental and health concerns.And while a poop-based biotextile may sound icky, it’s hardly the michael kors bags most bizarre solution to the fashion industry’s devastating effects on the environment.Earlier this year, fashion student Tina Gorjanc announced her plan to create cruelty-free leather coach handbags jackets made from legendary designer Alexander McQueen’s DNA. Compared with that, the idea of manure-couture sounds downright cute.Instead of going full-on cat-eye, try your Coach Outlet hand at a mini flick. Perry’s liner “elongates the eye and, depending on the angle of the flick, it can lift the eye [too],” says Michael Kors Handbags Nelson. The key, he says, is to “aim the point at the end toward the outer edge of your eyebrow.” Keep it subtle — start michael kors outlet small, and extend the line if needed.Reach for a quick-dry liquid eyeliner for this — you’ll want a pen that goes on smoothly and won’t Coach Handbags smudge when you blink. Kat Von D Ink Liner ($19 at Sephora.com) lasts for up to 24 hours, while the brush-on Flower “Style-Eyes” liquid eyeliner Michael Kors Purses ($7.98 at Walmart.com) draws lines as thin or thick as you’d like.Perry wears falsies, white eyeliner inside the lash line, and red lips, but the Coach Outlet Store kitten-eye looks just as fresh with a brush of mascara and a nude lip. That said, “when you’re wearing a liner like this, you do Michael Kors Outlet Online need to fill in your brows,” Nelson says. He likes Anastasia Brow Michael Kors Outlet Powder Duo ($23 at Sephora.com) brushed on in small strokes.It all adds up to stunning growth in a field that has been dominated by both Nike and its Jordan brand for more than a decade. (Nike declined to comment for this story.)Jeff Carvalho, the executive michael kors editor of lifestyle website Highsnobiety, likens this jockeying for territory to the cola wars of the 1980s. The battle heated up over July Fourth weekend michael kors when the Oklahoma City Thunder’s Kevin Durant, a Nike superstar, signed with Golden State, essentially landing him a bigger market to sell more sneakers — Longchamp Sale and, perhaps, dwarfing Curry’s star power.“There is a generation of fans who want something that’s their own thing,” says Carvalho, adding that his site has coach factory outlet been paying close attention to Under Armour over the past year. “I’m 41, so when I was growing up, the Jordan shoe was coming. It michael kors handbags was very current. Ten to 15 years later, we look at it as a retro product.”Today’s generation of kids, he says, can’t relate to Michael Longchamp Outlet Jordan. “They don’t understand the influence he had on basketball,” he adds. “You see these crying Jordan memes on the Internet, and that’s essentially who Coach Bags he is to today’s youth.”They can, however, relate to Curry, who signed with Under Armour after Nike painfully lost him after bungling their pitch, according Longchamp Bags to a March ESPN report. The piece claimed Nike pitched him using Kevin Durant’s initials in the presentation and mispronounced his name as “Steph-ON.” As Longchamp Bag Curry became one of the most dominant, exciting players in the league, he pulled the nascent sneaker company into his stratosphere.“Three years ago, Steph Curry Michael Kors wasn’t the Steph Curry as the world now knows him,” says Crystal McCrary, the director of youth hoops documentary “Little Ballers” and mother of Cole coach outlet Anthony, one of the top hoop stars in NYC, who plays for Archbishop Molloy High School in Queens. “They caught lightning in a bottle.”And, it Michael Kors Bags seems, someone who can defy current trends. In May, Under Armour released the Curry 2 Low Shoes, a $119 low-top sneaker available in six shades, michael kors outlet online including a white one with a gray logo that the internet dubbed “Chef Curry,” due to its stark appearance and comfort sole, similar to a michael kors outlet shoe a chef would wear in a kitchen.“There are a lot of women doing amazing things with embroidery,” says the 30-year-old Hults, whose irreverent Coach Purses bags were recently picked up by luxe online retailer Moda Operandi, which launched the brand’s first trunk show last week. “I went to a party michael kors outlet the other night in Brooklyn, and we were just collaging and embroidering the whole time.”Sewing circles and all-night crafting may not exactly sound like the Longchamp most modern pursuit, but it’s actually on-trend. “There’s a whole grandma aesthetic catching on in fashion right now,” says Alyssa Coscarelli, a fashion market writer michael kors outlet online at millennial lifestyle Web site Refinery29. She credits the newly hot-again label Gucci, which in the past few seasons has pushed such old-lady staples as michael kors purses prim ruffled blouses and nubby cardigans.Plus, says couturier Kenneth King, millennials are increasingly drawn to old-fashioned analog activities. “Creating a garment that has the ‘hand michael kors outlet online sale of the maker’ evident seems to be satisfying to a generation that was raised on computers,” he says, adding that the classes he teaches at Coach Outlet Store Online the Fashion Institute of Technology, which are focused on advanced sewing techniques such as embroidery, have seen a 15 to 20 percent spike in attendance michael kors outlet clearance the past few years.

Leave a Reply

Your email address will not be published. Required fields are marked *