Irssi and glib

apps

#1

i’m trying to install irssi in my home directory but configure can’t find glib:
checking for GLIB - version >= 2.0.0… no
*** Could not run GLIB test program, checking why…
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GLIB was incorrectly installed
*** or that you have moved GLIB since it was installed. In the latter case, you
*** may want to edit the pkg-config script: /usr/bin/pkg-config
*** trying without -lgmodule
checking for pkg-config… (cached) /usr/bin/pkg-config
checking for GLIB - version >= 2.0.0… no
*** Could not run GLIB test program, checking why…
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GLIB was incorrectly installed
*** or that you have moved GLIB since it was installed. In the latter case, you
*** may want to edit the pkg-config script: /usr/bin/pkg-config
checking for glib-config… no
checking for GLIB - version >= 1.2.0… no
*** The glib-config script installed by GLIB could not be found
*** If GLIB was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the GLIB_CONFIG environment variable to the
*** full path to glib-config.
*** trying without -lgmodule
checking for glib-config… (cached) no
checking for GLIB - version >= 1.2.0… no
*** The glib-config script installed by GLIB could not be found
*** If GLIB was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the GLIB_CONFIG environment variable to the
*** full path to glib-config.

however it is installed on the server:

ii libglib1.2 1.2.10-9 The GLib library of C routines
ii libglib2.0-0 2.6.4-1 The GLib library of C routines

any ideas?


#2

Is glib installed on your server by dreamhost, or did you install it your self? I’m not seeing it on my server, so I’m not sure.

You may be able to use prefix= to help your compile find glib.

–Matttail
art.googlies.net - personal website


#3

As I said:

it is installed on the server:

ii libglib1.2 1.2.10-9 The GLib library of C routines
ii libglib2.0-0 2.6.4-1 The GLib library of C routines

and --prefix is for where you want irssi installed, not for where it should find libraries:

–prefix=PREFIX install architecture-independent files in PREFIX
[/usr/local]

I could install my own local version of glib, but that would be redundant…


#4

isnt installing irc clients a violation of the TOS?


#5

i can’t quite be motivated to read the TOS right now. but firstly, if you actually use the irc process, why would they object? and secondly, if it’s against the TOS to use irc clients, then why is ircII installed by default on their machines?


#6

isnt installing irc clients a violation of the TOS?

IRC clients are not persistent processes. That is, they run while you’re using them, and then stop running when you log out, the same as any other application you run in a shell (see also: mutt, pine, vi, etc). I suspect the rule you mention is actually referring to IRC bots. An IRC bot is a program that runs continuously and, basically, simulates a user logged into one or more IRC channels. Bots are definitely persistent processes, while IRC clients are not.


If you want useful replies, ask smart questions.


#7

Right, it’s mainly the bots they don’t like. Here’s the relevant paragraph from the TOS.

The customer agrees to make use of DreamHost Webhosting servers primarily for the purpose of hosting a website, and associated email functions. Servers are shared with other customers, and as such IRC-related activities, BitTorrent software, or severely CPU intensive CGI scripts (e.g. chat scripts, scripts which have bugs causing them to not close properly after being run) are not encouraged. IRC bots and bouncers (BNC) as well as BitTorrent software specifically may not be run on any DreamHost Webhosting server, and if your processes are adversely affecting server performance disproportionately DreamHost Webhosting reserves the right to negotiate additional charges with the Customer and/or the discontinuation of the offending processes.

–Matttail
art.googlies.net - personal website


#8

"Servers are shared with other customers, and as such IRC-related activities… are not encouraged. "

hopping on to a irc server to say hi to your “G’s” is considered a irc related activity. i just dont want the server to get a bot-net attack or get compromised in anyway just because someone ticked a dalnet user off.
my data is on dreamhost servers, i guess i should move it to a more secure location if you guys find it “ok” to use irc.

also irc can be a continuous process if you run screen and let it run in the background.