[rt-users] GD and GraphViz - Need both? Can't build source.

Cena, Stephen (ext. 300) SJC at qvii.com
Thu Mar 22 15:09:44 EDT 2012


Ok; I think I got it worked out! At least on Cent OS 6.x. I'm going to
try to reproduce this on a fresh install but I've been documenting as I
go and this is what I've got:

-Install Cent OS 6 - Minimal Desktop
-Perform updates
-Install GCC - yum install gcc.i686
-Install Make - yum install make.i686 --- already installed (gcc brought
in?)
-Install YAML for PERL - yum install perl-YAML.noarch
-Install RSS for PERL - yum install perl-XML-RSS.noarch
-Install GraphViz - yum install graphviz-perl.i686
-Install GraphViz GD - yum install graphviz-gd.i686
-Install GD Text - yum install perl-GDTextUtil.noarch  --- pulls in
perl-GD
-Install Apache2 - yum install httpd.i686
-Install MySQL - yum install mysql-server.i686
-Install CPAN/CPANPlus - yum install perl-CPANPLUS.i686 perl-CPAN.i686
-Update CPAN - install CPAN; reload CPAN
-Download RT latest release - currently, rt-4.0.5.tar.gz
-Uncompress - tar xzvf rt-4.0.5.tar.gz
-Switch to RT folder and run configure: ./configure --enable-graphviz
--enable-gd --with-db-type=mysql --with-db-dba=root
-Fix dependancies - make fixdeps

When I run 'make fixdeps' this time, I get "All dependancies have been
found".

The only other change I know I'll need to make (at least for myself) is
to swap out Sendmail for Postfix but that I know how to do.

I'm also going to take a similar stab at doing this under Ubuntu 11.10
and see how I fare there.

Hope this helps some others out, and when I get a completely solid
"guide" I'll be sure to upload it/post it/whatever to the Wiki.

Thanks!!!


Stephen Cena
MIS/IT Dept - Quality Vision International
850 Hudson Ave
Rochester,NY. 14621
Ph: 585-544-0450 x300
"Thank you for helping us help you help us all."

-----Original Message-----
From: Christopher Lasater [mailto:CLasater at taleo.com] 
Sent: Thursday, March 22, 2012 1:04 PM
To: Cena, Stephen (ext. 300)
Cc: rt-users at lists.bestpractical.com
Subject: Re: [rt-users] GD and GraphViz - Need both? Can't build source.

It looks like they have debs on GraphViz.org have you tried doing that
or just trying to compile?

I have always compiled them.  I believe you need expat (and probably
expat-devel) to compile graphviz and you will need the libpng-devel to
get it to work properly with Request Tracker.  For libgd I always just
installed the RPM and moved the library (libgd.so.2) to systems I could
not install RPMs on.  Make sure to properly set up your LD_LIBRARY_PATH
environmental variables to go to any lib folders you have, so that when
you try to install it will find all your compiled/moved libraries.
	Chris

On Thu, 2012-03-22 at 12:50 -0400, Cena, Stephen (ext. 300) wrote:
> I recently attended Best Practical's' training in Boston and found it 
> informative. Since my return, I've been trying to get RT 4.0.x 
> (currently 4.0.5) built from source with no luck. I know that one of 
> the things my users will desire is the ability to display graphs. Do I

> need both GD and GraphViz installed, or just GraphViz?  Second; I've 
> tried both Ubuntu and CENT-OS to build RT from source with no luck at 
> all. The tripping point appears to be the GD/GraphViz libraries. No 
> matter what I try, I can't seem to get either the libraries installed 
> or the build script to recognize it. Installing them via CPAN told me 
> that I needed to get them directly from GraphViz.org. I've done that 
> and am able to get them installed on CENT but not Ubuntu.  Is there 
> some trick I'm missing to make this happen?
>  
> Stephen Cena
> MIS/IT Dept - Quality Vision International 850 Hudson Ave 
> Rochester,NY. 14621
> Ph: 585-544-0450 x300
> "Thank you for helping us help you help us all."
>  




More information about the rt-users mailing list