Hi Bricaleurs,
I'm installing a clone of an older 1.10.2 version of bric onto some new
hardware. I'm able to get through all of the installation steps, but when I
try to start bric up I get the following error:
>>>>>>>>>>>>
sudo /usr/local/bricolage/bin/bric_apachectl start
String found where operator expected at
/usr/local/bricolage/lib/Bric/Config.pm line 367, near "Carp::croak "Cannot
open $conf_file: $!\n""
(Do you need to predeclare Carp::croak?)
String found where operator expected at
/usr/local/bricolage/lib/Bric/Config.pm line 459, near "Carp::croak
"Invalid SSL_ENABLE directive: '$ssl'""
(Do you need to predeclare Carp::croak?)
######################################################################
Cannot load Bricolage libraries. Please set the environment
variable BRICOLAGE_ROOT to the location of your Bricolage
installation or set the environment variable PERL5LIB to the
directory where Bricolage's libraries are installed.
The specific error encountered was as follows:
syntax error at /usr/local/bricolage/lib/Bric/Config.pm line 367, near
"Carp::croak "Cannot open $conf_file: $!\n""
syntax error at /usr/local/bricolage/lib/Bric/Config.pm line 459, near
"Carp::croak "Invalid SSL_ENABLE directive: '$ssl'""
BEGIN not safe after errors--compilation aborted at
/usr/local/bricolage/lib/Bric/Config.pm line 499.
Compilation failed in require at
/usr/local/bricolage/lib/Bric/Util/Fault.pm line 72.
BEGIN failed--compilation aborted at
/usr/local/bricolage/lib/Bric/Util/Fault.pm line 72.
Compilation failed in require at /usr/local/bricolage/lib/Bric.pm line 71.
BEGIN failed--compilation aborted at /usr/local/bricolage/lib/Bric.pm line
71.
Compilation failed in require at /usr/local/bricolage/bin/bric_apachectl
line 59.
######################################################################
BEGIN failed--compilation aborted at
/usr/local/bricolage/bin/bric_apachectl line 74.
<<<<<<<<<
Initially, I ignored everything above the ###'s, because I assumed the real
error was that I had not set the environment variable BRICOLAGE_ROOT. So I
did:
$ export BRICOLAGE_ROOT=/usr/local/bricolage
But re-running the start command produced the same errors. Tried setting
PERL5LIB; same error. Tried hard coding the path into the bric_apachectl
script; same error. I even tried installing Carp::croak via cpan; same
error.
I'm not really sure what to do at this point. Any advice would be greatly
appreciated.
best,
ryan
I'm installing a clone of an older 1.10.2 version of bric onto some new
hardware. I'm able to get through all of the installation steps, but when I
try to start bric up I get the following error:
>>>>>>>>>>>>
sudo /usr/local/bricolage/bin/bric_apachectl start
String found where operator expected at
/usr/local/bricolage/lib/Bric/Config.pm line 367, near "Carp::croak "Cannot
open $conf_file: $!\n""
(Do you need to predeclare Carp::croak?)
String found where operator expected at
/usr/local/bricolage/lib/Bric/Config.pm line 459, near "Carp::croak
"Invalid SSL_ENABLE directive: '$ssl'""
(Do you need to predeclare Carp::croak?)
######################################################################
Cannot load Bricolage libraries. Please set the environment
variable BRICOLAGE_ROOT to the location of your Bricolage
installation or set the environment variable PERL5LIB to the
directory where Bricolage's libraries are installed.
The specific error encountered was as follows:
syntax error at /usr/local/bricolage/lib/Bric/Config.pm line 367, near
"Carp::croak "Cannot open $conf_file: $!\n""
syntax error at /usr/local/bricolage/lib/Bric/Config.pm line 459, near
"Carp::croak "Invalid SSL_ENABLE directive: '$ssl'""
BEGIN not safe after errors--compilation aborted at
/usr/local/bricolage/lib/Bric/Config.pm line 499.
Compilation failed in require at
/usr/local/bricolage/lib/Bric/Util/Fault.pm line 72.
BEGIN failed--compilation aborted at
/usr/local/bricolage/lib/Bric/Util/Fault.pm line 72.
Compilation failed in require at /usr/local/bricolage/lib/Bric.pm line 71.
BEGIN failed--compilation aborted at /usr/local/bricolage/lib/Bric.pm line
71.
Compilation failed in require at /usr/local/bricolage/bin/bric_apachectl
line 59.
######################################################################
BEGIN failed--compilation aborted at
/usr/local/bricolage/bin/bric_apachectl line 74.
<<<<<<<<<
Initially, I ignored everything above the ###'s, because I assumed the real
error was that I had not set the environment variable BRICOLAGE_ROOT. So I
did:
$ export BRICOLAGE_ROOT=/usr/local/bricolage
But re-running the start command produced the same errors. Tried setting
PERL5LIB; same error. Tried hard coding the path into the bric_apachectl
script; same error. I even tried installing Carp::croak via cpan; same
error.
I'm not really sure what to do at this point. Any advice would be greatly
appreciated.
best,
ryan