[MonoDevelop] Build a RPM from C# source

Petit Eric surfzoid at gmail.com
Thu Nov 8 18:03:28 EST 2007


I already try your first solution but doesn't work, so i change my
properties in MD to use autogen and integrate the make file to the
project so it dont ask anymore for CPU, but take great the --prefix
arg, now i have neww error problem :
it try to use a debug dir/file but i didn't see why :

find: /tmp/Cs-ObexFtp-1.5-1misc-buildroot/usr/lib/debug: Aucun fichier
ou rÃ(c)pertoire de ce type
+ '[' -n '' ']'
+ /usr/share/spec-helper/clean_files
+ '[' -n '' ']'
+ /usr/share/spec-helper/compress_files .lzma
+ '[' -n '' ']'
+ /usr/share/spec-helper/strip_files
+ '[' -n '' ']'
+ /usr/share/spec-helper/relink_symlinks
+ '[' -n '' ']'
+ /usr/share/spec-helper/clean_perl
+ '[' -n '' ']'
+ /usr/share/spec-helper/lib_symlinks
+ '[' -n '' ']'
+ /usr/share/spec-helper/gprintify
+ '[' -n '' ']'
+ /usr/share/spec-helper/fix-mo
+ '[' -n '' ']'
+ /usr/share/spec-helper/translate_menu.pl
+ '[' -n '' ']'
+ /usr/share/spec-helper/fixpamd
+ '[' -n '' ']'
+ /usr/share/spec-helper/remove_info_dir
+ '[' -n '' ']'
+ /usr/share/spec-helper/fix-eol
Traitement des fichiers: Cs-ObexFtp-1.5-1misc
Traitement des fichiers: Cs-ObexFtp-debug-1.5-1misc
VÃ(c)rification des fichiers non empaquetÃ(c)s:
/usr/lib/rpm/check-files /tmp/Cs-ObexFtp-1.5-1misc-buildroot
erreur: Fichier(s) installÃ(c)(s) (mais non empaquetÃ(c)s):
   /usr/bin/cs-obexftp
   /usr/lib/cs-obexftp/Cs-ObexFtp.exe


Erreur de construction de RPM:
    Fichier(s) installÃ(c)(s) (mais non empaquetÃ(c)s):
   /usr/bin/cs-obexftp
   /usr/lib/cs-obexftp/Cs-ObexFtp.exe


2007/11/8, Michael Hutchinson <m.j.hutchinson at gmail.com>:
> On Nov 8, 2007 5:38 PM, Petit Eric <surfzoid at gmail.com> wrote:
> > you make me confuse, i folow french howto's, specialy from mandriva
> > wiki and it say we can add configure option
> > http://www.linuxfrench.net/article.php3?id_article=1327
>
> Sounds like a mandriva bug then, or a problem with the walkthrough.
> You could try removing the "--prefix=/usr" from your %configure
> command, since it seems to be adding that already.
>
> Alternatively, as a workaround, try reimplementing the configure
> command as I suggested. Replace
>
> %configure  --prefix=/usr --config=RELEASE_ANY_CPU
>
> in your spec file with
>
> %{?env_options}
> ./configure --prefix=%{_prefix}  --config=RELEASE_ANY_CPU
>
> Hopefully that will work. If it doesn't, I suggest asking on the mandriva lists.
>
> --
> Michael Hutchinson
> http://mjhutchinson.com
>


More information about the Monodevelop-list mailing list