View previous topic :: View next topic |
Author |
Message |
lurid Guru
Joined: 12 Mar 2003 Posts: 595 Location: Florida
|
Posted: Thu Mar 27, 2003 8:39 am Post subject: wxPython problems (again) |
|
|
Tried to emerge PySoulSeek once before. wxPython wouldn't install. I moved to a lower version of both wxPython and PySoulSeek and it installed. In a recent 'emerge -u world' I ran into problems with it trying to upgrade both wxPython and PySoulSeek. wxPython died as usual. So.. wanting to be able to update the other packages I removed both wxPython and PySoulSeek with the intention of reinstalling them later. Well, now they've disapeared from the portage tree. Apparently I *have* to use this version. So. Here is the output from emerge. Tad long, but see if you can spot the error. Keep in mind this is not an upgrade now, but a clean install.
Code: | root@virulent lurid # emerge pysoulseek
Calculating dependencies ...done!
>>> emerge (1 of 2) dev-python/wxPython-2.4.0.2 to /
[.. snip ..]
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:2055: 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:2057: 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:2058: 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:2056: 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:2087: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" 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:2086:1: warning: this is the location of the previous definition
In file included from src/helpers.cpp:28:
/usr/include/wx/gtk/win_gtk.h:23:29: gtk/gtkfeatures.h: No such file or directory
src/helpers.cpp: In function `long int wxPyGetWinHandle(wxWindow*)':
src/helpers.cpp:1437: `GdkWindowPrivate' undeclared (first use this function)
src/helpers.cpp:1437: (Each undeclared identifier is reported only once for
each function it appears in.)
src/helpers.cpp:1437: `bwin' undeclared (first use this function)
src/helpers.cpp:1437: parse error before `)' token
error: command 'gcc' failed with exit status 1
!!! ERROR: dev-python/wxPython-2.4.0.2 failed.
!!! Function src_compile, Line 53, Exitcode 1
!!! build failed |
|
|
Back to top |
|
|
jl_dodd n00b
Joined: 11 Jan 2003 Posts: 48
|
Posted: Fri Apr 18, 2003 4:20 pm Post subject: same prob |
|
|
i have the same problem but with wxPython-2.4.0.1
if some one can help let me know please i will send in my print out in my next post when it finishs
i had to edit my Makefile if that could cause it let me now for i can set it back i just get a gcc error i will post the print out shortly
thanks in advance jl_dodd _________________ jl_dodd
"Ideals are like stars. You will not succeed in
touching them with your hands, but like the
seafaring man on the desert of waters,, you
chose them as your guides, and following them
to your destiny" - Carl Schurz |
|
Back to top |
|
|
jl_dodd n00b
Joined: 11 Jan 2003 Posts: 48
|
Posted: Fri Apr 18, 2003 4:38 pm Post subject: |
|
|
here is the print out
g++ -DNDEBUG -fPIC -DSWIG_GLOBAL -DHAVE_CONFIG_H -DWXP_USE_THREAD=1 -Isrc -Icontrib/xrc/contrib/src/xrc/expat/xmlparse -Icontrib/xrc/contrib/src/xrc/expat/xmltok -Icontrib/xrc/contrib/include -I/usr/include/python2.2 -c contrib/xrc/contrib/src/xrc/expat/xmlparse/xmlparse.c -o build/temp.linux-i686-2.2/contrib/xrc/contrib/src/xrc/expat/xmlparse/xmlparse.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-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -UNDEBUG -O2 -mcpu=i686 -pipe -O2 -mcpu=i686 -pipe -O2 -mcpu=i686 -pipe -O2 -mcpu=i686 -pipe -O2 -mcpu=i686 -pipe -O2 -mcpu=i686 -pipe -O2 -mcpu=i686 -pipe -O2 -mcpu=i686 -pipe -O2 -mcpu=i686 -pipe -O2 -mcpu=i686 -pipe
contrib/xrc/contrib/src/xrc/expat/xmlparse/xmlparse.c: In function `void*
XML_ParserCreate(const XML_Char*)':
contrib/xrc/contrib/src/xrc/expat/xmlparse/xmlparse.c:501: invalid conversion
from `void*' to `ATTRIBUTE*'
contrib/xrc/contrib/src/xrc/expat/xmlparse/xmlparse.c:503: invalid conversion
from `void*' to `XML_Char*'
contrib/xrc/contrib/src/xrc/expat/xmlparse/xmlparse.c: In function `int
XML_Parse(void*, const char*, int, int)':
contrib/xrc/contrib/src/xrc/expat/xmlparse/xmlparse.c:912: invalid conversion
from `void*' to `char*'
contrib/xrc/contrib/src/xrc/expat/xmlparse/xmlparse.c: In function `void*
XML_GetBuffer(void*, int)':
contrib/xrc/contrib/src/xrc/expat/xmlparse/xmlparse.c:972: invalid conversion
from `void*' to `char*'
contrib/xrc/contrib/src/xrc/expat/xmlparse/xmlparse.c: In function `XML_Error
doContent(void*, int, const ENCODING*, const char*, const char*, const
char**)':
contrib/xrc/contrib/src/xrc/expat/xmlparse/xmlparse.c:1329: invalid conversion
from `void*' to `TAG*'
contrib/xrc/contrib/src/xrc/expat/xmlparse/xmlparse.c:1332: invalid conversion
from `void*' to `char*'
contrib/xrc/contrib/src/xrc/expat/xmlparse/xmlparse.c:1349: invalid conversion
from `void*' to `char*'
contrib/xrc/contrib/src/xrc/expat/xmlparse/xmlparse.c:1376: invalid conversion
from `void*' to `char*'
contrib/xrc/contrib/src/xrc/expat/xmlparse/xmlparse.c: In function `XML_Error
storeAtts(void*, const ENCODING*, const char*, TAG_NAME*, BINDING**)':
contrib/xrc/contrib/src/xrc/expat/xmlparse/xmlparse.c:1639: invalid conversion
from `void*' to `ATTRIBUTE*'
contrib/xrc/contrib/src/xrc/expat/xmlparse/xmlparse.c:1812: invalid conversion
from `void*' to `XML_Char*'
contrib/xrc/contrib/src/xrc/expat/xmlparse/xmlparse.c: In function `int
addBinding(void*, PREFIX*, const ATTRIBUTE_ID*, const XML_Char*,
BINDING**)':
contrib/xrc/contrib/src/xrc/expat/xmlparse/xmlparse.c:1840: invalid conversion
from `void*' to `XML_Char*'
contrib/xrc/contrib/src/xrc/expat/xmlparse/xmlparse.c:1848: invalid conversion
from `void*' to `BINDING*'
contrib/xrc/contrib/src/xrc/expat/xmlparse/xmlparse.c:1851: invalid conversion
from `void*' to `XML_Char*'
contrib/xrc/contrib/src/xrc/expat/xmlparse/xmlparse.c: In function `XML_Error
doProlog(void*, const ENCODING*, const char*, const char*, int, const char*,
const char**)':
contrib/xrc/contrib/src/xrc/expat/xmlparse/xmlparse.c:2620: invalid conversion
from `void*' to `char*'
contrib/xrc/contrib/src/xrc/expat/xmlparse/xmlparse.c:2622: invalid conversion
from `void*' to `char*'
contrib/xrc/contrib/src/xrc/expat/xmlparse/xmlparse.c: In function `int
defineAttribute(ELEMENT_TYPE*, ATTRIBUTE_ID*, int, int, const XML_Char*)':
contrib/xrc/contrib/src/xrc/expat/xmlparse/xmlparse.c:3178: invalid conversion
from `void*' to `DEFAULT_ATTRIBUTE*'
contrib/xrc/contrib/src/xrc/expat/xmlparse/xmlparse.c:3183: invalid conversion
from `void*' to `DEFAULT_ATTRIBUTE*'
contrib/xrc/contrib/src/xrc/expat/xmlparse/xmlparse.c: In function `NAMED*
lookup(HASH_TABLE*, const XML_Char*, unsigned int)':
contrib/xrc/contrib/src/xrc/expat/xmlparse/xmlparse.c:3674: invalid conversion
from `void*' to `NAMED**'
contrib/xrc/contrib/src/xrc/expat/xmlparse/xmlparse.c:3694: invalid conversion
from `void*' to `NAMED**'
contrib/xrc/contrib/src/xrc/expat/xmlparse/xmlparse.c:3716: invalid conversion
from `void*' to `NAMED*'
contrib/xrc/contrib/src/xrc/expat/xmlparse/xmlparse.c: In function `int
poolGrow(STRING_POOL*)':
contrib/xrc/contrib/src/xrc/expat/xmlparse/xmlparse.c:3897: invalid conversion
from `void*' to `BLOCK*'
contrib/xrc/contrib/src/xrc/expat/xmlparse/xmlparse.c:3912: invalid conversion
from `void*' to `BLOCK*'
error: command 'g++' failed with exit status 1
!!! ERROR: dev-python/wxPython-2.4.0.1 failed.
!!! Function src_compile, Line 53, Exitcode 1
!!! build failed _________________ jl_dodd
"Ideals are like stars. You will not succeed in
touching them with your hands, but like the
seafaring man on the desert of waters,, you
chose them as your guides, and following them
to your destiny" - Carl Schurz |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|