Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Apr 2003 18:03:54 +0200
From:      Martin Klaffenboeck <martin.klaffenboeck@gmx.at>
To:        Jens Rehsack <rehsack@liwing.de>
Cc:        ports freebsd group <ports@FreeBSD.org>
Subject:   Re: mod_php4 fails.
Message-ID:  <20030428160354.GA66575@martin.kleinerdrache.org>
In-Reply-To: <3EAD3887.6090501@liwing.de>; from rehsack@liwing.de on Mo, Apr 28, 2003 at 16:19:51 %2B0200
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>

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

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: <rehsack@liwing.de>
> Fax:   +49 - 3 45 - 5 17 05 92            http://www.liwing.de/
> 
> 
> 
> 

-- 
PGP-Key:  http://www.thats-me.net/pgp.asc



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