Hi wise monks,
I need help so I'll ask humbly some wisdom...
I need to install Apache2::Ajax but I receive a misterious error from cpan.
cpan>test Apache2::Ajax Running test for module Apache2::Ajax Running make for R/RK/RKOBES/Apache2-Ajax-0.1.tar.gz CPAN: Digest::MD5 loaded ok CPAN: Compress::Zlib loaded ok Checksum for /home/om/.cpan/sources/authors/id/R/RK/RKOBES/Apache2-Aja +x-0.1.tar.gz ok Scanning cache /home/om/.cpan/build for sizes Apache2-Ajax-0.1/ Apache2-Ajax-0.1/t/ Apache2-Ajax-0.1/t/response/ Apache2-Ajax-0.1/t/response/TestAjax/ Apache2-Ajax-0.1/t/response/TestAjax/basic.pm Apache2-Ajax-0.1/t/response/TestAjax/no_build.pm Apache2-Ajax-0.1/t/response/TestAjax/show_js.pm Apache2-Ajax-0.1/t/response/TestAjax/error_fn.pm Apache2-Ajax-0.1/t/response/TestAjax/error_html.pm Apache2-Ajax-0.1/t/response/TestAjax/formdump.pm Apache2-Ajax-0.1/t/response/TestAjax/subs.pm Apache2-Ajax-0.1/t/response/TestAjax/chained.pm Apache2-Ajax-0.1/t/ajax/ Apache2-Ajax-0.1/t/ajax/show_js.t Apache2-Ajax-0.1/t/ajax/formdump.t Apache2-Ajax-0.1/t/ajax/pod.t Apache2-Ajax-0.1/t/ajax/subs.t Apache2-Ajax-0.1/t/ajax/error_fn.t Apache2-Ajax-0.1/t/ajax/error_html.t Apache2-Ajax-0.1/t/ajax/chained.t Apache2-Ajax-0.1/t/ajax/no_build.t Apache2-Ajax-0.1/t/conf/ Apache2-Ajax-0.1/t/conf/extra.conf.in Apache2-Ajax-0.1/t/TEST.PL Apache2-Ajax-0.1/Changes Apache2-Ajax-0.1/MANIFEST Apache2-Ajax-0.1/lib/ Apache2-Ajax-0.1/lib/Apache2/ Apache2-Ajax-0.1/lib/Apache2/Ajax.pm Apache2-Ajax-0.1/META.yml Apache2-Ajax-0.1/README Apache2-Ajax-0.1/Makefile.PL Apache2-Ajax-0.1/Build.PL Removing previously used /home/om/.cpan/build/Apache2-Ajax-0.1 CPAN.pm: Going to build R/RK/RKOBES/Apache2-Ajax-0.1.tar.gz [ info] generating script t/TEST Checking if your kit is complete... Looks good Writing Makefile for Apache2::Ajax cp lib/Apache2/Ajax.pm blib/lib/Apache2/Ajax.pm Manifying blib/man3/Apache2::Ajax.3pm /usr/bin/make -- OK Running make test /usr/bin/perl -Iblib/arch -Iblib/lib \ t/TEST -clean [warning] setting ulimit to allow core files ulimit -c unlimited; /usr/bin/perl /home/om/.cpan/build/Apache2-Ajax-0 +.1/t/TEST -clean APACHE_TEST_GROUP= APACHE_TEST_HTTPD= APACHE_TEST_PORT= APACHE_TEST_US +ER= APACHE_TEST_APXS= \ /usr/bin/perl -Iblib/arch -Iblib/lib \ t/TEST -bugreport -verbose=0 [warning] setting ulimit to allow core files ulimit -c unlimited; /usr/bin/perl /home/om/.cpan/build/Apache2-Ajax-0 +.1/t/TEST -bugreport -verbose=0 Usage: /etc/init.d/apache2 start|stop|restart|reload|force-reload Usage: /etc/init.d/apache2 start|stop|restart|reload|force-reload Usage: /etc/init.d/apache2 start|stop|restart|reload|force-reload [ error] You are using mod_perl response handlers [ error] but do not have a mod_perl capable Apache. make: *** [run_tests] Error 1 /usr/bin/make test -- NOT OK
I am using mod_perl, the server is up and running, so I probably specified some wrong path
My apache2 runs with the command /etc/init.d/apache2 start|stop... during the installation process I did the following
cpan>install Apache2::Ajax ... ... ... First we need to know where the 'httpd' executable is located. If you have more than one Apache server is installed, make sure you supply the path to the one you are going to use for testing. You can always override this setting at run time via the '-httpd' option. For example: % t/TEST -httpd /path/to/alternative/httpd or via the environment variable APACHE_TEST_HTTPD. For example: % APACHE_TEST_HTTPD=/path/to/alternative/httpd t/TEST If for some reason you want to skip the test suite, type: skip <b>Please provide a full path to 'httpd' executable: [] /etc/init.d/apache2 Next we need to know where the 'apxs' script is located. This script provides a lot of information about the apache installation, and makes it easier to find things. However it's not available on all platforms, therefore it's optional. If you don't have it installed it's not a problem. Just press Enter. Notice that if you have Apache 2.x installed that script could be called as 'apxs2'. If you have more than one Apache server is installed, make sure you supply the path to the apxs script you are going to use for testing. You can always override this setting at run time via the '-apxs' option. For example: % t/TEST -apxs /path/to/alternative/apxs or via the environment variable APACHE_TEST_APXS. For example: % APACHE_TEST_APXS=/path/to/alternative/apxs t/TEST Please provide a full path to (optional) 'apxs' executable: [] [warning] running with new config opts: /usr/bin/perl /home/om/.cpan/b +uild/Apache2-Ajax-0.1/t/TEST -bugreport -verbose=0 -httpd /etc/init.d +/apache2 Usage: /etc/init.d/apache2 start|stop|restart|reload|force-reload Usage: /etc/init.d/apache2 start|stop|restart|reload|force-reload Usage: /etc/init.d/apache2 start|stop|restart|reload|force-reload [ error] You are using mod_perl response handlers [ error] but do not have a mod_perl capable Apache. make: *** [run_tests] Error 1 /usr/bin/make test -- NOT OK Running make install make test had returned bad status, won't install without force
Is the problem a mistake in the configuration?
How can I clean this settings to restart from the beginning?
I already installed CGI::Ajax and CGI::Apache2::Wrapper and everything seems ok
Where are my apxs2, how to find them and what to tell to cpan?

All the best to everybody

In reply to Experimenting Ajax - problem installing Apache2::Ajax by emotiv

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.