FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Development

 
 
LinkBack Thread Tools
 
Old 09-30-2011, 02:53 PM
Richard Shaw
 
Default Is there a mono developer in the house? Need help building moonlight.

I'm trying to package moonlight for possible inclusion at RPM Fusion
but I'm having some issues.

1. pkg-config problem:

I'm currently working on version 2.4.1 moonlight since it's the latest
stable. It apparently is supposed to work with mono 2.6 but 2.10 is
what F15 has, hopefully 2.6 is only a minimum.

I've already had to hack the main Makefile because of what I think is a
pkg-config issue with mono.

By default, the moonlight Makefile uses:

$ pkg-config --cflags mono

which returns nothing, while:

$ pkg-config --cflags mono-2
-D_REENTRANT -I/usr/lib64/pkgconfig/../../include/mono-2.0

^ returns what I need. ^

2. After that I'm getting most of the way though the compile but it's
failing looking for Mono.Cecil.dll. It's looking for it in a rather
strange place so I may have to hack the Makefile a bit to get it to
find it in the right place.

Here's the error I'm getting:
make[3]: Entering directory
`/home/build/rpmbuild/moonlight/BUILD/moonlight-2.4.1/class'
make[3]: *** No rule to make target
`/usr/bin/class/lib/net_1_1/Mono.Cecil.dll', needed by
`copy-mcs-assemblies'. Stop.

I don't have a problem hacking the makefile to look in the right place
except the file (assuming I found the right one) is in an odd
directoy:

$ locate Mono.Cecil.dll
/usr/lib64/mono/gac/Mono.Cecil/0.9.4.0__0738eb9f132ed756/Mono.Cecil.dll

I can manually put that in the makefile but it seems that location is
likely to change on an update of mono...

Any ideas?

Thanks,
Richard
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 

Thread Tools




All times are GMT. The time now is 03:23 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org