logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Third-party Modules View previous topic :: View next topic
Reply to topic   Topic: Mod Perl Installation Attempt on Vista
Author
GiantPencil



Joined: 26 Aug 2007
Posts: 7
Location: London

PostPosted: Sun 26 Aug '07 13:21    Post subject: Mod Perl Installation Attempt on Vista Reply with quote

I'm trying to install Apache and ModPerl using the downloads from ApacheLounge and when Apache starts it logs an error as per nopaste

http://www.nopaste.com/p/awSZRHHR0

My Setup:
Vista: Business 32Bit
ActivePerl: v5.8.8 [822]
Apache: httpd-2.2.4-win32-x86-ssl.zip
ModPerl: mod_perl-2.0.3-588-w32.zip
VC++ runtime
ModPerl Script: Hello world
Back to top
Steffen
Moderator


Joined: 15 Oct 2005
Posts: 3092
Location: Hilversum, NL, EU

PostPosted: Sun 26 Aug '07 13:25    Post subject: Reply with quote

Did you copied perl.exe.manifest to your /perl/bin folder ?

and

Did you installed http://www.microsoft.com/downloads/details.aspx?FamilyID=200b2fd9-ae1a-4a14-984d-389c36f85647&DisplayLang=en ? Looks like you did.

Steffen
Back to top
GiantPencil



Joined: 26 Aug 2007
Posts: 7
Location: London

PostPosted: Sun 26 Aug '07 14:03    Post subject: Reply with quote

Yes I've run through the install and instructions twice.

I found some stuff on MSDN forums about the MSVCR80.dll and differences between XP and Vista builds. Not to sure if any of it is applicable though

http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=161926&SiteID=1

Also copied a camera driver containing MSVCR80.dll to c:\windows\system32 but that also error saying that it wasn't the correct dll. Which is understandable.
Back to top
Steffen
Moderator


Joined: 15 Oct 2005
Posts: 3092
Location: Hilversum, NL, EU

PostPosted: Sun 26 Aug '07 15:04    Post subject: Reply with quote

Be carefull the MSVCR80.dll is in many versions and never copie it to windows (system) dirs.

You can download the correct(latest) version : removed
Try to place it in perl/bin/ and perl/site/bin/

Steffen
Back to top
GiantPencil



Joined: 26 Aug 2007
Posts: 7
Location: London

PostPosted: Sun 26 Aug '07 16:06    Post subject: Reply with quote

Ok I removed the one from my system directly and placed it in perl/bin and perl/site/bin however the c++ runtime reported an error when I attempted to run it. I think this problem is Vista specific

perl -c c:\perl\site\lib\apache\hello.pm

http://www.nopaste.com/p/aZymNad4cb

Well I'm stumped.... read this article on MSN

http://msdn2.microsoft.com/en-us/library/ms235624(VS.80).aspx

Do you think I need those other two files as well?

Microsoft.VC80.CRT group
msvcp80.dll
msvcm80.dll

Maybe it's specific to my laptop - dell M1210 Vista Business 32 bit hmmm
Back to top
Steffen
Moderator


Joined: 15 Oct 2005
Posts: 3092
Location: Hilversum, NL, EU

PostPosted: Sun 26 Aug '07 16:51    Post subject: Reply with quote

You can also try:
Try to remove perl.exe.manifest form you per/bin folder .
Back to top
tdonovan
Moderator


Joined: 17 Dec 2005
Posts: 611
Location: Milford, MA, USA

PostPosted: Sun 26 Aug '07 16:54    Post subject: Reply with quote

One thing which might be a problem here is that there are two versions of the msvc*80.dll files:
    * The first (not SP1) version 42

    * The second (SP1) version 762

Maybe your camera driver requires the older version. Apache and mod_perl from Apache Lounge will require the SP1 version.

Fortunately you can install both versions on the same system at the same time.
The Microsoft downloads are:
These install all the msvc*80.dll files into the correct locations. After installing them, you should make sure you do not have any msvc*80.dll files located elsewhere on your system - especially in System32.

Hope this helps,
-tom-
Back to top
GiantPencil



Joined: 26 Aug 2007
Posts: 7
Location: London

PostPosted: Sun 26 Aug '07 19:18    Post subject: Reply with quote

I've tried removing all existing msvc*80.dll files and used the one that Steffen provided however the same error message has occurred.

Also I've installed both of those versions already and on retrying they don't install any msvc*80.dll files.

I have my UAC turned off and the install doesn't report any errors.
Back to top
Steffen
Moderator


Joined: 15 Oct 2005
Posts: 3092
Location: Hilversum, NL, EU

PostPosted: Sun 26 Aug '07 19:34    Post subject: Reply with quote

Your Apache from the Apachelounge without mod_perl is running fine ?

You can try to remove perl.exe.manifest from the perl/bin .

Btw.
msvc*80.dll files should be installed in C:\WINDOWS\WinSxS


Steffen
Back to top
GiantPencil



Joined: 26 Aug 2007
Posts: 7
Location: London

PostPosted: Sun 26 Aug '07 20:18    Post subject: Reply with quote

Thanks for all your help Steffen, it still doesn't work but I guess the problem is now localised to loading the C++ library for Const, I'd expect any library with fail.

Yes my Apache worked without Modperl and it even works Modperl.

http://www.nopaste.com/p/aeVdsqcN4

Can't see any Msvc* files in C:\WINDOWS\WinSxS perhaps this is the problem....? I'm guessing they don't install on Vista for some weird reason. Is anyone tried on Vista?

http://www.nopaste.com/p/awueSfQJo
Back to top
Steffen
Moderator


Joined: 15 Oct 2005
Posts: 3092
Location: Hilversum, NL, EU

PostPosted: Sun 26 Aug '07 20:44    Post subject: Reply with quote

Pity I have no Vista-box around here.

I have no other reports that it is not working with Vista.

The issue is that perl is not buikd with VC8.

Best you try:

ppm install http://theoryx5.uwinnipeg.ca/ppms/mod_perl.ppd

Do not forget first to:
ppm uninstall mod_perl

Steffen
Back to top
GiantPencil



Joined: 26 Aug 2007
Posts: 7
Location: London

PostPosted: Sun 26 Aug '07 20:56    Post subject: Reply with quote

Found those dlls, they were installed correctly, probably a few to many times Smile

http://www.nopaste.com/p/a7HPiZpNv

However you must be absolutely right regarding my Perl Activestate build and after abit of googling I see they use VC6.

After uninstalling and installing mod_perl as per your prescribed repository everything is humming. The helloWorld script has run using modperl and included the Apache::Const lib thankyou very much.

I'll update the notes on my blog with the correct install procedure for activestate.
Back to top
Steffen
Moderator


Joined: 15 Oct 2005
Posts: 3092
Location: Hilversum, NL, EU

PostPosted: Sun 26 Aug '07 21:24    Post subject: Reply with quote

Good to hear !

Do you use the mod_perl.so from the Apache Lounge ?

Steffen
Back to top
GiantPencil



Joined: 26 Aug 2007
Posts: 7
Location: London

PostPosted: Sun 26 Aug '07 21:35    Post subject: Reply with quote

No the

ppm install http://theoryx5.uwinnipeg.ca/ppms/mod_perl.ppd

asks for a apache module directory location to install it on.

So the mod_perl.so is replaced by uwinnipeg
Back to top
adapar



Joined: 07 Feb 2008
Posts: 1
Location: Santiago, Chile

PostPosted: Thu 07 Feb '08 17:42    Post subject: Problems with the PPD Reply with quote

Hello, in my case I tried:

ppm install http://theoryx5.uwinnipeg.ca/ppms/mod_perl-2.0.ppd

and it complains with:

ppm install failed: The PPD does not provide code to install for this platform

My Win/Perl/Apache versions are:

Code:
C:\Servidor\Apache\Apache2\bin>ver

Microsoft Windows [VersiĆ³n 6.0.6000]

C:\Servidor\Apache\Apache2\bin>perl -v

This is perl, v5.10.0 built for MSWin32-x86-multi-thread
(with 3 registered patches, see perl -V for more detail)

Copyright 1987-2007, Larry Wall

Binary build 1002 [283697] provided by ActiveState http://www.ActiveState.com
Built Jan 10 2008 11:00:53

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl".  If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.


C:\Servidor\Apache\Apache2\bin>apache -v
Server version: Apache/2.0.61
Server built:   Sep  5 2007 09:55:35


Any ideas about what is going on? Is the repository incomplete? Or are there no versions for Vista?

Thanks for your help.
Back to top


Reply to topic   Topic: Mod Perl Installation Attempt on Vista View previous topic :: View next topic
Post new topic   Forum Index -> Third-party Modules