Hi,

I have recently tried to install octave but I got a problem when building it. 
It failed when trying to build graphviz. Afterwards I tried to install graphviz 
alone but I could not.

I am using Mac Os X 10.8.3.

The command I used to install is: sudo fink install graphviz-dev

System information:

Package manager version: 0.34.7
Distribution version: selfupdate-rsync Sun Apr 14 20:48:06 2013, 10.8, x86_64
Trees: local/main stable/main
Xcode.app: 4.6.1
Xcode command-line tools: 4.6.0.0.1.1362189000
Max. Fink build jobs:  1

The last few lines reported are:

gv_ocaml.cpp:866:20: error: static declaration of 'caml_array_length' follows 
non-static declaration
    SWIGSTATIC int caml_array_length( CAML_VALUE arr );
                   ^
/sw/lib/ocaml/caml/mlvalues.h:252:21: note: previous declaration is here
CAMLextern mlsize_t caml_array_length (value);   /* size in items */
                    ^
1 error generated.
make[4]: *** [libgv_ocaml_la-gv_ocaml.lo] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
### execution of /tmp/fink.seSP3 failed, exit code 2
### execution of /tmp/fink.JqTTC failed, exit code 2
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-graphviz-2.26.3-6
(Reading database ... 46673 files and directories currently installed.)
Removing fink-buildlock-graphviz-2.26.3-6 ...
Reading buildlock packages...
/sw/bin/dpkg-lockwait -i 
/sw/fink/dists/stable/main/binary-darwin-x86_64/languages/tcltk-dev_8.5.13-2_darwin-x86_64.deb
Selecting previously deselected package tcltk-dev.
(Reading database ... 46672 files and directories currently installed.)
Unpacking tcltk-dev (from .../tcltk-dev_8.5.13-2_darwin-x86_64.deb) ...
Setting up tcltk-dev (8.5.13-2) ...

Failed: phase compiling: graphviz-2.26.3-6 failed

I have tried to search a solution to this problem, but I could not find any 
solution. I would appreciate if anybody could explain me why I am getting this 
error and the steps I should follow to solve it.

Thanks,

David.
------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
Fink-beginners mailing list
Fink-beginners@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.beginners
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to