[Mono-winforms-list] mkbundle fail - error: glib.h: No such file or directory

Student-7 lesha-erokhin at yandex.ru
Sun Jul 18 04:50:40 EDT 2010


Hi, my simple demo VB-application on OpenSuse 11.2 write error in step binary
generating:


mkbundle -o
/home/admin/LinuxTerminalDemo/LinuxTerminalDemo/bin/Debug/LinuxTerminalDemo.so
/home/admin/LinuxTerminalDemo/LinuxTerminalDemo/bin/Debug/LinuxTerminalDemo.exe
--deps 
OS is: Linux                                                                                       
Sources: 1 Auto-dependencies: True                                                                 
   embedding:
/home/admin/LinuxTerminalDemo/LinuxTerminalDemo/bin/Debug/LinuxTerminalDemo.exe      
   embedding: /usr/lib/mono/2.0/mscorlib.dll                                                       
   embedding:
/usr/lib/mono/gac/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll                                                                                               
   embedding:
/usr/lib/mono/gac/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll        
   embedding: /usr/lib/mono/gac/System/2.0.0.0__b77a5c561934e089/System.dll                        
   embedding:
/usr/lib/mono/gac/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll                                                                                               
   embedding:
/usr/lib/mono/gac/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll                
   embedding:
/usr/lib/mono/gac/System.Security/2.0.0.0__b03f5f7f11d50a3a/System.Security.dll      
   embedding:
/usr/lib/mono/gac/Mono.Security/2.0.0.0__0738eb9f132ed756/Mono.Security.dll          
   embedding:
/usr/lib/mono/gac/Mono.WebBrowser/0.5.0.0__0738eb9f132ed756/Mono.WebBrowser.dll      
   embedding:
/usr/lib/mono/gac/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll              
   embedding:
/usr/lib/mono/gac/Mono.Data.Tds/2.0.0.0__0738eb9f132ed756/Mono.Data.Tds.dll          
   embedding:
/usr/lib/mono/gac/System.Transactions/2.0.0.0__b77a5c561934e089/System.Transactions.dll                                                                                                 
   embedding:
/usr/lib/mono/gac/System.EnterpriseServices/2.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll                                                                                     
   embedding:
/usr/lib/mono/gac/Mono.Posix/2.0.0.0__0738eb9f132ed756/Mono.Posix.dll                
   embedding:
/usr/lib/mono/gac/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll          
   embedding:
/usr/lib/mono/gac/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll                                                                                             
Compiling:                                                                                         
as -o temp.o temp.s                                                                                
cc -ggdb -o
/home/admin/LinuxTerminalDemo/LinuxTerminalDemo/bin/Debug/LinuxTerminalDemo.so
-Wall temp.c `pkg-config --cflags --libs mono`  temp.o                                                     
In file included from temp.c:2:                                                                    
/usr/lib/pkgconfig/../../include/mono-1.0/mono/metadata/assembly.h:4:18:
error: glib.h: No such file or directory                                                                                     
In file included from
/usr/lib/pkgconfig/../../include/mono-1.0/mono/metadata/assembly.h:6,        
                 from temp.c:2:                                                                    
/usr/lib/pkgconfig/../../include/mono-1.0/mono/metadata/image.h:9: error:
expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘typedef’                                                           
/usr/lib/pkgconfig/../../include/mono-1.0/mono/metadata/image.h:19: error:
expected ‘:’, ‘,’, ‘;’, ‘}’ or ‘__attribute__’ before ‘*’ token                                                            
.....
/usr/lib/pkgconfig/../../include/mono-1.0/mono/metadata/assembly.h:84:
error: expected declaration specifiers or ‘...’ before ‘gpointer’
temp.c:4: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before
‘extern’
temp.c:5: error: ‘assembly_data_LinuxTerminalDemo_exe’ undeclared here (not
in a function)
[Fail]


I'm installin MONO on

zypper addrepo http://ftp.novell.com/pub/mono/download-stable/openSUSE_11.2
mono-stable
zypper refresh --repo mono-stable
zypper dist-upgrade --repo mono-stable

what's wrong? 
-- 
View this message in context: http://mono.1490590.n4.nabble.com/mkbundle-fail-error-glib-h-No-such-file-or-directory-tp2292938p2292938.html
Sent from the Mono - WinForms mailing list archive at Nabble.com.


More information about the Mono-winforms-list mailing list