Re: [Banshee-List] building 13.2 with daap has problems with Ubuntu



You probably configured/installed Mono.Zeroconf into the /usr/local
prefix (or one other than /usr). This is not advisable since Mono is
in /usr and Mono.Zeroconf installs into the Mono Global Assembly Cache
(GAC).

You will need to either uninstall Mono.Zeroconf from the prefix you used
and run ./configure --prefix=/usr and install again. Or, you can try
your luck with setting MONO_GAC_PREFIX when building Banshee, otherwise
Mono doesn't know where to find Mono.Zeroconf.

I.e. when building Banshee:

MONO_GAC_PREFIX=$MONO_GAC_PREFIX:/usr/local make

That will cause the build to succeed, but then you may need to also run
Banshee with the MONO_GAC_PREFIX set once installed:

MONO_GAC_PREFIX=$MONO_GAC_PREFIX:/usr/local banshee

The bottom line is that it's not a good idea to split your Mono
installation into separate prefixes unless you really know what you are
doing.

I'd just configure/install everything into /usr

--Aaron


On Wed, 2008-01-23 at 17:01 -0500, Dave Lazar wrote:
> Hi,
> 
> When building 13.2 with ipod-sharp, and DAAP.. I get build problems..
> centered on mono-zeroconf. The config script has no problem locating
> mono-zerconf.. but the make step chokes on building the DAAP plugin. I
> can live without DAAP since avahi on Ubuntu 7.10 is also busted it
> seems... I used to be able to use 7.04 with Banshee 12 and DAAP with
> no problems... 
> 
> Build errors...
> 
> ** (../../../build/gconf-schema-extractor.exe:11880): WARNING **: The
> following assembly referenced
> from /opt/stable/src/Plugins/Banshee.Plugins.Daap/Banshee.Plugins.Daap.dll could not be loaded: 
>      Assembly:   Mono.Zeroconf    (assemblyref_index=9)
>      Version:    1.0.0.74
>      Public Key: e60c4f4a95e1099e
> 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 (/opt/stable/src/Plugins/Banshee.Plugins.Daap/). 
> 
> 
> ** (../../../build/gconf-schema-extractor.exe:11880): WARNING **:
> Could not load file or assembly 'Mono.Zeroconf, Version=1.0.0.74,
> Culture=neutral, PublicKeyToken=e60c4f4a95e1099e' or one of its
> dependencies. 
> 
> ** (../../../build/gconf-schema-extractor.exe:11880): WARNING **:
> Could not load file or assembly 'Mono.Zeroconf, Version=1.0.0.74,
> Culture=neutral, PublicKeyToken=e60c4f4a95e1099e' or one of its
> dependencies. 
> 
> Unhandled Exception: System.Reflection.ReflectionTypeLoadException:
> The classes in the module cannot be loaded.
>   at <0x00000> <unknown method>
>   at (wrapper managed-to-native) System.Reflection.Assembly:GetTypes
> (bool)
>   at System.Reflection.Assembly.GetTypes () [0x00000] 
>   at GConfSchemaExtractor.Main (System.String[] args) [0x00000] 
> make[4]: *** [banshee-plugin-daap.schemas.in] Error 1
> 
> Any tips other than trying with build with disable--daap???
> 
> Thanks
> 
> 
> _______________________________________________
> Banshee-list mailing list
> Banshee-list gnome org
> http://mail.gnome.org/mailman/listinfo/banshee-list



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