Programming :: Module In Cpan For Creating A Blog?
Apr 2, 2010Exist it a module in cpan for creating a blog?
View 4 RepliesExist it a module in cpan for creating a blog?
View 4 RepliesI tried to use CPAN to install a module Algorithm::Loops using "install Algorithm::Loops". I get the message from CPAN that this module is already up to date.But, when I try to use it I get the message:
Can't locate Algorithm/Loops.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at ./test.pl line 4.
BEGIN failed--compilation aborted at ./test.pl line 4.
And indeed, the file Loops.pm is nowhere to be found.Isn't that a contradiction?
I wrote a perl script to feed information to our load balancer:
Code:
#!/usr/bin/perl
#
use strict;
#use warnings;
#
#
use Net::SSH::Perl;
my $user="bluethundr";
my $pass="secret";
my $dir="$ENV{HOME}/data";
open (LBVSERVERS), '<', "$dir/lb-vserver" or die "Couldn't open file: $!";
open (CSVSERVERS), '<', "$dir/cs-vserver" or die "Couldn't open file: $!";
my $ssh = Net::SSH::Perl->new("10.50.0.1");
$ssh->login("$user", "$pass");
print " .....
I need to be able to install the Math::Pari CPAN module in order to accomodate the Net::SSH CPAN module. The prereqs are installed:
Code:
cpan> install Net::FTP
Net::FTP is up to date.
cpan> install LWP::UserAgent
LWP::UserAgent is up to date.
But when I either try to install or force install Math::Pari this is what I get:
Code:
cpan> install Math::Pari
Running install for module Math::Pari
Running make for I/IL/ILYAZ/modules/Math-Pari-2.01080604.tar.gz
Checksum for /home/bluethundr/.cpan/sources/authors/id/I/IL/ILYAZ/modules/Math-Pari-2.01080604.tar.gz ok
Math-Pari-2.01080604/ .....
CPAN.pm: Going to build I/IL/ILYAZ/modules/Math-Pari-2.01080604.tar.gz
Did not find GP/PARI build directory around.
Do you want to me to fetch GP/PARI automatically?
(If you do not, you will need to fetch it manually, and/or direct me to the directory with GP/PARI source via the command-line option paridir=/dir)
Make sure you have a large scrollback buffer to see the messages, or 'tee' the STDOUT/STDERR to a file.
Fetch? (y/n, press Enter) y
Getting GP/PARI from ftp://megrez.math.u-bordeaux.fr/pub/pari/unix/
Cannot list (Failed to establish connection.
): at utils/Math/PariBuild.pm line 319, <STDIN> line 1.
Can't fetch file with Net::FTP, now trying with LWP::UserAgent...
You do not have LWP::UserAgent and/or HTML::LinkExtor installed, cannot download, exiting...
I installed GD Package from cpan in ubuntu 10.04, but I need gdlib-config for this module. I installed libgd2-noxpm but I continue to have this problem.
View 1 Replies View RelatedI have CentOS 5.4 and have installed CPAN GD module.Installation messages seemed clean and successful.When I try to create a png file, perl gives the error message :
Can't locate object method "png" via package "GD::Image" at
/usr/lib/perl5/vendor_perl/5.8.8/DBD/Chart/Plot.pm line 1276 (#1)
(F) You called a method correctly, and it correctly indicated a package
functioning as a class, but that package doesn't define that particular
method, nor does any of its base classes. See perlobj.
Also, the following perl one-liner gives answer "No".
perl -e 'use GD; $im=GD::Image->new(); print $im->can("png") ? "Yes" : "No" , "
";'
I suspect that this GD module requires Image::Magick, but that borks on installation.
Magick.xs:2344: warning: implicit declaration of function �MagickCoreGenesis�
make: *** [Magick.o] Error 1
JCRISTY/PerlMagick-6.59.tar.gz
[code]...
What is "--installdirs site" options in cpan configuration?
View 1 Replies View RelatedYast2 appears to be broken. Whenever I open the YaST control center and attempt to install new software, I am greeted with this error message. When I click on the "Install New Software" shortcut from the start menu, nothing happens.
I researched this error message and found that apparently I can install software via Zypper, but all the commands to enter in the terminal result in a message about an unrecognized command.
OpenSUSE 11.2 64-bit
I am interested in using fortran and an external library called matio used to save arrays to matlab .mat files. I have installed the matio and matio-dev packages from synaptics but i cannot compile a code receiving an error Code: christos@christos-laptop:~/Desktop$ gfortran -o test test.f90 -lmatio -lz test.f90:2.13: USE MATIO 1
Fatal Error: Can't open module file 'matio.mod' for reading at (1): No such file or directory How can i load a module in order to use it in fortran through the GCC compiler?
On my Lenovo T410 (openSUSE 11.4 KDE - 64bit) I have mobile broadband. Gobi-loader is installed and working properly. However when I try to setup mobile broadband connection the KDE Control Module crashes. Tried many times also after reboots, though KDE Control Module keeps crashing.
View 6 Replies View RelatedI installed [URL] and everything mixed up! I tried to remove it and I get this error: Error while creating client module OneClickInstallUI My Graphic Card is NVidia Quadro FX
View 5 Replies View Relateddo you have any code to flash led lights with paralel port (device driver programming)or any lecture about this subject .if there is a working code this would be better ofcourse.
View 1 Replies View RelatedWhere is the perl module for programming with sockets?
View 4 Replies View RelatedI was wondering if there are any programs out there that allow me to write a blog offline in ubuntu and then upload it when its done?
also I have never written a blog before and dont know where to get started, I own my own web domain and hosting and was wondering if anyone can direct me to basic information on how to get started as well.
I've OpenOffice v3.2 installed on my ubuntu lucid lynx. I've recently installed the Sun Weblog Extension on it. It should help me post to my blogs, but as I tried searching the internet I came to find out that I had to install some sort of update. I don't know what that update is. The place where I got that info is from the following online pdf document.[URL].. I also tried looking at some blog posts which tried to explain how to do the setup for the extension. But the settings screen turned out to be blank. The place where I got this info was here [URL]..
View 1 Replies View RelatedI mean, obviously I can just type them out and italicize them or something equally boring, but what I'd like to do is make the code look like it does on these forums.Code:sudo apt-get install html-knowledgeI've been Googling like a mad man (not a euphemism) for the better part of an hour and can't turn up any pertinent results. I thought maybe somebody here could point me in the right direction. I'm tired of my blog posts looking ugly and disorganized when I start typing commands.
View 2 Replies View RelatedI want to run a server with multiple blog with worpress, is there a tutorial ?
View 2 Replies View Relatedi have this blog, and i want to embed flash vids in it like videos. however, i want to do this from my apache2 web server, partly for bragging rights among my non-techie circle of friends, but mostly because i cant get videos to do what i want (which is private viewing of vids by non-..... members). any tips on how to do this?
View 6 Replies View RelatedI use WordPress. If I want to choose an image to insert into the blog, the file browser window (unlike even the most basic version of Windows) only gives me a "list view" option and no other options. This.Is.A.Huge.Limitation. I can't choose an image visually - only by name. Is there a way to remedy this? Will a different file browser (instead of Nautilus?) get me what I want?
View 9 Replies View Relatedbuilding your own with perhaps LAMP. It appears the purpose of one is to test websites? Is it not possible to use your server on the web and actually host a website or blog or whatever?
View 6 Replies View Relatedi have php5 and mysql on ubuntu server which is hosting a WordPress blog. i activated it remotely over the internet and it works fine still over the internet. now im home and using my local network again and now when i try to go into it with its local IP, it just shows some text (blog title, posts and so on) with NO pictures.
View 2 Replies View RelatedI have small home atom-server on netbook (with damaged screen) with Intel Atom N450 1.6Ghz CPU and 1GB of RAM. I am looking for web server, that would not eat much resources when hosting wordpress blog (up to 50-100 readers at once in veeeeeery far future) - posts in most cases will be only text based, without big images or archives (I'm not sure if it is important).The brain of my atom-server is latest 32-bit ubuntu server, without X's, I access it from ssh console only. It is already:
- proxy gate for my internal network (squid)
- my gmail backup/IMAP (dovecot & getmail)
- file server for my internal network (samba)
[code]....
I am executing command "yum install perl-CPAN". I got the following error "Can't locate CPAN.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 .).". Let me give you some details of the problem.
OS: CentOS release 5.4 (Final)
Architecture: : 32 Bit
Installed Perl Version: This is perl, v5.8.8 built for i386-linux-thread-multi
I've also studies previous posts on this topic which says "yum install perl-CPAN" will fix the problem when I execute this command I got "No package perl-CPAN available".
I want to install LWP on my server! i have try many times but the result still failed!
I also try to force install and install/force install smaller module! There was 11 small modules build failed!
I was able to install LWP on a few server successful on Jan 2010.
while configuring cpan through o conf init inside the cpan shell my SSH connection went down. After reconnecting cpan comes up with this little thing:Quote:There seems to be running another CPAN process (pid 30131). Contacting...Other job is running.Shall I try to run in downgraded mode? (Y/n) [y]Now i could just kill the other process but wonder if its possible to just resume the cpan process?
View 4 Replies View RelatedWhere would I go to find a guide on a how-to for Linux website administration? I want to learn how to create a simple site dedicated to my blog. I already have a blog hosted by wordpress. I want to learn how to administrate my own blog using Apache hosted by GoDaddy.com or some other host.
View 2 Replies View RelatedMy yum is not working. I need cpan in order to install a perl module net::ldap.
This is what I am see when I run the command yum install perl-CPAN
om updates:
I try running yum clear and yum update and nothing fixes the issue.
Can anyone provide me information about installing perl modules using CPAN.....
View 1 Replies View RelatedI'm trying to install Tk from CPAN in slackware-current x86_64 for perl v5.12.3 and get the following error message
Code:
In file included from Xlib_f.c:8:0:
Xlib.h:22:15: error: conflicting types for 'XKeycodeToKeysym'
/usr/include/X11/Xlib.h:1694:15: note: previous declaration of 'XKeycodeToKeysym' was here
[Code]....
I'm writing a Plug-gable authentication module for ssh. I am looking for prompting for some extra information after user name and password verification but before giving access to user.Actually after SSH I want to extend the same for some other services. So I am looking at some PAM module level suggestion.
I tried using conversation method with message style=PAM_PROMPT_ECO_ON but it results in PAM_CONV_ERR and conversation fails. Is it right way to interact or please suggest me If I'm doing wrong somewhere. When I use message style=PAM_PROMPT_ECO_OFF communication succeeds but message is not shown and interaction doesn't happen.
I've pased the sample code I've written at url.
Code:
#include <sys/types.h>
#include <string.h>
#include <pwd.h>
#include <grp.h>
#include <syslog.h>
code....
I need to call some other functions in "int init_module(void)" and module. So I need a stack. How can I setup a stack (1kB) for my module in C?
View 11 Replies View Related