Re: [Gtk-osx-users] pcre.h missing?
- From: John Ralls <jralls ceridwen fremont ca us>
- To: GTK+-2 OSX Users <gtk-osx-users lists sourceforge net>
- Subject: Re: [Gtk-osx-users] pcre.h missing?
- Date: Sun, 7 Mar 2010 13:33:51 -0800
On Mar 7, 2010, at 12:50 PM, Olivier Sessink wrote:
> Hi all,
>
> I'm working on a bluefish package using gtk-osx. Bluefish uses pcre_
> functions. It seems that libpcre is available on osx (10.6). But
> pcre.h is not. I managed to compile bluefish after I copied pcre.h
> from another system, but that's not really a nice way.. What is the
> correct way to put pcre.h on OSX and use the built-in library?
>
The best thing to do would be to convince the Bluefish development team that they should be using GRegex, not libpcre directly, because GRegex integrates with the rest of GLib's memory management, and to reduce their external dependencies.
Failing that, you could write a phoney libpcre.pc file (since Bluefish finds libpcre via pkg-config) that points to glib-2.22.2/glib/pcre/pcre.h. If that's to hackey for you, write a module for pcre and just build it. The library is only 532K, it won't add much to your bundle's size.
Regards,
John Ralls
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]