lilzz
Posts: 411
Joined: Sat Nov 30, 2013 5:27 pm

PCRE library needed

Tue Oct 14, 2014 6:30 am

When I trying to ./configure a package it requires PCRE library and header files.

I try sudo apt-get install PCRe but no package found.

then I download the PCRE.tar file and unzip and ran ./configure and it needs additional dependency.

what's the best way to install PCRE in the pi?

fruitoftheloom
Posts: 23337
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: PCRE library needed

Tue Oct 14, 2014 6:37 am

lilzz wrote:When I trying to ./configure a package it requires PCRE library and header files.

I try sudo apt-get install PCRe but no package found.

then I download the PCRE.tar file and unzip and ran ./configure and it needs additional dependency.

what's the best way to install PCRE in the pi?
Perl 5 Compatible Regular Expression Library (PCRE).

Code: Select all

sudo apt-get update
sudo apt-get install libpcre3 libpcre3-dev
https://packages.debian.org/wheezy/libpcre3
Rather than negativity think outside the box !
RPi 4B 4GB (SSD Boot)..
Asus ChromeBox 3 Celeron is my other computer...

User avatar
rpdom
Posts: 17174
Joined: Sun May 06, 2012 5:17 am
Location: Chelmsford, Essex, UK

Re: PCRE library needed

Tue Oct 14, 2014 6:39 am

Try apt-get install libpcre3-dev to get the PCRE developement files and headers.

fruitoftheloom
Posts: 23337
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: PCRE library needed

Tue Oct 14, 2014 6:47 am

rpdom wrote:Try apt-get install libpcre3-dev to get the PCRE developement files and headers.
Thanks yet again for copying what I stated, why do I bother :?: :?: :?: :?: :?:
Rather than negativity think outside the box !
RPi 4B 4GB (SSD Boot)..
Asus ChromeBox 3 Celeron is my other computer...

User avatar
rpdom
Posts: 17174
Joined: Sun May 06, 2012 5:17 am
Location: Chelmsford, Essex, UK

Re: PCRE library needed

Tue Oct 14, 2014 7:17 am

fruitoftheloom wrote:
rpdom wrote:Try apt-get install libpcre3-dev to get the PCRE developement files and headers.
Thanks yet again for copying what I stated, why do I bother :?: :?: :?: :?: :?:
I didn't even see what you posted. You must have hit submit before I did. :roll:

"again" :?: :?: :?:

Sheesh!

lilzz
Posts: 411
Joined: Sat Nov 30, 2013 5:27 pm

Re: PCRE library needed

Tue Oct 14, 2014 11:41 am

Thanks a lot guys.

Return to “General discussion”