Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Dec 2001 15:44:02 -0500 (EST)
From:      GuRU <guru@nubisci.net>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/32589: mod_php4 configure script fails
Message-ID:  <200112072044.fB7Ki2g94308@ganja.nubisci.net>

next in thread | raw e-mail | index | archive | help

>Number:         32589
>Category:       ports
>Synopsis:       mod_php4 configure script fails
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Dec 07 12:50:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     GuRU
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
NubiSci Labs
>Environment:
System: FreeBSD ganja.nubisci.net 5.0-CURRENT FreeBSD 5.0-CURRENT #57: Fri Dec 7 01:46:24 EST 2001 root@ganja.nubisci.net:/usr/src/sys/i386/compile/GANJA i386


>Description:
	The mod_php4 fails in it's configure script.  config.log displays the following:

	configure:2350: checking lex output file root
	configure:2371: checking whether yytext is a pointer
	configure:2390: cc -o conftest -O -pipe -march=k6 -I/usr/local/include/pgsql   conftest.c  -L/usr/lib -lcrypto -lssl -L/usr/lib -lcrypto -ls
	sl -lfl 1>&5
	configure:2414: checking for working const
	configure:2468: cc -c -O -pipe -march=k6 -I/usr/local/include/pgsql  conftest.c 1>&5
	configure:2585: cc -o conftest -O -pipe -march=k6 -I/usr/local/include/pgsql   conftest.c  -L/usr/lib -lcrypto -lssl -L/usr/lib -lcrypto -ls
	sl 1>&5
	/tmp/cc9UhngK.o: In function `main':
	/tmp/cc9UhngK.o(.text+0x1d): undefined reference to `pthread_mutexattr_init'
	/tmp/cc9UhngK.o(.text+0x31): undefined reference to `pthread_create'
	configure: failed program was:
	#line 2567 "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);
		} 

>How-To-Repeat:
	cd /usr/ports/www/mod_php4
	make

>Fix:
	unknown at this time :(.  need some help here :).


>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200112072044.fB7Ki2g94308>