[prev in list] [next in list] [prev in thread] [next in thread]
List: fink-beginners
Subject: Re: [Fink-beginners] using autoconf and /sw paths
From: Michèle_Garoche <michele.garoche () easyconnect ! fr>
Date: 2005-06-21 18:04:24
Message-ID: C9F586BC-8E74-47E1-A433-CFEC12C125F0 () easyconnect ! fr
[Download RAW message or body]
Le 21 juin 2005 à 12:10, Erick van Rijk a écrit :
>
>
>>>>>
>>>>> So my question is how do I tell autoconf that there are include
>>>>> and libs in /sw/include and /sw/lib?
>>>>>
>>>>>
>>>>>
>>>>>
>>>> You need to install pcre-bin, the pcre-config script is within it.
>>>>
>>>>
>>> Even with pcre-bin installed it will still return a no on the
>>> libs. Any other ideas what might cause that?
>>>
>>>
>> I'd look into info file, especially pcrs0, which adds a new m4
>> macro to detect pcre, unless you have in the configure something
>> like with-pcre, or whatever flag which allows you to specify where
>> pcre libs are installed.
>>
> I looked at the pcrs0 info file, and concluded that it uses
> AC_CHECK_LIB( pcre, pcre_fullinfo, [pcre=yes], [pcre=no] ) instread
> of AC_CHECK_LIB( pcre++, pcre_fullinfo, [pcre=yes], [pcre=no] );
> So I changed that, and at least it will find the lib. The weird
> part is that when I display the namelist (unix nm) on pcre.dylib it
> returns "U _pcre_fullinfo" and "00001d8c T _pcre_fullinfo"
> meaning a undefined symbol and a text selection symbol. while pcre+
> +.dylib only returns "U _pcre_fullinfo". Could this be the problem?
I think it needs both, because pcre++ has those fields:
BuildDepends: pcre (>= 3.9-1)
Depends: pcre-shlibs (>= 3.9-1), %N-shlibs (= %v-%r)
Then how to do that, I do not know.
Cheers,
Michèle
<http://micmacfr.homeunix.org>
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&opÌk
_______________________________________________
Fink-beginners mailing list
Fink-beginners@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-beginners
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic