WebFaction
Community site: login faq

Hi all.

Im a relativly new webfaction user, and was wondering if it was possible to run irssi. when i download the source and run ./configure it says "GLIB is required to build irssi.".

I tried downloading GLIB but that needed libffi, so i downloaded libffi. "./configure" works fine, as does "make". When i try to do "make install" it seems to be trying to install to /usr/local/lib which obviously is results in permission denied.

How can i tell it to install to my home directory and then tell the GLIB "./configure" where to find it.

Is there an easier way of doing this? is it even possible?

Thanks Greg

asked 12 Dec '11, 12:15

grh2g46
524
accept rate: 0%

ok, figured out how to install to my home directory using the --prefix=$HOME flag on ./configure. still not sure how to tell the GLIB ./configure where it is

(12 Dec '11, 13:20) grh2g46

Hi,

You can install irssi using:

mkdir ~/src
cd ~/src
wget http://download.fedora.redhat.com/pub/epel/5/i386/irssi-0.8.15-1.el5.i386.rpm
rpm2cpio irssi-0.8.15-1.el5.i386.rpm | cpio -idmv --no-absolute-filenames
export PATH=~/src/usr/bin:$PATH #you will need to add this to your ~/.bash_profile if you want it to persist when you logout
permanent link

answered 12 Dec '11, 23:58

neeravk
1.5k3412
accept rate: 41%

followed your instructions and im getting

-bash: /home/grh2g46/src/usr/bin/irssi: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory

did some googleing and it looks like this could be the same issue as i had already encountered, it needs the glib librarys

(13 Dec '11, 09:41) grh2g46

glib is essential to running linux executables as such it is already installed on all servers.

The instructions I gave are for a 32-bit machine, for a 64-bit machine, they would be:

mkdir ~/src
cd ~/src
wget http://mirror.centos.org/centos/6/os/x86_64/Packages/irssi-0.8.15-3.el6.x86_64.rpm
rpm2cpio irssi-0.8.15-3.el6.x86_64.rpm | cpio -idmv --no-absolute-filenames
export PATH=~/src/usr/bin:$PATH #you will need to add this to your ~/.bash_profile if you want it to persist when you logout

(13 Dec '11, 19:11) neeravk

Just attempted these instructions and got the following error:

cpio: warning: skipped 58541 bytes of junk
cpio: warning: archive header has reverse byte-order
?z?;??sa????.+"??`=g}m?[??P?x_??G$?1r????-?.??
                                              >?zN??R<??
                                                        yx
cpio: warning: skipped 145482 bytes of junk
cpio: ??n!~?P?z?}?d??c?M??+)bhZ+?"????C(5???81???q??6,?<a????T?{'1?u?T??W????gj????m+?A??)???3???V???;: unknown file type
cpio: premature end of file

No matter what package I get, the issue seems to remain the same. Advice?

permanent link

answered 22 Apr '12, 17:32

iros
1
accept rate: 0%

Did you run the commands for the correct platform of your server? Servers web2xx and under are 32 bit servers web3xx and above are 64bbit.

(22 Apr '12, 18:22) johns ♦♦

tried both. Both have the same issue.

(23 Apr '12, 16:56) iros

@iros - I just successfully built irssi from source as a test user on your server, with none of the GLIB problems mentioned by the OP of this topic. Here are the commands that you can use to build it:

mkdir ~/src
cd ~/src
wget http://www.irssi.org/files/irssi-0.8.15.tar.bz2
tar xjf irssi-0.8.15.tar.bz2
cd irssi-0.8.15
./configure --prefix=$HOME
make
make install

Once that's done, you should be able to configure and run irssi. Hope that helps!

(23 Apr '12, 19:46) seanf

@seanf that got me further, but I do get this error now during make install:

make[5]: Entering directory `/home/iros/src/irssi-0.8.15/src/perl/common'
Warning: You do not have permissions to install into /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi at /usr/lib/perl5/5.8.8/ExtUtils/Install.pm line 114.
mkdir /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/auto/Irssi: Permission denied at /usr/lib/perl5/5.8.8/ExtUtils/Install.pm line 176
make[5]: *** [pure_site_install] Error 13
make[5]: Leaving directory `/home/iros/src/irssi-0.8.15/src/perl/common'
/bin/sh: line 1: cd: irc: No such file or directory
/bin/sh: line 1: cd: ui: No such file or directory
/bin/sh: line 1: cd: textui: No such file or directory
make[4]: *** [install-exec-local] Error 1
make[4]: Leaving directory `/home/iros/src/irssi-0.8.15/src/perl'
make[3]: *** [install-am] Error 2
make[3]: Leaving directory `/home/iros/src/irssi-0.8.15/src/perl'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/home/iros/src/irssi-0.8.15/src'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/iros/src/irssi-0.8.15'
make: *** [install] Error 2
permanent link

answered 24 Sep '12, 08:47

iros
1
accept rate: 0%

Please open a ticket at our support site, and we'll take a look at it for you.

(24 Sep '12, 09:47) timg ♦♦
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×11
×6
×1
×1
×1

question asked: 12 Dec '11, 12:15

question was seen: 3,664 times

last updated: 24 Sep '12, 09:47

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2019 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM