mod_perl2 problem

mod_perl2 problem

am 03.10.2005 17:02:09 von aditya2507

Hi,

I am working on a Win32 system. To build mod_perl2 from source I
downloaded the latest stable release. I have already installed Apache
2.0.54. As per the mod_perl2 documentation, I gave this command:

C:\modperl_src> perl Makefile.PL MP_AP_PREFIX=\Path\to\Apache2

which resulted in numerous messages like:

Writing Makefile for mod_perl2
Note (probably harmless): No library found for oldnames.lib
Note (probably harmless): No library found for kernel32.lib
Note (probably harmless): No library found for user32.lib
Note (probably harmless): No library found for gdi32.lib
Note (probably harmless): No library found for winspool.lib

....and so on.

Is this okay? I am unable to execute the next step which calls "nmake",
since "nmake" is not generated. I think there is something very wrong
with what is happening. Please help!

Re: mod_perl2 problem

am 03.10.2005 17:09:33 von Robert Jordan

ny152 wrote:
> Hi,
>
> I am working on a Win32 system. To build mod_perl2 from source I
> downloaded the latest stable release. I have already installed Apache
> 2.0.54. As per the mod_perl2 documentation, I gave this command:
>
> C:\modperl_src> perl Makefile.PL MP_AP_PREFIX=\Path\to\Apache2
>
> which resulted in numerous messages like:
>
> Writing Makefile for mod_perl2
> Note (probably harmless): No library found for oldnames.lib
> Note (probably harmless): No library found for kernel32.lib
> Note (probably harmless): No library found for user32.lib
> Note (probably harmless): No library found for gdi32.lib
> Note (probably harmless): No library found for winspool.lib
>
> ...and so on.
>
> Is this okay? I am unable to execute the next step which calls "nmake",

Yes.

> since "nmake" is not generated. I think there is something very wrong
> with what is happening. Please help!

"nmake" is a Win32-make tool and you don't seem to have it
or it's not in your path. Do you have any development tools
(C compiler) installed?

Rob

Re: mod_perl2 problem

am 03.10.2005 17:13:14 von aditya2507

Ah, I see.

The system I am working on has the .NET framework. But now that you
have pointed this out, let me check again.

Thank you, Robert.

Re: mod_perl2 problem

am 03.10.2005 17:32:49 von kral

Il 3 Oct 2005 08:13:14 -0700, ny152 ha scritto:

> The system I am working on has the .NET framework. But now that you
> have pointed this out, let me check again.

You may find this node on perlmonks.org helpful:

http://www.perlmonks.org/index.pl?node=387070

HTH,
--
.. . |
| , ,-. ,-. | | "In girum imus nocte et consumimur igni."
|< | ,-| | | -- Virgilio
' ` ' `-^ `' |

Re: mod_perl2 problem

am 03.10.2005 18:08:14 von aditya2507

GREAT! I have just been able to build Mod_Perl2, right from the source-
on my WinXP box.

I did not know that I need to run all the commands of buiding mod_perl
(nmake and all) from the VC++ command prompt. Now that I did, the whole
long procedure went without hiccups though I had my heart missing a
beat more than a few times!

THANK YOU ROBERT AND KARL !

Truman