Unable to build Graphviz on RHEL6

I am noob on Linux.
I have requirement to build graphviz from source on RHEL6 64-bit system.
But facing issue, this is what I have done so far:

1. downloaded source from http://github.com/ellson/graphviz/
2. installed automake, autoconf, gcc-c++ using YUM

I navigated to dir.

autoconf configure.ac

-> it almost ran for a minute dumping lot of text, but ultimately seem to be have completed with success.
then I ran


-> this gives error "Cannot find install-sh, install.sh, or shtool in ac-aux"

searched on internet and exec below commands as per http://askubuntu.com/questions/27677/cannot-find-install-sh-install-sh-o...

$ libtoolize --force
$ aclocal
$ autoheader
$ automake --force-missing --add-missing
$ autoconf
$ ./configure

--> get error
checking for strerror... (cached) yes
checking for strstr... yes
checking for _NSGetEnviron... no
checking for strcasecmp... yes
checking for strncasecmp... yes
checking for strcasestr... yes
./configure: line 8177: syntax error near unexpected token `dlopen'
./configure: line 8177: `LT_INIT(dlopen)'

can someone please help me.

Re: building from git clone

When building from a git clone you will need to first do something like:

autoreconf -v --install --force

./configure .... your configure options ...


but there is a script to help with this:

./autogen.sh  ...your configure options ...


followed by the usual:

make;   sudo make install

thank you, I executed

thank you,

I executed ./autogen.sh and faced further errors. Googling I realized that I need to install additional dev tools like libtool

which I did via yum install libtool

also there was a additional package that I installed from


rpm –i libtool-ltdl-devel-2.2.6-15.5.el6.x86_64.rpm

I can now see the build summary that GraphViz is going to be build.

You say you have to build

You say you have to build graphviz from source, but do you have to start at the github level? There are source packages at http://www.graphviz.org/Download_source.php that avoid all of the autogen stuff. You just run configure, then make.

Recent comments