For Programmers: Free Programming Magazines  


Home > Archive > PHP Installation > February 2006 > PHP5.1.1 Pthreads issues on cross compilation









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author PHP5.1.1 Pthreads issues on cross compilation
Artzi, Yoav \

2006-02-14, 3:56 am

I have a problem that the PHP configure seems to automatically disable
pthreads when I compile on cross platfrom.
Host: i686-pentium-linux
Target: ppc-powerquicc-linux

More details about the target machine:
PowerQuicc II MPC8248

My configure file is as follows:
'./configure' \
'--cache-file=config.cache' \
'--disable-debug' \
'--enable-memory-limit' \
'--enable-pic' \
'--enable-safe-mode' \
'--enable-sockets' \
'--enable-track-vars' \
'--enable-trans-sid' \
'--enable-wddx' \
'--sysconfdir=/home/yoav/export/etc/appWeb' \
'--with-exec-dir=/home/yoav/export/etc/appWeb/exec' \
'--with-regex=system' \
'--with-pear' \
'--with-xml' \
'--with-xmlrpc' \
'--enable-bcmath' \
'--enable-calendar' \
'--enable-force-cgi-redirect' \
'--enable-ftp' \
'--enable-inline-optimization' \
'--enable-magic-quotes' \
'--disable-rpath' \
'--with-zlib' \
'--with-db' \
'--enable-embed=shared' \
'--with-gnu-ld' \
'--prefix=/home/yoav/export/etc/php5' \
'--target=ppc-powerquicc-linux' \
'--enable-maintainer-zts' \
'--with-tsrm-pthreads'

Using ZTS as an application I would like to use (AppWeb) required it and
I must have a multi threaded version of PHP.
Looking at the configure file it seems that PHP automatically chooses to
disable pthreads once it detects it's a cross platform compilation.

Thanks,

Yoav.

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com