You are not logged in.

#1 2013-02-12 04:45:18

Dave Cohen
Member
Registered: 2008-09-27
Posts: 126

[SOLVED] makepkg of php fails, no useful error message

I'm trying to use ABS to build PHP.  I run makepkg and the last lines are:

checking whether build with IMAP works... no
configure: error: build test failed. Please check the config.log for details.
==> ERROR: A failure occurred in build().
    Aborting...

The error refers me to config.log, but I don't see useful information there.  Here's the end of that file:

[dave@apollo php]: tail src/build-php/config.log 
#define COMPILE_DL_IMAP 1
#define HAVE_IMAP 1
#define HAVE_IMAP2000 1
#define HAVE_IMAP2004 1
#define HAVE_NEW_MIME2TEXT 1
#define HAVE_LIBPAM 1
#define HAVE_LIBCRYPT 1
#define HAVE_IMAP_SSL 1

configure: exit 1

This is my first attempt to use ABS so apologies if the error should be obvious.

My goal is to build PHP 5.2.17 because I need it for a client.  But I'm starting by simply building extra/php without any modifications to the PKGBUILD, and I'm getting the error described above.  Any help is very appreciated!  Thanks.

Last edited by Dave Cohen (2013-02-12 05:55:24)

Offline

#2 2013-02-12 05:17:37

Pierre
Developer
From: Bonn
Registered: 2004-07-05
Posts: 1,950
Website

Re: [SOLVED] makepkg of php fails, no useful error message

We recently noticed that issue ourselves; it's a bug in pkg-config. Downgrade to 0.27.1-1.

Offline

#3 2013-02-12 05:55:53

Dave Cohen
Member
Registered: 2008-09-27
Posts: 126

Re: [SOLVED] makepkg of php fails, no useful error message

Thanks that worked.  I wish I had asked sooner!

Offline

Board footer

Powered by FluxBB