I am trying to install php5-zip in php5-extensions port, I will get this error message. I tried on a different host so I was sure this was not related to a jail issue.
Port fails to build/install if Zip library is selected. Below is the error message and the config for the port.
Thank you in advance for any replies.
The error message.
Port fails to build/install if Zip library is selected. Below is the error message and the config for the port.
Thank you in advance for any replies.
Code:
mmocafe# make showconfig
===> The following configuration options are available for php5-extensions-1.5:
BCMATH=off "bc style precision math functions"
BZ2=off "bzip2 library support"
CALENDAR=off "calendar conversion support"
CTYPE=on "ctype functions"
CURL=on "CURL support"
DBA=off "dba support"
DOM=on "DOM support"
EXIF=off "EXIF support"
FILEINFO=off "fileinfo support"
FILTER=off "input filter support"
FRIBIDI=off "FriBidi support"
FTP=off "FTP support"
GD=on "GD library support"
GETTEXT=on "gettext library support"
GMP=off "GNU MP support"
HASH=on "HASH Message Digest Framework"
ICONV=on "iconv support"
IMAP=off "IMAP support"
INTERBASE=off "Interbase 6 database support (Firebird)"
JSON=on "JavaScript Object Serialization support"
LDAP=off "OpenLDAP support"
MBSTRING=off "multibyte string support"
MCRYPT=on "Encryption support"
MSSQL=off "MS-SQL database support"
MYSQL=on "MySQL database support"
MYSQLI=on "MySQLi database support"
ODBC=off "ODBC support"
OPENSSL=on "OpenSSL support"
PCNTL=off "pcntl support (CLI only)"
PDF=off "PDFlib support (implies GD)"
PDO=on "PHP Data Objects Interface (PDO)"
PDO_SQLITE=on "PDO sqlite driver"
PGSQL=off "PostgreSQL database support"
POSIX=on "POSIX-like functions"
PSPELL=off "pspell support"
READLINE=off "readline support (CLI only)"
RECODE=off "recode support"
SESSION=on "session support"
SHMOP=off "shmop support"
SIMPLEXML=on "simplexml support"
SNMP=off "SNMP support"
SOAP=off "SOAP support"
SOCKETS=off "sockets support"
SQLITE=on "sqlite support"
SQLITE3=on "sqlite3 support"
SYBASE_CT=off "Sybase database support"
SYSVMSG=off "System V message support"
SYSVSEM=off "System V semaphore support"
SYSVSHM=off "System V shared memory support"
TIDY=off "TIDY support"
TOKENIZER=on "tokenizer support"
WDDX=off "WDDX support (implies XML)"
XML=on "XML support"
XMLREADER=on "XMLReader support"
XMLRPC=off "XMLRPC-EPI support"
XMLWRITER=on "XMLWriter support"
XSL=off "XSL support (Implies DOM)"
YAZ=off "YAZ support (ANSI/NISO Z39.50)"
ZIP=on "ZIP support"
ZLIB=on "ZLIB support"
===> Use 'make config' to modify these settings
The error message.
Code:
/var/ports/basejail/usr/ports/archivers/php5-zip/work/php-5.3.8/ext/zip/php_zip.c:664: error: 'pcre_extra' undeclar ed (first use in
this function)
*** Error code 1
1 error
*** Error code 1
Stop in /basejail/usr/ports/archivers/php5-zip.
*** Error code 1
Stop in /basejail/usr/ports/lang/php5-extensions.
*** Error code 1
Stop in /basejail/usr/ports/lang/php5-extensions.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade20111012-49227-50gexe-0 env UPGRADE_TOOL=portupgrade
UPGRADE_PORT=php5-extensions-1.5 UPGRADE_PORT_VER=1.5 make
** Fix the problem and try again.
---> Build of lang/php5-extensions ended at: Wed, 12 Oct 2011 19:33:34 +0000 (consumed 00:00:08)
---> Reinstallation of lang/php5-extensions ended at: Wed, 12 Oct 2011 19:33:34 +0000 (consumed 00:00:08)
---> ** Upgrade tasks 1: 0 done, 0 ignored, 0 skipped and 1 failed
---> Listing the results (+:done / -:ignored / *:skipped / !:failed)
! lang/php5-extensions (php5-extensions-1.5) (missing header)
---> Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed
---> Session ended at: Wed, 12 Oct 2011 19:33:34 +0000 (consumed 00:03:03)