Re: Beagle on Gentoo



Joe Shaw ha scritto:

Hi,

On Thu, 2005-10-27 at 00:36 +0200, federico wrote:
i get this error while launching best:

** (/usr/lib/beagle/Best.exe:13223): WARNING **: The following assembly referenced from /usr/lib/mono/gac/gnome-sharp/2.0.0.0__35e10195dab3c99f/gnome-sharp.dll could not be loaded:
    Assembly:   glib-sharp    (assemblyref_index=1)
    Version:    2.0.0.0
    Public Key: 35e10195dab3c99f
The assembly was not found in the Global Assembly Cache, a path listed in the MONO_PATH environment variable, or in the location of the executing assembly (/usr/lib/mono/gac/gnome-sharp/2.0.0.0__35e10195dab3c99f).

It looks like your gnome-sharp and glib-sharp are out of sync.  I'm not
sure how the Gentoo packaging works, but make sure your glib-sharp and
gnome-sharp DLLs are the same version.

Specifically, your gnome-sharp is probably 1.9.5 and looking for
glib-sharp 1.9.5 (but it is probably either 2.3.x or 2.5.x)

ok this problem is now fixed in the portage tree.
now all the *-sharp ebuilds are in the testing branch of portage tree...
however i have a problem downgrading gtk-sharp from 2.5.92 to 2.3.91:

/usr/bin/mono ../generator/gapi_codegen.exe --generate atk-api.xml \
       \
--outdir=generated --customdir=. --assembly-name=atk-sharp      \
--gluelib-name=atksharpglue-2 --glue-filename=glue/generated.c          \
--glue-includes=                                                \
&& touch generated-stamp
Property has unknown Type value_array in type Atk.Relation
Name: listener Type: GSignalEmissionHook in atk_add_global_event_listener in me
thod AddGlobalEventListener in type Atk.Global
Defaulting FocusHandler param to 'call' scope in method NoOpObject.AddFocusHandl
er
Defaulting PropertyChangeHandler param to 'call' scope in method Object.ConnectP
ropertyChangeHandler
Defaulting KeySnoopFunc param to 'call' scope in method Global.AddKeyEventListen
er
Defaulting EventListener param to 'call' scope in method Global.AddFocusTracker Defaulting EventListenerInit param to 'call' scope in method Focus.TrackerInit

Generation Summary:
Enums: 10 Structs: 5 Boxed: 0 Opaques: 0 Interfaces: 12 Objects: 11 Call
backs: 6
 Properties: 20  Signals: 20  Methods: 271  Constructors: 5  Throttled: 2
Total Nodes: 362

cp ../gtk-sharp.snk .
cp ../AssemblyInfo.cs .
/usr/bin/mcs -nowarn:0169,0612,0618 -unsafe -out:atk-sharp.dll -target:library
/r:../glib/glib-sharp.dll generated/*.cs  AssemblyInfo.cs
make[2]: Leaving directory `/var/tmp/portage/gtk-sharp-2.3.91/work/gtk-sharp-2.3
.91/atk'
Making all in gdk
make[2]: Entering directory `/var/tmp/portage/gtk-sharp-2.3.91/work/gtk-sharp-2.
3.91/gdk'
Making all in .
make[3]: Entering directory `/var/tmp/portage/gtk-sharp-2.3.91/work/gtk-sharp-2.
3.91/gdk'
cp ./gdk-api.raw gdk-api.xml
chmod u+w gdk-api.xml
/usr/bin/mono ../parser/gapi-fixup.exe --api=gdk-api.xml --metadata=./Gdk.metada
ta --symbols=./gdk-symbols.xml
rm -f generated/* &&    \
/usr/bin/mono ../generator/gapi_codegen.exe --generate gdk-api.xml \
-I:../pango/pango-api.xml       \
--outdir=generated --customdir=. --assembly-name=gdk-sharp      \
--gluelib-name=gdksharpglue-2 --glue-filename=glue/generated.c          \
--glue-includes=gdk/gdk.h                                               \
&& touch generated-stamp
Name: flags Type: GSpawnFlags in gdk_spawn_on_screen in method OnScreen in type
Gdk.Spawn
Name: flags Type: GSpawnFlags in gdk_spawn_on_screen_with_pipes in method OnScr
eenWithPipes in type Gdk.Spawn
Name: enter_fn Type: GCallback in gdk_threads_set_lock_functions in method SetL
ockFunctions in type Gdk.Threads
Defaulting InvalidateMaybeRecurseChildFunc param to 'call' scope in method Windo
w.InvalidateMaybeRecurse

Generation Summary:
Enums: 52 Structs: 17 Boxed: 3 Opaques: 11 Interfaces: 0 Objects: 21 Cal
lbacks: 8
 Properties: 8  Signals: 9  Methods: 438  Constructors: 25  Throttled: 3
Total Nodes: 595

cp ../gtk-sharp.snk .
cp ../AssemblyInfo.cs .
/usr/bin/mcs -nowarn:0169,0612,0618 -unsafe -out:gdk-sharp.dll -target:library /r:../glib/glib-sharp.dll /r:../pango/pango-sharp.dll generated/*.cs ./EventButt on.cs ./EventClient.cs ./EventConfigure.cs ./EventCrossing.cs ./Event.cs ./Event DND.cs ./EventExpose.cs ./EventFocus.cs ./EventKey.cs ./EventMotion.cs ./EventPr operty.cs ./EventProximity.cs ./EventScroll.cs ./EventSelection.cs ./EventSettin g.cs ./EventVisibility.cs ./EventWindowState.cs ./Key.cs ./Size.cs ./TextPropert
y.cs AssemblyInfo.cs
generated/PangoHelper.cs(17,55): error CS0039: Cannot convert type `GLib.Object'
to `Pango.Context' via a built-in conversion
generated/PangoHelper.cs(51,55): error CS0039: Cannot convert type `GLib.Object'
to `Pango.Context' via a built-in conversion
Compilation failed: 2 error(s), 0 warnings
make[3]: *** [gdk-sharp.dll] Error 1
make[3]: Leaving directory `/var/tmp/portage/gtk-sharp-2.3.91/work/gtk-sharp-2.3
.91/gdk'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/gtk-sharp-2.3.91/work/gtk-sharp-2.3
.91/gdk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gtk-sharp-2.3.91/work/gtk-sharp-2.3
.91'
make: *** [all] Error 2

!!! ERROR: dev-dotnet/gtk-sharp-2.3.91 failed.
!!! Function src_compile, Line 59, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]