Skip to content

How to get this working on OS X Mojave 10.14.5 #8

@asaunders-allyDVM

Description

@asaunders-allyDVM

The following is how I installed this on OS X 10.14.5.

I know this is not an issue but I wanted to document it for others to use in the future.

cd ~

git clone https://github.com/pplu/aws-map.git

curl -L https://install.perlbrew.pl | bash

perlbrew install perl-5.30.0

perlbrew switch perl-5.30.0

# I ran the following each as individual commands but a space delimited single line works as well.
sudo cpan Carton Moose Want PerlIO::utf8_strict IO::Socket::SSL Params::Validate DateTime Image::Size Mojolicious::Lite

brew install pango librsvg

carton install

I used the following to correct the Graphviz Dot issue where it would not generate the PNG.

At this point I could get the SVG and DOT files to generate using the command

carton exec perl -I lib bin/map_network_sgs us-east-1

I could not get the PNG to work, there is an issue with brew install Graphviz which is what I was using. Building Graphviz manually from source with the --with-pangocairo=yes flag seemed to resolve this issue.

cd /tmp

wget https://graphviz.gitlab.io/pub/graphviz/stable/SOURCES/graphviz.tar.gz

tar xvfz graphviz.tar.gz

cd graphviz-2.40.1/

rm -rf /usr/local/lib/graphviz # in case old stuff is there

./configure --includedir=/usr/local/include/graphviz --with-pangocairo=yes

make -j 8

make install

Go test it again.

cd ~/aws-map/

carton exec perl -I lib bin/map_network_sgs  us-east-1

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions