News:

Search the maintenance guides for answers to 99.999% of Omega questions

Main Menu

Any linux experts?

Started by JamesV6CDX, 30 March 2018, 19:44:08

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

JamesV6CDX

I am a novice to Linux, and over the last few months I have been teaching myself things.

I've have to start from the very basics with the shell, but I've taught myself about how it handles users, folders/files, permissions. I've learnt about sudo / IPtables / Yum / Firewalld / Apache / and other real basics, I've also managed to download and install some web apps and get them running after editing config files.

I have three VPS's, one on Centos 6.9, one on Centos 7, but the question I have is around my Debian one, running Perl 5.

I have a Perl app that I want to use (nothing forum related) - it becomes available on port 8080 and requires lots of dependencies, which I have identified and installed.

Despite doing this, and despite using "aptitude" to confirm there's nothing missing, I still get an error message when I Try and run the app:

Can't locate AnyEvent/AIO.pm in @INC (you may need to install the AnyEvent::AIO module)

The problem is, I have installed every perl AnyEvent module I can find - but, there is none listed in the repositories that I can find, that matches the above.

Can any clever folk shed any light, please? :y

STEMO

I seem to remember Kevin is a Linux buff...........I think  :-\

JamesV6CDX

Quote from: STEMO on 30 March 2018, 19:46:44
I seem to remember Kevin is a Linux buff...........I think  :-\

Exccccccccellent (Said like Mr Burns)  :y

STEMO

Or was it dbug.........sorry.......... :-[

zirk

Kevin plays around with it.  :y

OS I mean  ;D

STEMO

Thanks, zirk, saved me bacon there  ;D

Mister Rog



Hmm, I've got an old "netbook", it works but it's XP. I've been tempted to have ago with Linux, but so many different flavours. And . . . can I be arsed ?
"The desire to be a politician should bar you for life from ever becoming one." Billy Connolly

zirk

Quote from: STEMO on 30 March 2018, 21:49:14
Thanks, zirk, saved me bacon there  ;D
No not Kevin Bacon his busy doing those EE adverts at the moment.

    ........Oh, I see what you mean now, yea, your welcome, usual arrangements apply, in the same Bank Account please.   :)

Gaffers

You need to find the documentation for the repository you are using to identify which dependencies you need.  Just firing off at the hip is a sure way to frustration in my experience.

Andy H

"Deja Moo - The feeling that you've heard this bull somewhere before."

TheBoy

Run:

apt-cache search AIO

to find name of missing Perl module, then

apt-get install <name> to install it


Being a popular distro, there should be a compiled version for Debian.  If not, you're probably better off going into the dark world of CPAN, which will cause you problems on a distro like Debian.


Are you really sure you want to start something new running shitty old Perl though?
Grumpy old man

TheBoy

Just run the search on an old Debian (7.1) which is all I have to hand, suspect you need this one:

apt-cache search AnyEvent
libanyevent-aggressiveidle-perl - Aggressive idle processes for AnyEvent.
libanyevent-callback-perl - callback aggregator for AnyEvent watchers
libanyevent-dbd-pg-perl - AnyEvent interface to DBD::Pg's async interface
libanyevent-dbi-perl - module supporting asynchronous DBI access
libanyevent-forkobject-perl - fork jail for AnyEvent
libanyevent-http-perl - simple non-blocking HTTP/HTTPS client
libanyevent-httpd-perl - simple lightweight event based web (application) server
libanyevent-i3-perl - communicate with the i3 window manager
libanyevent-irc-perl - Perl module for handling IRC connections
libanyevent-perl - event loop framework with multiple implementations
libanyevent-redis-perl - Perl module that implements a non-blocking Redis client
libanyevent-serialize-perl - serializer and deserializer for AnyEvent
libanyevent-tools-perl - instrument collection for AnyEvent
libanyevent-xmpp-perl - implementation of the XMPP Protocol
twiggy - AnyEvent HTTP server for PSGI (like Thin)
Grumpy old man

JamesV6CDX

Cheers Jaime. I've installed every anyevent one in the list but it's still grumbling about a missing "anyevent:: AIO module"  >:(

TheBoy

Did I mention Perl is old and shit, and a complete mess?  Are you really sure you want to use a Perl app? ;)

Try libio-aio-perl
Grumpy old man

STEMO

Quote from: TheBoy on 31 March 2018, 10:21:31
Did I mention Perl is old and shit, and a complete mess?  Are you really sure you want to use a Perl app? ;)

Try libio-aio-perl
We're talking about James here, he won't give up till he makes it work.