Author |
|
GiantPencil
Joined: 26 Aug 2007 Posts: 7 Location: London
|
Posted: Sun 26 Aug '07 13:21 Post subject: Mod Perl Installation Attempt on Vista |
|
|
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
|
|
Back to top |
|
GiantPencil
Joined: 26 Aug 2007 Posts: 7 Location: London
|
Posted: Sun 26 Aug '07 14:03 Post subject: |
|
|
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
|
Posted: Sun 26 Aug '07 15:04 Post subject: |
|
|
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
|
Posted: Sun 26 Aug '07 16:06 Post subject: |
|
|
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
|
Posted: Sun 26 Aug '07 16:51 Post subject: |
|
|
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
|
Posted: Sun 26 Aug '07 16:54 Post subject: |
|
|
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
|
Posted: Sun 26 Aug '07 19:18 Post subject: |
|
|
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
|
Posted: Sun 26 Aug '07 19:34 Post subject: |
|
|
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
|
Posted: Sun 26 Aug '07 20:18 Post subject: |
|
|
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
|
Posted: Sun 26 Aug '07 20:44 Post subject: |
|
|
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
|
Posted: Sun 26 Aug '07 20:56 Post subject: |
|
|
Found those dlls, they were installed correctly, probably a few to many times
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
|
Posted: Sun 26 Aug '07 21:24 Post subject: |
|
|
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
|
|
Back to top |
|
adapar
Joined: 07 Feb 2008 Posts: 1 Location: Santiago, Chile
|
Posted: Thu 07 Feb '08 17:42 Post subject: Problems with the PPD |
|
|
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 |
|