[Mono-list] building mono from source

Rodolfo Campero rodolfocampero@hotmail.com
Thu, 17 Jun 2004 13:22:08 +0000



>From: "Rodolfo Campero" <rodolfocampero@hotmail.com>
>To: milan10@pobox.sk, mono-list@lists.ximian.com
>Subject: RE: [Mono-list] building mono from source
>Date: Thu, 17 Jun 2004 12:58:04 +0000
>
>Below...
>
>
>>From: Milan Konecny <milan10@pobox.sk>
>>Reply-To: Milan Konecny <milan10@pobox.sk>
>>To: mono-list@lists.ximian.com
>>Subject: [Mono-list] building mono from source
>>Date: Thu, 17 Jun 2004 09:44:57 +0200
>>
>>Hi,
>>
>>I try to install mono-0.96(Beta 3)! I use Mandrake 10.0! I didn't use
>>linux before, but I want to see .NET code runnig on linux... Is there
>>a way haw can I see if I install glib properly as well as pkgconfig???
>>I'm from Slovakia so sorry for my english and please don't give me
>>advice like use redcarpet and download it from net, my notebook is not
>>connected to internet, thanks!!!
>>
>>First I build glib-2.0.6:
>>./configure --prefix=/usr/local
>>make
>>make install
>>
>>then pkgconfig-0.15.0:
>>./configure --prefix=/usr/local
>>make
>>make install
>>
>>finnaly I try to buld mono but I get this error:
>>./configure --prefix=/usr/local
>>
>>Package glib-2.0 was not found in the pkg-config search path.
>>Perhaps you should add the directory containing `glib-2.0.pc'
>>to the PKG_CONFIG_PATH environment variable
>>No package 'glib-2.0' found
>>Package glib-2.0 was not found in the pkg-config search path.
>>Perhaps you should add the directory containing `glib-2.0.pc'
>>to the PKG_CONFIG_PATH environment variable
>>No package 'glib-2.0' found
>>checking for glib-2.0 >= 1.3.11... Package glib-2.0 was not found in the
>>pkg-config search path.
>>Perhaps you should add the directory containing `glib-2.0.pc'
>>to the PKG_CONFIG_PATH environment variable
>>No package 'glib-2.0' found
>>
>>configure: error: Library requirements (glib-2.0 >= 1.3.11) not met;
>>consider adjusting the PKG_CONFIG_PATH environment variable if your
>>libraries are in
>>a nonstandard prefix so pkg-config can find them.
>>
>
>Just do that... I mean:
>   echo $PKG_CONFIG_PATH
>will show you the list of paths where pkgconfig will look for libraries.
>If /usr/local/pkgconfig doesn't appear in the list, do
>   export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/local/pkgconfig
>and try again.
>(syntax and/or paths may be wrong, I'm at work now and I don't have a Linux 
>box to check)
>

Sorry I misunderstood, I meant to say: find the location of glib-2.0.pc and
the rest of the files and add those paths to PKG_CONFIG_PATH. (man find).
If you can't find those files, you will need to install the corresponding 
-devel
packages.

>>
>>Thanks a lot!
>>
>>____________________________________
>>http://www.logofun.pobox.sk - urobte radost svojmu telefonu
>>
>>_______________________________________________
>>Mono-list maillist  -  Mono-list@lists.ximian.com
>>http://lists.ximian.com/mailman/listinfo/mono-list
>
>_________________________________________________________________
>STOP MORE SPAM with the new MSN 8 and get 2 months FREE* 
>http://join.msn.com/?page=features/junkmail
>
>_______________________________________________
>Mono-list maillist  -  Mono-list@lists.ximian.com
>http://lists.ximian.com/mailman/listinfo/mono-list

_________________________________________________________________
The new MSN 8: smart spam protection and 2 months FREE*  
http://join.msn.com/?page=features/junkmail