From owner-freebsd-ports@FreeBSD.ORG Mon Apr 28 07:19:55 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2C3ED37B401 for ; Mon, 28 Apr 2003 07:19:55 -0700 (PDT) Received: from mail.liwing.de (mail.liwing.de [213.70.188.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id B4A4A43FBD for ; Mon, 28 Apr 2003 07:19:53 -0700 (PDT) (envelope-from rehsack@liwing.de) Received: (qmail 17261 invoked from network); 28 Apr 2003 14:19:51 -0000 Received: from stingray.liwing.de (HELO liwing.de) ([213.70.188.164]) (envelope-sender ) by mail.liwing.de (qmail-ldap-1.03) with SMTP for ; 28 Apr 2003 14:19:51 -0000 Message-ID: <3EAD3887.6090501@liwing.de> Date: Mon, 28 Apr 2003 16:19:51 +0200 From: Jens Rehsack Organization: LiWing IT-Services User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.2) Gecko/20030208 Netscape/7.02 (Compact - Build 2) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Martin Klaffenboeck References: <20030428082655.GA534@martin.kleinerdrache.org> <3EACF761.2090005@liwing.de> <20030428095556.GC534@martin.kleinerdrache.org> <20030428095621.GE534@martin.kleinerdrache.org> <3EAD126A.4010809@liwing.de> <20030428124702.GG534@martin.kleinerdrache.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit cc: ports freebsd group Subject: Re: mod_php4 fails. X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Apr 2003 14:19:55 -0000 On 4/28/2003 2:47 PM, Martin Klaffenboeck wrote: > Am 2003.04.28 13:37 schrieb(en) Jens Rehsack: >> On 4/28/2003 11:56 AM, Martin Klaffenboeck wrote: >> > Am 2003.04.28 11:41 schrieb(en) Jens Rehsack: >> >> On 4/28/2003 10:26 AM, Martin Klaffenboeck wrote: >> >> > Hello, as the Port want's, I send you this report. >> >> > >> >> > configure: error: Problem with libjpeg.(a|so). Please check >> >> config.log >> >> > for more information. >> >> > ===> Script "configure" failed unexpectedly. >> >> > Please report the problem to dirk@FreeBSD.org [maintainer] >> >> and >> >> > attach >> >> > the >> >> "/var/tmp/usr/ports/www/mod_php4/work/php-4.3.1/config.log" >> >> >> >> > including >> >> > the output of the failure of your make command. Also, it >> >> might >> >> > be a >> >> > good idea to provide an overview of all packages installed >> on >> >> >> >> > your >> >> > system (e.g. an `ls /var/db/pkg`). >> >> > *** Error code 1 >> >> > >> >> > File is attached. >> >> >> >> Can you please submit the portversion of php and the environment >> you >> >> use >> >> to build (uname -a, dmesg, command line, make.conf, ...). >> > >> > Here it is: >> > >> > martin# uname -a >> > FreeBSD martin.kleinerdrache.org 4.8-STABLE FreeBSD 4.8-STABLE #0: >> Tue >> > Apr 22 18:54:10 CEST 2003 >> > martin@martin.kleinerdrache.org:/usr/src/sys/compile/MYKERNEL i386 >> > >> > command line: >> > >> >> Reading the information you sent and the original messages again I >> cannot see anything real wrong, but your extreme fullfilled make.conf >> makes me assuming side effects. Recapitulating the line >> "/usr/local/lib/libxml2.so: undefined reference to >> `pthread_cond_signal'" >> from the config.log maybe libxml2 or underlying gtk affects using >> threaded library for being thread safe. You should re-check each >> dependend >> library for a clean solution or add >> >> CFLAGS+=-pthread >> >> for maybe quick and dirty work. > > I tried to build all dependencies with 'portupgrade -rfi mod_php4', > just using 'no' on ports I associate only with X11, but that didn't > work. Also the -pthread thing in the form 'make CFLAGS+=-pthread' > didn't work. > > Any other ideas? I had and I told you. You should check all your WITH_*-settings in your /etc/make.conf for side effects. I don't know for what is WITH_NATIVE_THREADS=yes is good for. Same with many others... I strongly recommend you check all builds using script(1) for depending on libc_r (or using threads) and try to eruate the reason why they do. In my environment libxslt.so didn't require libc_r but the required libxml2.so does but it links fine. You may want use ldd(1) to check your system for that, e.g. using 'ldd -a /usr/local/lib/libxslt.so'. Good hunting :-) Jens > Martin > >> Regards, >> Jens >> >> >> > -- L i W W W i Jens Rehsack L W W W L i W W W W i nnn gggg LiWing IT-Services L i W W W W i n n g g LLLL i W W i n n g g Friesenstraße 2 gggg 06112 Halle g g g Tel.: +49 - 3 45 - 5 17 05 91 ggg e-Mail: Fax: +49 - 3 45 - 5 17 05 92 http://www.liwing.de/