I recently created a Repo at Github.com. Since I already had MacPorts up and running on my Mac I ran sudo port install git-core to install git.
Unfortunately it also installed the perl58 package which replaced Apple’s Perl. The new perl was installed to /opt/lib/perl and @INC included those directories only. All modules I had previously installed in /Library/Perl. I decided to install Perl again to have the old behaviour again.
I followed this old guide by Apple and adopted it to Perl 5.8.8.
wget ftp://ftp.cpan.org/pub/CPAN/src/perl-5.8.8.tar.gz
tar zxvf perl-5.8.8.tar.gz
cd perl-5.8.8
export LC_ALL=C
echo “export LC_ALL=C” >> ~/.bash_profile
./Configure -de -Dprefix=/usr
make
make test
sudo make install
Now I have my good old Perl back again.
I needed to draw some charts using gnuplot. Downloading and installing as usual (configure, make, make install) led to a lot of errors. So I looked around and found this solution:
# ./configure –with-readline=builtinIf you need PDF support you have to install pdflib first:
# sudo port install pdflib # ./configure –with-readline=builtin --with-pdf=/usr/local/lib/pdflib-config
You need to have MacPorts installed.
And that was it. You can now run gnuplot from the command line and create beautiful charts.