Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#36 --without-popt configure option meaningless

closed-fixed
5
2008-12-01
2005-05-14
SAndreason
No

I recently downloaded and tried to install the "exif"
package (version 0.6.9). The first build (configured
with --disable-nls --disable-static) failed, and I saw
that the failure was caused by its not finding a
"popt.h" file.

I remembered seeing a "--without-popt" option for
configure, but I had assumed it would check on its own,
so I extracted a clean copy of the source and tried
again, adding "--without-popt" to the configure
options. However, this made no difference to the output:

main.c:27:18: popt.h: No such file or directory
main.c: In function `main':
main.c:254: error: `poptContext' undeclared (first use
in this function)
main.c:254: error: (Each undeclared identifier is
reported only once
main.c:254: error: for each function it appears in.)
main.c:254: error: parse error before "ctx"
main.c:257: error: elements of array `options' have
incomplete type
main.c:259: error: `POPT_AUTOHELP' undeclared (first
use in this function)
main.c:259: error: parse error before '{' token
main.c:259: warning: missing braces around initializer
main.c:259: warning: (near initialization for `options[1]')
main.c:259: warning: excess elements in struct initializer
main.c:259: warning: (near initialization for `options[1]')
main.c:259: error: `POPT_ARG_NONE' undeclared (first
use in this function)
main.c:259: warning: excess elements in struct initializer

Looking back through the configure output, I see no
mention of popt at all; does the option exist, or not?
Why is it listed under configure --help ?
(If the package requires "popt" (whatever it is), could
it please check for it when configuring the package,
and report an error and some information on where to
get it, at least?)

Discussion

  • Logged In: YES
    user_id=59853

    exif requires popt. There should be no --without-popt option.

    I'll fix it when I get to it.

     
  • Dan Fandrich
    Dan Fandrich
    2008-02-10

    Logged In: YES
    user_id=236775
    Originator: NO

    I just tried the CVS version of exif with popt 1.10.8 and autoconf 2.61 and ./configure --help didn't show any --without-popt option. I didn't see any change to the exif sources that should have affected this behaviour, though, but seeing as it's not there now, I think it's safe to close this bug.

     
  • Dan Fandrich
    Dan Fandrich
    2008-12-01

    • status: open --> closed-fixed