#9773 [Com]: Configure hangs
| From: | jhayg at aol dot com | Date: | Fri, 25 Jun 2004 07:25:47 +0000 |
| Subject: | #9773 [Com]: Configure hangs | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-61346@lists.php.net to get a copy of this message | ||
ID: 9773
Comment by: jhayg at aol dot com
Reported By: keith at newnova dot com
Status: Closed
Bug Type: *Install and Config
Operating System: RedHat 6.1
PHP Version: 4.0.4pl1
New Comment:
Yes,
it works fine for me. I had the same problem for ages.
<A href="http://www.1st-art-gallery.com/home_gallery.htm">Oil
Paintings</A></A>
Previous Comments:
------------------------------------------------------------------------
[2001-06-04 09:07:07] keith at newnova dot com
The latest version of PHP (4.05) works perfectly fine. The
configuration
and compilation scripts run without any errors or "hangs". Weird.
Keith
------------------------------------------------------------------------
[2001-06-04 04:36:10] sniper@php.net
This is definately not bug in PHP. There is something
really broken in your system.
--Jani
------------------------------------------------------------------------
[2001-05-08 11:07:08] keith at newnova dot com
My lib version is this,
/lib/libc-2.1.3.so
and I'm using RedHat 6.1
Keith
------------------------------------------------------------------------
[2001-05-05 18:22:30] derick@php.net
Which glibc do you have?
ls -l /lib/*libc-*
And what kind of system do you have?
As this works fine on my RedHat 6.[12] install.
------------------------------------------------------------------------
[2001-03-16 11:24:19] keith at newnova dot com
Here is the complete config.log file:
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
configure:1299: checking for a BSD compatible install
configure:1352: checking whether build environment is sane
configure:1409: checking whether make sets ${MAKE}
configure:1448: checking for working aclocal
configure:1461: checking for working autoconf
configure:1474: checking for working automake
configure:1487: checking for working autoheader
configure:1500: checking for working makeinfo
configure:1530: checking whether to enable maintainer-specific portions
of Makefiles
configure:1559: checking host system type
configure:1587: checking for gawk
configure:1621: checking for bison
configure:1655: checking bison version
configure:1668: checking for gcc
configure:1781: checking whether the C compiler (gcc ) works
configure:1797: gcc -o conftest conftest.c 1>&5
configure:1823: checking whether the C compiler (gcc ) is a
cross-compiler
configure:1828: checking whether we are using GNU C
configure:1837: gcc -E conftest.c
configure:1856: checking whether gcc accepts -g
configure:1888: checking how to run the C preprocessor
configure:1909: gcc -E conftest.c >/dev/null 2>conftest.out
configure:1968: checking for AIX
configure:2013: checking for gcc option to accept ANSI C
configure:2066: gcc -c -g -O2 conftest.c 1>&5
configure:2093: checking for ranlib
configure:2122: checking whether gcc and cc understand -c and -o
together
configure:2137: gcc -c conftest.c -o conftest.o 1>&5
configure:2138: gcc -c conftest.c -o conftest.o 1>&5
configure:2143: cc -c conftest.c 1>&5
configure:2145: cc -c conftest.c -o conftest.o 1>&5
configure:2146: cc -c conftest.c -o conftest.o 1>&5
configure:2173: checking whether ln -s works
configure:2200: checking for flex
configure:2233: checking for flex
configure:2267: checking for yywrap in -lfl
configure:2286: gcc -o conftest -g -O2 conftest.c -lfl 1>&5
configure:2309: checking lex output file root
configure:2330: checking whether yytext is a pointer
configure:2349: gcc -o conftest -g -O2 conftest.c -lfl 1>&5
configure:2372: checking for working const
configure:2426: gcc -c -g -O2 conftest.c 1>&5
configure:2543: gcc -o conftest -g -O2 conftest.c 1>&5
/tmp/cce0pXlV.o: In function `main':
/home/k/keith/php/php-4.0.4pl1/configure:2538: undefined reference to
`pthread_mutexattr_init'
/home/k/keith/php/php-4.0.4pl1/configure:2539: undefined reference to
`pthread_create'
collect2: ld returned 1 exit status
configure: failed program was:
#line 2525 "configure"
#include "confdefs.h"
#include <pthread.h>
#include <stddef.h>
void *thread_routine(void *data) {
return data;
}
int main() {
pthread_t thd;
pthread_mutexattr_t mattr;
int data = 1;
pthread_mutexattr_init(&mattr);
return pthread_create(&thd, NULL, thread_routine, &data);
}
configure:2563: checking for pthreads_cflags
configure:2596: gcc -o conftest -g -O2 -kthread conftest.c 1>&5
gcc: unrecognized option `-kthread'
/tmp/ccV61Ryr.o: In function `main':
/home/k/keith/php/php-4.0.4pl1/configure:2591: undefined reference to
`pthread_mutexattr_init'
/home/k/keith/php/php-4.0.4pl1/configure:2592: undefined reference to
`pthread_create'
collect2: ld returned 1 exit status
configure: failed program was:
#line 2578 "configure"
#include "confdefs.h"
#include <pthread.h>
#include <stddef.h>
void *thread_routine(void *data) {
return data;
}
int main() {
pthread_t thd;
pthread_mutexattr_t mattr;
int data = 1;
pthread_mutexattr_init(&mattr);
return pthread_create(&thd, NULL, thread_routine, &data);
}
configure:2596: gcc -o conftest -g -O2 -pthread conftest.c 1>&5
Keith
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/9773
--
Edit this bug report at http://bugs.php.net/?id=9773&edit=1