Re: fink : Updating graphviz fails on 10.11, x86_64
Daniel Macks <[email protected]>
| Newsgroups | gmane.os.apple.fink.general |
|---|---|
| Message-ID | <[email protected]> |
There's a mess in the ocaml/swig world (graphviz can only compile with them if you have older versions of their packages still installed). I just pushed a new graphviz version (2.49.3) that (among other things) disables the ocaml plugin. I only test-built it back to 10.13. dan On 10/31/21, 8:52 PM, "Thomas Schenk via Fink-users" <[email protected]> wrote: Hello, I cannot sort out this problem. The old version compiled without errors, but now graphviz (libgraphviz-shlibs) fail to build fink list -i | grep graphviz (i) graphviz 2.46.0-4 Graph visualization software (binaries) (i) libgraphviz238-shlibs 2.46.0-4 Graph visualization software (shared libs) [...] /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I../../lib -I../../lib/gvc -I../../lib/common -I../../lib/cgraph -I../../lib/cdt -I../../lib/pathplan -DDEMAND_LOADING=1 -I/sw/lib/ocaml -Dint64=int64_t -fpermissive -I/sw/include -g -O2 -fPIE -fPIC -MT libgv_ocaml_la-gv_ocaml.lo -MD -MP -MF .deps/libgv_ocaml_la-gv_ocaml.Tpo -c -o libgv_ocaml_la-gv_ocaml.lo `test -f 'gv_ocaml.cpp' || echo './'`gv_ocaml.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I../../lib -I../../lib/gvc -I../../lib/common -I../../lib/cgraph -I../../lib/cdt -I../../lib/pathplan -DDEMAND_LOADING=1 -I/sw/lib/ocaml -Dint64=int64_t -fpermissive -I/sw/include -g -O2 -fPIC -MT libgv_ocaml_la-gv_ocaml.lo -MD -MP -MF .deps/libgv_ocaml_la-gv_ocaml.Tpo -c gv_ocaml.cpp -fno-common -DPIC -o .libs/libgv_ocaml_la-gv_ocaml.o gv_ocaml.cpp:1281:2: error: no matching function for call to 'memcpy' memcpy(String_val(SWIG_Field(vv,0)),p,len); ^~~~~~ /usr/include/string.h:72:7: note: candidate function not viable: no known conversion from 'const char *' to 'void *' for 1st argument void *memcpy(void *, const void *, size_t); ^ gv_ocaml.cpp:1319:18: error: cannot initialize a variable of type 'caml_value_t *' (aka 'long *') with an rvalue of type 'const caml_value_t *' (aka 'const long *') ...CAML_VALUE *enum_to_int = caml_named_value(SWIG_MODULE "_enum_to_int"); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ _______________________________________________ Fink-users mailing list [email protected] List archive: https://sourceforge.net/p/fink/mailman/fink-users/ Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-users