OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Subject: Re: pcre compile under Netbsd
From: Ralf Hildebrandt (news-list.postfix.usersinnominate.de)
Date: Tue Jul 04 2000 - 09:18:55 CDT


On 4 Jul 2000 16:14:24 +0200, Wietse Venema <wietseporcupine.org> wrote:
>J.D. Bronson:
>> gcc -O2 -DHAS_PCRE -I/usr/local/include -g -I. -DNETBSD1 -c dict_pcre.c
>> dict_pcre.c:60: pcre.h: No such file or directory
>
>Type man cc, skip forward to the section that explains the -I
>command-line option.

What he means to tell you is that -I/usr/local/include lets cc search for
pcre.h in /usr/local/include and the default paths that cc knows.

If pcre.h IS NOT there, compilation will fail (but you noticed that).

So either specify -I/where/your/includes/for/pcre/are or copy pcre.h to
/usr/local/include :)

-- 
Ralf.Hildebrandtinnominate.de
                                                          innominate AG
                                                      networking people
fon: +49.30.308806-44 fax: -77  web: http://innominate.de  pgp: /pgp/rh