This version of PCRE is compiled without UTF support ...

Problems with the Mac OS X version of XAMPP, questions, comments, and anything related.

This version of PCRE is compiled without UTF support ...

Postby Stefy71 » 12. June 2016 21:40

Hallo, I'm a beginner of Wordpress
I need to resolve this problem:
Errore sul database di WordPress: [Got error 'this version of PCRE is compiled without UTF support at offset 0' from regexp]
DELETE FROM wp_options WHERE option_name REGEXP '^rss_[0-9a-f]{32}(_ts)?$'

...but I don'd understand how can I have to do... please someone can help me with simple words???
Thanks.
Stefy71
 
Posts: 7
Joined: 12. June 2016 21:15
XAMPP version: xampp-osx-5.6.21-0
Operating System: MAC OSX Lion 10.7.5

Re: This version of PCRE is compiled without UTF support ...

Postby Nobbie » 13. June 2016 10:53

Here is a thread with someone having exactly the same problem, he solved it by downloading pcre-8.38 source and building a new library, the necessary steps are included:

viewtopic.php?f=29&t=74101
Nobbie
 
Posts: 13170
Joined: 09. March 2008 13:04

Re: This version of PCRE is compiled without UTF support ...

Postby Stefy71 » 14. June 2016 14:40

Thanks but it's too difficult for me, after 3 lessons I can't understand these steps... other easier solution maybe???
Stefy71
 
Posts: 7
Joined: 12. June 2016 21:15
XAMPP version: xampp-osx-5.6.21-0
Operating System: MAC OSX Lion 10.7.5

Re: This version of PCRE is compiled without UTF support ...

Postby Stefy71 » 14. June 2016 16:48

Anyone could help me please?
Thanks.
Stefy71
 
Posts: 7
Joined: 12. June 2016 21:15
XAMPP version: xampp-osx-5.6.21-0
Operating System: MAC OSX Lion 10.7.5

Re: This version of PCRE is compiled without UTF support ...

Postby Nobbie » 14. June 2016 18:57

Stefy71 wrote:Thanks but it's too difficult for me, after 3 lessons I can't understand these steps... other easier solution maybe???


What is too difficult? Download the pcre-Package, open a terminal, proceed to your download folder and enter the commands (copy&paste) of that thread. We can do this step by step here, it is not difficult.
Nobbie
 
Posts: 13170
Joined: 09. March 2008 13:04

Re: This version of PCRE is compiled without UTF support ...

Postby Stefy71 » 14. June 2016 23:33

Maybe it's strange for you but I'm not a technical programmer, I'm a graphic designer. So I never used terminal, commands, threads... I downloaded the package of PCRE-8.38 but there are a lot of files inside (???) where do I have to put this folder? Do I open the terminal.app of my MAC and then? Download folder about what? And the command... in which file is it? I'm sorry... also about my bad English!
Stefy71
 
Posts: 7
Joined: 12. June 2016 21:15
XAMPP version: xampp-osx-5.6.21-0
Operating System: MAC OSX Lion 10.7.5

Re: This version of PCRE is compiled without UTF support ...

Postby Nobbie » 15. June 2016 10:10

Stefy71 wrote:Maybe it's strange for you but I'm not a technical programmer, I'm a graphic designer. So I never used terminal, commands, threads... I downloaded the package of PCRE-8.38 but there are a lot of files inside (???) where do I have to put this folder?


Put it where you like, that does not matter. Unpack, if it is packed.

Stefy71 wrote:Do I open the terminal.app of my MAC and then?


Yes, open a terminal. Then you should remember the name of the folder, where you put the files from above. Lets say its /User/Stefi71/pcre-8.38 (or similar, you should see that in the file explorer). Type the following command into the terminal:

Code: Select all
cd /User/Stefi71/pcre-8.38


and hit enter. Of course, you must apply the correct folder name above.

When you made an error, you will receive an error like "no such file" or something like that. Then try again, if you dont get it, show us here, what you did. We will find out, what is going wrong.

Then you enter the three commands from the other thread, you may simply copy them from here:

Code: Select all
./configure --prefix=/Applications/XAMPP/xamppfiles --enable-utf8 --enable-unicode-properties


and then

Code: Select all
make


and finally

Code: Select all
sudo make install


The last command will prompt for a password, simply enter your own password. And now you are done. You will see lots of output after each line (always hit Enter for each line and wait and see). If nothing goes wrong, you now start Xampp again and try to continue WordPress Installation.
Nobbie
 
Posts: 13170
Joined: 09. March 2008 13:04

Re: This version of PCRE is compiled without UTF support ...

Postby Stefy71 » 15. June 2016 21:29

Thank you very much... I'm a bit worried but as soon as possibile I'll try to follow your steps... It's a promise! Thanks again. :lol:
Stefy71
 
Posts: 7
Joined: 12. June 2016 21:15
XAMPP version: xampp-osx-5.6.21-0
Operating System: MAC OSX Lion 10.7.5

Re: This version of PCRE is compiled without UTF support ...

Postby Stefy71 » 16. June 2016 19:41

And now... stop!

Last login: Thu Jun 16 20:27:10 on ttys001
iMac-di-Stefania:~ stefania$ cd /Applications/XAMPP/xamppfiles/pcre-8.38
iMac-di-Stefania:pcre-8.38 stefania$ ./configure --prefix=/Applications/XAMPP/xamppfiles --enable-utf8 --enable-unicode-properties
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... no
checking whether make supports nested variables... no
checking whether make supports nested variables... (cached) no
checking for style of include used by make... none
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in `/Applications/XAMPP/xamppfiles/pcre-8.38':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details
iMac-di-Stefania:pcre-8.38 stefania$

I put the PCRE-8.38 folder in the xamppfiles folder, then I pasted in the terminal what you can see above. Now I don't know...
About the final password, which password? My user password or the password of the database?
Thanks...
Stefy71
 
Posts: 7
Joined: 12. June 2016 21:15
XAMPP version: xampp-osx-5.6.21-0
Operating System: MAC OSX Lion 10.7.5

Re: This version of PCRE is compiled without UTF support ...

Postby Nobbie » 17. June 2016 11:52

Stefy71 wrote:configure: error: no acceptable C compiler found in $PATH


This is a big problem, your Computer has no C Compiler installed. Ask in an OSX Forum how to install the C Compiler, then try again "./configure ..." command.

Stefy71 wrote:About the final password, which password? My user password or the password of the database?


Your personal User password when you login on your Mac.
Nobbie
 
Posts: 13170
Joined: 09. March 2008 13:04

Re: This version of PCRE is compiled without UTF support ...

Postby Stefy71 » 17. June 2016 16:43

Ok... I am going to resolve this problem because I would like to use xampp but not now, I can't waste other time in these days because I need to use wordpress to do my exercises. I've installed another software and wordpress works without mistakes. Thanks for your assistance! :lol:
Stefy71
 
Posts: 7
Joined: 12. June 2016 21:15
XAMPP version: xampp-osx-5.6.21-0
Operating System: MAC OSX Lion 10.7.5

Re: This version of PCRE is compiled without UTF support ...

Postby Nobbie » 17. June 2016 18:45

Stefy71 wrote:I've installed another software and wordpress works without mistakes.


Well done. I am not a Xampp "Fan", if there is a better package, of course use it! Forget about Xampp.
Nobbie
 
Posts: 13170
Joined: 09. March 2008 13:04

Re: This version of PCRE is compiled without UTF support ...

Postby tikatika » 15. June 2017 11:37

Hi I have the same problem as Nobbie!I´m also a Graphic designer and just trying to understand this hole new world. I went trough all the steps and everything seems to work (i have no error about the C compiler)...but i finally got on the password step and i can´t type anything there (there is just the key symbol). Do you know why? i have the feeling it will be something really silly...sorry for that!
tikatika
 
Posts: 1
Joined: 15. June 2017 10:34
XAMPP version: 7.1.4-0
Operating System: OS X EL CAPITAN

Re: This version of PCRE is compiled without UTF support ...

Postby Beltran » 11. July 2017 16:55

The latest version of XAMPP already fixes this issue: 5.6.31, 7.0.21 & 7.1.7 versions.

https://www.apachefriends.org/blog/new_xampp_20170711.html
User avatar
Beltran
Power-User
 
Posts: 170
Joined: 22. March 2013 12:29
XAMPP version: 10
Operating System: Windows, Linux, OS X


Return to XAMPP for macOS

Who is online

Users browsing this forum: No registered users and 6 guests