[MacPorts] #13718: pear-base can't update/install

MacPorts trac at macosforge.org
Tue Dec 25 09:13:56 PST 2007


#13718: pear-base can't update/install
--------------------------------------------+-------------------------------
  Reporter:  forums at jefferyfernandez.id.au  |       Owner:  macports-tickets at lists.macosforge.org
      Type:  defect                         |      Status:  new                                  
  Priority:  Normal                         |   Milestone:  Port Bugs                            
 Component:  ports                          |     Version:  1.6.0                                
Resolution:                                 |    Keywords:  pear-base pear                       
--------------------------------------------+-------------------------------
Changes (by jmpp at macports.org):

  * priority:  High => Normal
  * milestone:  => Port Bugs

Old description:

> 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?

New description:

 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?

Comment:

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

 -jmpp

-- 
Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13718#comment:1>
MacPorts </projects/macports>
Ports system for Mac OS


More information about the macports-tickets mailing list