Tags:
create new tag
view all tags

Question

I am trying to install TWiki for the first time. Since I am behind a corporate firewall, I have to install the necessary CPAN-modules manualy. But unfortunately, the description in the WindowsInstallCookbook is not detailed enough for me.

For instance, how do I find the right Net::SMTP ?

If I do a search at cpan.org, I get 1633 results, but none of them seem right to me (no .tar.gz or .tgz - files). The first hit (closest match) seems to be quite usefull, but how to download and where to save?

And after the download, how can I performe the make / make test / make install ? Where do I have to insert the filename (or module name) in these command lines?

Environment

TWiki version: TWikiRelease02Sep2004
TWiki plugins: ?
Server OS: MS Windows XP Professional SP1
Web server: Apache/1.3.33
Perl version: 5.8.5-3 (Cygwin)
Client OS: Windows
Web Browser: Internet Explorer 6.0
Categories: Installation

-- JuditMays - 23 Dec 2004

Answer

CPAN:Net::SMTP links to the latest version - there's a download link on the distribution link, e.g. libnet-1.19 at present, that is just to the right of the author's name near top of page. Other modules are the ones found that match the name e.g. Digest::SHA1 - again, go to the distribution name.

See http://perl.about.com/library/weekly/aa030500a.htm for hints on how to build Perl modules 'the hard way' - you just go into the directory where you unzipped or untarred the module. Under Cygwin, as long as you've followed the WindowsInstallCookbook, you just type make not nmake, and the Unix/Linux instructions pretty much apply without change.

AdminSkillsAssumptions may be relevant here - you may need to find someone to help you get going, perhaps via TWikiIRC.

Are you sure you can't get the cpan installer working behind your firewall? If you can configure this to use your HTTP proxy it makes life a lot easier.

-- RichardDonkin - 01 Jan 2005

(From email)

All you need to do is something like this from within the cygwin shell to create a directory under your Cygwin home directory

mkdir ~/cpan-download

Then put downloaded files here, and un-tar/gzip them (they will automatically go into sub-directories) - when you do the 'make, make test, make install' in each sub-directory, everything will then get installed in the correct place under your main Perl installation. This is the simplest way to do things and is fine on Cygwin.

(Do echo $HOME to see what your Cygwin home directory actually is - prefix c:\yourcygwindir to this to get the windows path, where c:\yourcygwin dir is where you installed cygwin, normally c:\cygwin.)

-- RichardDonkin - 05 Jan 2005

Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2005-01-05 - RichardDonkin
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.