|
Posted by Jim Keenan on October 17, 2004, 3:17 pm
Please log in for more thread options
Jim Keenan wrote:
>
> *Note on HTML::Template: Recall that in my previous post I advised
> reading the README file included in each CPAN distribution. The README
> for HTML::Template notes that it deviates from the standard installation
> procedure in one respect.
>
> "If you plan to use the shared memory cache you might want to test
> it before you install. Make sure you have an up-to-date copy of
> IPC::SharedCache installed (available from the same place you got
> HTML::Template, either CPAN or SourceForge) and then do:"
>
> TEST_SHARED_MEMORY=1 make test
>
> An added complexity like this is a good argument for letting the cpan
> shell do the work.
>
> jimk
I should add that I just tried to follow my own advice and ran into
difficulties. Without IPC::SharedCache, HTML::Template installs without
problem but presumably with more limited capabilities. When I went to
use the shell to install IPC::SharedCache, however, the 'make' routine
prompted me with several questions beyond my current understanding --
and ultimately didn't install. I'll have to study the README and docs
for this more closely.
So, Chad, it may be that part of your difficulties stem from the
non-standard nature of these particular distributions.
jimk
|
|
Posted by Ravi Desai on October 17, 2004, 11:40 am
Please log in for more thread options
You could use debian or something like it(Slackware). These distros are
known for having a stable environment and(especially Debian) a huge
d-base of programs. If you are comfortable with changing distros, I
would suggest one of these. If Debian, use MepisLinux or something,
cause its a lot more user-friendly.
I used to use RH8, and if theres one thing I learned, its not to create
programs from source on RPM-based distros.
You might want to try searching for RPM packages for these
module-distributions instead, but you will have to look into the README
and INSTALL files at the very least.
Jim Keenan wrote:
> Jim Keenan wrote:
>
>
>
> I should add that I just tried to follow my own advice and ran into
> difficulties. Without IPC::SharedCache, HTML::Template installs without
> problem but presumably with more limited capabilities. When I went to
> use the shell to install IPC::SharedCache, however, the 'make' routine
> prompted me with several questions beyond my current understanding --
> and ultimately didn't install. I'll have to study the README and docs
> for this more closely.
>
> So, Chad, it may be that part of your difficulties stem from the
> non-standard nature of these particular distributions.
>
> jimk
|
|
Posted by Jim Keenan on October 17, 2004, 4:13 pm
Please log in for more thread options Ravi Desai wrote:
> You could use debian or something like it(Slackware). These distros
> are known for having a stable environment and(especially Debian) a huge
> d-base of programs. If you are comfortable with changing distros, I
> would suggest one of these. If Debian, use MepisLinux or something,
> cause its a lot more user-friendly.
> I used to use RH8, and if theres one thing I learned, its not to
> create programs from source on RPM-based distros.
> You might want to try searching for RPM packages for these
> module-distributions instead, but you will have to look into the README
> and INSTALL files at the very least.
>
True, the OP indicated he was on Redhat, so working from an RPM (and
perhaps from other formats) is an option. But since he was expressing
difficulty getting the standard installation process and the cpan shell
process to work, I wanted to frame my response in terms of his concerns.
Moreover, in my personal experience, installing from RPM is no more or
less difficult than the cpan shell.
It just so happened that the module he's trying to install is one that
deviates from the standard process that you absolutely must read the
README and docs to figure it out.
jimk
|
|
Posted by chad on October 18, 2004, 4:06 am
Please log in for more thread options Hello, Thank you for the Advice.
I have done more reading and worked on my Linux system at home and a few
more insights. I was at Borders Books this afternoon looking for a new
PERL, CGI, Apache book or info on how and where to put the various files
when I get them, more so beyond the Perl Module is where to put the *.pl or
*.pm file and then where to put the HTML form / page.
So far I have had decent luck with CPAN installing the modules okay. I am
not trying to get how to make a working model running. AS in make the web
page, and make the html page call the cgi / perl module and return the
results in the web page / site.
I think I have the mechanics down and now I need to just figure out where to
put everything in / with apache. I am going to try to find a simple
complete how to example of some perl module inplementation. I will ask a
differrent question on this matter as a new post. I think right now my
biggest problem is getting the web page configured to work with the module.
Again thank you for all your help and tips. When I get this figured out I
plan to write up an quick set of exact directions as to every step and
change I did and what and where each file went and what the htmp code / html
form looked like. It is very hard to find one book that covers
configuring apache, and using perl modules in html forms. Be cool if there
was a book out there that combined all 3 and had a few very detailed step
by step examples to follow. Like setting up from scratch.
Thank you all very much,
Chad
> Chad wrote:
> > Hello,
> >
> > I am still in the first week or 2 of trying to learn Perl and get my
> > servers patched to what I need. I have a question about the Perl
modules.
> > DO all Perl *.pm files require you to compile or can some be just
> > downloaded and placed into the proper directory?
> >
> >
>
> I second what Bill K. wrote. Downloading files and manually
> transferring them to the proper directory *might* work in a few cases
> but will fail in many, if not most cases. More importantly, it will
> fail in the *most important* cases.
>
> Most distros on CPAN contain 'README' files which tell you how to
> install the distro and what your installation options are. In the vast
> majority of cases I have encountered, it's as simple as:
> perl Makefile.PL
> make
> make test
> make install
>
> Look at the MANIFEST file in each CPAN distro to see if it contains
> files which imply the need for a C-compiler. I would add one thing to
> what Bill wrote: Distributions which contain a '.xs' file need a C
> compiler because the XS is the glue between the C and the Perl. But
> even if you don't have a C-compiler, the overwhelming majority of CPAN
> modules which need compilation can be installed with a '.ppm' file from
> ActiveState (for Windows *and* lots of other OSes), a '.rpm' file for
> many Linux distributions or a '.deb' file for Debian Linux.
>
> Let us know if you encounter further problems.
>
> jimk
|
| Similar Threads | Posted | | General question on CPAN perl modules | March 13, 2005, 6:34 pm |
| download all CPAN modules ? | August 25, 2004, 10:35 pm |
| Looking for a base module that can automatically load sub modules | June 27, 2007, 6:16 am |
| Issues Installing CPAN Modules on Win NT - Activestate Perl 5.61 | November 19, 2004, 6:52 am |
| lwp-download http://..--how do I use it to download pages? | June 8, 2008, 5:47 pm |
| Perl Database Programing download for the template | January 9, 2008, 12:56 pm |
| Question on Wx modules | August 8, 2007, 5:36 pm |
| CPAN module local installation question | July 12, 2006, 4:49 am |
| Question about building modules on W2K | September 24, 2004, 7:09 am |
| Question about creating modules | May 27, 2006, 4:50 pm |
|