D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

[LUG] Installing XChat 2.4.6 from source

 

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi All,

I've put a request in the forums on xchat.org about this but wondered
if you could possibly throw any light on it?

Unpacked the bz2 in /usr/src as su and ran the ./configure which went
OK and completed, but in the middle had the error below.  It seems to
be saying my Python install is bad.  Any ideas why that could be?

checking for python... /usr/bin/python
checking Python version... Traceback (most recent call last):
  File "<string>", line 1, in ?
  File "/usr/lib/python2.3/distutils/sysconfig.py", line 490, in
get_config_vars
    func()
  File "/usr/lib/python2.3/distutils/sysconfig.py", line 360, in
_init_posix
    raise DistutilsPlatformError(my_msg)
distutils.errors.DistutilsPlatformError: invalid Python installation:
unable to
open /usr/lib/python2.3/config/Makefile (No such file or directory)
Traceback (most recent call last):
  File "<string>", line 1, in ?
  File "/usr/lib/python2.3/distutils/sysconfig.py", line 490, in
get_config_vars
    func()
  File "/usr/lib/python2.3/distutils/sysconfig.py", line 360, in
_init_posix
    raise DistutilsPlatformError(my_msg)
distutils.errors.DistutilsPlatformError: invalid Python installation:
unable to
open /usr/lib/python2.3/config/Makefile (No such file or directory)

After the ./configure (as I hadn't spotted the above error) I ran
make.  That completed the first time but I noticed it hadn't created a
GUI because it didn't like the version of GTK I had.  So I corrected
that, reran the ./configure (again missing the Python problem
*sigh*).  This time I got the below in the 'make'.  Obviously
something is screwy with python and/or gtk.

Making all in fe-gtk
make[3]: Entering directory `/usr/src/xchat-2.6.4/src/fe-gtk'
depbase=`echo pixmaps.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; \
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DXTHREADS
- -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include
- -I/usr/include/atk-1.0 -I/usr/include/pango-1.0
- -I/usr/include/freetype2 -I/usr/include/glib-2.0
- -I/usr/lib/glib-2.0/include   -DG_DISABLE_CAST_CHECKS
- -DLOCALEDIR=\"/usr/local/share/locale\"    -g -O2 -Wall -pipe
- -funsigned-char    -MT pixmaps.o -MD -MP -MF "$depbase.Tpo" -c -o
pixmaps.o pixmaps.c; \
then mv -f "$depbase.Tpo" "$depbase.Po"; else rm -f "$depbase.Tpo";
exit 1; fi
pixmaps.c: In function `pixmaps_init':
pixmaps.c:99: error: `bookpng' undeclared (first use in this function)
pixmaps.c:99: error: (Each undeclared identifier is reported only once
pixmaps.c:99: error: for each function it appears in.)
pixmaps.c:100: error: `xchatpng' undeclared (first use in this function)
pixmaps.c:103: error: `hoppng' undeclared (first use in this function)
pixmaps.c:104: error: `purplepng' undeclared (first use in this function)
pixmaps.c:105: error: `redpng' undeclared (first use in this function)
pixmaps.c:106: error: `oppng' undeclared (first use in this function)
pixmaps.c:107: error: `voicepng' undeclared (first use in this function)
make[3]: *** [pixmaps.o] Error 1
make[3]: Leaving directory `/usr/src/xchat-2.6.4/src/fe-gtk'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/xchat-2.6.4/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/xchat-2.6.4'
make: *** [all] Error 2

Suggestions on fixes welcomed please :)

Kind regards,

Julian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEmwYUjs/5IBdCO1ERAsFyAJ9+A0Tf0Bx1RmO4BAmAEzcRKApoZwCfbBUO
T6IqTUoMxG91ACAfVovuNaY=
=C6NR
-----END PGP SIGNATURE-----


-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html