https://rt-wiki.bestpractical.com/index.php?title=CygwinInstallGuide&feed=atom&action=historyCygwinInstallGuide - Revision history2024-03-29T11:14:45ZRevision history for this page on the wikiMediaWiki 1.37.2https://rt-wiki.bestpractical.com/index.php?title=CygwinInstallGuide&diff=762&oldid=prevAdmin: 3 revisions imported2016-04-06T20:03:38Z<p>3 revisions imported</p>
<p><b>New page</b></p><div>{{OutdatedInstallGuide}}<br />
<br />
I suspect this is getting old and as of Nov 2009 does not work.<br />
<br />
= Request Tracker (RT) under Cygwin installation instructions =<br />
<br />
# Install Cygwin<br />
## Get it from http://cygwin.com/<br />
## If you already have cygwin, rerun setup.exe and let it update all packages<br />
## Install the Perl and Apache2 packages<br />
## ???Question: what other packages are required? autotools/etc.? mysql?<br />
# (If you want to use CPAN shell) Update CPAN. You can install Test::Reporter to report success/failure to module owner. Install Bundle::RT.<br />
# Download and unpack Request Tracker<br />
# Follow installation Instructions in rt README file<br />
## If any Perl problems arise during 'make fixdeps', run 'cpan' and 'install Bundle::CPAN' and 'reload cpan'<br />
## If any modules don't install from 'make fixdeps', run 'cpan' and install from there<br />
## If strange errors about directory moving/removing/etc. occur, exit cpan and remove everything under the .cpan directory (esp. build directory) and retry<br />
## If tests fail (many do under Cygwin) use 'force install' and report problem to module maintainer.<br />
## For <u>serious</u> perl problems, try asking http://perlmonks.org/<br />
## You can report errors in the Perl modules to https://rt.cpan.org/<br />
# ??? What next after this? I only got this far... ???<br />
<br />
= Help =<br />
<br />
I now get complaints about the groups and users that don't exist when doing 'make install' I have problems creating the groups and users that 'make fixdeps' requests... when I add them to /etc/passwd and /etc/groups, chown to root still does not work when running 'make install'<br />
<br />
Let's see if we can get complete Cygwin installation instructions in here, I haven't been able to find any anywhere on the 'net.<br />
<br />
= FAQ for installing Request Tracker (RT) under Cygwin =<br />
<br />
* Directory operations (for some Perl modules, for example) fail because of spaces in the directory name, as in 'Documents and Settings'<br />
** some programs don't handle spaces in filenames correctly. Change the users home directory to '/cygwin/home/&lt;user&gt;'<br />
** if CPAN doesn't like this change and wants to use the old directory, change the dirname in '/usr/lib/perl5/5.8/CPAN/Config.PM' to the new home directory<br />
** alternatively, don't change the home directory and just point CPAN to a dir without spaces<br />
* I get a message like "unable to remap c:\cygwin\bin\&lt;something&gt;.dll to same address as parent (0x1220000) != 0x1230000" - what do I do?<br />
** install the Cygwin package 'rebase' and run 'rebaseall'<br />
* some CPAN modules want to replace in-use files. How do I do this?<br />
** Update CPAN and retry<br />
** exit cpan, 'cd ~/.cpan/build/&lt;package&gt;' and 'make Makefile.PL;make:make test;make install'<br />
* Several modules fail installation under [http://www.cygwin.com Cygwin].<br />
** <code>File::Slurp</code> - I think, this is test problem under Cygwin Perl. Skipping tests should be ok.<br />
** [=DBD::[[SQLile]]] - install latest. You only need this if you're going to use SQLite as data base.<br />
** <code>WWW::Mechanize</code> - install 1.20 or earlier. '''Note''' that you only need this module for testing purposes. Production users can skip it.<br />
** All problems of Apache::Session installation under Win32 and Cygwin are fixed in version 1.82.<br />
* How do I add a User under Cygwin?<br />
<br />
$ net user NewUser password /add /yes<br />
$ net localgroup &lt;a_local_group&gt; NewUser /add<br />
$ mkpassd -l -u NewUser &gt;&gt; /etc/passwd<br />
<br />
* What UID/GID should the user 'root' have?<br />
** root should be 0:0 since this is what most programs expect<br />
* Which users and groups do I need to create?<br />
** Here are the users and groups that fixdeps wants:<br />
<br />
users:<br />
rt group (rt)...found<br />
bin owner (root)...found<br />
libs owner (root)...found<br />
libs group (bin)...found<br />
web owner (www)...found<br />
web group (www)...found</div>Admin