You need to _CREATE_ those files.

yum (yellowdog update manager) stores different software repositories in 
/etc/yum.repos.d

If you create any files there, yum will try to read them as repositories.

So, you just create those files there with the content I gave you and yum will 
be able to read the nrpms repositories.


Alex

Peter De Jager wrote:
Still confused ;-). I don't have either of these two files
(/etc/yum.repos.d/nrpms, /etc/yum.repos.d/nrpms-mono.repo). The only similar
ones in /etc are:

yum.repos.d.fedora-devel.repo
yum.repos.d.fedora-extras-devel.repo
yum.repos.d.fedora-extras.repo
yum.repos.d.fedora.repo
yum.repos.d.fedora-updates.repo
yum.repos.d.fedora-updates-testing.repo

Should I edit existing files or create new ones with the content you
specify?

I managed to compile Mono from svn, but not libgdiplus. Once I've set up yum
as you describe and I do 'yum install mono', which version of Mono will it
install (last stable? daily tarball? svn?). Will this not clash with the
existing installation?

Thanks
Pete.

-----Original Message-----
From: Alex Roman [mailto:[EMAIL PROTECTED] Sent: Sunday, July 24, 2005 19:07
To: Peter De Jager
Cc: mono-list@lists.ximian.com
Subject: Re: [Mono-list] Problem compiling libgdiplus (FC4, Mono 1.1.8)

Use Fedora's yum utility.

Heres what I did:

1. vi /etc/yum.repos.d/nrpms and add this to the file --snip [nr-production] name=Fedora Core $releasever - $basearch - nrpms.net/production #baseurl=http://yum.nrpms.net/fedora-$releasever-$basearch/production/
mirrorlist=http://yum.nrpms.net/fedora-$releasever-$basearch/p
roduction/mirrors-nrpms
enabled=1
gpgcheck=0

[nr-testing]
name=Fedora Core $releasever - $basearch - nrpms.net/testing #baseurl=http://yum.nrpms.net/fedora-$releasever-$basearch/testing/
mirrorlist=http://yum.nrpms.net/fedora-$releasever-$basearch/t
esting/mirrors-nrpms
enabled=1
gpgcheck=0

[nr-experimental]
name=Fedora Core $releasever - $basearch - nrpms.net/experimental #baseurl=http://yum.nrpms.net/fedora-$releasever-$basearch/exp
erimental/
mirrorlist=http://yum.nrpms.net/fedora-$releasever-$basearch/e
xperimental/mirrors-nrpms
enabled=0
gpgcheck=0

[nr-graveyard]
name=Fedora Core $releasever - $basearch - nrpms.net/graveyard #baseurl=http://yum.nrpms.net/fedora-$releasever-$basearch/graveyard/
mirrorlist=http://yum.nrpms.net/fedora-$releasever-$basearch/g
raveyard/mirrors-nrpms
enabled=0
gpgcheck=0

[nr-debug]
name=Fedora Core $releasever - $basearch - nrpms.net/debug #baseurl=http://yum.nrpms.net/fedora-$releasever-$basearch/debug
mirrorlist=http://yum.nrpms.net/fedora-$releasever-$basearch/d
ebug/mirrors-nrpms
enabled=0
gpgcheck=0
--snip--

2. vi /etc/yum.repos.d/nrpms-mono.repo and add this to the file:
--snip--
[nr-mono]
name=Fedora Core $releasever - $basearch - nrpms.net/mono #baseurl=http://yum.nrpms.net/fedora-$releasever-$basearch/mono/
mirrorlist=http://yum.nrpms.net/fedora-$releasever-$basearch/m
ono/mirrors-nrpms
enabled=1
gpgcheck=0

[nr-mono-devel]
name=Fedora Core $releasever - $basearch - nrpms.net/mono-devel #baseurl=http://yum.nrpms.net/fedora-$releasever-$basearch/mono-devel/
mirrorlist=http://yum.nrpms.net/fedora-$releasever-$basearch/m
ono-devel/mirrors-nrpms
enabled=1
gpgcheck=0
--snip--

3. Update your system with
# yum update

4. Install mono with
# yum install mono

5. Install other packages from the repository using # yum install <package-name>

6. Have fun :)


Hope this helps, though we still need to figure out how to get mod_mono working!


~ Alex Roman


Peter De Jager wrote:

Thanks for the link. I downloaded

libgdiplus-1.1.8-1.1.fc4.nr.src.rpm
and tried to install it with: rpm -ivh but it didn't seem

to work. If
I query with rpm -q it reports that libgdiplus-1.1.8-1.1.fc4.nr.src.rpm is not installed.

rpm -q also shows both mono and mcs as not installed, even though I installed from svn and I can run applications under mono

(apart from
Windows Forms apps which need libgdiplus).

I'm very new to all of this (a bit confused to put it mildly).

Pete.




-----Original Message-----
From: Alex Roman [mailto:[EMAIL PROTECTED]
Sent: Friday, July 22, 2005 13:14
To: Peter De Jager
Cc: mono-list@lists.ximian.com
Subject: Re: [Mono-list] Problem compiling libgdiplus (FC4, Mono 1.1.8)

http://www.nrpms.net/Packages/fedora-4-i386/

No mod_mono (yet?)

mono source code might have to be altered to compile with gcc-4, I have a feeling those packages aren't compiled with gcc-4,

though they
work on my machine.


HTH,
Alex.

Peter De Jager wrote:


I compiled freetype-2.1.10 from source (but yum shows that freetype.ppc 2.1.9-2 and freetype-devel 2.1.9-2 are installed, so I

guess it was
already installed?). Nonetheless, I get the same behaviour

when trying


to build libgdiplus-1.1.8. The output from configuring

libgdiplus still shows:


...
Cairo will be compiled with the following suftace backends:
...
And the following font backends:
      freetype: no
      atsui: no
...

And make still fails with the 'CAIRO_FONT_BACKEND_DEFAULT' error.

Is there something else I need to do for the libgdiplus

build process


to "see" the freetype lib?

Thanks
Pete.





-----Original Message-----
From: Peter Dennis Bartok [mailto:[EMAIL PROTECTED]
Sent: Friday, July 22, 2005 00:55
To: Peter De Jager; mono-list@lists.ximian.com
Subject: Re: [Mono-list] Problem compiling libgdiplus (FC4, Mono
1.1.8)

You need freetype on your system. Either compile from source or install the freetype-devel package.

Peter

-----Original Message-----
From: "Peter De Jager" <[EMAIL PROTECTED]>
To: <mono-list@lists.ximian.com>
Date: 21 July, 2005 16:39
Subject: [Mono-list] Problem compiling libgdiplus (FC4,

Mono 1.1.8)




I am having trouble installing libgdiplus. I have tried both the go-mono download and svn but I get the same error:

[EMAIL PROTECTED] libgdiplus]# ./autogen.sh

--prefix=/usr/local/ ...

cairo will be compiled with the following surface backends:
Xlib: yes
Quartz: no
XCB: no (requires XCB http://freedesktop.org/software/xcb)
PostScript: yes
PDF: no
PNG: no (requires libpng http://www.libpng.org)
glitz: no (requires glitz http://freedesktop.org/software/glitz)
and the following font backends:
freetype: no
atsui: no
---
Configuration summary
* Installation prefix = /usr/local/
* Codecs supported:
  - TIFF: yes
  - JPEG: yes
  - GIF: yes
  - PNG: yes
  NOTE: if any of the above say 'no' you may install the
        corresponding development packages for them, rerun
        autogen.sh to include them in the build.
---
Now type `make' to compile

[EMAIL PROTECTED] libgdiplus]# make
...
if /bin/sh ../libtool --tag=CC --mode=compile gcc

-DHAVE_CONFIG_H -I. -I.



-I.. -I. -I../../libpixman/src -Wall -Wpointer-arith

-Wstrict-prototypes



-Wmissing-prototypes -Wmissing-declarations

-Wnested-externs


-fno-strict-aliasing    -g -O2 -MT cairo_font.lo -MD -MP -MF
".deps/cairo_font.Tpo" -c -o cairo_font.lo cairo_font.c; \

then mv -f



".deps/cairo_font.Tpo" ".deps/cairo_font.Plo"; else rm -f ".deps/cairo_font.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H

-I. -I. -I..


-I. -I../../libpixman/src -Wall -Wpointer-arith

-Wstrict-prototypes


-Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -g -O2 -MT cairo_font.lo -MD -MP -MF .deps/cairo_font.Tpo -c cairo_font.c -fPIC -DPIC -o

.libs/cairo_font.o



cairo_font.c: In function '_font_cache_create_entry':
cairo_font.c:89: error: 'CAIRO_FONT_BACKEND_DEFAULT'

undeclared (first



use in this function)
cairo_font.c:89: error: (Each undeclared identifier is

reported only


once
cairo_font.c:89: error: for each function it appears in.)
make[4]: *** [cairo_font.lo] Error 1
make[4]: Leaving directory `/root/mono/libgdiplus/cairo/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/root/mono/libgdiplus/cairo'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/root/mono/libgdiplus/cairo'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/mono/libgdiplus'
make: *** [all] Error 2
[EMAIL PROTECTED] libgdiplus]#

What do I need to do to fix this? Or what should I search

for to find



an answer.

Thanks
Pete.

_______________________________________________
Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list




_______________________________________________
Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list


_______________________________________________
Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list




_______________________________________________
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to