[MacPorts] #21290: py25-pygraphviz build fails on snow leopard (was: py25-pygraphviz faild on snow leopard)

MacPorts noreply at macports.org
Thu Sep 10 13:48:02 PDT 2009


#21290: py25-pygraphviz build fails on snow leopard
-------------------------------------+--------------------------------------
 Reporter:  andrzej.sliwa@…          |       Owner:  macports-tickets@…                   
     Type:  defect                   |      Status:  new                                  
 Priority:  Normal                   |   Milestone:                                       
Component:  ports                    |     Version:                                       
 Keywords:                           |        Port:  py25-pygraphviz                      
-------------------------------------+--------------------------------------
Changes (by toby@…):

  * priority:  High => Normal
  * version:  1.8.0 =>
  * port:  => py25-pygraphviz


Old description:

> sudo port install py25-pygraphviz  haves errors:
>
> --->  Computing dependencies for py25-pygraphviz
> --->  Building py25-pygraphviz
> Error: Target org.macports.build returned: shell command " cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py25-pygraphviz/work/pygraphviz-0.99"
> && /opt/local/bin/python2.5 setup.py --no-user-cfg build " returned error
> 1
> Command output: Package libagraph was not found in the pkg-config search
> path.
> Perhaps you should add the directory containing `libagraph.pc'
> to the PKG_CONFIG_PATH environment variable
> No package 'libagraph' found
> Package libagraph was not found in the pkg-config search path.
> Perhaps you should add the directory containing `libagraph.pc'
> to the PKG_CONFIG_PATH environment variable
> No package 'libagraph' found
> Trying pkg-config
> Trying dotneato-config
> Failed to find dotneato-config
>
> Your graphviz installation could not be found.
>
> Either the graphviz package is missing on incomplete
> (binary packages graphviz-dev or graphviz-devel missing?).
>
> If you think your installation is correct you will need to manually
> change the include_path and library_path variables in setup.py to
> point to the correct locations of your graphviz installation.
>
> The current setting of library_path and include_path is:
> library_path=None
> include_path=None
>
> Traceback (most recent call last):
>   File "setup.py", line 120, in <module>
>     raise OSError,"Error locating graphviz."
> OSError: Error locating graphviz.
>
> Error: Status 1 encountered during processing.

New description:

 sudo port install py25-pygraphviz  haves errors:

 {{{
 --->  Computing dependencies for py25-pygraphviz
 --->  Building py25-pygraphviz
 Error: Target org.macports.build returned: shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py25-pygraphviz/work/pygraphviz-0.99"
 && /opt/local/bin/python2.5 setup.py --no-user-cfg build " returned error
 1
 Command output: Package libagraph was not found in the pkg-config search
 path.
 Perhaps you should add the directory containing `libagraph.pc'
 to the PKG_CONFIG_PATH environment variable
 No package 'libagraph' found
 Package libagraph was not found in the pkg-config search path.
 Perhaps you should add the directory containing `libagraph.pc'
 to the PKG_CONFIG_PATH environment variable
 No package 'libagraph' found
 Trying pkg-config
 Trying dotneato-config
 Failed to find dotneato-config

 Your graphviz installation could not be found.

 Either the graphviz package is missing on incomplete
 (binary packages graphviz-dev or graphviz-devel missing?).

 If you think your installation is correct you will need to manually
 change the include_path and library_path variables in setup.py to
 point to the correct locations of your graphviz installation.

 The current setting of library_path and include_path is:
 library_path=None
 include_path=None

 Traceback (most recent call last):
   File "setup.py", line 120, in <module>
     raise OSError,"Error locating graphviz."
 OSError: Error locating graphviz.

 Error: Status 1 encountered during processing.
 }}}

--

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


More information about the macports-tickets mailing list