Problems
Shawn Haggett
freakchild at ihug.com.au
Tue Jan 6 00:31:16 GMT 2004
A warning up first, this is long, and I'm looking for help and not sure if
this is the right place. If not please direct me in the right direction and
ignore this. I tried posting in the forums, but that didn't get any
response, so i thought I would try the mailing list...... here it is:
Hi. I'm kinda new to Linux, but I must say this is a great distro. However I'm
having trouble with a couple of the packages. I'm not sure if I'm in the
right place, so my appoligies if I'm not. I'm trying to install gnome2. As
one of the dependencies somewhere it tries to install apmd. However it
complains about a missing file:
gcc -c -O2 -mcpu=pentium3 -march=pentium3 -Wall -pipe -I.
-I/usr/src/linux/include -I/usr/src/linux-2.2/include
-I /usr/src/linux-2.0/include -DVERSION=\"3.0.2\"
-DAPMD_PROXY_NAME=\"/etc/apmd_proxy\" apmsleep.c
In file included from /usr/src/linux/include/linux/spinlock.h:4,
from apmsleep.c:52:
/usr/src/linux/include/linux/config.h:4:28: linux/autoconf.h: No such file or
directory
apmsleep.c: In function `main':
apmsleep.c:122: warning: implicit declaration of function `exit'
/usr/include/bits/sigset.h: At top level:
apmsleep.c:68: warning: `rcsid' defined but not used
make: *** [apmsleep.o] Error 1
autoconf.h is not on my system anywhere. Also it appears to be looking in the
linux source tree, instead of the /usr/include, which is where I thought the
header files were supposed to reside. Is this file generated by something, or
should it have come with the linux source?
Also, while I'm here, I'm having another problem. When I try to install
wxPython it will die, The final gcc produces a whole heap of warnings, with a
final fatal error:
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes
-O2 -mcpu=pentium3 -march=pentium3 -fPIC -DSWIG_GLOBAL -DHAVE_CONFIG_H
-DWXP_USE_THREAD=1 -UNDEBUG -Isrc -I/usr/include/python2.3 -c src/helpers.cpp
-o build-gtk2/temp.linux-i686-2.3/src/helpers.o -I/usr/lib/wx/include/gtk-2.4
-DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
-I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0
-I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
In file included from /usr/include/gtk-2.0/gdk/gdkcolor.h:4,
from /usr/include/gtk-2.0/gdk/gdk.h:30,
from /usr/include/gtk-2.0/gtk/gtk.h:31,
from src/helpers.cpp:26:
/usr/include/gtk-2.0/gdk/gdktypes.h:78: conflicting types for `typedef struct
_GdkAtom*GdkAtom'
/usr/include/wx/defs.h:2063: previous declaration as `typedef gulong GdkAtom'
/usr/include/gtk-2.0/gdk/gdktypes.h:104: conflicting types for `typedef
struct
_GdkDrawable GdkBitmap'
/usr/include/wx/defs.h:2065: previous declaration as `typedef struct
_GdkWindow
GdkBitmap'
/usr/include/gtk-2.0/gdk/gdktypes.h:105: conflicting types for `typedef
struct
_GdkDrawable GdkPixmap'
/usr/include/wx/defs.h:2066: previous declaration as `typedef struct
_GdkWindow
GdkPixmap'
/usr/include/gtk-2.0/gdk/gdktypes.h:106: conflicting types for `typedef
struct
_GdkDrawable GdkWindow'
/usr/include/wx/defs.h:2064: previous declaration as `typedef struct
_GdkWindow
GdkWindow'
In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:32,
from /usr/include/gtk-2.0/gtk/gtkwidget.h:32,
from /usr/include/gtk-2.0/gtk/gtkmisc.h:32,
from /usr/include/gtk-2.0/gtk/gtklabel.h:31,
from /usr/include/gtk-2.0/gtk/gtkaccellabel.h:34,
from /usr/include/gtk-2.0/gtk/gtk.h:33,
from src/helpers.cpp:26:
/usr/include/gtk-2.0/gtk/gtktypeutils.h:66:1: warning: "GTK_CLASS_TYPE"
redefined
In file included from /usr/include/wx/wx.h:15,
from src/helpers.h:16,
from src/helpers.cpp:16:
/usr/include/wx/defs.h:2095:1: warning: this is the location of the previous
definition
In file included from /usr/include/gtk-2.0/gtk/gtkwidget.h:32,
from /usr/include/gtk-2.0/gtk/gtkmisc.h:32,
from /usr/include/gtk-2.0/gtk/gtklabel.h:31,
from /usr/include/gtk-2.0/gtk/gtkaccellabel.h:34,
from /usr/include/gtk-2.0/gtk/gtk.h:33,
from src/helpers.cpp:26:
/usr/include/gtk-2.0/gtk/gtkobject.h:46:1: warning: "GTK_OBJECT_GET_CLASS"
rede ined
In file included from /usr/include/wx/wx.h:15,
from src/helpers.h:16,
from src/helpers.cpp:16:
/usr/include/wx/defs.h:2094:1: warning: this is the location of the previous
de inition
In file included from src/helpers.cpp:28:
/usr/include/wx/gtk/win_gtk.h:23:29: gtk/gtkfeatures.h: No such file or
directo y
src/helpers.cpp: In function `long int wxPyGetWinHandle(wxWindow*)':
src/helpers.cpp:1616: `GdkWindowPrivate' undeclared (first use this function)
src/helpers.cpp:1616: (Each undeclared identifier is reported only once for
each function it appears in.)
src/helpers.cpp:1616: `bwin' undeclared (first use this function)
src/helpers.cpp:1616: syntax error before `)' token
error: command 'gcc' failed with exit status 1
My C++ isn't very good, but from what I can tell, the final fatal error in
src/helpers.cpp:1616, there is a declaration of a pointer, but it thinks the
name used is a function that it can't find for some reason. Also the type of
the pointer 'GdkWindowPrivate' is complained about as an undeclared function
also.
Any help with either of these problems would be great, thanks.
--
To see you is to sympathize.
More information about the Lunar
mailing list