[Mono-devel-list] mono.pc file

Aleksey Sanin aleksey at aleksey.com
Tue Aug 26 19:36:54 EDT 2003


$ man pkg_config
....
       PKG_CONFIG_PATH
              A  colon-separated  (on  Windows,  semicolon-separated)  
list of
              directories to search for .pc files.  The default 
directory will
              always be searched after searching the path; the default 
is lib-
              dir/pkgconfig where libdir is the libdir  where  
pkg-config  was
              installed.
....


If you have installed mono with "--prefix=<something>" the *.pc files 
should be installed in
"<something>/lib/pkgconfig" folder. Just execute something like 
(replacing <something>
with actual value):

        export PKG_CONFIG_PATH=<something>/lib/pkgconfig

before configuring csharp-studio and you should be OK.


Aleksey


Richard McGrath wrote:

> Hi
>
>  
>
> I am trying to compile a program written in mono (csharp-studio - 
> mentioned on this list not too long ago) and the configure script is 
> asking for a mono.pc file.
>
>  
>
> As far as I can tell there is no such file on my system (Debain).  I 
> have written a few test programs with mono and everything seems to 
> work great.  How to I generate/obtain the file and put it in the right 
> spot for pkg-config?
>
>  
>
> Thanks,
>
> Richard
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20030826/33d2891a/attachment.html 


More information about the Mono-devel-list mailing list