Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19
Installing Apache::ASP for Fedora Core-4
Results 1 to 3 of 3

Thread: Installing Apache::ASP for Fedora Core-4

  1. #1
    Member honey bee's Avatar
    Join Date
    Feb 2006
    Location
    Pakistan
    Posts
    146

    Question Installing Apache::ASP for Fedora Core-4

    Hello!

    I am trying to configure apache:asp.I am working on Fedora Core-4 and have mod_perl module already present with apache.Now, at its site i read that:

    Linux DSO Distributions

    If you have a linux distribution, like a RedHat Linux server, with an RPM style Apache + mod_perl, seriously consider building a static version of the httpd server yourself, not DSO. DSO is marked as experimental for mod_perl, and often does not work, resulting in "no request object" error messages, and other oddities, and are terrible to debug, because of the strange kinds of things that can go wrong.
    Instead of building static version i've installed updated version of mod_perl and then i followed the following steps to install apache:asp:

    Code:
    > perl Makefile.PL
      > make 
      > make test
      > make install
    and then added the following lines to httpd.conf:

    Code:
      <Directory $DOCUMENT_ROOT/asp/eg >
        Options FollowSymLinks
        AllowOverride All
      </Directory>
    and then i placed the site at the document root.Now, when i open to site, it shows me the homepage for it, but when i try to access the examples page i get the error.

    In log i have the following error:

    Code:
    [Wed Nov 15 15:27:14 2006] [error] [client 127.0.0.1] Can't locate object method "get" via package "APR::Table" at /usr/lib/perl5/site_perl/5.8.6/Apache/ASP.pm line 2016.\n at /usr/lib/perl5/site_perl/5.8.6/Apache/ASP.pm line 2016\n\tApache::ASP::get_dir_config('APR::Table=HASH(0x95d0de4)', 'Global') called at /usr/lib/perl5/site_perl/5.8.6/Apache/ASP.pm line 275\n\tApache::ASP::new('Apache::ASP', 'Apache2::RequestRec=SCALAR(0x95d0dc0)', '/var/www/html/asp/eg/index.html') called at /usr/lib/perl5/site_perl/5.8.6/Apache/ASP.pm line 183\n\tApache::ASP::handler('Apache2::RequestRec=SCALAR(0x95d0dc0)') called at -e line 0\n\teval {...} called at -e line 0\n, referer: http://localhost/
    Now, this tells me that i have to create static version of httpd.Is there any other alternative for it?

  2. #2
    The error seems to show that you are missing the APR::Table module.

    One of the problems with using this method to install PERL modules is that, like RPM and DEB files, they often have pre-requisite packages that need to be installed. These are often called "dependencies". The "make" method often doesn't check for the dependencies, and warn you if they are not present.

    The easiest way to install the module you want, plus its dependencies, is to use the Linux CPAN command line. Here is a link on how to do it. You will require Internet access to do this.

  3. #3
    Member honey bee's Avatar
    Join Date
    Feb 2006
    Location
    Pakistan
    Posts
    146

    Smile

    Hello!

    Thanks a lot for your reply .I found the solution from here:

    http://tech.groups.yahoo.com/group/a...p/message/2134

Similar Threads

  1. Dual Boot Ubuntu / Fedora - Installing Fedora First
    By peter in forum Redhat / Fedora
    Replies: 2
    Last Post: 12-17-2010, 09:01 PM
  2. Fedora Core 4 Available
    By trickster in forum General Chat
    Replies: 14
    Last Post: 09-27-2005, 05:24 AM
  3. How to fix a Fedora Core GRUB loader after installing Windows
    By AljoshaNL in forum Linux - General Topics
    Replies: 4
    Last Post: 09-25-2005, 05:14 PM
  4. Fedora Core 2
    By in forum Linux - General Topics
    Replies: 49
    Last Post: 06-12-2004, 11:57 AM
  5. Fedora Core 2 is here
    By babbing in forum Redhat / Fedora
    Replies: 3
    Last Post: 05-31-2004, 06:05 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •