[ptx] Compiling Mono / gtk-sharp for autopano-sift etc by hand (AMD64)

Hal V Engel hvengel at astound.net
Wed May 18 20:34:42 BST 2005


On Wednesday 18 May 2005 11:10 am, douglas wilkins wrote:
> --- Brian <brianinnes81 at yahoo.co.uk> wrote:
> [snip]
>
> > Here is how I got mono libgdiplus and gtk-sharp compiled and installed
> > on Ubuntu amd64.
> >
> > Download the sourcecode for mono-1.1.6, libgdiplus-1.0.6, and
> > gtk-sharp-1.0.6 from http://www.mono-project.com/Downloads
>
> mono 1.1.7 has been released - has some fixes for x86_64. Also I see from
> monologue that there is also the start of work for ia64 support as well

This is a good point.  1.1.7 is the first version of mono that is not hard 
masked in the Gentoo portage tree for amd64.

>
> > unpack each sourcecode tarball into a handy directory (I unpacked mine
> > into /home/brian/src)
> >
> > First of all, compile and install libgdiplus by the following commands:
> >
> > cd into the libgdiplus source directory:
> >
> > ./configure
> > make
> > make install

Also you need to have root privileges for the make install to work correctly.  
So you will want to SU before running make install.

> >
> > Compile and install mono in the same way.
> >
> > Finally, compile and install gtk-sharp
> >
> > To make sure than mono can find the gtk-sharp libraries,
> >
> > add  /usr/local/lib to /etc/ld.so.conf then issue /sbin/ldconfig so that
> > all the libraries are found.
> > (as mentioned here: http://gtk-sharp.sourceforge.net/faq.html#3.4)
>
> sometimes using /sbin/ldconfig -v is better just to see that the directory
> has been registered.
>
> > autopanog.exe should then run with the following command "mono
> > /usr/local/bin/autopanog.exe" assuming you installed autopanog.exe in
> > /usr/local/bin
> >
> > I based this on the following webpage:
> > http://www.all-the-johnsons.co.uk/mono/mono-compiling.html
> >
> > While this works for me, perhaps if other amd64 users could compile mono
> >
> > etc from source and verify that this works!
>
> regards,
> Doug
>
>
>
> ___________________________________________________________
> How much free photo storage do you get? Store your holiday
> snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com


More information about the ptX mailing list