[Mono-list] install libgdiplus?

B R charlatat at hotmail.com
Thu Sep 20 15:47:03 EDT 2007


finally got ./configure to complete. Had to install ALL of these packages:

libglib2-dev
libfontconfig1-dev
libfreetype6-dev
libxrender-dev
libtiff-dev
libjpeg-dev
libgif-dev
libpng-dev (still get some errors about this one though)
libexif-dev

Was able to do a "make", then "make install". Didn't seem to help. So, tried 
installing the new mono (1.2.5.1). Didn't help. Followed the instructions on 
this page:

http://www.mono-project.com/DllNotFoundException

ldconfig can now find libgdiplus.so, but my app STILL produces that same 
error.  Think I've had enough with Mono and WinForms.  Gonna try my luck 
with a GTK app.




>From: "Maser, Dan" <Dan.Maser at inin.com>
>To: <sebastien.pouliot at gmail.com>,"B R" <charlatat at hotmail.com>
>CC: <mono-list at lists.ximian.com>
>Subject: RE: [Mono-list] install libgdiplus?
>Date: Thu, 20 Sep 2007 09:02:49 -0400
>MIME-Version: 1.0
>Received: from inin.com ([209.43.1.24]) by bay0-mc11-f13.bay0.hotmail.com 
>with Microsoft SMTPSVC(6.0.3790.2668); Thu, 20 Sep 2007 06:02:53 -0700
>Received: from Unknown [172.16.1.161] by i3smtp.inin.com - SurfControl 
>E-mail Filter (5.2.1); Thu, 20 Sep 2007 09:02:53 -0400
>X-Message-Delivery: Vj0zLjQuMDt1cz0wO2k9MDtsPTA7YT0w
>X-Message-Info: 
>JGTYoYF78jG6J/yEQ6b3ERhANwh9zzF0+XdmW/FGtjqopPeMSNGiHyJHvWyclsXUg2+44Oaj1+R+xTC7bVY1Tw==
>X-SEF-Processed: 5_0_0_910__2007_09_20_09_02_53
>X-SEF-439E6655-7365-4FE1-A53E-B05742EF2C96: 1
>X-MimeOLE: Produced By Microsoft Exchange V6.5
>Content-class: urn:content-classes:message
>X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [Mono-list] install 
>libgdiplus?
>Thread-Index: Acf7fxazeQ0swLtNT9yebW8sqzrMdQABx1qg
>References: <BAY138-F25BE78A7E99E8F0C35CBF1BBBA0 at phx.gbl> 
><1190289932.5421.117.camel at poupou.home>
>Return-Path: Dan.Maser at inin.com
>X-OriginalArrivalTime: 20 Sep 2007 13:02:55.0253 (UTC) 
>FILETIME=[8F594450:01C7FB86]
>
>
>   For clarification many things have *two* separate install packages, in
>this case "glib" and "glib-devel".  There should be dozens of packages
>that follow the "foo" and "foo-devel" format.  So it's likely that you
>have the glib package installed (which includes the runtime for
>executing programs) but don't have the glib-devel installed (which
>includes additional information which allows programs to compile against
>the glib).
>
>-----Original Message-----
>From: mono-list-bounces at lists.ximian.com
>[mailto:mono-list-bounces at lists.ximian.com] On Behalf Of Sebastien
>Pouliot
>Sent: Thursday, September 20, 2007 7:06 AM
>To: B R
>Cc: mono-list at lists.ximian.com
>Subject: Re: [Mono-list] install libgdiplus?
>
>On Wed, 2007-09-19 at 22:10 -0500, B R wrote:
> > yes, libgdiplus is present on the system. But its been mentioned that
> > any other libgdiplus other than what comes with Mono, doesn't work. So
>
> > that's why I'm trying to compile it.
>
>Not quite.
>
>I said that you need to have a libgdiplus version that *match* your Mono
>version, otherwise you can have *runtime* issues (that no one can
>replicate).
>
>Now AFAIK the Mono installer includes both a Mono and a libgdiplus
>version that match this condition. If your original install was correct
>then it should be working.
>
> > glib may have already been installed, but I was just going with the
> > what the error message said.
>
>You're misinterpreting the messages. The missing .pc was for development
>packages, not to download and install a newer glib.
>
> > so what are the ./configure requirements?
>
>The exact requirements depends on your actual configuration, i.e. what's
>installed or not.
>
>Short story:
>
>As long as ./configure fails {
>	read the error message
>	fix it
>}
>
> > How about what the error message said about the path? Not sure if
> > resolving that would change anything.
>
>Probably not as you said you didn't have any file named glib-2.0.pc
>installed on your system. If you had then yes you could adjust the path
>to make sure it's found.
>
> >
> > >From: Sebastien Pouliot <sebastien.pouliot at gmail.com>
> > >Reply-To: sebastien.pouliot at gmail.com
> > >To: B R <charlatat at hotmail.com>
> > >CC: mono-list at lists.ximian.com
> > >Subject: Re: [Mono-list] install libgdiplus?
> > >Date: Wed, 19 Sep 2007 20:05:33 -0400
> > >MIME-Version: 1.0
> > >Received: from relais.videotron.ca ([24.201.245.36]) by
> > >bay0-mc1-f2.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.2444);
> > >Wed, 19 Sep 2007 17:04:59 -0700
> > >Received: from poupou.home ([24.203.181.222]) by
> > >VL-MH-MR001.ip.videotron.ca (Sun Java System Messaging Server
> > >6.2-2.05 (built Apr 28 2005)) with ESMTP id
> > ><0JON0082G485JIH1 at VL-MH-MR001.ip.videotron.ca> for
> > >charlatat at hotmail.com; Wed, 19 Sep 2007 20:04:53 -0400 (EDT)
> > >X-Message-Delivery: Vj0zLjQuMDt1cz0wO2k9MDtsPTA7YT0w
> > >X-Message-Info:
> > >JGTYoYF78jGuESsWr17bNBMPySJCrKWs3QL2adMSPTsursO07KTloEvf8aIknO6psFFhY
> > >fGElgnwYSd9AIeolw==
> > >X-Mailer: Evolution 2.6.0
> > >References: <BAY138-F371FA0E21F2AF7B0A1AE1CBBB90 at phx.gbl>
> > >Return-Path: sebastien.pouliot at gmail.com
> > >X-OriginalArrivalTime: 20 Sep 2007 00:05:00.0200 (UTC)
> > >FILETIME=[E2D96280:01C7FB19]
> > >
> > >note: please *always* c.c. the mailing-list, otherwise the answers
> > >can't help other people with the same question (now or later).
> > >
> > >On Wed, 2007-09-19 at 18:38 -0500, B R wrote:
> > > > I didn't compile it myself, I used the installer (*.bin) from
> > > > Mono's website.
> > >
> > >Doesn't that already contain libgdiplus ?
> > >
> > > > I grabbed the latest glib from GTK's website and installed it.
> > >
> > >I find it strange that you don't have glib installed on Ubuntu!
> > >
> > > > Course, had to install gettext, gettext-doc and cvs first.
> > > >
> > > > I have no glib-2.0.pc file on my system. So, I'm not sure if the
> > > > glib
> > >errors
> > > > are legit, or if its the path problem.
> > >
> > >ah, then you're probably missing the development packages for glib
> > >(and a bunch of others too). The Makefile will be available once you
> > >have satisfied all ./configure requirements.
> > >
> > > >
> > > > >From: Sebastien Pouliot <sebastien.pouliot at gmail.com>
> > > > >Reply-To: sebastien.pouliot at gmail.com
> > > > >To: B R <charlatat at hotmail.com>
> > > > >Subject: Re: [Mono-list] install libgdiplus?
> > > > >Date: Wed, 19 Sep 2007 18:06:18 -0400
> > > > >MIME-Version: 1.0
> > > > >Received: from relais.videotron.ca ([24.201.245.36]) by
> > > > >bay0-mc5-f4.bay0.hotmail.com with Microsoft
> > > > >SMTPSVC(6.0.3790.2668);
> > >Wed, 19
> > > > >Sep 2007 15:05:38 -0700
> > > > >Received: from poupou.home ([24.203.181.222]) by
> > > > >VL-MO-MR004.ip.videotron.ca (Sun Java System Messaging Server
> > > > >6.2-2.05 (built Apr 28 2005)) with ESMTP id
> > > > ><0JOM003ANYPEII20 at VL-MO-MR004.ip.videotron.ca> for
> > >charlatat at hotmail.com;
> > > > >Wed, 19 Sep 2007 18:05:38 -0400 (EDT)
> > > > >X-Message-Info:
> > > >
> > > >JGTYoYF78jEHjJx36Oi8+Z3TmmkSEdPt3Mi6GgUSv7yYKHQgGfDe+2wCW4LegkYQqyp
> > > >JGTYoYF78jEHjJx36Oi8+Z3TmmkSEdPt3Mi6GgUSv7yYKHQgGfDe+IHu4uP4o=
> > > > >X-Mailer: Evolution 2.6.0
> > > > >References: <BAY138-F242028DD69C1B9538A8EB8BBB90 at phx.gbl>
> > > > >Return-Path: sebastien.pouliot at gmail.com
> > > > >X-OriginalArrivalTime: 19 Sep 2007 22:05:39.0186 (UTC)
> > > > >FILETIME=[368D5D20:01C7FB09]
> > > > >
> > > > >Oh, I hadn't seen this one.
> > > > >
> > > > >You seem to be missing some basic stuff... or you're environment
> > > > >settings are not correct. You'll need to fix this.
> > > > >
> > > > >Have you compiled mono yourself ? If so your environment should
> > >(mostly)
> > > > >be ok.
> > > > >
> > > > >On Wed, 2007-09-19 at 16:33 -0500, B R wrote:
> > > > > > checking for BASE_DEPENDENCIES... Package glib-2.0 was not
> > > > > > found in
> > >the
> > > > > > pkg-config search path.
> > > > > > Perhaps you should add the directory containing `glib-2.0.pc'
> > > > > > to the PKG_CONFIG_PATH environment variable No package
> > > > > > 'glib-2.0' found
> > > > > > configure: error: Package requirements (glib-2.0 >= 2.2.3)
> > > > > > were not
> > >met:
> > > > > >
> > > > > > Consider adjusting the PKG_CONFIG_PATH environment variable if
>
> > > > > > you installed software in a non-standard prefix.
> > > > > >
> > > > > > Alternatively, you may set the environment variables
> > > > > > BASE_DEPENDENCIES_CFLAGS and BASE_DEPENDENCIES_LIBS to avoid
> > > > > > the need to call pkg-config.
> > > > > > See the pkg-config man page for more details.
> > > > > >
> > > > > >
> > > > > > Couldn't find a glib package, but did notice that libgdiplus
> > > > > > is
> > >already
> > > > > > listed as installed in Synaptic. Maybe I'm chasing after a red
> > >herring?
> > > > > > Getting a System.DLLNotFoundException:gdiplus.dll when I run a
> > >simple
> > > > > > WinForms app.
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > >From: "Maser, Dan" <Dan.Maser at inin.com>
> > > > > > >To: "B R"
> > > > > > ><charlatat at hotmail.com>,<mono-list at lists.ximian.com>
> > > > > > >Subject: RE: [Mono-list] install libgdiplus?
> > > > > > >Date: Wed, 19 Sep 2007 17:14:12 -0400
> > > > > > >MIME-Version: 1.0
> > > > > > >Received: from inin.com ([209.43.1.24]) by
> > > > >bay0-mc4-f11.bay0.hotmail.com
> > > > > > >with Microsoft SMTPSVC(6.0.3790.2668); Wed, 19 Sep 2007
> > > > > > >14:14:14
> > >-0700
> > > > > > >Received: from Unknown [172.16.1.161] by i3smtp.inin.com -
> > >SurfControl
> > > > > > >E-mail Filter (5.2.1); Wed, 19 Sep 2007 17:14:13 -0400
> > > > > > >X-Message-Delivery: Vj0zLjQuMDt1cz0wO2k9MDtsPTA7YT0w
> > > > > > >X-Message-Info:
> > > > > >
> > > > >
> > > >JGTYoYF78jH49xRJghVcfmEYh8iR4pL0GdOB8KU6ep1sZuZ9BreAz7lZ5AawPuW2pJB
> > > >UnW4JfXhFcUoymh6oFw==
> > > > > > >X-SEF-Processed: 5_0_0_910__2007_09_19_17_14_13
> > > > > > >X-SEF-439E6655-7365-4FE1-A53E-B05742EF2C96: 1
> > > > > > >X-MimeOLE: Produced By Microsoft Exchange V6.5
> > > > > > >Content-class: urn:content-classes:message
> > > > > > >X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic:
> > > > > > >[Mono-list]
> > > > >install
> > > > > > >libgdiplus?
> > > > > > >Thread-Index: Acf7AbwyyvR9qXDkTNCrcjTXB+xYKAAAB3lQ
> > > > > > >References:
> > > > > >
> > > ><260A0A30F9017945932CC4F7B911B33905DBD96E at i3mail1.i3domain.inin.com
> > > >>
> > > > > > ><BAY138-F27D61B1BD355858E683CF4BBB90 at phx.gbl>
> > > > > > >Return-Path: Dan.Maser at inin.com
> > > > > > >X-OriginalArrivalTime: 19 Sep 2007 21:14:14.0318 (UTC)
> > > > > > >FILETIME=[07D3DCE0:01C7FB02]
> > > > > > >
> > > > > > >
> > > > > > >   Maybe send the end of the text from the "./configure"
> > > > > > > then?  Is
> > > > >there
> > > > > > >a "Makefile" in your directory which appears after running
> > > > > > >"./configure"?  I assume not, the output below looks as tho
> > > > > > >the "./configure" process did not output a Makefile.
> > > > > > >
> > > > > > >-----Original Message-----
> > > > > > >From: B R [mailto:charlatat at hotmail.com]
> > > > > > >Sent: Wednesday, September 19, 2007 4:12 PM
> > > > > > >To: Maser, Dan; mono-list at lists.ximian.com
> > > > > > >Subject: RE: [Mono-list] install libgdiplus?
> > > > > > >
> > > > > > >user at dev-laptop:~/Desktop/libgdiplus-1.2.5$ make
> > > > > > >make: *** No targets specified and no makefile found.  Stop.
> > > > > > >
> > > > > > >user at dev-laptop:~/Desktop/libgdiplus-1.2.5$ make install
> > > > > > >make: *** No rule to make target `install'.  Stop.
> > > > > > >
> > > > > > >user at dev-laptop:~/Desktop/libgdiplus-1.2.5$
> > > > > > >make check
> > > > > > >make: *** No rule to make target `check'.  Stop.
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > >From: "Maser, Dan" <Dan.Maser at inin.com>
> > > > > > > >To: "B R"
> > > > > > > ><charlatat at hotmail.com>,<mono-list at lists.ximian.com>
> > > > > > > >Subject: RE: [Mono-list] install libgdiplus?
> > > > > > > >Date: Wed, 19 Sep 2007 17:06:50 -0400
> > > > > > > >MIME-Version: 1.0
> > > > > > > >Received: from inin.com ([209.43.1.24]) by
> > > > > > >bay0-mc9-f23.bay0.hotmail.com
> > > > > > > >with Microsoft SMTPSVC(6.0.3790.2668); Wed, 19 Sep 2007
> > > > > > > >14:06:52
> > > > >-0700
> > > > > > > >Received: from Unknown [172.16.1.161] by i3smtp.inin.com -
> > > > >SurfControl
> > > > > > > >E-mail Filter (5.2.1); Wed, 19 Sep 2007 17:06:52 -0400
> > > > > > > >X-Message-Delivery: Vj0zLjQuMDt1cz0wO2k9MDtsPTA7YT0w
> > > > > > > >X-Message-Info:
> > > > > > >
> > > > >
> > > >JGTYoYF78jF4KkBuPcVLyNgG8JmcWdspwdQTTu3pdOzE+yAAnkcj+T4Jab14Tv7W02e
> > > >JGTYoYF78jF4KkBuPcVLyNgG8JmcWdspwdQTTu3pdOzE+yAAnkcj+If98
> > > > > > >/dDPvLwxT14oxeA==
> > > > > > > >X-SEF-Processed: 5_0_0_910__2007_09_19_17_06_52
> > > > > > > >X-SEF-439E6655-7365-4FE1-A53E-B05742EF2C96: 1
> > > > > > > >X-MimeOLE: Produced By Microsoft Exchange V6.5
> > > > > > > >Content-class: urn:content-classes:message
> > > > > > > >X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic:
> > > > > > > >[Mono-list]
> > > > > > >install
> > > > > > > >libgdiplus?
> > > > > > > >Thread-Index: Acf7AM4qXMuQCG85SQKLGcJMLKQUgAAACfnQ
> > > > > > > >References: <BAY138-F30AD3A61709A89C9A76875BBB90 at phx.gbl>
> > > > > > > >Return-Path: Dan.Maser at inin.com
> > > > > > > >X-OriginalArrivalTime: 19 Sep 2007 21:06:52.0711 (UTC)
> > > > > > > >FILETIME=[009BFB70:01C7FB01]
> > > > > > > >
> > > > > > > >
> > > > > > > >  It should help if you send the output of the command.
> > > > > > > >
> > > > > > > >-----Original Message-----
> > > > > > > >From: mono-list-bounces at lists.ximian.com
> > > > > > > >[mailto:mono-list-bounces at lists.ximian.com] On Behalf Of B
> > > > > > > >R
> > > > > > > >Sent: Wednesday, September 19, 2007 4:05 PM
> > > > > > > >To: mono-list at lists.ximian.com
> > > > > > > >Subject: [Mono-list] install libgdiplus?
> > > > > > > >
> > > > > > > >I'm having difficulties installing libgdiplus on my Ubuntu
> > > > > > > >test
> > > > >system.
> > > > > > > >Per the install instructions, I first run "./configure"
> > > > > > > >which
> > >seems
> > > > >to
> > > > > > > >run fine.
> > > > > > > >But it won't take any of the "make" commands. Make is
> > > > > > > >installed
> > >on
> > > > >the
> > > > > > > >system and updated to the latest version. Anyone got any
>ideas?
> > > > >Thanks
> > > > > > > >
> > > > > > > >
> > > > > > > >_______________________________________________
> > > > > > > >Mono-list maillist  -  Mono-list at lists.ximian.com
> > > > > > > >http://lists.ximian.com/mailman/listinfo/mono-list
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > > > _______________________________________________
> > > > > > Mono-list maillist  -  Mono-list at lists.ximian.com
> > > > > > http://lists.ximian.com/mailman/listinfo/mono-list
> > > > >
> > > >
> > > >
> > >
> >
> >
>
>_______________________________________________
>Mono-list maillist  -  Mono-list at lists.ximian.com
>http://lists.ximian.com/mailman/listinfo/mono-list
>
>




More information about the Mono-list mailing list