18 Jun, 2008, Zeno wrote in the 1st comment:
Votes: 0
Got a VPS, working on installing packages. I got to zlib…

Quote
rpm -q zlib
zlib-1.2.3-3


So it seems I have zlib.

But when I try to compile FUSS:
Quote
In file included from comm.c:30:
mccp.h:18:18: error: zlib.h: No such file or directory
mccp.h:33: error: ISO C++ forbids declaration of 'z_stream' with no type
mccp.h:33: error: expected ';' before '*' token


[EDIT] Was fixed after installing php/etc for some reason. Now I'm trying to figure out how to boot mysql. :P
18 Jun, 2008, Guest wrote in the 2nd comment:
Votes: 0
For the record, having zlib by itself isn't enough. You also need zlib-devel. Which I suppose got installed when you installed PHP.
18 Jun, 2008, Zeno wrote in the 3rd comment:
Votes: 0
Ah, no wonder. Thanks.

How about MySQL for C? What do I need for that?
board.c:30:25: error: mysql/mysql.h: No such file or directory

(Looking over yum packages now)
18 Jun, 2008, Itansha wrote in the 4th comment:
Votes: 0
Assuming you're using a redhat related system, you'll also need to install the mysql-devel packages. In general, the plain package name is just the binary application and the libraries for compiling against are installed with "-devel"
19 Jun, 2008, Zeno wrote in the 5th comment:
Votes: 0
Thanks, that was it.

I'll keep this topic going for VPS issues I suppose. The MUD ran fine, but is now frozen. This is the bt:
(gdb) bt
#0 0xb7fe57f2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
#1 0xb7ddfec1 in accept () from /lib/libc.so.6
#2 0x081f847e in handle_web () at web-server.c:172
#3 0x080e12d0 in game_loop () at comm.c:1183
#4 0x080e04fe in main (argc=2, argv=0xbfda2864) at comm.c:626

(gdb) next
Single stepping until exit from function _dl_sysinfo_int80,
which has no line number information.

Not sure why it froze.
[EDIT] Returned out of handle_web manually, tried it again. Worked fine.
0.0/5