Hi,

On Mon, Apr 6, 2009 at 11:19 PM, mog <[email protected]> wrote:
>>
>> i think ifolder is already using gtk-sharp-2.0
>> cat configure.in | grep gtk
>> ..
>> PKG_CHECK_MODULES(GTK_SHARP, gtk-sharp-2.0 >= $GTK_SHARP2_MINIMUM_VERSION)
>
> Well Ill be darned.  To get it to compile I changed CSC = mcs to CSC = gmcs 
> in the following makefiles

First of all, I vaguely remember that there the team was facing some
problem using gmcs to build ifolder. But I'm not sure what the problem
was. I'll try to find out and update this thread.

> ifolder/src/UI/Linux/LinuxClient/application/Makefile
> ifolder/src/UI/Linux/LinuxClient/library/Makefile
> ifolder/src/common/iFolder/Makefile
> ifolder/src/UI/Linux/TrayIcon/Makefile
>
> and edit
> Index: ifolder/src/UI/Linux/LinuxClient/application/iFolderApplication.cs
> ===================================================================
> --- src/UI/Linux/LinuxClient/application/iFolderApplication.cs  (revision 
> 6679)
> +++ src/UI/Linux/LinuxClient/application/iFolderApplication.cs  (working copy)
> @@ -1968,7 +1968,7 @@
>
>                public static void Main (string[] args)
>                       {
> -                               Process[] processes =
> +                                                   
> System.Diagnostics.Process[] processes =
>                                                                               
>                  
> System.Diagnostics.Process.GetProcessesByName("iFolderClient");
>
>                        if(processes.Length > 1)
>
>
> However when I try to run ifolder I get the following problem
> ** (iFolderClient.exe:19021): WARNING **: The following assembly referenced 
> from /usr/local/bin/iFolderClient.exe could not be loaded:
>     Assembly:   TrayIcon    (assemblyref_index=3)
>     Version:    0.0.0.0
>     Public Key: (none)
> 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/local/bin/).
>
>
> ** (iFolderClient.exe:19021): WARNING **: Could not load file or assembly 
> 'TrayIcon, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of 
> its dependencies.
>
> Unhandled Exception: System.TypeLoadException: Could not load type 
> 'Novell.iFolder.iFolderApplication' from assembly 'iFolderClient, 
> Version=3.7.20, Culture=neutral, PublicKeyToken=null'.
>
> for what thats worth

You could try setting MONO_PATH=/usr/local/lib/ or to which ever
directory containing TrayIcon.dll.

HTH,
Srinidhi.

-- 
ASCII ribbon campaign ( )            B S Srinidhi
  - against HTML email  X             http://www.srinidhi-is.in
                     & vCards / \            Bangalore
_______________________________________________
ifolder-dev mailing list
[email protected]
http://forge.novell.com/mailman/listinfo/ifolder-dev

Reply via email to