>> (now if I
>> could just got Apache::MP3 to run under mod_perl2/Apache2...)
>
> You should be able to by adding:
>
> PerlModule Apache::compat
>
> If not, let us know what doesn't work.

Starting Apache2: [Wed Aug 28 14:42:31 2002] [error] unknown constant
DIR_MAGIC_TYPE at
/usr/local/lib/perl5/site_perl/5.8.0/i686-linux/Apache2/Apache/compat.pm
line 120.
BEGIN failed--compilation aborted at
/usr/local/lib/perl5/site_perl/5.8.0/Apache/MP3.pm line 5.
Compilation failed in require at /data/httpd/perl/startup2.pl line 35.
BEGIN failed--compilation aborted at /data/httpd/perl/startup2.pl line 35.
Compilation failed in require at (eval 1) line 1.

[Wed Aug 28 14:42:31 2002] [error] Can't load Perl file:
/data/httpd/perl/startup2.pl for server ...

my startup2.pl contains:
(Is there a difference between "use pkg();" and "use pkg;" )

########################
#!/opt/local/bin/perl -w

   use strict;

   use Apache2 ();
   use Apache::compat();

   $ENV{GATEWAY_INTERFACE} =~ /^CGI-Perl/
   or die "GATEWAY_INTERFACE not Perl!";

   use MP3::Info;
   use Apache::MP3;

   use Apache::CodeRed;
   use Apache::Nimba;

   use MIME::Body;
   use LWP::UserAgent ();

   use DBD::Oracle;
   use DBI;
   use Apache::DBI ();

   use CGI qw(-compile :all);

   use Carp ();
   $SIG{__WARN__} = \&Carp::cluck;

##################################






---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to