[MonoDevelop] Build a RPM from C# source

Petit Eric surfzoid at gmail.com
Thu Nov 8 17:08:25 EST 2007


Hello i try to build a RPM from my C# source code, if i simply do a :
./configure  --prefix=/usr --config=RELEASE_ANY_CPU
make
make install
Every thing went OK, so in the .spec file i write configure like this:
%configure  --prefix=/usr --config=RELEASE_ANY_CPU
But when start the build of the RPM with rpm -ba xxxxxx.spec
I have the folowing error :
+ ./configure i586-mandriva-linux-gnu --program-prefix= --prefix=/usr
--exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin
--sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include
--libdir=/usr/lib --libexecdir=/usr/lib --localstatedir=/var/lib
--sharedstatedir=/usr/com --mandir=/usr/share/man
--infodir=/usr/share/info
Unknown argument i586-mandriva-linux-gnu
Usage : configure [--prefix=PREFIX] [--config=CONFIG]

Configurations available :
        RELEASE
        DEBUG_ANY_CPU
        RELEASE_ANY_CPU (Default)
        DEBUG


Is there a way to bypass the configure step ?


More information about the Monodevelop-list mailing list