[Mono-list] building mono from source
Rodolfo Campero
rodolfocampero@hotmail.com
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)
>
>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