sh: dotneato-config: command not found
Warning: dotneato-config not in path.
If you are using a non-unix system,
you will probably need to manually change
the include_dirs and library_dirs in setup.py
to point to the correct locations of your graphviz installation.
running install
running build
running build_py
running build_ext
gcc-4.2 not found, using clang instead
building 'pygraphviz._graphviz' extension
clang -fno-strict-aliasing -fno-common -dynamic -arch i386 -arch x86_64 -g -O2 -DNDEBUG -g -O3 -I/usr/include/graphviz -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c pygraphviz/graphviz_wrap.c -o build/temp.macosx-10.6-intel-2.7/pygraphviz/graphviz_wrap.o
pygraphviz/graphviz_wrap.c:847:38: warning: format string is not a string
literal (potentially insecure) [-Wformat-security]
PyErr_Format(PyExc_RuntimeError, mesg);
^~~~
pygraphviz/graphviz_wrap.c:2034:11: warning: initializing 'char *' with an
expression of type 'const char *' discards qualifiers
[-Wincompatible-pointer-types]
char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pygraphviz/graphviz_wrap.c:2501:42: warning: incompatible pointer types passing
'int *' to parameter of type 'Py_ssize_t *' (aka 'long *')
[-Wincompatible-pointer-types]
PyString_AsStringAndSize(obj, &cstr, &len);
^~~~
/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/stringobject.h:175:26: note:
passing argument to parameter 'len' here
register Py_ssize_t *len /* pointer to length variable or NULL
^
pygraphviz/graphviz_wrap.c:2732:20: error: unknown type name 'Agsym_t'
char *agattrname(Agsym_t *atsym) {
^
pygraphviz/graphviz_wrap.c:2737:22: error: unknown type name 'Agsym_t'
char *agattrdefval(Agsym_t *atsym) {
^
pygraphviz/graphviz_wrap.c:2747:3: error: use of undeclared identifier
'Agdesc_t'
Agdesc_t arg2 ;
^
pygraphviz/graphviz_wrap.c:2748:3: error: use of undeclared identifier
'Agdisc_t'
Agdisc_t *arg3 = (Agdisc_t *) 0 ;
^
pygraphviz/graphviz_wrap.c:2748:13: error: use of undeclared identifier 'arg3'
Agdisc_t *arg3 = (Agdisc_t *) 0 ;
^
pygraphviz/graphviz_wrap.c:2748:21: error: use of undeclared identifier
'Agdisc_t'
Agdisc_t *arg3 = (Agdisc_t *) 0 ;
^
pygraphviz/graphviz_wrap.c:2748:31: error: expected expression
Agdisc_t *arg3 = (Agdisc_t *) 0 ;
^
pygraphviz/graphviz_wrap.c:2749:3: error: use of undeclared identifier
'Agraph_t'
Agraph_t *result = 0 ;
^
pygraphviz/graphviz_wrap.c:2749:13: error: use of undeclared identifier 'result'
Agraph_t *result = 0 ;
^
pygraphviz/graphviz_wrap.c:2775:7: error: use of undeclared identifier 'arg2'
arg2 = *((Agdesc_t *)(argp2));
^
pygraphviz/graphviz_wrap.c:2775:17: error: use of undeclared identifier
'Agdesc_t'
arg2 = *((Agdesc_t *)(argp2));
^
pygraphviz/graphviz_wrap.c:2775:27: error: expected expression
arg2 = *((Agdesc_t *)(argp2));
^
pygraphviz/graphviz_wrap.c:2782:3: error: use of undeclared identifier 'arg3'
arg3 = (Agdisc_t *)(argp3);
^
pygraphviz/graphviz_wrap.c:2782:11: error: use of undeclared identifier
'Agdisc_t'
arg3 = (Agdisc_t *)(argp3);
^
pygraphviz/graphviz_wrap.c:2782:21: error: expected expression
arg3 = (Agdisc_t *)(argp3);
^
pygraphviz/graphviz_wrap.c:2783:3: error: use of undeclared identifier 'result'
result = (Agraph_t *)agopen(arg1,arg2,arg3);
^
pygraphviz/graphviz_wrap.c:2783:13: error: use of undeclared identifier
'Agraph_t'
result = (Agraph_t *)agopen(arg1,arg2,arg3);
^
pygraphviz/graphviz_wrap.c:2783:23: error: expected expression
result = (Agraph_t *)agopen(arg1,arg2,arg3);
^
pygraphviz/graphviz_wrap.c:2784:50: error: use of undeclared identifier 'result'
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), ...
^
pygraphviz/graphviz_wrap.c:2476:52: note: expanded from macro 'SWIG_as_voidptr'
#define SWIG_as_voidptr(a) (void *)((const void *)(a))
^
pygraphviz/graphviz_wrap.c:975:83: note: expanded from macro
'SWIG_NewPointerObj'
...type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
3 warnings and 20 errors generated.
error: command 'clang' failed with exit status 1