[Slackbuilds-users] graphviz build failure

Matteo Bernardini matteo.bernardini at gmail.com
Thu May 24 12:22:18 UTC 2018

2018-05-24 14:09 GMT+02:00 Nate Bargmann <n0nb at n0nb.us>:
> I'm not sure what kind of a conflict or lack of specified dependency on
> Java exists with this package:
> make  install-data-hook
> make[7]: Entering directory '/tmp/SBo/graphviz-2.40.1/tclpkg/gv'
> (cd /tmp/SBo/package-graphviz/usr/lib64/graphviz/java/org/graphviz; ln -s -f org/graphviz/libgv_java.so ../../libgv.so; javac -classpath /tmp/SBo/package-graphviz/usr/lib64/graphviz/java gv.java;)
> /bin/sh: javac: command not found
> make[7]: *** [install-data-hook] Error 127
> Makefile:3723: recipe for target 'install-data-hook' failed
> make[7]: Leaving directory '/tmp/SBo/graphviz-2.40.1/tclpkg/gv'
> make[6]: *** [install-data-am] Error 2
> Makefile:3428: recipe for target 'install-data-am' failed
> make[6]: Leaving directory '/tmp/SBo/graphviz-2.40.1/tclpkg/gv'
> make[5]: *** [install-am] Error 2
> Makefile:3350: recipe for target 'install-am' failed
> make[5]: Leaving directory '/tmp/SBo/graphviz-2.40.1/tclpkg/gv'
> make[4]: *** [install-recursive] Error 1
> Makefile:3187: recipe for target 'install-recursive' failed
> make[4]: Leaving directory '/tmp/SBo/graphviz-2.40.1/tclpkg/gv'
> make[3]: *** [install-recursive] Error 1
> Makefile:648: recipe for target 'install-recursive' failed
> make[3]: Leaving directory '/tmp/SBo/graphviz-2.40.1/tclpkg'
> Makefile:822: recipe for target 'install-recursive' failed
> make[2]: *** [install-recursive] Error 1
> make[2]: Leaving directory '/tmp/SBo/graphviz-2.40.1'
> make[1]: *** [install] Error 2
> Makefile:1115: recipe for target 'install' failed
> make[1]: Leaving directory '/tmp/SBo/graphviz-2.40.1'
> make: *** [install-strip] Error 2
> Makefile:1125: recipe for target 'install-strip' failed
> Failure encountered while building graphviz:
>   graphviz.SlackBuild return non-zero

hi Nate,

could it be that you got a version of java installed (like jdk, for
example) and graphviz detect it and build a module for it, but you are
building graphviz becoming root with a simple "su" and not "su -" so
that your shell doesn't have the command javac in its path?


More information about the SlackBuilds-users mailing list