CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • CentOS, CiviCRM and PCRE Unicode Properties
Pages: 1 [2]

Author Topic: CentOS, CiviCRM and PCRE Unicode Properties  (Read 27529 times)

Brainwrap

  • Guest
Re: CentOS, CiviCRM and PCRE Unicode Properties
March 12, 2010, 10:29:11 am
Quote from: demeritcowboy on March 11, 2010, 05:07:30 pm
The version number is (mostly) irrelevant. It's whether the package was compiled with unicode support or not. So:

1) If you don't mind the warnings, things should still work.

2) You should be able to use the one given in the link.

3) It could. Can't say without knowing what else is on that server. Seems unlikely though. Running that rpm command should give you a warning if there's some kind of package dependency mismatch. Add the --test flag if you want to see dry run output.

Thanks for the responses. Hmmm...

1. Is there any way that the PCRE libary/Unicode issue could possibly cause CiviContribute to, say, take a donor straight from the donation form/info verification page directly to the "thank you/order completed" page without going to the PayPal payment page in between?? I ask because this is the only actual usage issue I've had with CiviCRM since the upgrade (and it's only happened twice out of a dozen donations, which seems odd).

See http://forum.civicrm.org/index.php/topic,12721.0.html for the details...

2. I'm not sure what the download directory path is for my current installation of PCRE, and doing a search in terminal has been frustrating...any easy way of knowing where it would be located?

3. MediaTemple *did* give me step-by-step instructions for updating to the latest version (8.01). Any way of knowing whether or not it has Unicode support right out of the box?

demeritcowboy

  • Ask me questions
  • ****
  • Posts: 570
  • Karma: 42
  • CiviCRM version: Always the latest!
  • CMS version: Drupal 6 mostly, still evaluating 7.
  • MySQL version: Mix of 5.0 / 5.1 / 5.5
  • PHP version: 5.3, usually on Windows
Re: CentOS, CiviCRM and PCRE Unicode Properties
March 12, 2010, 06:33:15 pm
1. Replace the offending lines like I mentioned earlier in this thread and if you are still getting the problem then that would indicate the contribute problem is not related to the unicode issue.

2. rpm -q -l pcre

3. Can't think of a quick way. Maybe the wrong forum - ask the pcre community. Or if you have even a regular fedora machine for testing you could install and check it there probably.

Brainwrap

  • Guest
Re: CentOS, CiviCRM and PCRE Unicode Properties
March 12, 2010, 08:54:42 pm
Quote from: demeritcowboy on March 12, 2010, 06:33:15 pm
1. Replace the offending lines like I mentioned earlier in this thread and if you are still getting the problem then that would indicate the contribute problem is not related to the unicode issue.

2. rpm -q -l pcre

3. Can't think of a quick way. Maybe the wrong forum - ask the pcre community. Or if you have even a regular fedora machine for testing you could install and check it there probably.

Thanks! Well, I tried the rpm -q -l pcre command, and this is what it kicked back:

Code: [Select]
/lib/libpcre.so.0
/lib/libpcre.so.0.0.1
/usr/bin/pcregrep
/usr/bin/pcretest
/usr/lib/libpcrecpp.so.0
/usr/lib/libpcrecpp.so.0.0.0
/usr/lib/libpcreposix.so.0
/usr/lib/libpcreposix.so.0.0.0
/usr/share/doc/pcre-6.6
/usr/share/doc/pcre-6.6/AUTHORS
/usr/share/doc/pcre-6.6/LICENCE
/usr/share/man/man1/pcregrep.1.gz
/usr/share/man/man1/pcretest.1.gz

So I'm guessing that it's either simply /lib or /usr/lib ??

As for testing out the "skipping PayPal" mystery, that'll probably take some time to ferret out, because it worked properly several times, then that happened twice--then worked properly several more times afterwards, so there doesn't seem to be any way of being sure whether it's fixed or not other than to see if it happens again at some point in the future.

Just how risky would it be to simply swap out the code per your earlier suggestion? I tried it briefly, and sure enough the warning messages seem to have gone away, but have changed it back for now. The site *is* live/public, FWIW.
« Last Edit: March 12, 2010, 09:01:27 pm by Brainwrap »

Brainwrap

  • Guest
Re: CentOS, CiviCRM and PCRE Unicode Properties
March 15, 2010, 12:47:38 pm
Well, I'm happy to report that I *think* I was able to add PCRE Unicode support to my existing installation after all!

MediaTemple was kind enough to send this info:

http://wiki.habariproject.org/en/Installation_on_Media_Temple

Which in turn references this info about installing Unicode PCRE support on CentOS 5:

http://devblog.jasonhuck.com/2009/01/08/installing-lasso-on-centos-5/

Which, after some sweat-inducing moments, appears to have gone through properly, yay!

Figured I'd add this to the thread for future reference; would also appreciate any feedback from others about their take on this solution.

CiviTeacher.com

  • I live on this forum
  • *****
  • Posts: 1282
  • Karma: 118
    • CiviTeacher
  • CiviCRM version: 3.4 - 4.5
  • CMS version: Drupal 6&7, Wordpress
  • MySQL version: 5.1 - 5.5
  • PHP version: 5.2 - 5.4
Re: CentOS, CiviCRM and PCRE Unicode Properties
August 16, 2010, 01:02:08 pm
This is a compile WARNING, not an error.  If we suppress warnings, then messages will not appear.  What are the consequences of NOT recompiling with PCRE, besides having to look at these warnings?

Try CiviTeacher: the online video tutorial CiviCRM learning library.

skol101

  • Guest
Re: CentOS, CiviCRM and PCRE Unicode Properties
November 24, 2010, 11:48:18 pm
I've found a repo with compiled package of PCRE

Create a .repo file within /etc/yum.repos.d directory

And paste following:
[utterramblings]
name=Jason's Utter Ramblings Repo
baseurl=http://www.jasonlitka.com/media/EL$releasever/$basearch/
enabled=1
gpgcheck=1
gpgkey=http://www.jasonlitka.com/media/RPM-GPG-KEY-jlitka


Thank refresh yum cache and either install or update PCRE and PCRE-devel

If you get errors that something is incompatible it's likely to be i386 version of PCRE installed on your server/VPS (my VPS is Centos 5.5 x84_64). Remove i386 packages of pcre and pcre-devel and run yum update pcre pcre-devel.

mcarson

  • I post occasionally
  • **
  • Posts: 110
  • Karma: 5
  • CiviCRM version: 4.4.4
  • CMS version: Drupal 7.x
  • MySQL version: 5.5
  • PHP version: 5.4.22
Re: CentOS, CiviCRM and PCRE Unicode Properties
October 18, 2011, 03:09:12 am
The documentation for installing CiviCRM v3.4 points to this thread. Thought I'd update this for further information on CentOS installations.

The default PCRE package is NOT compiled with Unicode Properties Support (on x86_64). Check by executing pcretest -C.
A simple update to CentOS using the default repositories should update PCRE with Unicode Properties Support. Preferable as this ensures that the package is tested and works correctly.
Check with yum list installed | grep pcre
Check available with yum list available | grep pcre
Update all with yum update
Update PCRE with yum update pcre

After update check by executing pcretest -C.

Should I update the documentation?
“Anyone who has never made a mistake has never tried anything new.” - Albert Einstein
"If you are travelling at the speed of light and you turn on your headlights, would they work?" - Unknown

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: CentOS, CiviCRM and PCRE Unicode Properties
October 18, 2011, 06:04:01 am

yes, can u please do so

thanx

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Pages: 1 [2]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • CentOS, CiviCRM and PCRE Unicode Properties

This forum was archived on 2017-11-26.