Date: Thu, 7 May 2009 14:34:23 +0100 (BST) From: "Mark Powell" <M.S.Powell@salford.ac.uk> To: ale@FreeBSD.org Cc: freebsd-ports@freebsd.org, miwi@freebsd.org Subject: pear v1.8.1 build issues with php v4.4.9 Message-ID: <20090507142313.Q11492@rust.salford.ac.uk>
next in thread | raw e-mail | index | archive | help
Hi, I've narrowed down a problem when building pear v1.8.1 with php v4.4.9. There is an XML parse error when the port tries to install Structure_Graph. NB pear v1.7.2 builds ok with php v4.4.9. It's the update to pear v1.8.1 that breaks it. Also, with php v5 pear v1.8.1 builds ok. So it just seems to be the combination of pear v1.8.x and php v4. Here's the relevant part of the build: ----- Installing selected packages.................. Installing bootstrap package: PEAR...................warning: pear/PEAR requires package "pear/Archive_Tar" (recommended version 1.3.3) warning: pear/PEAR requires package "pear/Structures_Graph" (recommended version 1.0.2) warning: pear/PEAR requires package "pear/Console_Getopt" (recommended version 1.2.3) install ok: channel://pear.php.net/PEAR-1.8.1 PEAR: Optional feature webinstaller available (PEAR's web-based installer) PEAR: Optional feature gtkinstaller available (PEAR's PHP-GTK-based installer) PEAR: Optional feature gtk2installer available (PEAR's PHP-GTK2-based installer) PEAR: To install optional features use "pear install pear/PEAR#featurename" Installing bootstrap package: Structures_Graph.......downloading Structures_Graph-1.0.2.tgz ... Starting to download Structures_Graph-1.0.2.tgz (30,947 bytes) .........done: 30,947 bytes XML Error: 'not well-formed (invalid token)' on line '10' Download of "pear/Structures_Graph" succeeded, but it is not a valid package archive Error: cannot download "pear/Structures_Graph" Download failed Installing local package: Archive_Tar-stable.........install ok: channel://pear.php.net/Archive_Tar-1.3.3 Installing local package: Console_Getopt-stable.......install ok: channel://pear.php.net/Console_Getopt-1.2.3 ===> Registering installation for pear-1.8.1 ----- Even though the install of Structures_Graph fails, the port installation succeeds. Manually attempting the install of Structures_Graph unsurprisingly gives the same error: ----- # pear -V PEAR Version: 1.8.1 PHP Version: 4.4.9 Zend Engine Version: 1.3.0 Running on: FreeBSD webmail0 7.1-RELEASE-p5 FreeBSD 7.1-RELEASE-p5 #0: Tue Apr 28 17:55:20 UTC 2009 xxx amd64 # pear install Structures_Graph downloading Structures_Graph-1.0.2.tgz ... Starting to download Structures_Graph-1.0.2.tgz (30,947 bytes) .........done: 30,947 bytes XML Error: 'not well-formed (invalid token)' on line '10' Download of "pear/Structures_Graph" succeeded, but it is not a valid package archive Error: cannot download "pear/Structures_Graph" Download failed install failed ----- I see they changed to packages.xml v2.0 with pear v1.8.1. However, it's supposed to also woth with php v4.4.0 of newer. Is this a pear problem, rather than ports? Many thanks for your time. -- Mark Powell - UNIX System Administrator - The University of Salford Information & Learning Services, Clifford Whitworth Building, Salford University, Manchester, M5 4WT, UK. Tel: +44 161 295 6843 Fax: +44 161 295 5888 www.pgp.com for PGP key
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090507142313.Q11492>