gnupic: Re: [gnupic] gpsim compliation problems - gtkextra-2.0


Previous by date: 5 Oct 2005 00:20:53 +0100 Re: [gnupic] gpsim compliation problems - gtkextra-2.0, Eamon Skelton
Next by date: 5 Oct 2005 00:20:53 +0100 ANNOUNCE: gpsim-0.21.11, Scott Dattalo
Previous in thread: 5 Oct 2005 00:20:53 +0100 Re: [gnupic] gpsim compliation problems - gtkextra-2.0, Eamon Skelton
Next in thread: 5 Oct 2005 00:20:53 +0100 Re: [gnupic] gpsim compliation problems - gtkextra-2.0, Scott Dattalo

Subject: Re: [gnupic] gpsim compliation problems - gtkextra-2.0
From: Peter Chant ####@####.####
Date: 5 Oct 2005 00:20:53 +0100
Message-Id: <200510050020.46740.pete@petezilla.co.uk>

On Tuesday 04 October 2005 22:57, Eamon Skelton wrote:

Thanks to all above, followed the advice and use the snippet below:

>
> export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig && ./configure
>
> works for me. Slackware 10.2 x86.
>
> E.S.

I copied:

 cp /usr/src/gtk+extra-1.1.0/gtkextra-2.0.pc /usr/lib/pkgconfig/


Unfortunately it now falls over later on, and also configure seems to think 
GTK+ is not installed:

"gpsim-0.21.4 is now configured for

  Build:                i686-pc-linux-gnu
  Host:                 i686-pc-linux-gnu
  Source directory:     .
  Installation prefix:  /usr/local
  C compiler:           gcc  -g -O2
  C++ compiler:         g++  -g -O2

  gui:                  yes
  GTK+ 1.x              no"

The last bit of make, when it goes wrong chucks out:

g++ -DHAVE_CONFIG_H -I. -I. -I.. -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API 
-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/freetype2/con
fig -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DXTHREADS 
-D_REENTRANT -DXUSE_MTSAFE_API -I/usr/local/include/gtkextra-2.0 
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -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/freetype2/config -D 
"DATADIR=\"~/.gpsim/\"" -D "DATADIR=\"~/.gpsim/\"" -g -O2 -c 
gui_profile.cc -MT gui_profile.lo -MD -MP -MF .deps/gui_profile.TPlo
-fPIC -DPIC -o .libs/gui_profile.lo
gui_profile.cc: In function `int plot_profile(Profile_Window*, char**,
   guint64*, int)':
gui_profile.cc:806: error: cannot convert `GtkPlot*' to `GtkPlotAxis*' for
   argument `1' to `void gtk_plot_axis_show_labels(GtkPlotAxis*, int)'
gui_profile.cc:807: error: cannot convert `GtkPlot*' to `GtkPlotAxis*' for
   argument `1' to `void gtk_plot_axis_show_labels(GtkPlotAxis*, int)'
gui_profile.cc:808: error: cannot convert `GtkPlot*' to `GtkPlotAxis*' for
   argument `1' to `void gtk_plot_axis_show_labels(GtkPlotAxis*, int)'
gui_profile.cc:809: error: cannot convert `GtkPlot*' to `GtkPlotAxis*' for
   argument `1' to `void gtk_plot_axis_set_visible(GtkPlotAxis*, int)'
gui_profile.cc:811: error: `gtk_plot_canvas_add_plot' undeclared (first use
   this function)
gui_profile.cc:811: error: (Each undeclared identifier is reported only 
once
   for each function it appears in.)
gui_profile.cc:812: error: cannot convert `GtkPlot*' to `GtkPlotAxis*' for
   argument `1' to `void gtk_plot_axis_hide_title(GtkPlotAxis*)'
gui_profile.cc:813: error: cannot convert `GtkPlot*' to `GtkPlotAxis*' for
   argument `1' to `void gtk_plot_axis_hide_title(GtkPlotAxis*)'
gui_profile.cc:814: error: cannot convert `GtkPlot*' to `GtkPlotAxis*' for
   argument `1' to `void gtk_plot_axis_hide_title(GtkPlotAxis*)'
gui_profile.cc:815: error: cannot convert `GtkPlot*' to `GtkPlotAxis*' for
   argument `1' to `void gtk_plot_axis_hide_title(GtkPlotAxis*)'
gui_profile.cc:826: error: cannot convert `GtkPlot*' to `GtkPlotAxis*' for
   argument `1' to `void gtk_plot_axis_set_ticks(GtkPlotAxis*, double, 
int)'
gui_profile.cc:831: error: cannot convert `GtkPlot*' to `GtkPlotAxis*' for
   argument `1' to `void gtk_plot_axis_set_labels_style(GtkPlotAxis*,
   GtkPlotLabelStyle, int)'
gui_profile.cc: In function `int plot_routine_histogram(Profile_Window*)':
gui_profile.cc:1099: error: cannot convert `GtkPlot*' to `GtkPlotAxis*' for
   argument `1' to `void gtk_plot_axis_show_labels(GtkPlotAxis*, int)'
gui_profile.cc:1100: error: cannot convert `GtkPlot*' to `GtkPlotAxis*' for
   argument `1' to `void gtk_plot_axis_show_labels(GtkPlotAxis*, int)'
gui_profile.cc:1101: error: cannot convert `GtkPlot*' to `GtkPlotAxis*' for
   argument `1' to `void gtk_plot_axis_set_visible(GtkPlotAxis*, int)'
gui_profile.cc:1103: error: `gtk_plot_canvas_add_plot' undeclared (first 
use
   this function)
gui_profile.cc:1104: error: cannot convert `GtkPlot*' to `GtkPlotAxis*' for
   argument `1' to `void gtk_plot_axis_hide_title(GtkPlotAxis*)'
gui_profile.cc:1105: error: cannot convert `GtkPlot*' to `GtkPlotAxis*' for
   argument `1' to `void gtk_plot_axis_hide_title(GtkPlotAxis*)'
gui_profile.cc:1116: error: cannot convert `GtkPlot*' to `GtkPlotAxis*' for
   argument `1' to `void gtk_plot_axis_set_ticks(GtkPlotAxis*, double, 
int)'
gui_profile.cc:1117: error: cannot convert `GtkPlot*' to `GtkPlotAxis*' for
   argument `1' to `void gtk_plot_axis_set_title(GtkPlotAxis*, const 
gchar*)'
gui_profile.cc:1121: error: cannot convert `GtkPlot*' to `GtkPlotAxis*' for
   argument `1' to `void gtk_plot_axis_set_labels_style(GtkPlotAxis*,
   GtkPlotLabelStyle, int)'
gui_profile.cc:1123: error: cannot convert `GtkPlot*' to `GtkPlotAxis*' for
   argument `1' to `void gtk_plot_axis_set_ticks(GtkPlotAxis*, double, 
int)'
gui_profile.cc:1124: error: cannot convert `GtkPlot*' to `GtkPlotAxis*' for
   argument `1' to `void gtk_plot_axis_set_title(GtkPlotAxis*, const 
gchar*)'
gui_profile.cc:1128: error: cannot convert `GtkPlot*' to `GtkPlotAxis*' for
   argument `1' to `void gtk_plot_axis_set_labels_style(GtkPlotAxis*,
   GtkPlotLabelStyle, int)'
make[2]: *** [gui_profile.lo] Error 1
make[2]: Leaving directory `/usr/src/gpsim-0.21.4/gui'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/gpsim-0.21.4'
make: *** [all] Error 2

Unfotunately, not being a great C, or C++ hacker, I am not really up with 
the tools or mechanics of what is going wrong here.  However, if it works 
with Slack 10.2 I cannot see why it goes wrong with 10.1, maybe I have 
broken my system some time.  I think I have Slack 10.1 on my parents PC 
hidden away, so if it is nothing obvious it might be worth driving there 
and trying to do a compile.  

Pete



Previous by date: 5 Oct 2005 00:20:53 +0100 Re: [gnupic] gpsim compliation problems - gtkextra-2.0, Eamon Skelton
Next by date: 5 Oct 2005 00:20:53 +0100 ANNOUNCE: gpsim-0.21.11, Scott Dattalo
Previous in thread: 5 Oct 2005 00:20:53 +0100 Re: [gnupic] gpsim compliation problems - gtkextra-2.0, Eamon Skelton
Next in thread: 5 Oct 2005 00:20:53 +0100 Re: [gnupic] gpsim compliation problems - gtkextra-2.0, Scott Dattalo


Powered by ezmlm-browse 0.20.