trouble getting BRICOLAGE off the ground
we did "apt-get" to install it (it's not the most current, but
we just want to get it started) with sources.list thus:
# /etc/apt/soruces.list for bricolage
deb http://people.debian.org/~erich/bricolage /
without the two added httpd.conf directives, apache works like a
champ (so apache-perl is working just fine). then we add these
two lines, and...
PerlSetEnv BRICOLAGE_ROOT /etc/bricolage
PerlModule Bric::App::ApacheConfig
so, we followed the debian-specific instructions at
/usr/share/doc/bricolage of course, and we're not getting very
far -- "syntax" error?
# /etc/init.d/apache-perl restart
Configuration syntax error detected. Not reloading.
Syntax error on line 1044 of /etc/apache-perl/httpd.conf:
Unable to register field names: Can't locate object method "ACCESS" via package "Bric::Util::Burner" at /usr/share/perl5/Bric.pm line 323, <DATA> line 1.
[/usr/share/perl5/Bric.pm:327]
[/usr/share/perl5/Bric/Util/Burner/Mason.pm:95]
[/usr/share/perl5/Bric/Util/Burner/Mason.pm:111]
[/usr/share/perl5/Bric/Util/Burner/Mason.pm:111]
[/usr/share/perl5/Bric/Util/Burner/Mason.pm:111]
[/usr/share/perl5/Bric/Util/Burner/Mason.pm:111]
BEGIN failed--compilation aborted at /usr/share/perl5/Bric/Util/Burner/Mason.pm line 111, <DATA> line 1.
Compilation failed in require at /usr/share/perl5/Bric/App/Handler.pm line 112, <DATA> line 1.
BEGIN failed--compilation aborted at /usr/share/perl5/Bric/App/Handler.pm line 112, <DATA> line 1.
Compilation failed in require at /usr/share/perl5/Bric/App/ApacheStartup.pm line 87, <DATA> line 1.
BEGIN failed--compilation aborted at /usr/share/perl5/Bric/App/ApacheStartup.pm line 87, <DATA> line 1.
Compilation failed in require at /usr/share/perl5/Bric/App/ApacheConfig.pm line 49, <DATA> line 1.
BEGIN failed--compilation aborted at /usr/share/perl5/Bric/App/ApacheConfig.pm line 49, <DATA> line 1.
Compilation failed in require at (eval 5) line 3, <DATA> line 1.
the only place "ACCESS" appears in any of the Bric modules is
apparently in Bric.pm itself:
# locate /perl5/Bric | xargs grep ACCESS
/usr/share/perl5/Bric.pm:sub ACCESS {
/usr/share/perl5/Bric.pm:B<Side Effects>: Defines a subroutine named C<ACCESS()> in the caller's
/usr/share/perl5/Bric.pm: # setup ACCESS sub for this package
/usr/share/perl5/Bric.pm: my %ACCESS = ( %{$parent->ACCESS()}, %$fields );
/usr/share/perl5/Bric.pm: *{"${pkg}::ACCESS"} = sub { \%ACCESS };
/usr/share/perl5/Bric.pm: $perm = $pkg->ACCESS()->{$field} || FIELD_INVALID;
is there something simple we're missing or do we need to massage
perl code to get this working? any ideas are welcome.
--
I use Debian/GNU Linux version 3.0;
Linux boss 2.4.18-bf2.4 #1 Son Apr 14 09:53:28 CEST 2002 i586 unknown
DEBIAN NEWBIE TIP #131 from Philipp <kernel@cyberraum.de>
:
So you want to RECOVER YOUR LINUX BOOT BLOCKS after
installing microfo~1 windows on a partition:
1) boot from the Debian CD
2) change from the installation screen
to a console (ALT F2)
3) mount your root partition, for example:
mount /dev/hda2 /mnt
lilo is under /sbin/ which should be
on your root partition
4) change your root partition: chroot /mnt
5) now you are on your old system, edit lilo.conf
and add needed lines to boot windows.
6) execute lilo to reset your Master Boot Blocks: /sbin/lilo
Also see http://newbieDoc.sourceForge.net/ ...
Reply to: