[Xapian-tickets] [Xapian] #693: configure file of omega could not generate Makefile
Xapian
nobody at xapian.org
Thu Nov 12 05:54:16 GMT 2015
#693: configure file of omega could not generate Makefile
---------------------+-----------------------------
Reporter: lhz7370 | Owner: olly
Type: defect | Status: assigned
Priority: normal | Milestone: 1.3.4
Component: Omega | Version: 1.2.21
Severity: major | Resolution:
Keywords: | Blocked By:
Blocking: | Operating System: Linux
---------------------+-----------------------------
Changes (by olly):
* keywords: Makefile could not generated =>
* priority: high => normal
* status: new => assigned
* milestone: 1.2.x => 1.3.4
Old description:
> When I run ./configure --prefix=/xapian-path XAPIAN_CONFIG=/xapian-
> path/bin/xapian-config under xapian-omega-1.2.21 dir, there is no error
> message output, but Makefile could not be generated
>
> part of output at last:
> checking for mkdtemp... yes
> checking for mmap... yes
> checking for fork... yes
> checking for setrlimit... yes
> checking for sysmp... no
> checking for pstat_getdynamic... no
> checking for library containing socketpair... none required
> checking for working ISO C90 conforming snprintf... snprintf
> checking for library containing iconv... none required
> checking for type of input pointer for iconv... char*
> checking whether byte ordering is bigendian... no
> checking for perl... /usr/bin/perl
> checking for pkg-config... /usr/bin/pkg-config
>
> After this message output, no Makefile generated.
New description:
When I run ./configure --prefix=/xapian-path XAPIAN_CONFIG=/xapian-
path/bin/xapian-config under xapian-omega-1.2.21 dir, there is no error
message output, but Makefile could not be generated
part of output at last:
{{{
checking for mkdtemp... yes
checking for mmap... yes
checking for fork... yes
checking for setrlimit... yes
checking for sysmp... no
checking for pstat_getdynamic... no
checking for library containing socketpair... none required
checking for working ISO C90 conforming snprintf... snprintf
checking for library containing iconv... none required
checking for type of input pointer for iconv... char*
checking whether byte ordering is bigendian... no
checking for perl... /usr/bin/perl
checking for pkg-config... /usr/bin/pkg-config
}}}
After this message output, no Makefile generated.
--
Comment:
Thanks for your report (and for config.log).
The problem appears to be that we're trying to return from a shell
function with `exit`. I guess there's a difference between
implementations of `/bin/sh` and on some shells that returns from the
function, while others it exits the script. The autoconf manual says to
use `AS_SET_STATUS()` for portability.
Needs fixing in git master first, then backporting.
--
Ticket URL: <http://trac.xapian.org/ticket/693#comment:1>
Xapian <http://xapian.org/>
Xapian
More information about the Xapian-tickets
mailing list