pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Re[2]: php4 with recode support



On Thu, 5 Jul 2007 18:46:19 +0200
netbsd-users%rmroppert.de@localhost wrote:

> Hello,
> 
> Am Donnerstag, 5. Juli 2007 um 18:19 schrieben Sie:
> 
> > On Thu, 5 Jul 2007 17:52:43 +0200
> > netbsd-users%rmroppert.de@localhost wrote:
> >> how do i compile php4 with recode support?
> >> 
> >> with-recode=[DIR] in Makefile did not work
> >> 
> >>   checking for recode support... yes
> >>   configure: error: Can not find recode.h anywhere under /usr/pkg/include  
> >> /usr/local /usr /opt
> >> 
> >> but there is recode.h  in /usr/pkg/include.
> >> 
> >> Thanks and best regards
> >> Reinhold
> 
> > Beside the CONFIGURE_ARGS you also need this line in your Makefile:
> > .include "../../converters/recode/buildlink3.mk"
> > -T
> 
> thank you.
> Now i have done this, but it does not work. It´s the same error.

My apologies. The lines ...

CONFIGURE_ARGS+=        --with-recode=${BUILDLINK_PREFIX.recode}
.include "../../converters/recode/buildlink3.mk"

... _should_ have been everything needed. Unfortunately, this looks
like breakage in the recode package:

Checking for recode support... yes
checking for recode_format_table in -lrecode... no
configure: error: I cannot link librecode (-L/usr/pkg/lib -lrecode). Is
it installed?

>From config.log:

int main() {
recode_format_table()
; return 0; }
configure:81698: cc -o conftest -O2 -I/usr/include -I/usr/pkg/include
-I/usr/inc lude -I/usr/pkg/include -I/usr/pkg/include -Wl,-E -L/usr/lib
-Wl,-R/usr/lib -L/u sr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib
-L/usr/pkg/lib conftest.c -lssl -lc rypto -lm  -lrecode 1>&5
/tmp/pkgsrc-obj/www/php4/work/.buildlink/lib/librecode.so: undefined
reference to `error'

This is due to a bug in the recode package; it doesn't link properly.
I will look at it later ...

-Tobias




Home | Main Index | Thread Index | Old Index