pkgsrc-Bugs archive

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

Re: pkg/32089: Bug in top level configure script for dspam 3.6.1



The following reply was made to PR pkg/32089; it has been noted by GNATS.

From: Alan Horn <ahorn%deorth.org@localhost>
To: Adrian Portelli <adrianp%stindustries.net@localhost>
Cc: gnats-bugs%NetBSD.org@localhost
Subject: Re: pkg/32089: Bug in top level configure script for dspam 3.6.1
Date: Fri, 18 Nov 2005 02:50:37 -0800 (PST)

 On Fri, 18 Nov 2005, Adrian Portelli wrote:
 
 >Date: Fri, 18 Nov 2005 10:40:58 +0000
 >From: Adrian Portelli <adrianp%stindustries.net@localhost>
 >To: ahorn%deorth.org@localhost
 >Cc: gnats-bugs%NetBSD.org@localhost
 >Subject: Re: pkg/32089: Bug in top level configure script for dspam 3.6.1
 >
 > Hi,
 >
 > I'm trying to hunt down which test case passed when you modified the
 > ./configure script.  I did a "make patch" then replaced all instances of
 > -pthread with -lpthread.  The result was the following changes:
 >
 > --- configure.orig      2005-11-18 10:19:01.000000000 +0000
 > +++ configure   2005-11-18 10:21:00.000000000 +0000
 > @@ -20904,7 +20904,7 @@
 > echo $ECHO_N "checking how you like your pthreads... $ECHO_C" >&6
 > pthreads_success="no"
 >
 > -LIBS="$ds_pthreads_save_LIBS -pthread"
 > +LIBS="$ds_pthreads_save_LIBS -lpthread"
 >
 > if test "$cross_compiling" = yes; then
 >   { { echo "$as_me:$LINENO: error: cannot run test program while cross
 > compiling
 > @@ -20946,9 +20946,9 @@
 >   (exit $ac_status); }; }; then
 >
 >     pthreads_success="yes"
 > -    ds_pthreads_LIBS="-pthread"
 > -    echo "$as_me:$LINENO: result: -pthread" >&5
 > -echo "${ECHO_T}-pthread" >&6
 > +    ds_pthreads_LIBS="-lpthread"
 > +    echo "$as_me:$LINENO: result: -lpthread" >&5
 > +echo "${ECHO_T}-lpthread" >&6
 >
 > else
 >   echo "$as_me: program exited with status $ac_status" >&5
 >
 > After this and a "make configure" dspam still did not detect pth properly.
 >
 > Was there anything else you did ?
 > Could you perhaps send through a diff of your modified ./configure ?
 
 All I did was replace -pthread -lpthread. I didn't get a successful 
 package install out of it, it ended up putting a bunch of stuff in 
 /usr/local, but there were binaries at the end of it all.
 
 
 >
 > Also, just to make sure were on the same page you're running
 > pth-2.0.0nb2, right ?
 
 Yep.
 
 >
 > thanks,
 >
 > adrian.
 >
 



Home | Main Index | Thread Index | Old Index