HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Problem on compiling php-5.2.5
Operating System - HP-UX
1827804
Members
2150
Online
109969
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2008 06:03 PM
03-27-2008 06:03 PM
Problem on compiling php-5.2.5
hi all,
im having problem when compiling my php-5.2.5 from source .. im stuck when this message appear ..
"configure: error: ZTS currently requires working POSIX threads. We were unable to verify that your system supports Pthreads."
command on compiling php;
./configure --with-apxs2=/usr/local/apache2/bin/apxs \
--with-mysql=/usr/local/mysql \
--prefix=/usr/local/apache2/php \
--without-tsrm-pthreads
--with-config-file-path=/usr/local/apache2/php \
--enable-force-cgi-redirect \
--disable-cgi \
--with-zlib \
--with-gettext \
--with-gdbm
results -->
loading cache ./config.cache
checking for Cygwin environment... (cached) no
checking for mingw32 environment... (cached) no
checking for egrep... (cached) grep -E
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking host system type... hppa2.0w-hp-hpux11.11
checking target system type... hppa2.0w-hp-hpux11.11
checking for gcc... (cached) cc
checking whether the C compiler (cc ) works... yes
checking whether the C compiler (cc ) is a cross-compiler... no
checking whether we are using GNU C... (cached) no
checking whether cc accepts -g... (cached) no
checking how to run the C preprocessor... (cached) cc -E
checking for icc... no
checking whether cc understands -c and -o together... (cached) yes
checking how to run the C preprocessor... cc -E
checking for AIX... no
checking whether ln -s works... (cached) yes
checking for system library directory... lib
checking whether to enable runpaths... yes
checking if compiler supports -R... (cached) no
checking if compiler supports -Wl,-rpath,... (cached) no
checking for re2c... no
configure: warning: You will need re2c 0.12.0 or later if you want to regenerate PHP parsers.
checking for gawk... (cached) awk
checking if awk is broken... no
checking for bison... (cached) bison -y
checking for bison version... (cached) 2.1 (ok)
checking for flex... (cached) flex
checking for yywrap in -lfl... (cached) no
checking lex output file root... (cached) lex.yy
checking whether yytext is a pointer... (cached) no
checking for working const... (cached) no
checking for flex version... (cached) 2.5.4 (ok)
checking whether to force non-PIC code in shared modules... no
checking whether /dev/urandom exists... no
checking for pthreads_cflags... (cached)
checking for pthreads_lib... (cached)
Configuring SAPI modules
checking for AOLserver support... no
checking for Apache 1.x module support via DSO through APXS... no
checking for Apache 1.x module support... no
checking whether to enable Apache charset compatibility option... no
checking for Apache 2.0 filter-module support via DSO through APXS... no
checking for Apache 2.0 handler-module support via DSO through APXS... Use of uninitialized value in concatenation (.) or string at /usr/local/apache2/bin/apxs line 237.
Use of uninitialized value in concatenation (.) or string at /usr/local/apache2/bin/apxs line 237.
Use of uninitialized value in concatenation (.) or string at /usr/local/apache2/bin/apxs line 237.
Use of uninitialized value in concatenation (.) or string at /usr/local/apache2/bin/apxs line 237.
Use of uninitialized value in concatenation (.) or string at /usr/local/apache2/bin/apxs line 237.
Use of uninitialized value in concatenation (.) or string at /usr/local/apache2/bin/apxs line 237.
Use of uninitialized value in concatenation (.) or string at /usr/local/apache2/bin/apxs line 237.
Use of uninitialized value in concatenation (.) or string at /usr/local/apache2/bin/apxs line 237.
Use of uninitialized value in concatenation (.) or string at /usr/local/apache2/bin/apxs line 237.
Use of uninitialized value in concatenation (.) or string at /usr/local/apache2/bin/apxs line 237.
Use of uninitialized value in concatenation (.) or string at /usr/local/apache2/bin/apxs line 237.
Use of uninitialized value in concatenation (.) or string at /usr/local/apache2/bin/apxs line 237.
configure: error: ZTS currently requires working POSIX threads. We were unable to verify that your system supports Pthreads.
How do i by pass ZTS ?
Thanks in advance.
im having problem when compiling my php-5.2.5 from source .. im stuck when this message appear ..
"configure: error: ZTS currently requires working POSIX threads. We were unable to verify that your system supports Pthreads."
command on compiling php;
./configure --with-apxs2=/usr/local/apache2/bin/apxs \
--with-mysql=/usr/local/mysql \
--prefix=/usr/local/apache2/php \
--without-tsrm-pthreads
--with-config-file-path=/usr/local/apache2/php \
--enable-force-cgi-redirect \
--disable-cgi \
--with-zlib \
--with-gettext \
--with-gdbm
results -->
loading cache ./config.cache
checking for Cygwin environment... (cached) no
checking for mingw32 environment... (cached) no
checking for egrep... (cached) grep -E
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking host system type... hppa2.0w-hp-hpux11.11
checking target system type... hppa2.0w-hp-hpux11.11
checking for gcc... (cached) cc
checking whether the C compiler (cc ) works... yes
checking whether the C compiler (cc ) is a cross-compiler... no
checking whether we are using GNU C... (cached) no
checking whether cc accepts -g... (cached) no
checking how to run the C preprocessor... (cached) cc -E
checking for icc... no
checking whether cc understands -c and -o together... (cached) yes
checking how to run the C preprocessor... cc -E
checking for AIX... no
checking whether ln -s works... (cached) yes
checking for system library directory... lib
checking whether to enable runpaths... yes
checking if compiler supports -R... (cached) no
checking if compiler supports -Wl,-rpath,... (cached) no
checking for re2c... no
configure: warning: You will need re2c 0.12.0 or later if you want to regenerate PHP parsers.
checking for gawk... (cached) awk
checking if awk is broken... no
checking for bison... (cached) bison -y
checking for bison version... (cached) 2.1 (ok)
checking for flex... (cached) flex
checking for yywrap in -lfl... (cached) no
checking lex output file root... (cached) lex.yy
checking whether yytext is a pointer... (cached) no
checking for working const... (cached) no
checking for flex version... (cached) 2.5.4 (ok)
checking whether to force non-PIC code in shared modules... no
checking whether /dev/urandom exists... no
checking for pthreads_cflags... (cached)
checking for pthreads_lib... (cached)
Configuring SAPI modules
checking for AOLserver support... no
checking for Apache 1.x module support via DSO through APXS... no
checking for Apache 1.x module support... no
checking whether to enable Apache charset compatibility option... no
checking for Apache 2.0 filter-module support via DSO through APXS... no
checking for Apache 2.0 handler-module support via DSO through APXS... Use of uninitialized value in concatenation (.) or string at /usr/local/apache2/bin/apxs line 237.
Use of uninitialized value in concatenation (.) or string at /usr/local/apache2/bin/apxs line 237.
Use of uninitialized value in concatenation (.) or string at /usr/local/apache2/bin/apxs line 237.
Use of uninitialized value in concatenation (.) or string at /usr/local/apache2/bin/apxs line 237.
Use of uninitialized value in concatenation (.) or string at /usr/local/apache2/bin/apxs line 237.
Use of uninitialized value in concatenation (.) or string at /usr/local/apache2/bin/apxs line 237.
Use of uninitialized value in concatenation (.) or string at /usr/local/apache2/bin/apxs line 237.
Use of uninitialized value in concatenation (.) or string at /usr/local/apache2/bin/apxs line 237.
Use of uninitialized value in concatenation (.) or string at /usr/local/apache2/bin/apxs line 237.
Use of uninitialized value in concatenation (.) or string at /usr/local/apache2/bin/apxs line 237.
Use of uninitialized value in concatenation (.) or string at /usr/local/apache2/bin/apxs line 237.
Use of uninitialized value in concatenation (.) or string at /usr/local/apache2/bin/apxs line 237.
configure: error: ZTS currently requires working POSIX threads. We were unable to verify that your system supports Pthreads.
How do i by pass ZTS ?
Thanks in advance.
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2008 10:03 PM
03-27-2008 10:03 PM
Re: Problem on compiling php-5.2.5
How is it testing that HP-UX supports Pthreads?
The small test case must have: #include
And link with -lpthread.
The small test case must have: #include
And link with -lpthread.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP