skeptic's Journal http://www.slashcode.com/~skeptic/journal/ skeptic's Slashcode Journal en-us Copyright 2004, OSTG - Open Source Technology Group, Inc. All Rights Reserved. 2012-01-25T04:40:10+00:00 Me admins@slashcode.com Technology hourly 1 1970-01-01T00:00+00:00 skeptic's Journal http://images.slashcode.com/topics/topicslash.gif http://www.slashcode.com/~skeptic/journal/ A site is up. But not yet what I want or need. http://www.slashcode.com/~skeptic/journal/330?from=rss <p>This one was another learning experience. I got the source and did the make and make install. I thought it might be essentially over.</p><p>The install-slashsite led to a host of as yet undiscovered problems. First the perl script panic'd. The line that did the grep to look for the Include in the slash.conf file freaked. Eventually, frustrated in trying to debug the script, I noted where it was, inserted the Include directive, and then commented out the offending subroutine call. The modified script completed.</p><p>The big event (httpd startup) was another failure. The libapreq was not yet officially installed. Everything I tried to get the t/TEST to use the<nobr> <wbr></nobr>/usr/local/apache instead of the RedHat 2.0 installation met with mixed yet unacceptable results. Finally in utter frustration, I just did a make install.</p><p>I thought it would be best to bring the server up on 8080. It came up. Only problem is that all links do not include the port. I changed the port to 80 in httpd.conf, and all seems to be working now.</p><p>What I want:<br> &nbsp; &nbsp; &nbsp; &nbsp; I'd like to test this server on 8080<br> &nbsp; &nbsp; &nbsp; &nbsp; I'd like this site to live in the httpd with non-slash stuff</p><p>The saga continues!</p> skeptic 2003-12-20T02:58:09+00:00 slash OK kiddies: Apache 1.3 vs. 2.0 and mod_perl 1.99 http://www.slashcode.com/~skeptic/journal/329?from=rss <p>Lots of funzies and a bit of play later, I actually understand the message 1.99 means that a mod_perl version less than 1.99 is required. mod_perl 1.99 is actually mod_perl 2. mod_perl 2 goes along with Apache 2.0. The big rub here is that you need apache 1.3.</p><p>OK, I'm back on the right track. I pulled down the v1.3 httpd and the corresponding mod_perl. The build went swimmingly as did the install. I installed using the Apache environment so as not to overwrite the v2.0 httpd that is currently meeting my needs. This all seems to work.</p><p>I expect to eventually install 2 different perls so that the libapreqs for v1.0 and v2.0 don't step on each other.</p><p>So now, it is onto the actual install.</p> skeptic 2003-12-20T02:46:54+00:00 slash Almost there with the install Bundle::Slash http://www.slashcode.com/~skeptic/journal/326?from=rss OK, I have learned a bit about CPAN, modules and the install process. The first big thing that took care of most of the failures was 'LC_ALL=C'. Almost all of the make problems cleared up with that. (Digest::MD5, Storable, HTML::Parser, Getopt::Long, Time::HiRes, and Date::Calc. DBD::mysql was affected, but also required the<nobr> <wbr></nobr>/usr/include/mysql and<nobr> <wbr></nobr>/usr/lib/libmysqlclient.a files. Although RedHat installed mysql and the mysql client, the rest of the development files were not. Apache::Test required the httpd-devel-2.0.40 package. It is not listed on the RedHat 9.0 package installer. Apache::Test also required that I make sure all directoried in the<nobr> <wbr></nobr>.cpan path be readable and executable by world. Apache::Request depended on a successful Apache::Test installation to make. I am left with only Apache::Request. The make says that I do not have a proper mod_perl. Yet, when I try install mod_perl, CPAN says mod_perl is up to date. skeptic 2003-12-13T19:05:01+00:00 slash OK, another pass http://www.slashcode.com/~skeptic/journal/322?from=rss <p>Template Toolkit can use: <br> Text::Autoformat [ ] module not installed <br> GD [ ] module not installed <br> GD::Text [ ] module not installed <br> GD::Graph [ ] module not installed <br> GD::Graph3d [ ] module not installed <br> Image::Info [ ] module not installed <br> Image::Size [X] version 2.992 installed <br> Date::Calc [ ] module not installed <br> Pod::POM [ ] module not installed <br> Tie::DBI [ ] module not installed <br> XML::DOM [X] version 1.27 installed <br> XML::RSS [X] version 1.02 installed <br> XML::XPath [ ] module not installed <br> DBI [X] version 1.39 installed, configuring tests </p><p>libgd.2.0.12 requires</p><ul> <li>libpng10.so.0 requested by gd</li><li>libgd.so.1.8 requested by php</li><li>libgd.so.1.8 requested by webalizer</li><li>gd=1.8.4 required by gd-devel</li></ul><p> Potential conflict between current png instalation and libpng10.so.0 (unsettled)</p> skeptic 2003-12-09T00:29:11+00:00 slash Perl module installation http://www.slashcode.com/~skeptic/journal/321?from=rss <p>OK, did the "install Bundle::Slash". It took hours. I took the defaults on all questions except for the DBIx-Password ones. There I put in the answers for the MySQL db named 'slash' I created for this exercise.</p><p> I got lots of test failures, and the make install would not install the modules. I guess I'll have to do this one at a time instead of just doing the whole bundle.</p><p>Where does CPAN drop a log file? Most everything has scrolled out of the terminal window's buffer.</p><p>In<nobr> <wbr></nobr>.cpan/Bundle I found Slash.pm. In the head1 CONTENTS area I found a list of modules. 'help' at the cpan prompt showed a test MODULES command. I am now doing a test on each individual module in CONTENTS to learn module by module where my problems lie.</p><ol> <li>Net::Cmd(skipped): t/ftp, t/netrc, t/nntp, t/smtp </li><li>Archive::Tar(skipped): 14 subtests</li><li>File::Spec::(skipped): t/crossplatform 7/50 "Can't load File::Spec::VMS" - I assume VMS filesystem specific 8-) </li><li>Storable<ul> <li>t/interwork56: all skipped: Your IVs are no larger than your longs</li><li>t/malice 5/401: Failed test (t/malice.t at line 95) got '8' expected '8'</li><li>t/malice 9/401: Failed test (t/malice.t at line 95) got '8' expected '8'</li><li>t/malice: DIED. FAILED tests 14, 133</li></ul></li><li>MIME::Base64(skipped): t/bad-sv: Perl::API needed for this test</li><li>Bundle::LWP<ol> <li>URI(skipped): t/urn-isbn</li><li>Net::FTP(skipped): t/ftp, t/netrc (2/20), t/nntp, t/smpt</li><li>HTML::Parser<ul> <li>t/entities FAILED tests 2, 9</li><li> t/headparser: FAILED test 3</li><li> t/uentities: skipped</li></ul></li><li>HTML::HeadParser<ul> <li>html/form-param: Can't locate auto/HTML/TokeParser/get_phrase.al; FAILED 24/24 tests</li><li>html/form: Can't locate auto/HTML/TokeParser/get_phrase.al; FAILED 22/23 tests</li><li>live/validator: Can't locate auto/HTML/TokeParser/get_phrase.al; FAILED 2/2 tests</li></ul></li></ol></li></ol><p>Is Perl::API required? Can I just install Perl::API in cpan?</p><p>How do I find the 'various reasons' why tests are skipped?</p><p>What is the special configuration required for mod_perl?</p> skeptic 2003-12-08T22:24:03+00:00 slash 1-34 pm Saturday - Now its CPAN http://www.slashcode.com/~skeptic/journal/320?from=rss <p>That old perl knowledge is not enough. Things have progressed in the last 10 years. There is now a Comprehensive Perl Archive Network (CPAN).</p><blockquote><div><p> <tt>perl -MCPAN -e shell</tt></p></div> </blockquote><p>/usr/lib/perl5/5.8.0/CPAN/Config.pm initialized.</p><p><nobr> <wbr></nobr>... If you do not want to enter a dialog now, you can answer 'no' to this question and I'll try to autoconfigure. (Note: you can revisit this dialog anytime later by typing 'o conf init' at the cpan prompt.)<br>I chose "no" and let CPAN autoconfig itself</p><p> It did not find a <tt>links</tt> program No <tt>ncftpget</tt> or <tt>ncftp</tt> <br> links program is actually lynx, can be ignored </p> skeptic 2003-12-08T19:39:14+00:00 slash OK, First it's MySQL http://www.slashcode.com/~skeptic/journal/318?from=rss <p>Well, the install section says I have to create a MySQL db. That means I need to learn to use MySQL. My redhat 9.0 installed MySQL, and I found:</p><ul> <li>the documentation in<nobr> <wbr></nobr>/usr/share/doc/mysql-3.23.54a/manual.html. mysql is like isql from 15 years ago. Semicolons are important.</li><li>The daemon runs as user mysql</li><li>the data can be found in<nobr> <wbr></nobr>/var/lib/mysql.</li><li>The config file is<nobr> <wbr></nobr>/etc/my.cnf.</li></ul><p> Up to speed.</p> skeptic 2003-12-06T20:07:23+00:00 slash New user angst http://www.slashcode.com/~skeptic/journal/317?from=rss <p>Just joined today. I have not yet located a 'how to' about the site. It seems that my journal will have to suffice for now. I like the idea of being able to keep knowledge specific to a site on the site itself.</p><p>I will definately implement a journal on any site I build.</p><p>Now,</p><ul> <li>Are friends,<nobr> <wbr></nobr>... an authorization scoping method?</li><li>Do I have to actually buy the O'Reilly Slash book to learn how to use this platform?</li></ul><p>Guess it's off to the FAQ! 8-)</p><p>More later.</p><p>Guess what? The 'how to' is masquerading as a FAQ! 8-) It seems that all the documentation for the slash code lives in the FAQ.<br>Now I have to find about the implementation which is slashcode.com</p> skeptic 2003-12-05T23:05:02+00:00 slash