configure error

Tim Wunder tim at thewunders.org
Tue May 6 09:46:15 CDT 2003


On 5/6/2003 8:28 AM, someone claiming to be David Hampton wrote:
> On Mon, 2003-05-05 at 20:41, Tim Wunder wrote:
> 
>>Has the fix been committed? I just tried (11:30 PM EDT) and still have the 
>>same problem.
>>Not a big deal... just wondering...
> 
> 
> I committed it about 10AM yesterday morning. 'cvs update' then
> 'autogen.sh' should fix the problem.
> 
> David
> 

I use a script, which does:
cvs update -C -r gnucash-1-8-branch
configure --prefix=/opt/gnucash-CVS --enable-maintainer-mode --enable-sql
make >make.log 2>&1
/usr/bin/sudo /usr/local/bin/checkinstall -R -y --pkgname=gnucash-CVS 
--pkgversion=1.8.$D --provides=gnucash-CVS

It fails at configure with this popt error:
<quote>
checking for poptStrippedArgv in -lpopt... no
configure: error:

   popt 1.5 or newer is required to build gnucash. You can download
   the latest version from ftp://people.redhat.com/sopwith/popt/, or if
   you're running Debian, install the libpopt-dev package.
</quote>


 From config.log:
<quote>
configure:17552: checking for poptStrippedArgv in -lpopt
configure:17585:  -o conftest    conftest.cc -lpopt  -lm  -lm >&5
/home/dad/gnc_cvs/gnucash2/gnucash/configure: line 1: -o: command not found
configure:17588: $? = 127
configure: failed program was:
#line 17559 "configure"
#include "confdefs.h"

/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char poptStrippedArgv ();
#ifdef F77_DUMMY_MAIN
#  ifdef __cplusplus
      extern "C"
#  endif
    int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{
poptStrippedArgv ();
   ;
   return 0;
}
configure:17605: result: no
configure:17620: error:

   popt 1.5 or newer is required to build gnucash. You can download
</quote>


Hmmm... my script doesn't do an autogen.sh, guess I should do that. I'll 
post back with the results (will probly be a few hours before I can get 
to it, though...)

Thaks,
Tim



More information about the gnucash-devel mailing list