I'll mention where I'm at with my Solaris compile. I'm not in a crisis
state because I'll probably fall back to straight GTK for the very
simple GUI that I need now. However, if anyone has advice, thanks very
much.
As I mentioned before, I succeeded in compiling wxPython on Solaris, but
there were several assertion statements about a glib pointer. The demo
ran great, but the assertions were a little discomforting. Robin pointed
out that I was using the Sun GTK libraries instead of the GNU ones, and
this might be the cause.
I started over and loaded GNU GTK2 libraries from sunfreeware, but then
the wxWidgets configure script fails on the GTK2 test. Inside the
configure script, it is calling essentially the following:
export PATH=/usr/local/bin:$PATH
export CPATH=/usr/local/include
export COMPILER_PATH=/usr/local/bin
export LIBRARY_PATH=/usr/local/lib
export LD_LIBRARY_PATH=/usr/local/lib
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH
gcc -o conftest -threads -I/usr/local/include/gtk-2.0 \
-I/usr/local/lib/gtk-2.0/include \
-I/usr/local/include/atk-1.0 -I/usr/local/include/pango-1.0 \
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
\
-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES .conftest.c \
-threads -L/usr/local/lib \
-lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0
-lpangox-1.0 \
-lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lgthread-2.0 \
-lglib-2.0 -liconv -lm
I get tons of errors like below about missing gdk symbols even though
libgdk-x11-2.0.la and libgdk-x11-2.0.so are in /usr/local/lib.
Undefined first referenced
symbol in file
gdk_drawable_get_display /usr/local/lib/libgtk-x11-2.0.so
gdk_window_set_geometry_hints /usr/local/lib/libgtk-x11-2.0.so
gdk_colormap_query_color /usr/local/lib/libgtk-x11-2.0.so
gdk_draw_rgb_image_dithalign /usr/local/lib/libgtk-x11-2.0.so
gdk_window_destroy /usr/local/lib/libgtk-x11-2.0.so
gdk_display_get_core_pointer /usr/local/lib/libgtk-x11-2.0.so
gdk_gc_set_clip_rectangle /usr/local/lib/libgtk-x11-2.0.so
...
Tim Gee
R&D Engineer - Image Science and Machine Vision Group
Oak Ridge National Laboratory - Oak Ridge, TN 37831
Bethel Valley Rd.; Bldg. 3500, MS 6010, Rm. D18
phone: (865) 574-0338; fax (865) 576-8380; geetf@ornl.gov
ยทยทยท
-----Original Message-----
From: Robin Dunn [mailto:robin@alldunn.com]
Sent: Monday, August 23, 2004 6:56 PM
To: wxPython-users@lists.wxwidgets.org
Subject: Re: [wxPython-users] Solaris compile
Tim Gee wrote:
I finally got the Solaris compile complete. It took quite a while.
Since
this was discussed earlier, I'll give the gory details.
Thanks!
I downloaded these packages from sunfreeware:
gcc_small-3.4.1-sol9-sparc-local
make-3.80-sol9-sparc-local
ncurses-5.4-sol9-sparc-local
glib-2.2.3-sol9-sparc-local
libiconv-1.8-sol9-sparc-local
atk-1.2.4-sol9-sparc-local
expat-1.95.5-sol9-sparc-local
freetype-2.1.7-sol9-sparc-local
zlib-1.2.1-sol9-sparc-local
fontconfig-2.2.0-sol9-sparc-local
pango-1.2.5-sol9-sparc-local
mesa-6.0-sol9-sparc-local
gtk+-1.2.10-sol9-sparc-localI may not have needed all of them.
If you're doing a gtk2 build then you don't need the last one.
====================================
I also installed these two, but I later removed them:
gtk-2.2.4-sol9-sparc-local
python-2.3.3-sol9-sparc-localThe gtk package blocked when installing the other one,
Which other one?
and I didn't see
wx-config in gtk-2.2.4-sol9-sparc-local.
wx-config comes from wxWidgets and is generated by the configure step
you did when building it. If you meant to say gtk-config then it is not
used in GTK2, they use pkg-config instead.
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!
---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org