login community 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 Dec 12 '11 at 12:15

grh2g46's gravatar image

grh2g46
52

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

(Dec 12 '11 at 13:20) grh2g46 grh2g46's gravatar image

Hi,

You can install irssi using:

1
2
3
4
5
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

answered Dec 12 '11 at 23:58

neeravk's gravatar image

neeravk ♦♦
14061311

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

(Dec 13 '11 at 09:41) grh2g46 grh2g46's gravatar image

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

(Dec 13 '11 at 19:11) neeravk ♦♦ neeravk's gravatar image

Just attempted these instructions and got the following error:

1
2
3
4
5
6
7
8
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?

answered Apr 22 '12 at 17:32

iros's gravatar image

iros
1

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.

(Apr 22 '12 at 18:22) johns ♦♦ johns's gravatar image

tried both. Both have the same issue.

(Apr 23 '12 at 16:56) iros iros's gravatar image

@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:

1
2
3
4
5
6
7
8
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!

(Apr 23 '12 at 19:46) seanf ♦♦ seanf's gravatar image

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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
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

answered Sep 24 '12 at 08:47

iros's gravatar image

iros
1

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

(Sep 24 '12 at 09:47) timg ♦♦ timg's gravatar image
Your answer
If you have an answer to the above question, then use the form below. Otherwise, use the appropriate 'add new comment' button above to post your feedback.
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

Tags:

×8
×3
×1
×1
×1

Asked: Dec 12 '11 at 12:15

Seen: 831 times

Last updated: Sep 24 '12 at 09:47

Plans & prices    Sign up    Why WebFaction?    Contact us    Affiliate program    Support    Legal    Jobs    Blog    Control panel login
Powered by OSQA
© Copyright 2003-2012 Swarma Limited - WebFaction is a service of Swarma Limited