[Mono-dev] Building mysql-connector-net

Mirco Bauer meebey at meebey.net
Mon Jul 14 15:23:04 EDT 2008


On Mon, 2008-07-14 at 19:42 +0100, Paul wrote:
> Hi,
> 
> What do I need to pass to nant to build mysql-connector-net? The version
> on the mysql website is 1.0.10.1 (or 5.1.6 for ADO2).
> 
> If I pass 
> 
> nant -D:install.prefix=%{_prefix} -D:install.libdir=%{_libdir}
> -D:nunit1.dir=%{_libdir}/mono/1.0 -buildfile:Client.build
> 
> it will start to build, but then complain with the error
> 
> /home/paul/rpmbuild/BUILD/mysql-connector-net-1.0.10.1/Client.build(43,4):
> Target framework could not be changed. "net-1.1" is not a valid
> framework identifier. Valid values are: mono-2.0, mono-1.0
> 
> If I add -D:target=mono-2.0 or -t:mono-2.0, I get the same error.
> 
> Any help would be appreciated - I need it so I can get
> monodevelop-database into Fedora.

You should have a look at the debian source package of it, I also had
big troubles with nant, here the source package:
http://svn.debian.org/wsvn/pkg-cli-libs/packages/mysql-connector-net-5.0/trunk/debian/

build script of it (see build target)
http://svn.debian.org/wsvn/pkg-cli-libs/packages/mysql-connector-net-5.0/trunk/debian/rules

-- 
Regards,

Mirco 'meebey' Bauer

PGP-Key ID: 0xEEF946C8

FOSS Developer    meebey at meebey.net  http://www.meebey.net/
PEAR Developer    meebey at php.net     http://pear.php.net/
Debian Developer  meebey at debian.org  http://www.debian.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 315 bytes
Desc: This is a digitally signed message part
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20080714/e4bfd46a/attachment.bin 


More information about the Mono-devel-list mailing list