daniele50 ha scritto:Non devi scusarti, mi stai aiutando e ti ringrazio, arriviamo dove possiamo arrivare...
ok... comunque fammi sapere come va a finire e se hai altri problemi... è tutta esperienza anche per me

Moderatore: Staff
daniele50 ha scritto:Non devi scusarti, mi stai aiutando e ti ringrazio, arriviamo dove possiamo arrivare...


Errori di compilazione RPM:
File non trovato: /root/rpmbuild/BUILDROOT/gtk-sharp2-2.12.10-6.el6.x86_64/usr/lib64/gtk-sharp-2.0#find / -name gtk-sharp-2.0
/root/rpmbuild/BUILDROOT/gtk-sharp2-2.12.10-6.el6.x86_64/usr/lib64/mono/gtk-sharp-2.0
/root/rpmbuild/BUILDROOT/gtk-sharp2-2.12.10-6.el6.x86_64/usr/lib/gtk-sharp-2.0
/usr/local/lib/gtk-sharp-2.0
/usr/local/lib/mono/gtk-sharp-2.0
/root/rpmbuild/BUILDROOT/gtk-sharp2-2.12.10-6.el6.x86_64/
mono-core.x86_64 2.4.3.1-3.el6 @epel
mono-data.x86_64 2.4.3.1-3.el6 @epel
mono-data-sqlite.x86_64 2.4.3.1-3.el6 @epel
mono-devel.x86_64 2.4.3.1-3.el6 @epel
mono-extras.x86_64 2.4.3.1-3.el6 @epel
mono-web.x86_64 2.4.3.1-3.el6 @epel
mono-winforms.x86_64 2.4.3.1-3.el6 @epel

Ora ho decommentato le patch e da un altro errore:
-rwxr-xr-x 1000/100 45142 2008-12-03 11:04 gtk-sharp-2.12.10/config.guess
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd gtk-sharp-2.12.10
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ echo 'Patch #1 (gtk-sharp-2.9.0-monodir.patch):'
Patch #1 (gtk-sharp-2.9.0-monodir.patch):
+ /bin/cat /root/rpmbuild/SOURCES/gtk-sharp-2.9.0-monodir.patch
+ /usr/bin/patch -s -p1 -b --suffix .monodir --fuzz=0
1 out of 1 hunk FAILED -- saving rejects to file parser/gapi2-fixup.in.rej
1 out of 1 hunk FAILED -- saving rejects to file parser/gapi2-parser.in.rej
1 out of 1 hunk FAILED -- saving rejects to file generator/gapi2-codegen.in.rej
errore: Stato d'uscita errato da /var/tmp/rpm-tmp.YvPqnl (%prep)
Errori di compilazione RPM:
Stato d'uscita errato da /var/tmp/rpm-tmp.YvPqnl (%prep)

./DemoImages.cs(173,42): warning CS0618: `Gtk.Image.FromPixbuf' is obsolete: `Use the Pixbuf property instead'
./DemoPrinting.cs(79,39): error CS0029: Cannot implicitly convert type `Cairo.Context' to `Cairo.Context'
./DemoPrinting.cs(104,43): error CS1502: The best overloaded method match for `Pango.CairoHelper.ShowLayout(Cairo.Context, Pango.Layout)' has some invalid arguments
/root/rpmbuild/BUILD/gtk-sharp-2.12.11/pango/pango-sharp.dll (Location of the symbol related to previous error)
./DemoPrinting.cs(104,43): error CS1503: Argument `#1' cannot convert `Cairo.Context' expression to type `Cairo.Context'
./DemoPrinting.cs(104,43): (equally named types possibly from different assemblies in previous error)
/usr/lib64/mono/gac/Mono.Cairo/2.0.0.0__0738eb9f132ed756/Mono.Cairo.dll (Location of the symbol related to previous error)
/usr/lib64/mono/gac/Mono.Cairo/1.0.5000.0__0738eb9f132ed756/Mono.Cairo.dll (Location of the symbol related to previous error)
./DemoPrinting.cs(111,43): error CS1502: The best overloaded method match for `Pango.CairoHelper.ShowLayout(Cairo.Context, Pango.Layout)' has some invalid arguments
/root/rpmbuild/BUILD/gtk-sharp-2.12.11/pango/pango-sharp.dll (Location of the symbol related to previous error)
./DemoPrinting.cs(111,43): error CS1503: Argument `#1' cannot convert `Cairo.Context' expression to type `Cairo.Context'
./DemoPrinting.cs(111,43): (equally named types possibly from different assemblies in previous error)
/usr/lib64/mono/gac/Mono.Cairo/2.0.0.0__0738eb9f132ed756/Mono.Cairo.dll (Location of the symbol related to previous error)
/usr/lib64/mono/gac/Mono.Cairo/1.0.5000.0__0738eb9f132ed756/Mono.Cairo.dll (Location of the symbol related to previous error)
./DemoPrinting.cs(125,51): error CS1502: The best overloaded method match for `Pango.CairoHelper.ShowLayout(Cairo.Context, Pango.Layout)' has some invalid arguments
/root/rpmbuild/BUILD/gtk-sharp-2.12.11/pango/pango-sharp.dll (Location of the symbol related to previous error)
./DemoPrinting.cs(125,51): error CS1503: Argument `#1' cannot convert `Cairo.Context' expression to type `Cairo.Context'
./DemoPrinting.cs(125,51): (equally named types possibly from different assemblies in previous error)
/usr/lib64/mono/gac/Mono.Cairo/2.0.0.0__0738eb9f132ed756/Mono.Cairo.dll (Location of the symbol related to previous error)
/usr/lib64/mono/gac/Mono.Cairo/1.0.5000.0__0738eb9f132ed756/Mono.Cairo.dll (Location of the symbol related to previous error)
Compilation failed: 7 error(s), 1 warnings
make[3]: *** [GtkDemo.exe] Error 1
make[3]: Leaving directory `/root/rpmbuild/BUILD/gtk-sharp-2.12.11/sample/GtkDemo'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/rpmbuild/BUILD/gtk-sharp-2.12.11/sample'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/rpmbuild/BUILD/gtk-sharp-2.12.11'
make: *** [all] Error 2
errore: Stato d'uscita errato da /var/tmp/rpm-tmp.eSodLe (%build)
Errori di compilazione RPM:
Stato d'uscita errato da /var/tmp/rpm-tmp.eSodLe (%build)
Visitano il forum: Nessuno e 1 ospite