Page 1 of 1

XAMPP 1.7 for linux and threads.

PostPosted: 14. May 2009 17:47
by agporto
Hello everybody, excuse for my poor english but i am french :roll: ...
I have a problem with xampp and some perl scripts. When i excute them a error message appear: "this perl not build to support threads".
I don't know how to solve it. Please help me.
Thanks by advance.
Gilles

Re: XAMPP 1.7 for linux and threads.

PostPosted: 14. May 2009 17:56
by Wiedmann
"this perl not build to support threads".

You must rebuild (compile) Perl with the configure option "useithreads". And after that, you must also rebuild all existing Perl XS modules.

Re: XAMPP 1.7 for linux and threads.

PostPosted: 14. May 2009 18:13
by agporto
Thanks but how can rebuild perl with xampp, i have never do that.

Re: XAMPP 1.7 for linux and threads.

PostPosted: 14. May 2009 18:24
by Wiedmann
how can rebuild perl

A installation manual should be part of the Perl source code.

I guess it's like all *nix software with "./configure && make && make install". Just change the prefix to /opt/lampp

with xampp,

The configure which is used by xampp you can find somewhere in (imho) share/xampp in a tar.gz.
Installing the XAMPP devel package maybe also necessary.

How to find all XS modules (like for mod_perl) and rebuild them, I don't know at the moment. I guess it's easier to delete the current Perl and start from scratch.

Maybe Kai (Oswald) knows the best way (ask him). (or can build XAMPP/Perl next time with threads support).

Re: XAMPP 1.7 for linux and threads.

PostPosted: 14. May 2009 18:36
by agporto
Outch...Ok, I try to do that.