Compile problem on Mandriva 2006
Anders Lind
sunshinecoast at swipnet.se
Mon Dec 5 22:24:12 CET 2005
Hello Roger,
I had the same with 4.2.3.1...thanks for the tip, gonna try it tomorrow
when I have the time
Cheers
Anders
On Tue, 6 Dec 2005 08:11:08 +1100
roger <rstmp at iinet.com.au> wrote:
> Hi Anders,
>
> I would say that you can get similar error messages when there is a bad
> "#define" somewhere.
> e.g. #define my_type "Hello"
> ...
> void my_function (my_type p);
>
> Is the problem only with xfce 4.2.3.2 - did you manage to compile a previous
> xfce release?
>
> Anyway, I've compiled xfce-4.2.3.2 on my Mandriva 2006 system (gcc 4.0.1, gtk
> 2.8.3) with success.
> Here is how I've done it:
> 1 - dbh 1.0.24 rpm downloaded from Contrib
> 2 - the rest of xfce compiled from source, installed in /usr/local (except for
> gtk-xfce-engine installed in /usr):
> installDir=/usr/local
> GTKinstallDir=/usr
> export PKG_CONFIG_PATH=$installDir/lib/pkgconfig:/usr/lib/pkgconfig
> export CFLAGS='-march=pentium4 -O3' # (or whatever you have/want)
> for each xfce component (except the gtk engine)
> configure --prefix=$installDir --datadir=$installDir/share
> --sysconfdir=$installDir/etc/X11
> make && make check && make install
> for gtk-xfce-engine
> did the same after having replaced installDir by GTKinstallDir
>
> Cheers,
> Roger
>
> On Mon, 5 Dec 2005 20:33, Anders Lind wrote:
> > Hell friends,
> >
> > I posted this last week, and I haven't seen any reply to this, but I might
> > have missed it
> >
> > I am trying to compile 4.2.3.2 on Mandriva 2006 but I guess the following
> > error when I try to compile libxfcegui4 (On a related note is there
> > somebody that knows if somebody has made RPM's for Mandriva 2006)
> >
> > In file included from /usr/include/gtk-2.0/gdk/gdkcairo.h:25,
> > from /usr/include/gtk-2.0/gdk/gdk.h:30,
> > from /usr/include/gtk-2.0/gtk/gtk.h:31,
> > from dialogs.c:45:
> > /usr/include/pango-1.0/pango/pangocairo.h:66: error: syntax error before
> > '*' token
> > /usr/include/pango-1.0/pango/pangocairo.h:67: error: syntax error before
> > '*' token
> > /usr/include/pango-1.0/pango/pangocairo.h:67: warning: data definition has
> > no type or storage class
> > In file included from /usr/include/gtk-2.0/gdk/gdk.h:50,
> > from /usr/include/gtk-2.0/gtk/gtk.h:31,
> > from dialogs.c:45:
> > /usr/include/gtk-2.0/gdk/gdkscreen.h:51: error: syntax error before
> > 'cairo_font_options_t'
> > /usr/include/gtk-2.0/gdk/gdkscreen.h:51: warning: no semicolon at end of
> > struct or union
> > /usr/include/gtk-2.0/gdk/gdkscreen.h:53: error: syntax error before '}'
> > token
> > /usr/include/gtk-2.0/gdk/gdkscreen.h:106: error: syntax error before '*'
> > token
> > /usr/include/gtk-2.0/gdk/gdkscreen.h:107: error: syntax error before '*'
> > token
> > /usr/include/gtk-2.0/gdk/gdkscreen.h:107: warning: data definition has no
> > type or storage class
> > make[2]: *** [libxfcegui4_la-dialogs.lo] Error 1
> > make[2]: Leaving directory
> > `/home/anders/xfce-4.2.3.2/src/libxfcegui4-4.2.3/libxfcegui4'
> > make[1]: *** [all-recursive] Error 1
> > make[1]: Leaving directory
> > `/home/anders/xfce-4.2.3.2/src/libxfcegui4-4.2.3' make: *** [all] Error 2
> > [root at c-6243e055 libxfcegui4-4.2.3]#
> >
> > ------
> > Best Regards,
> > Anders
> >
> > "Economic power is exercised by means of a positive,
> > by offering men a reward, an incentive, a payment, a
> > value; political power is exercised by means of a negative,
> > by the threat of punishment, injury, imprisonment, destruction.
> > The businessman's tool is values; the bureaucrat's tool is fear."
> >
> > Ayn Rand
> >
> > _______________________________________________
> > Xfce mailing list
> > Xfce at xfce.org
> > http://foo-projects.org/mailman/listinfo/xfce
> > http://www.xfce.org
> _______________________________________________
> Xfce mailing list
> Xfce at xfce.org
> http://foo-projects.org/mailman/listinfo/xfce
> http://www.xfce.org
--
"The right of a nation to determine its own
form of government does not include the right
to establish a slave society (that is, to
legalize the enslavement of some men by others).
There is no such thing as "the right to enslave."
A nation can do it, just as a man can become a
criminal- but neither can do it by right."
Ayn Rand
More information about the Xfce
mailing list