Re: Confused with static apache X IfModule

2004-08-11 Thread Ralf S. Engelschall
On Tue, Aug 10, 2004, Alexander Belck wrote:

 Again, I was using distros configuration files without knowing exactly whats
 going on ;-(

 Now I'm trying to get apache to run, and got to some problems.

 The testpage refers to DocumentRoot that links to:
  /manual/mod/core.html#documentroot
 Under the /manual/mod/ I found the Language versions of core.html, but my
 browser gots a Not Found for core.html

 So I checked for Language negotiation and found in apache.base:

 IfModule mod_mime.c
 TypesConfig   /opkg/etc/apache/mime.types
 AddType   application/x-tar  .tgz
 AddEncoding   x-compress   Z
 AddEncoding   x-gzip   gz tgz
 AddLanguage   da   .dk
 AddLanguage   nl   .nl
 :
 :
 /IfModule
 IfModule mod_negotiation.c
 LanguagePriority en da nl et fr de el it ja kr no pl pt pt-br ru ltz ca es
 sv tw
 /IfModule

 Where am I thinking wrong ? Or what am I missing ?
 Why doesn't apache returned some of the core.html.LANGUAGE file to me ?

I do not understand exactly: are you using the apache.base from
OpenPKG or a different config derived from an other vendor? The problem
usually is that there is no active Options +MultiViews. OpenPKG's
apache.base contains such an option for the DocumentRoot, but if you
changed DocumentRoot to a different value, you have to enable MultiViews
again yourself for this with a Directory section.

 My missunderstanding
 In OpenPKG every thing is static and for apache I used --with_module to
 staticaly compile a module in (So I thought), but I couldn't find any compiling
 option for mod_mime or mod_negotiation eaven they should be there as I found
 reference to them in opk version of apache.base.

mod_mime and mod_negoations are always enabled in our Apache.
There is no option for this because they are part of the standard set
of enabled options usually everone wants always.

   Ralf S. Engelschall
   [EMAIL PROTECTED]
   www.engelschall.com

__
The OpenPKG Projectwww.openpkg.org
User Communication List  [EMAIL PROTECTED]


Re: OpenPKG perl and CPAN

2004-08-11 Thread Ralf S. Engelschall
On Tue, Aug 10, 2004, Alexander Belck wrote:

 I'm realy anewby with perl.
 The install instruction of the project I whant to run I'm asked to update perl
 with CPAN. The sequence I should do was:

 perl -MCPAN -eshell
 CPAN install MD5
 CPAN install Bundle::CPAN

 While trying to do this with OpenPKG version of perl I got a recursive error:
 :
 :
 Writing /opkg/lib/perl/5.8.4/i686-linux/auto/Cwd/.packlist
 Appending installation info to /opkg/lib/perl/5.8.4/i686-linux/perllocal.pod
   /opkg/bin/make install  -- OK

 Recursive dependency detected:
 Cwd
  = K/KW/KWILLIAMS/Cwd-2.20.tar.gz
  = File::Spec
  = K/KW/KWILLIAMS/File-Spec-0.88.tar.gz
  = Cwd.
 Cannot continue.

 Is this a perl::CPAN error or does I configured thanthing wrong in the 'perl
 -MCPAN -eshell` configuration that leads to this error ?

 At one step it asked for prefix I'm unshure how to set (used defaulte).

Hmmm... I've never used the CPAN shell, because our perl-xxx packages
contain mostly everything one needs. But to me it looks like a problem
in this CPAN shell. Nevertheless, the MD5 stuff you should find in the
OpenPKG perl-crypto package.

   Ralf S. Engelschall
   [EMAIL PROTECTED]
   www.engelschall.com

__
The OpenPKG Projectwww.openpkg.org
User Communication List  [EMAIL PROTECTED]