Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

Re^3: mod_perl & ajax

by randyk (Parson)
on Apr 11, 2007 at 17:59 UTC ( #609436=note: print w/replies, xml ) Need Help??

in reply to Re^2: mod_perl & ajax
in thread mod_perl & ajax

One place that Apache2::Request is used is in CGI::Apache2::Wrapper, which Apache2::Ajax will use if available. If you've installed CGI-Apache2-Wrapper, did you also install libapreq2 (which provides Apache2::Request)?

Replies are listed 'Best First'.
Re^4: mod_perl & ajax
by artemave (Beadle) on Apr 12, 2007 at 11:41 UTC
    That is true. I didn't notice the message that I would need to install libapreq2 separetely when I was installing CGI-Apache2-Wrapper.
    The problem now is that I can't install libapreq2.
    nmake says:
    D:\dst\ActivePerl\libapreq2-2.08>nmake Microsoft (R) Program Maintenance Utility Version 1.50 Copyright (c) Microsoft Corp 1988-94. All rights reserved. NMAKE /nologo /f D:\dst\ACTIVE~1\LIBAPR~1.08\win32\libapreq2.m +ak CFG="li bapreq2 - Win32 Release" APACHE="C:\PROGRA~1\APACHE~1\Apache2.2" APREQ +_HOME="D:\ dst\ACTIVE~1\LIBAPR~1.08" APR_LIB="C:\PROGRA~1\APACHE~1\Apache2.2\lib\ +libapr-1.l ib" APU_LIB="C:\PROGRA~1\APACHE~1\Apache2.2\lib\libaprutil-1.lib" cl.exe /Fo"D:\dst\ACTIVE~1\LIBAPR~1.08\win32\libs\cookie.obj" +/nologo /M D /W3 /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" + /I"C:\PRO GRA~1\APACHE~1\Apache2.2\include" /I"C:\Program\ Files\Microsoft\ Plat +form\ SDK\ for\ Windows\ Server\ 2003\ R2\Include" /I"D:\dst\ACTIVE~1\LIBAPR~1.0 +8\include" /YX /FD /c D:\dst\ACTIVE~1\LIBAPR~1.08\library\cookie.c cl : Command line warning D9002 : ignoring unknown option '/YX' cookie.c c:\program files\apache software foundation\apache2.2\include\apr.h(92 +) : fatal error C1083: Cannot open include file: 'windows.h': No such file or di +rectory NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return code + '0x2' Stop. NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return code + '0x2' Stop.
    In fact, there is such a header in C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Include (which I included manually in libapreq2.mak).

    Don't know what to do.

    !!!!!!!!!!!!!!! THE ABOVE IS SOLVED !!!

    Just install libapreq2 from ppm... So easy.
Re^4: mod_perl & ajax
by Anonymous Monk on Jul 05, 2008 at 10:35 UTC
    hi.. following error occured when I run it on web Is Apache2::Request is not working in Apache2 ? package test::showupload; use Apache2::Request; sub handler { my $req = shift; my $r = Apache2::Request->new($req); $r->content_type('text/html'); print <<EOF; <html>


    </html> EOF return Apache2::Const::OK; } 1; result -- nothing will appear on web please give me solution...

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://609436]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (2)
As of 2021-02-25 00:26 GMT
Find Nodes?
    Voting Booth?

    No recent polls found