From owner-freebsd-ports@FreeBSD.ORG Mon Apr 28 09:04:05 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 565FF37B408 for ; Mon, 28 Apr 2003 09:04:05 -0700 (PDT) Received: from httpd1.terions.de (static62-99-146-055.adsl.inode.at [62.99.146.55]) by mx1.FreeBSD.org (Postfix) with SMTP id D737643FA3 for ; Mon, 28 Apr 2003 09:03:56 -0700 (PDT) (envelope-from martin.klaffenboeck@gmx.at) Received: (qmail 66584 invoked from network); 28 Apr 2003 16:03:54 -0000 Received: from unknown (HELO martin.kleinerdrache.org) (127.0.0.1) by loopback with SMTP; 28 Apr 2003 16:03:54 -0000 Date: Mon, 28 Apr 2003 18:03:54 +0200 From: Martin Klaffenboeck To: Jens Rehsack Message-ID: <20030428160354.GA66575@martin.kleinerdrache.org> 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> <3EAD3887.6090501@liwing.de> Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset=ISO-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <3EAD3887.6090501@liwing.de>; from rehsack@liwing.de on Mo, Apr 28, 2003 at 16:19:51 +0200 X-Mailer: Balsa 2.0.10 Lines: 130 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 16:04:06 -0000 Am 2003.04.28 16:19 schrieb(en) Jens Rehsack: > 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 couln't find a way to make default options for one simple port. So I used the make.conf. > 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'. Yes, but the problem is the libjpeg library. Hm. I could look at the make.conf things for that, hope that helps. Martin > 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/ > > > > -- PGP-Key: http://www.thats-me.net/pgp.asc