pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

two problems with latest graphics/graphviz on Mac OS X



I'm using pkgsrc from HEAD (updated earlier today) on Mac OS X 10.4.8.  I'm
seeing two problems with the latest graphviz (v2.12).

The first is a build problem where malloc.h is not found (detailed error
messages included below).  The problem here is that malloc.h is
/usr/include/malloc/malloc.h and is not detected by configure, nor linked
during buildlink.  A workaround is to create a symlink in
.../.buildlink/include so the build can complete normally.  A more permanent
fix is not so obvious because the file that does '#include <malloc.h>' is
created on the fly by swig.

The second problem is that the resulting 'dot' binary is not capable of
generation png, jpeg, or postscript output, all of which were standard
capabilities in earlier versions, and are supposedly built by default in the
current version, as well (unless I misunderstand the new dot manpage on this):

-> dot -Tpng test.dot
Renderer type: "png" not recognized. Use one of: dia hpgl mif mp pcl pic vtx

Any suggestions on what to change to get the "old" behavior back?

Thanks,
Mark

==================================================
 g++ -DHAVE_CONFIG_H -I. -I../.. -I../../lib/gvc -I../../lib/common
-I../../lib/graph -I../../lib/cdt -I../../lib/pathplan
-I/Volumes/NetBSD/pkgsrc/graphics/graphviz/work/.buildlink/include
-DNO_POSTSCRIPT_ALIAS=1 -DPNG_NO_ASSEMBLER_CODE -no-cpp-precomp
-I/Volumes/NetBSD/pkgsrc/graphics/graphviz/work/.x11-buildlink/include
-I/Volumes/NetBSD/pkgsrc/graphics/graphviz/work/.buildlink/include/freetype2
-O2 -MT gv_lua.lo -MD -MP -MF .deps/gv_lua.Tpo -c gv_lua.cpp  -fno-common
-DPIC -o .libs/gv_lua.o
gv_lua.cpp:711:20: error: malloc.h: No such file or directory

[wrapper.sh] note: The real command line, after the pkgsrc wrapper, was:
/Volumes/NetBSD/pkgsrc/graphics/graphviz/work/.gcc/bin/g++ -DHAVE_CONFIG_H -I.
-I../.. -I../../lib/gvc -I../../lib/common -I../../lib/graph -I../../lib/cdt
-I../../lib/pathplan
-I/Volumes/NetBSD/pkgsrc/graphics/graphviz/work/.buildlink/include
-DNO_POSTSCRIPT_ALIAS=1 -DPNG_NO_ASSEMBLER_CODE -no-cpp-precomp
-I/Volumes/NetBSD/pkgsrc/graphics/graphviz/work/.x11-buildlink/include
-I/Volumes/NetBSD/pkgsrc/graphics/graphviz/work/.buildlink/include/freetype2
-O2 -MT gv_lua.lo -MD -MP -MF .deps/gv_lua.Tpo -c gv_lua.cpp -fno-common -DPIC
-o .libs/gv_lua.o -L/Volumes/NetBSD/pkgsrc/graphics/graphviz/work/.buildlink/lib

[wrapper.sh] note: The real command line, after the pkgsrc wrapper, was:
/Volumes/NetBSD/pkg/bin/libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H
-I. -I../.. -I../../lib/gvc -I../../lib/common -I../../lib/graph
-I../../lib/cdt -I../../lib/pathplan
-I/Volumes/NetBSD/pkgsrc/graphics/graphviz/work/.buildlink/include
-DNO_POSTSCRIPT_ALIAS=1 -DPNG_NO_ASSEMBLER_CODE -no-cpp-precomp
-I/Volumes/NetBSD/pkgsrc/graphics/graphviz/work/.x11-buildlink/include
-I/Volumes/NetBSD/pkgsrc/graphics/graphviz/work/.buildlink/include/freetype2
-O2 -MT gv_lua.lo -MD -MP -MF .deps/gv_lua.Tpo -c -o gv_lua.lo gv_lua.cpp
*** Error code 1

Stop.
bmake: stopped in
/Volumes/NetBSD/pkgsrc/graphics/graphviz/work/graphviz-2.12/tclpkg/gv
*** Error code 1




Home | Main Index | Thread Index | Old Index