Closed dspruell closed 8 years ago
Tried recommended advice for installing on FreeBSD at https://github.com/darold/squidanalyzer/blob/master/README - appears to have resolved this issue on OpenBSD. The INSTALLDIRS=site
option appears to be key. I used the following commands to install SquidAnalyzer 6.5:
perl Makefile.PL \
INSTALLDIRS=site \
QUIET=1 \
LOGFILE=/var/log/squid.log \
CONFDIR=/etc/squidanalyzer \
HTMLDIR=/var/www/squidreport \
BASEURL=/squidreport
make
sudo make install
This results in installation files/directories at the following paths:
/usr/local/libdata/perl5/site_perl/SquidAnalyzer.pm
/usr/local/bin/squid-analyzer
/etc/squidanalyzer/
/var/www/squidreport/
Should the installation default be INSTALLDIRS=site
?
The default install dir will be site in next release v6.6 to avoid BSD issue. Done in commit 0d67250.
OpenBSD 5.7 (i386) Perl 5.20.1 (perl -V output)
Attempting to install SquidAnalyzer 6.5. Using standard installation steps:
The installation fails as it seems that SquidAnalyzer.pm is not installed into the Perl environment correctly.
Complete output from installation steps:
The installation failure is seen when attempting to run the program outside of the directory containing sources:
The following directory structure is created by the installation, I think indicating a build/installation failure:
Output from make -n and make -n install included:
make_n.txt make_n_install.txt