[Mono-list] compiling libgdiplus
Jonathan S. Chambers
Jonathan.Chambers at ansys.com
Wed Feb 8 11:00:47 EST 2006
The cairo source is in the libgdiplus directory. You do not need to
install a version of cairo for libgdiplus to work.
I can't remember what else I did to get libgdiplus built (I did it
initially a few months ago). If you send me the output from ./configure
in the cairo directory, I'll take a look. Else, we'll have to wait for
an expert to answer.
- Jonathan
-----Original Message-----
From: Greg Creme [mailto:gcreme at ncsadvantage.com]
Sent: Wednesday, February 08, 2006 10:54 AM
To: Jonathan S. Chambers; mono-list at lists.ximian.com
Subject: RE: [Mono-list] compiling libgdiplus
Hi Jonathan,
It appears that the freetype package has installed to
/usr/lib/pkgconfig. I
typed echo $PKG_CONFIG_PATH to check and got a blank line, so I guess
nothing was defined there. So, I typed export
PKG_CONFIG_PATH=/usr/lib/pkgconfig to set it up and tried it again, and
I
still get the same error message. Is it possible that it can't find the
cairo source? Is there a set location where that should be or some way
for
me to tell the configure command where to look for it?
Thanks,
Greg
-----Original Message-----
From: Jonathan S. Chambers [mailto:Jonathan.Chambers at ansys.com]
Sent: Wednesday, February 08, 2006 10:41 AM
To: gcreme at ncsadvantage.com; mono-list at lists.ximian.com
Subject: RE: [Mono-list] compiling libgdiplus
Greg,
I build libgdiplus on RHEL 3. I had the same problem as you, and
I installed freetype/fontconfig. Is the directory where the
fontconfig.pc file is located in your PKG_CONFIG_PATH?
- Jonathan
-----Original Message-----
From: mono-list-bounces at lists.ximian.com
[mailto:mono-list-bounces at lists.ximian.com] On Behalf Of
gcreme at ncsadvantage.com
Sent: Wednesday, February 08, 2006 10:23 AM
To: mono-list at lists.ximian.com
Subject: [Mono-list] compiling libgdiplus
I am trying to compile libgdiplus on redhat enterprise linux 3. I have
already compiled and installed the latest mono from svn. When I type
./configure in the libgdiplus source directory, I get the following:
configure: configuring in cairo
configure: running /bin/sh ./configure --prefix=/usr/local
--cache-file=/dev/null --srcdir=.
./configure: ./configure: No such file or directory
configure: error: /bin/sh ./configure failed for cairo
I have downloaded the cairo 1.0.2 source code and placed it in the same
directory as the libgdiplus source (ie. they are both in the directory
called trunk so the path is /trunk/libgdiplus and /trunk/cairo-1.0.2)
When I change to the cairo directory and run ./configure, I get the
following:
cairo will be compiled with the following surface backends:
Xlib: yes
Quartz: no
XCB: no
Win32: no
PostScript: no
PDF: no
glitz: no
the following font backends:
FreeType: no
Win32: no
ATSUI: no
and the following features:
PNG functions: no
configure: error: Cairo requires at least one font backend.
Please install freetype and fontconfig, then try
again:
http://freetype.org/ http://fontconfig.org/
I went to freetype.org to download the code - grabbed freetype-2.1.10
and compiled and installed it. When I run.configure again for cairo, I
get the same error message.
SO, I went back and downloaded the fontconfig.org file -
fontconfig-2.3.2, and compiled and installed it. Finally, it says that
freetype is installed when I run ./configure in the cairo directory.
So, I went back to the libgdiplus directory and ran ./configure again.
I get the same error message:
configure: configuring in cairo
configure: running /bin/sh ./configure --prefix=/usr/local
--cache-file=/dev/null --srcdir=.
./configure: ./configure: No such file or directory
configure: error: /bin/sh ./configure failed for cairo
I even tried to run ./autogen.sh and it gave me:
configure: configuring in cairo
configure: running /bin/sh ./configure --prefix=/usr/local
'--enable-maintainer -mode' '--enable-compile-warnings'
--cache-file=/dev/null --srcdir=.
./configure: ./configure: No such file or directory
configure: error: /bin/sh ./configure failed for cairo
So, finally, I thought that if I just installed Cairo, it might work
without having to do this, so I ran make and make install in the cairo
directory and tried again. No luck.
Can someone tell me what I am missing to get this to compile and
install? I am trying to get this done and working for a proof of
concept for a client on Friday to show them that Mono on Linux is a
feasible option, but am not having any luck with it so far.
Thanks,
Greg
_______________________________________________
Mono-list maillist - Mono-list at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list
--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.375 / Virus Database: 267.15.2/253 - Release Date: 2/7/2006
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.375 / Virus Database: 267.15.2/253 - Release Date: 2/7/2006
More information about the Mono-list
mailing list