[mapguide-internals] Error in compiling Agg on ubuntu...

Jason Birch Jason.Birch at nanaimo.ca
Tue Nov 6 22:06:03 EST 2007


I can't take much credit for the instructions; I stole them from the earlier versions and then removed a few of the excess commands, cleaned up formatting, etc.
 
I think I'll have to go through from scratch and test without those packages installed.  I copied verbatim from the earlier instructions, and didn't take time to strip them out.  I wonder if maybe FDO needs them and doesn't include them or something?  I dunno...  I had to add one (Python-dev) because of a "bug" in gdal that didn't detect that the headers were not installed.  It's fixed in 1.4.3 though, so now that FDO is on that version and MapGuide should be soon, I'll probably be stripping Python from the packages that are required next time round.
 
I found svn-clean in the "svn utilities" package (can't remember the real name, Ubuntu kindly told me what to install when I tried to run svn-clean).  Very handy; run that and an svn revert (uh, just to make sure), and you're cleaner than clean.  Careful though, it nukes anything you haven't added to revision control yet.
 
I believe that you're right about asound; I think there were a couple of packages that I tried to leave out, then got bit by DWF compile problems, and just put them both back in.
 
Jason

________________________________

From: Traian Stanev
Subject: RE: [mapguide-internals] Error in compiling Agg on ubuntu... 



Some of the packages you are explicitly installing (xerces, xalan, curl, and some others) are already available as part of the Oem build and you should not need to apt-get them. The instructions are a lot more comprehensive than what I usually do -- I wrestle with the build until it works. Now I know why I have to replace /bin/sh from all the scripts by /bin/bash. :)

I wonder why you apt-get asound -- my bet is that you are avoiding a build error with DWF that way.



Traian




More information about the mapguide-internals mailing list