Click to See Complete Forum and Search --> : Problems getting GD Working (libXpm)


Tenny
03-22-2005, 07:49 PM
So I've been trying to get GD Working on my server.

Server is running FC2, with Cpanel 10.

I tried the /scripts/easyapache and selected #4 (with gd) and it came up with:

configure: error: libjpeg.(a|so) not found.

So I installed libjpeg, without any problems, now it's giving me a new error:

configure: error: libXpm.(a|so) not found.

Now this one has been extremly hard for me, as my server does not have imake installed. So I went around and installed itools, and tried agian, and now it gives me:

root@server1 [/usr/src/xpm-3.4k]# xmkmf -a
-bash: xmkmf: command not found

So imake is not installed i guess, i found an rpm for imake, tried installing it, but it said something along the lines of it's already installed? So I tried the non-imake version, and it gives me tons of errors such as:

sxpm.c:660: error: syntax error before '*' token
sxpm.c:660: warning: data definition has no type or storage class
sxpm.c:661: error: syntax error before '*' token
sxpm.c:661: warning: data definition has no type or storage class
sxpm.c:662: error: syntax error before '{' token
sxpm.c:665: error: syntax error before '&' token
make[1]: *** [sxpm.o] Error 1
In file included from ../lib/XpmI.h:45,
from cxpm.c:36:

And much more, enough to fill up my ssh screen.

Any ideas on how to get this done? I have searched all over the internet and can't seem to get it.

So I am still stuck at this point, and don't have any clue what to try.

Tenny
03-23-2005, 02:15 AM
Here's a bit more:

root@server1 [~]# rpm -ivh xpm-3.4k-2.i386.rpm
warning: xpm-3.4k-2.i386.rpm: V3 DSA signature: NOKEY, key ID db42a60e
Preparing... ########################################### [100%]
file /usr/X11R6/lib/libXpm.so.4.11 from install of xpm-3.4k-2 conflicts with file from package XFree86-libs-4.3.0-42

Choozo
03-23-2005, 02:59 AM
'xmkmf' is probably not within your $PATH.
Try locating 'xmkmf' first, and then append the directory path to $PATH, e.g.:

[bash prompt]$ locate xmkmf
/opt/somewhere/xmkmf
[bash prompt]$ export PATH=$PATH:/opt/somewhere

Tenny
03-23-2005, 05:33 AM
Alright I tried what you said, at least i think i did.


root@server1 [~]# locate xmkmf
root@server1 [~]#

Choozo
03-23-2005, 06:01 AM
Well then, 'xmkmf' is not installed/present. (Not sure what 'xmkmf' really is, or if that is the correct command?)