Opened 17 years ago

Closed 17 years ago

Last modified 16 years ago

#13718 closed defect (fixed)

pear-base can't find required Structures/Graph.php

Reported by: forums@… Owned by: wsiegrist@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: pear-base pear Cc:
Port:

Description (last modified by jmpalacios (Juan Manuel Palacios))

I have installed pear-base port and here is the log for it:

bash-3.2# port install pear-base
--->  Fetching pear-base
--->  Verifying checksum(s) for pear-base
--->  Extracting pear-base
--->  Configuring pear-base
--->  Building pear-base with target all
--->  Staging pear-base into destroot
--->  Installing pear-base 1.6.2_0
--->  Activating pear-base 1.6.2_0
--->  Cleaning pear-base
bash-3.2# pear list
(no packages installed from channel pear.php.net)
bash-3.2# pear install DB
WARNING: "pear/DB" is deprecated in favor of "pear/MDB2"
WARNING: channel "pear.php.net" has updated its protocols, use "channel-update pear.php.net" to update
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 DB-1.7.13.tgz ...
Starting to download DB-1.7.13.tgz (132,246 bytes)
.....................done: 132,246 bytes
downloading PEAR-1.6.2.tgz ...
Starting to download PEAR-1.6.2.tgz (297,794 bytes)
...done: 297,794 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

Warning: PEAR_Downloader::require_once(Structures/Graph.php): failed to open stream: No such file or directory in Downloader.php on line 1230
PHP Warning:  PEAR_Downloader::require_once(Structures/Graph.php): failed to open stream: No such file or directory in /opt/local/lib/php/PEAR/Downloader.php on line 1230
PHP Fatal error:  PEAR_Downloader::require_once(): Failed opening required 'Structures/Graph.php' (include_path='/opt/local/lib/php') in /opt/local/lib/php/PEAR/Downloader.php on line 1230

Problem is I cannot install any pear packages because of the above error. Is this an upstream problem or something wrong with the setup of pear-base port?

Change History (6)

comment:1 Changed 17 years ago by jmpalacios (Juan Manuel Palacios)

Description: modified (diff)
Milestone: Port Bugs
Priority: HighNormal

Please read Wikiformatting to learn how to paste terminal output into a ticket: use the {{{ }}} macro for preformatted text. Thanks!

-jmpp

comment:2 Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)

Summary: pear-base can't update/installpear-base can't find required Structures/Graph.php

It's not a problem installing or activating the pear-base port; it's a problem using the pear-base port once it's installed.

comment:3 Changed 17 years ago by wsiegrist@…

Owner: changed from macports-tickets@… to wsiegrist@…

comment:4 Changed 17 years ago by wsiegrist@…

There are PEAR variants for both the php4 and php5 ports. You need a version of PHP installed to run PEAR anyway, and PEAR works for me using them with their variant. Is the pear-base port now obsolete? The main PHP package has make targets for pear already, so I'd say the pear-base port isnt needed.

comment:5 Changed 17 years ago by wsiegrist@…

Resolution: fixed
Status: newclosed

Removed obsolete port in r36381. Use the pear variant provided by the PHP ports for installing PEAR instead.

comment:6 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.