App-Context
view release on metacpan or search on metacpan
lib/App/installguide/win32.pod view on Meta::CPAN
The following commands are to install some packages which are
useful in order to develop or run applications based on the App-Context Framework.
(Sometimes a module will fail to install because more than one version of it was found.
You may need to follow up any such "install XYZ::ABC" module with a command like "install 1"
which selects one of the versions found. Sometimes even this will fail, saying that the
module is already installed. In that case, you may need to type something like
"install 1 -force -nofollow". Sometimes you need to "search XYZ::ABC" before you do the
"install 1 -force -nofollow".)
C:\> ppm
PPM> install TimeDate # Date::Parse and Date::Format
PPM> install Module::Build
PPM> install App::Build
PPM> install App::Options
PPM> install XML::Simple
PPM> install XML::XPath
PPM> quit
C:\>
=cut
=head1 NMAKE
The PPM method for installing software is described above. However, the method of
installing software which is most native to Perl is through the CPAN shell.
In order for this to work, you need a "make" tool. Microsoft provides "nmake" for
this purpose.
I found reference to "nmake" on Microsoft's site here.
http://support.microsoft.com/default.aspx?scid=kb;en-us;132084
Then I downloaded the most recent version (a self-extracting archive) here.
http://download.microsoft.com/download/vc15/patch/1.52/w95/en-us/nmake15.exe
After saving it on your disk, run the program to extract three files.
README.TXT
NMAKE.EXE
NMAKE.ERR
Move these files to C:\Perl\bin. This should put them in the PATH so that
they will be found by the CPAN shell.
=head1 MYSQL
Install a Windows binary distribution of MySQL.
Use a version of MySQL which is compatible with your Apache setup.
http://dev.mysql.com/downloads/
http://dev.mysql.com/doc/refman/5.0/en/windows-installation.html
On March 13, 2006, the latest version of MySQL is 5.0.19.
I download and install the "Windows Essentials (x86)" binary distribution.
http://dev.mysql.com/downloads/mysql/5.0.html
Based on whatever password you entered in the configuration (instead of
"xyzabc" shown below), enter something like the following in a new file
named "C:\windows\my.cnf".
[client]
host = localhost
port = 3306
user = root
password = xyzabc
[mysql]
database = test
Then from the Windows command shell, you can type "mysql" and get
in to the database directly.
=head1 APACHE AND MOD_PERL: METHOD 1
I recommend the all-in-one Apache/mod_perl/PHP/phpMyAdmin approach.
http://www.apachefriends.org/en/xampp-windows.html
I downloaded the "XAMPP for Windows 1.5.1 [basic package]" Installer
and the "XAMPP for Windows Add-Ons : Perl 5.8.7-2.2.0-pl2" Installer.
=head1 APACHE AND MOD_PERL: METHOD 2
You could download a binary distribution of Apache for Windows from apache.org.
Then install mod_perl.
http://httpd.apache.org/docs/2.2/
http://httpd.apache.org/docs/2.2/platform/windows.html
See the following sites for mod_perl.
http://perl.apache.org/
http://perl.apache.org/docs/2.0/os/win32/install.html
After installing Perl and Apache, you can then install mod_perl
via the PPM utility.
C:\> ppm
PPM> install mod_perl
PPM> quit
C:\>
The mod_perl PPM package also includes the necessary Apache DLL
mod_perl.so; a post-installation script should be run which will offer
to copy this file to your Apache modules directory (eg, C:\Apache\modules).
Note that the mod_perl package available from this site will always use
the latest mod_perl sources compiled against the latest official Apache
release; depending on changes made in Apache, you may or may not be able
to use an earlier Apache binary. However, in the Apache Win32 world it
is particularly a good idea to use the latest version, for bug and
security fixes.
=head1 CVS - CONCURRENT VERSION SYSTEM
WinCVS
TortoiseCVS ?
=head1 SVN - SUBVERSION
TortoiseSVN
=head1 SVN - SUBVERSION SERVER
NOTE: Setting up a Subversion server is not necessary for creating the typical
Windows development/demonstration machine.
( run in 0.725 second using v1.01-cache-2.11-cpan-0d23b851a93 )