Voor een klein hobbyprojectje heb ik een recente versie van de 'PHP Extension and Application Repository' (PEAR) nodig. De versie in de portrepository van OpenBSD is 1.50, de huidige is 1.72. Ik heb getracht PEAR te updaten via zijn eigen systeem (met 'pear upgrade-all'), helaas gaat dit mis:
Ik heb natuurlijk ook getracht de port simpelweg (zeer simpelweg) te updaten zodat meteen al 1.7.2 wordt gebouwd, maar helaas lijken daar toch wat grotere aanpassingen voor te moeten gebeuren.
Kan iemand helpen aan een oplossing? Ik heb al gezocht waar de 'w-pear-1.5.0/fake-i386/' nog worden vermeld, dat is alleen in de baestanden in '/var/www/pear/lib/.registry/' het geval. Ik heb ze daar al door de juiste paden vervangen, helaas werken de scripts dan niet meer goed, bij het updaten van PEAR met ('pear upgrade PEAR') volgt dan de volgende berichtenvloed:
Het lijkt erop dat de directorystructuur waarin PEAR wordt gebouwd door het portssysteem (/usr/sourcebuild/ports/www/pear/w-pear-1.5.0/fake-i386/var/www/[pear]) niet wordt vervangen door de eindbestemming (/var/www/[pear]). Ik heb de indruk dat het een en ander door het gedeelte 'do-install' in de Makefile van de pport zou moeten worden aangepast.Will upgrade console_getopt
Will upgrade pear
Did not download optional dependencies: pear/XML_RPC,
use --alldeps to download automatically
pear/PEAR can optionally use package "pear/XML_RPC"
(version >= 1.4.0)
downloading Console_Getopt-1.2.3.tgz ...
Starting to download Console_Getopt-1.2.3.tgz (4,011
bytes)
....done: 4,011 bytes
downloading PEAR-1.7.2.tgz ...
Starting to download PEAR-1.7.2.tgz (302,744 bytes)
...done: 302,744 bytes
Could not copy
/usr/sourcebuild/ports/www/pear/w-pear-1.5.0/fake-i386/var/www/pear/lib/Console/Getopt.php
to
/usr/sourcebuild/ports/www/pear/w-pear-1.5.0/fake-i386/var/www/pear/lib/Console/Getopt.php.bak
copy(/usr/sourcebuild/ports/www/pear/w-pear-1.5.0/fake-i386/var/www/pear/lib/Console/Getopt.php):
failed to open stream: No such file or directory
ERROR: commit failed
Could not copy
/usr/sourcebuild/ports/www/pear/w-pear-1.5.0/fake-i386/var/www/pear/lib/OS/Guess.php
to
/usr/sourcebuild/ports/www/pear/w-pear-1.5.0/fake-i386/var/www/pear/lib/OS/Guess.php.bak
copy(/usr/sourcebuild/ports/www/pear/w-pear-1.5.0/fake-i386/var/www/pear/lib/OS/Guess.php):
failed to open stream: No such file or directory
ERROR: commit failed
Ik heb natuurlijk ook getracht de port simpelweg (zeer simpelweg) te updaten zodat meteen al 1.7.2 wordt gebouwd, maar helaas lijken daar toch wat grotere aanpassingen voor te moeten gebeuren.
Kan iemand helpen aan een oplossing? Ik heb al gezocht waar de 'w-pear-1.5.0/fake-i386/' nog worden vermeld, dat is alleen in de baestanden in '/var/www/pear/lib/.registry/' het geval. Ik heb ze daar al door de juiste paden vervangen, helaas werken de scripts dan niet meer goed, bij het updaten van PEAR met ('pear upgrade PEAR') volgt dan de volgende berichtenvloed:
Notice: unserialize(): Error at offset 620 of 38542 bytes in PEAR/Registry.php on line 1045
PHP Notice: unserialize(): Error at offset 620 of 38542 bytes in /var/www/pear/lib/PEAR/Registry.php on line 1045
Notice: unserialize(): Error at offset 620 of 38542 bytes in PEAR/Registry.php on line 1045
PHP Notice: unserialize(): Error at offset 620 of 38542 bytes in /var/www/pear/lib/PEAR/Registry.php on line 1045
Notice: unserialize(): Error at offset 6772 of 8603 bytes in PEAR/Registry.php on line 1045
PHP Notice: unserialize(): Error at offset 6772 of 8603 bytes in /var/www/pear/lib/PEAR/Registry.php on line 1045
Notice: unserialize(): Error at offset 6772 of 8603 bytes in PEAR/Registry.php on line 1045
PHP Notice: unserialize(): Error at offset 6772 of 8603 bytes in /var/www/pear/lib/PEAR/Registry.php on line 1045
Notice: unserialize(): Error at offset 8749 of 20061 bytes in PEAR/Registry.php on line 1045
PHP Notice: unserialize(): Error at offset 8749 of 20061 bytes in /var/www/pear/lib/PEAR/Registry.php on line 1045
Notice: unserialize(): Error at offset 8749 of 20061 bytes in PEAR/Registry.php on line 1045
PHP Notice: unserialize(): Error at offset 8749 of 20061 bytes in /var/www/pear/lib/PEAR/Registry.php on line 1045
Notice: unserialize(): Error at offset 268 of 2209 bytes in PEAR/Registry.php on line 1045
PHP Notice: unserialize(): Error at offset 268 of 2209 bytes in /var/www/pear/lib/PEAR/Registry.php on line 1045
Notice: unserialize(): Error at offset 268 of 2209 bytes in PEAR/Registry.php on line 1045
PHP Notice: unserialize(): Error at offset 268 of 2209 bytes in /var/www/pear/lib/PEAR/Registry.php on line 1045
Did not download optional dependencies: pear/XML_RPC, use --alldeps to download automatically
Notice: unserialize(): Error at offset 6772 of 8603 bytes in PEAR/Registry.php on line 1045
PHP Notice: unserialize(): Error at offset 6772 of 8603 bytes in /var/www/pear/lib/PEAR/Registry.php on line 1045
Notice: unserialize(): Error at offset 8749 of 20061 bytes in PEAR/Registry.php on line 1045
PHP Notice: unserialize(): Error at offset 8749 of 20061 bytes in /var/www/pear/lib/PEAR/Registry.php on line 1045
Notice: unserialize(): Error at offset 268 of 2209 bytes in PEAR/Registry.php on line 1045
PHP Notice: unserialize(): Error at offset 268 of 2209 bytes in /var/www/pear/lib/PEAR/Registry.php on line 1045
Notice: unserialize(): Error at offset 620 of 38542 bytes in PEAR/Registry.php on line 1045
PHP Notice: unserialize(): Error at offset 620 of 38542 bytes in /var/www/pear/lib/PEAR/Registry.php on line 1045
Notice: unserialize(): Error at offset 6772 of 8603 bytes in PEAR/Registry.php on line 1045
PHP Notice: unserialize(): Error at offset 6772 of 8603 bytes in /var/www/pear/lib/PEAR/Registry.php on line 1045
Notice: unserialize(): Error at offset 8749 of 20061 bytes in PEAR/Registry.php on line 1045
PHP Notice: unserialize(): Error at offset 8749 of 20061 bytes in /var/www/pear/lib/PEAR/Registry.php on line 1045
Notice: unserialize(): Error at offset 268 of 2209 bytes in PEAR/Registry.php on line 1045
PHP Notice: unserialize(): Error at offset 268 of 2209 bytes in /var/www/pear/lib/PEAR/Registry.php on line 1045
pear/PEAR can optionally use package "pear/XML_RPC" (version >= 1.4.0)
downloading PEAR-1.7.2.tgz ...
Starting to download PEAR-1.7.2.tgz (302,744 bytes)
..............................................................done: 302,744 bytes
downloading Archive_Tar-1.3.2.tgz ...
Starting to download Archive_Tar-1.3.2.tgz (17,150 bytes)
...done: 17,150 bytes
downloading Structures_Graph-1.0.2.tgz ...
Starting to download Structures_Graph-1.0.2.tgz (30,947 bytes)
...done: 30,947 bytes
downloading Console_Getopt-1.2.3.tgz ...
Starting to download Console_Getopt-1.2.3.tgz (4,011 bytes)
...done: 4,011 bytes
Notice: unserialize(): Error at offset 6772 of 8603 bytes in PEAR/Registry.php on line 1045
PHP Notice: unserialize(): Error at offset 6772 of 8603 bytes in /var/www/pear/lib/PEAR/Registry.php on line 1045
Notice: unserialize(): Error at offset 6772 of 8603 bytes in PEAR/Registry.php on line 1045
PHP Notice: unserialize(): Error at offset 6772 of 8603 bytes in /var/www/pear/lib/PEAR/Registry.php on line 1045
ERROR: pear.php.net/Archive_Tar not installed
Notice: unserialize(): Error at offset 8749 of 20061 bytes in PEAR/Registry.php on line 1045
PHP Notice: unserialize(): Error at offset 8749 of 20061 bytes in /var/www/pear/lib/PEAR/Registry.php on line 1045
Notice: unserialize(): Error at offset 8749 of 20061 bytes in PEAR/Registry.php on line 1045
PHP Notice: unserialize(): Error at offset 8749 of 20061 bytes in /var/www/pear/lib/PEAR/Registry.php on line 1045
ERROR: pear.php.net/Structures_Graph not installed
Notice: unserialize(): Error at offset 268 of 2209 bytes in PEAR/Registry.php on line 1045
PHP Notice: unserialize(): Error at offset 268 of 2209 bytes in /var/www/pear/lib/PEAR/Registry.php on line 1045
Notice: unserialize(): Error at offset 268 of 2209 bytes in PEAR/Registry.php on line 1045
PHP Notice: unserialize(): Error at offset 268 of 2209 bytes in /var/www/pear/lib/PEAR/Registry.php on line 1045
ERROR: pear.php.net/Console_Getopt not installed
Notice: unserialize(): Error at offset 620 of 38542 bytes in PEAR/Registry.php on line 1045
PHP Notice: unserialize(): Error at offset 620 of 38542 bytes in /var/www/pear/lib/PEAR/Registry.php on line 1045
Notice: unserialize(): Error at offset 620 of 38542 bytes in PEAR/Registry.php on line 1045
PHP Notice: unserialize(): Error at offset 620 of 38542 bytes in /var/www/pear/lib/PEAR/Registry.php on line 1045
ERROR: pear.php.net/PEAR not installed