get error
File was not found /build/php74/pkg/php74-pear/etc/php74/pear.conf
for now just skip install pear
Git Clone URL: | https://aur.archlinux.org/php74.git (read-only, click to copy) |
---|---|
Package Base: | php74 |
Description: | json module for php74 |
Upstream URL: | http://www.php.net |
Licenses: | PHP |
Submitter: | tompear |
Maintainer: | el_aur |
Last Packager: | el_aur |
Votes: | 11 |
Popularity: | 0.56 |
First Submitted: | 2021-01-31 11:48 (UTC) |
Last Updated: | 2024-05-24 12:15 (UTC) |
get error
File was not found /build/php74/pkg/php74-pear/etc/php74/pear.conf
for now just skip install pear
Trying to rebuild this today and getting an error on package_php74-pear
:
~/php74/src/build-cli ~/php74/src
[PEAR] Archive_Tar - installed: 1.4.14
[PEAR] Console_Getopt - installed: 1.4.3
[PEAR] Structures_Graph- installed: 1.1.1
[PEAR] XML_Util - installed: 1.4.5
[PEAR] PEAR: Invalid tag order in <dependencies>, found <_content> expected one of "group"
[PEAR] PEAR: Parsing of package.xml from file "/tmp/pear/temp/pearE8reoa/package.xml" failed
Warning: fopen(/build/php74/pkg/php74-pear/etc/php74/pear.conf): failed to open stream: No such file or directory in /startdir/pear-config-patcher.php on line 14
File was not found /build/php74/pkg/php74-pear/etc/php74/pear.conf
@maxrd2 thanks for the patch. Except killing litespeed it's ok :) Took CFLAGS fix from it. Made lightspeed patch by myself.
I had to apply this patch today in order to compile with new ICU and gcc.
Again libxml2 breaks compilation of package. Downgrade is bad idea now, it leads to unusable core utilities like pacman.
@tompear patch is here now with support of modern libxml version
You have to downgrade libxml2 to version 11.5 if you want to build it. Current Arch Linux version of this package is incompatible with php74 code.
Switch to php 8.x or change OS if you have to use PHP 7.4, there be more problems like this in the future, PHP 7.4 has end-of-life status.
Excuse me if anything does not make much sense, I'm a newbie using AUR.
Everytime I try to install this package via yay, I get an error related to xmlSaveNoEmptyTags not being declared twice under function zif_dom_document_save and zif_dom_document_savexml of .cache/yay/php74/src/php-7.4.33/ext/dom/document.c:
line 1611:29 saveempty = xmlSaveNoEmptyTags;
line 1664:37 saveempty = xmlSaveNoEmptyTags;
Compilation fails and installation is cancelled. Any idea?
Thanks!
Just rebuild php74-intl, thats all.
Pinned Comments
el_aur commented on 2022-02-02 08:43 (UTC) (edited on 2022-02-02 18:11 (UTC) by el_aur)
Created binary repository on build.opensuse.org
https://build.opensuse.org/project/show/home:el:archphp
Import PGP key first:
Append to /etc/pacman.conf:
Refresh packages database
Now search for php packages you need:
Install with
pacman -S
packages you need or all PHP 8.1 packages with:el_aur commented on 2022-01-27 12:06 (UTC) (edited on 2022-02-01 21:33 (UTC) by el_aur)
Read Carefully! Breaking changes in compare with native PHP package
Console version
/usr/bin/php74
is installed withphp74-cli
subpackage,php74
doesn't include it anymore!!!PEAR and PECL are available as
php74-pear
andphp74-pecl
subpackagesAll shared modules are respresented as stand-alone subpackages and are not included with
php74
package anymore.No more extensions in php.ini itself! Separate INI files for each extension are placed in
/etc/php74/conf.d
They are loaded in correct order according to priorityModules: mysqlnd, mysqli and pdo_mysql are moved to single package
php74-mysql
php74-xsl
requiresphp74-xml
andphp74-dom
to be installedphp74-enchant
build with dependencies:libvoikko
,hspell
,hunspell
,nuspell
,aspell