Hi Bricoleurs,
I have successfully cloned and installed a legacy Bric 1.10.2 using Apache
1.3 onto a VPS, in an attempt to migrate it to Bric 2.0. The installation
successfully completes, but when I run the given start command, I get the
error below. I modified the script to print out the BRICOLAGE_ROOT and
PERL5LIB env vars highlighted.
The BRICOLAGE_ROOT and PERL5LIB paths are correct, so I'm not sure what is
causing the error.
$:/usr/local/bric1new/bin$ sudo BRICOLAGE_ROOT=/usr/local/bric1new
> /usr/local/bric1new/bin/bric_apachectl start
> String found where operator expected at
> /usr/local/bric1new/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/bric1new/lib/Bric/Config.pm line 459, near "Carp::croak "Invalid
> SSL_ENABLE directive: '$ssl'""
> (Do you need to predeclare Carp::croak?)
> ######################################################################
> /usr/local/bric1new
> /usr/local/bric1new/lib
> 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/bric1new/lib/Bric/Config.pm line 367, near
> "Carp::croak "Cannot open $conf_file: $!\n""
> syntax error at /usr/local/bric1new/lib/Bric/Config.pm line 459, near
> "Carp::croak "Invalid SSL_ENABLE directive: '$ssl'""
> BEGIN not safe after errors--compilation aborted at
> /usr/local/bric1new/lib/Bric/Config.pm line 499.
> Compilation failed in require at
> /usr/local/bric1new/lib/Bric/Util/Fault.pm line 72.
> BEGIN failed--compilation aborted at
> /usr/local/bric1new/lib/Bric/Util/Fault.pm line 72.
> Compilation failed in require at /usr/local/bric1new/lib/Bric.pm line 71.
> BEGIN failed--compilation aborted at /usr/local/bric1new/lib/Bric.pm line
> 71.
> Compilation failed in require at /usr/local/bric1new/bin/bric_apachectl
> line 59.
>
> ######################################################################
> BEGIN failed--compilation aborted at
> /usr/local/bric1new/bin/bric_apachectl line 75.
The error originates from the bric_apachectl script where it requires the
Bric lib. So, if I run the command:
perl -I/usr/local/bric1new/lib -le 'use Bric';
I get something similar:
String found where operator expected at
> /usr/local/bric1new/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/bric1new/lib/Bric/Config.pm line 459, near "Carp::croak "Invalid
> SSL_ENABLE directive: '$ssl'""
> (Do you need to predeclare Carp::croak?)
> syntax error at /usr/local/bric1new/lib/Bric/Config.pm line 367, near
> "Carp::croak "Cannot open $conf_file: $!\n""
> syntax error at /usr/local/bric1new/lib/Bric/Config.pm line 459, near
> "Carp::croak "Invalid SSL_ENABLE directive: '$ssl'""
> BEGIN not safe after errors--compilation aborted at
> /usr/local/bric1new/lib/Bric/Config.pm line 499.
> Compilation failed in require at
> /usr/local/bric1new/lib/Bric/Util/Fault.pm line 72.
> BEGIN failed--compilation aborted at
> /usr/local/bric1new/lib/Bric/Util/Fault.pm line 72.
> Compilation failed in require at /usr/local/bric1new/lib/Bric.pm line 71.
> BEGIN failed--compilation aborted at /usr/local/bric1new/lib/Bric.pm line
> 71.
> Compilation failed in require at -e line 1.
> BEGIN failed--compilation aborted at -e line 1.
There doesn't appear to be a syntax error at those line numbers.
I'm not certain what exactly the issue is at this point.
Any advice would be greatly appreciated.
Thanks
--
You received this message because you are subscribed to the Google Groups "Bricolage Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bricolage-users+unsubscribe@googlegroups.com.
To post to this group, send email to bricolage-users@googlegroups.com.
Visit this group at https://groups.google.com/group/bricolage-users.
For more options, visit https://groups.google.com/d/optout.
I have successfully cloned and installed a legacy Bric 1.10.2 using Apache
1.3 onto a VPS, in an attempt to migrate it to Bric 2.0. The installation
successfully completes, but when I run the given start command, I get the
error below. I modified the script to print out the BRICOLAGE_ROOT and
PERL5LIB env vars highlighted.
The BRICOLAGE_ROOT and PERL5LIB paths are correct, so I'm not sure what is
causing the error.
$:/usr/local/bric1new/bin$ sudo BRICOLAGE_ROOT=/usr/local/bric1new
> /usr/local/bric1new/bin/bric_apachectl start
> String found where operator expected at
> /usr/local/bric1new/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/bric1new/lib/Bric/Config.pm line 459, near "Carp::croak "Invalid
> SSL_ENABLE directive: '$ssl'""
> (Do you need to predeclare Carp::croak?)
> ######################################################################
> /usr/local/bric1new
> /usr/local/bric1new/lib
> 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/bric1new/lib/Bric/Config.pm line 367, near
> "Carp::croak "Cannot open $conf_file: $!\n""
> syntax error at /usr/local/bric1new/lib/Bric/Config.pm line 459, near
> "Carp::croak "Invalid SSL_ENABLE directive: '$ssl'""
> BEGIN not safe after errors--compilation aborted at
> /usr/local/bric1new/lib/Bric/Config.pm line 499.
> Compilation failed in require at
> /usr/local/bric1new/lib/Bric/Util/Fault.pm line 72.
> BEGIN failed--compilation aborted at
> /usr/local/bric1new/lib/Bric/Util/Fault.pm line 72.
> Compilation failed in require at /usr/local/bric1new/lib/Bric.pm line 71.
> BEGIN failed--compilation aborted at /usr/local/bric1new/lib/Bric.pm line
> 71.
> Compilation failed in require at /usr/local/bric1new/bin/bric_apachectl
> line 59.
>
> ######################################################################
> BEGIN failed--compilation aborted at
> /usr/local/bric1new/bin/bric_apachectl line 75.
The error originates from the bric_apachectl script where it requires the
Bric lib. So, if I run the command:
perl -I/usr/local/bric1new/lib -le 'use Bric';
I get something similar:
String found where operator expected at
> /usr/local/bric1new/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/bric1new/lib/Bric/Config.pm line 459, near "Carp::croak "Invalid
> SSL_ENABLE directive: '$ssl'""
> (Do you need to predeclare Carp::croak?)
> syntax error at /usr/local/bric1new/lib/Bric/Config.pm line 367, near
> "Carp::croak "Cannot open $conf_file: $!\n""
> syntax error at /usr/local/bric1new/lib/Bric/Config.pm line 459, near
> "Carp::croak "Invalid SSL_ENABLE directive: '$ssl'""
> BEGIN not safe after errors--compilation aborted at
> /usr/local/bric1new/lib/Bric/Config.pm line 499.
> Compilation failed in require at
> /usr/local/bric1new/lib/Bric/Util/Fault.pm line 72.
> BEGIN failed--compilation aborted at
> /usr/local/bric1new/lib/Bric/Util/Fault.pm line 72.
> Compilation failed in require at /usr/local/bric1new/lib/Bric.pm line 71.
> BEGIN failed--compilation aborted at /usr/local/bric1new/lib/Bric.pm line
> 71.
> Compilation failed in require at -e line 1.
> BEGIN failed--compilation aborted at -e line 1.
There doesn't appear to be a syntax error at those line numbers.
I'm not certain what exactly the issue is at this point.
Any advice would be greatly appreciated.
Thanks
--
You received this message because you are subscribed to the Google Groups "Bricolage Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bricolage-users+unsubscribe@googlegroups.com.
To post to this group, send email to bricolage-users@googlegroups.com.
Visit this group at https://groups.google.com/group/bricolage-users.
For more options, visit https://groups.google.com/d/optout.