Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 May 2002 22:54:12 -0700
From:      "VVI hostmaster" <xavier@vvi.at>
To:        "'Joe Marcus Clarke'" <marcus@marcuscom.com>
Cc:        <freebsd-gnome@FreeBSD.ORG>
Subject:   RE: FW: bonobo-1.0.18 gnomeprint-0.34  missing on ports and pkgs
Message-ID:  <002201c1f58b$a0465e30$39e1fcd0@xavier2>
In-Reply-To: <1020750162.43213.12.camel@gyros.marcuscom.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Joe,

Thanks the file gzipped got it to start to compile,

but it ended in the (procbar.cc:23: ANSI C++ prohibits conversion from
`(void *)' to `(...)') error again

c++ -DHAVE_CONFIG_H -I. -I. -I../.. -DG_LOG_DOMAIN=\"Gnome--\" -I. 
c++ -I./.. -I.. -I../../src -I../../src -I../../src/gtk-- -I../../gdk--
-I/usr/X11R6/lib/gtkmm/include -I/usr/X11R6/include
-I/usr/X11R6/include/gtk12 -I/usr/local/include/glib12
-I/usr/local/include -I/usr/X11R6/include/gnome-1.0 -I/usr/X11R6/include
-DNEED_GNOMESUPPORT_H -I/usr/X11R6/lib/gnome-libs/include
-I/usr/X11R6/include/gtk12
-I/usr/local/include/glib12 -I/usr/local/include
-I/usr/X11R6/include/gnome-1.0 -I/usr/X11R6/include
-DNEED_GNOMESUPPORT_H -I/usr/X11R6/lib/gnome-libs/include
-I/usr/X11R6/include/gtk12 -I/usr/local/include/glib12
-I/usr/local/include -O -pipe -Wall -Wno-unused -c procbar.cc  -fPIC
-DPIC -o .libs/procbar.lo
procbar.cc: In method `Gnome::ProcBar::ProcBar(const Gtk::Label &, const
vector<Gdk_Color *,allocator<Gdk_Color *> > &, gint (*)(void *))':
procbar.cc:23: ANSI C++ prohibits conversion from `(void *)' to `(...)'
gmake[4]: *** [procbar.lo] Error 1
gmake[4]: Leaving directory
`/usr/ports/x11-toolkits/gnome--/work/gnomemm-1.2.2/src/gnome--'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory
`/usr/ports/x11-toolkits/gnome--/work/gnomemm-1.2.2/src/gnome--'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory
`/usr/ports/x11-toolkits/gnome--/work/gnomemm-1.2.2/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory
`/usr/ports/x11-toolkits/gnome--/work/gnomemm-1.2.2'gmake: ***
[all-recursive-am] Error 2
*** Error code 2

Stop in /usr/ports/x11-toolkits/gnome--.

Jason

-----Original Message-----
From: Joe Marcus Clarke [mailto:marcus@marcuscom.com] 
Sent: Monday, May 06, 2002 10:43 PM
To: Charlie &
Cc: xavier@vvi.at
Subject: Re: FW: bonobo-1.0.18 gnomeprint-0.34 missing on ports and pkgs

On Tue, 2002-05-07 at 01:37, Charlie & wrote:
> Hi marcus,
> 
> Yikes =0
> 
> still the same error

Okay, looks like your mailer is corrupting the patch.  If you do a cksum
on the patch file, you should see:

3688557979 524 patch-src_procbar.gen_h

I bet you don't.  In any event, here is a gzip'd version of the patch. 
Be sure if you're using a Windows mailer, you use binary transfers to
get this to your FreeBSD machine.

Joe

> 
> ursula# make clean
> ===>  Cleaning for esound-0.2.25
> ===>  Cleaning for gnomeaudio-1.4.0
> ===>  Cleaning for libaudiofile-0.2.3
> ===>  Cleaning for libiconv-1.7_4
> ===>  Cleaning for db3-3.2.9_3,1
> ===>  Cleaning for gdbm-1.8.0
> ===>  Cleaning for gnomedb-0.2.96_1
> ===>  Cleaning for libgda-0.2.96_1
> ===>  Cleaning for ORBit-0.5.15_1
> ===>  Cleaning for bison-1.35_1
> ===>  Cleaning for bonobo-1.0.20_2
> ===>  Cleaning for gconf-1.0.9
> ===>  Cleaning for gettext-0.11.1_2
> ===>  Cleaning for glib-1.2.10_5
> ===>  Cleaning for gmake-3.79.1_1
> ===>  Cleaning for gnomevfs-1.0.5_3
> ===>  Cleaning for imake-1.0
> ===>  Cleaning for libglade-0.17_2
> ===>  Cleaning for libgnugetopt-1.1
> ===>  Cleaning for libsigc++-1.0.3
> ===>  Cleaning for libtool-1.3.4_3
> ===>  Cleaning for libunicode-0.4_2
> ===>  Cleaning for m4-1.4_1
> ===>  Cleaning for oaf-0.6.10
> ===>  Cleaning for pkgconfig-0.12.0
> ===>  Cleaning for popt-1.5.1_1
> ===>  Cleaning for gdk-pixbuf-0.17.0
> ===>  Cleaning for gnomecanvas-0.17.0
> ===>  Cleaning for imlib-1.9.14_1
> ===>  Cleaning for jpeg-6b_1
> ===>  Cleaning for libungif-4.1.0b1
> ===>  Cleaning for png-1.2.2_1
> ===>  Cleaning for tiff-3.5.7
> ===>  Cleaning for xpm-3.4k
> ===>  Cleaning for guile-1.4
> ===>  Cleaning for gnomemimedata-1.0.7
> ===>  Cleaning for freetype2-2.0.9
> ===>  Cleaning for ghostscript-gnu-7.05
> ===>  Cleaning for gnomeprint-0.35
> ===>  Cleaning for gnomecontrolcenter-1.4.0.5_1
> ===>  Cleaning for libxml-1.8.17_1
> ===>  Cleaning for pspell-0.12.2_1
> ===>  Cleaning for scrollkeeper-0.2_3
> ===>  Cleaning for glibwww-0.2_1
> ===>  Cleaning for gtkhtml-1.0.2_2
> ===>  Cleaning for libghttp-1.0.9
> ===>  Cleaning for libwww-5.3.2
> ===>  Cleaning for gal-0.19.2_1
> ===>  Cleaning for gtkmm-1.2.8
> ===>  Cleaning for gtk-1.2.10_4
> ===>  Cleaning for XFree86-3.3.6_11
> ===>  Cleaning for gnomecore-1.4.0.8_1
> ===>  Cleaning for gnomelibs-1.4.1.6_1
> ===>  Cleaning for gnomemm-1.2.2
> ursula# make
> ===>  Extracting for gnomemm-1.2.2
> >> Checksum OK for gnomemm-1.2.2.tar.bz2.
> ===>   gnomemm-1.2.2 depends on executable: m4 - found
> ===>   gnomemm-1.2.2 depends on executable: gmake - found
> ===>   gnomemm-1.2.2 depends on executable: libtool - found
> ===>   gnomemm-1.2.2 depends on shared library: gtkmm.2 - found
> ===>   gnomemm-1.2.2 depends on shared library: X11.6 - found
> ===>   gnomemm-1.2.2 depends on shared library: esd.2 - found
> ===>   gnomemm-1.2.2 depends on shared library: glib12.3 - found
> ===>   gnomemm-1.2.2 depends on shared library: gtk12.2 - found
> ===>   gnomemm-1.2.2 depends on shared library: Imlib.5 - found
> ===>   gnomemm-1.2.2 depends on shared library: gnome.5 - found
> ===>   gnomemm-1.2.2 depends on shared library: capplet.5 - found
> ===>   gnomemm-1.2.2 depends on shared library: panel_applet.5 - found
> ===>  Patching for gnomemm-1.2.2
> ===>  Applying FreeBSD patches for gnomemm-1.2.2
> 2 out of 2 hunks failed--saving rejects to src/procbar.gen_h.rej
> >> Patch patch-src_procbar.gen_h failed to apply cleanly.
> >> Patch(es) patch-Makefile.in patch-aa applied cleanly.
> *** Error code 1
> 
> Stop in /usr/ports/x11-toolkits/gnome--.
> 
> 
> 
> 
> This is the content of the procbar.gen_h
> 
> --- src/procbar.gen_h.orig	Tue Apr 30 15:52:13 2002
> +++ src/procbar.gen_h	Tue Apr 30 15:52:25 2002 
> @@ -42,7 +42,7 @@
>   
>    ProcBar(const Gtk::Label &label,
>  		const vector<Gdk_Color*> &colors,
> -		gint (*cb)());
> +		gint (*cb)(void *));
>   
>    void set_values (const vector<unsigned> &values);
> 
> @@ -72,7 +72,7 @@
> 
>  ProcBar::ProcBar(const Gtk::Label &label,
>  			     const vector<Gdk_Color*> &colors, 
> -			     gint (*cb)())
> +			     gint (*cb)(void *)) 
>    : Gtk::HBox(GTK_HBOX(gtk_object_new(get_type(),0))),
>      colors_(0)
>  { 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> On Monday 06 May 2002 10:21 pm, VVI hostmaster wrote:
> > -----Original Message-----
> > From: Joe Marcus Clarke [mailto:marcus@marcuscom.com]
> > Sent: Monday, May 06, 2002 10:01 PM
> > To: VVI hostmaster
> > Subject: RE: bonobo-1.0.18 gnomeprint-0.34 missing on ports and pkgs
> >
> > On Tue, 2002-05-07 at 00:24, VVI hostmaster wrote:
> > > I think the attached patch did not make it ;o)
> >
> > Okay, one more try.
> >
> > Joe
> >
> > > -----Original Message-----
> > > From: Joe Clarke [mailto:marcus@marcuscom.com]
> > > Sent: Monday, May 06, 2002 8:19 PM
> > > To: VVI hostmaster
> > > Cc: freebsd-gnome@FreeBSD.ORG
> > > Subject: RE: bonobo-1.0.18 gnomeprint-0.34 missing on ports and
pkgs
> > >
> > >
> > >
> > > PGP Key : http://www.marcuscom.com/pgp.asc
> > >
> > > On Mon, 6 May 2002, VVI hostmaster wrote:
> > > > Hi,
> > > >
> > > > I got a "Patch failed to apply cleanly error"
> > >
> > > Hmmm...try this one.
> > >
> > > Joe
> > >
> > > > ursula# make
> > > > ===>  Extracting for gnomemm-1.2.2
> > > >
> > > > >> Checksum OK for gnomemm-1.2.2.tar.bz2.

> > > >
> > > > ===>   gnomemm-1.2.2 depends on executable: m4 - found
> > > > ===>   gnomemm-1.2.2 depends on executable: gmake - found
> > > > ===>   gnomemm-1.2.2 depends on executable: libtool - found
> > > > ===>   gnomemm-1.2.2 depends on shared library: gtkmm.2 - found
> > > > ===>   gnomemm-1.2.2 depends on shared library: X11.6 - found
> > > > ===>   gnomemm-1.2.2 depends on shared library: esd.2 - found
> > > > ===>   gnomemm-1.2.2 depends on shared library: glib12.3 - found
> > > > ===>   gnomemm-1.2.2 depends on shared library: gtk12.2 - found
> > > > ===>   gnomemm-1.2.2 depends on shared library: Imlib.5 - found
> > > > ===>   gnomemm-1.2.2 depends on shared library: gnome.5 - found
> > > > ===>   gnomemm-1.2.2 depends on shared library: capplet.5 -
found
> > > > ===>   gnomemm-1.2.2 depends on shared library: panel_applet.5 -
> >
> > found
> >
> > > > ===>  Patching for gnomemm-1.2.2
> > > > ===>  Applying FreeBSD patches for gnomemm-1.2.2
> > > > 2 out of 2 hunks failed--saving rejects to src/procbar.gen_h.rej
> > > >
> > > > >> Patch patch-src_procbar.gen_h failed to apply cleanly.
> > > > >> Patch(es) patch-Makefile.in patch-aa applied cleanly.
> > > >
> > > > *** Error code 1
> > > >
> > > >
> > > >
> > > > Here is
> > > > src/procbar.gen_h.rej
> > > >
> > > > ***************
> > > > *** 42,48 ****
> > > >
> > > >     ProcBar(const Gtk::Label &label,
> > > >   		const vector<Gdk_Color*> &colors,
> > > > - 		gint (*cb)());
> > > >
> > > >     void set_values (const vector<unsigned> &values);
> > > >
> > > > --- 42,48 ----
> > > >
> > > >     ProcBar(const Gtk::Label &label,
> > > >   		const vector<Gdk_Color*> &colors,
> > > > + 		gint (*cb)(gpointer));
> > > >
> > > >     void set_values (const vector<unsigned> &values);
> > > >
> > > > ***************
> > > > *** 72,78 ****
> > > >
> > > >   ProcBar::ProcBar(const Gtk::Label &label,
> > > >   			     const vector<Gdk_Color*> &colors,
> > > > - 			     gint (*cb)())
> > > >
> > > >     : Gtk::HBox(GTK_HBOX(gtk_object_new(get_type(),0))),
> > > >
> > > >       colors_(0)
> > > >   {
> > > > --- 72,78 ----
> > > >
> > > >   ProcBar::ProcBar(const Gtk::Label &label,
> > > >   			     const vector<Gdk_Color*> &colors,
> > > > + 			     gint (*cb)(gpointer))
> > > >
> > > >     : Gtk::HBox(GTK_HBOX(gtk_object_new(get_type(),0))),
> > > >
> > > >       colors_(0)
> > > >   {
> > > >
> > > > Thanks
> > > > Jason
> > > >
> > > > -----Original Message-----
> > > > From: Joe Marcus Clarke [mailto:marcus@marcuscom.com]
> > > > Sent: Monday, May 06, 2002 7:44 PM
> > > > To: VVI hostmaster
> > > > Cc: freebsd-gnome@FreeBSD.ORG
> > > > Subject: Re: bonobo-1.0.18 gnomeprint-0.34 missing on ports and
pkgs
> > > >
> > > > On Mon, 2002-05-06 at 23:31, Joe Marcus Clarke wrote:
> > > > > On Sun, 2001-05-06 at 22:33, VVI hostmaster wrote:
> > > > > > Hi thanks Joe for the reply.
> > > > > >
> > > > > > I have gotten far with the compile but I got stuck on
gnomemm
> > > > > >
> > > > > > If anyone has any ideas what is wrong please drop me a
message
> > >
> > > cause
> > >
> > > > I
> > > >
> > > > > > am not on the list.
> > > > >
> > > > > Take the attached patch, copy it to x11-toolkits/gnome--/files
> > > > > (overwriting the one currently there), then make clean in
gnome--,
> > >
> > > and
> > >
> > > > > try rebuilding.  See if this corrects your build problem.
> > > >
> > > > Whoops, no patch.  Try now.
> > > >
> > > > Joe
> > > >
> > > > > Joe
> > > > >
> > > > > > Best Regards,
> > > > > > Jason
> > > > > >
> > > > > > c++ -DHAVE_CONFIG_H -I. -I. -I../..
-DG_LOG_DOMAIN=\"Gnome--\"
> >
> > -I.
> >
> > > > > > -I./.. -I.. -I../../src -I../../src -I../../src/gtk--
> > >
> > > -I../../gdk--
> > >
> > > > > > -I/usr/X11R6/lib/gtkmm/include -I/usr/X11R6/include
> > > > > > -I/usr/X11R6/include/gtk12 -I/usr/local/include/glib12
> > > > > > -I/usr/local/include -I/usr/X11R6/include/gnome-1.0
> > > >
> > > > -I/usr/X11R6/include
> > > >
> > > > > > -DNEED_GNOMESUPPORT_H -I/usr/X11R6/lib/gnome-libs/include
> > > > > > -I/usr/X11R6/include/gtk12
> > > > > > -I/usr/local/include/glib12 -I/usr/local/include
> > > > > > -I/usr/X11R6/include/gnome-1.0
> > > > > > -I/usr/X11R6/include -DNEED_GNOMESUPPORT_H
> > > > > > -I/usr/X11R6/lib/gnome-libs/include
-I/usr/X11R6/include/gtk12
> > > > > > -I/usr/local/include/glib12 -I/usr/local/include -O -pipe
-Wall
> > > > > > -Wno-unused -c procbar.cc  -fPIC -DPIC -o .libs/procbar.lo
> > > > > > procbar.cc: In method `Gnome::ProcBar::ProcBar(const
Gtk::Label
> >
> > &,
> >
> > > > const
> > > >
> > > > > > vector<Gdk_Color *,allocator<Gdk_Color *> > &, gint (*)(void
> >
> > *))':
> > > > > > procbar.cc:23: ANSI C++ prohibits conversion from `(void *)'
to
> > > >
> > > > `(...)'
> > > >
> > > > > > gmake[4]: *** [procbar.lo] Error 1
> > > > > > gmake[4]: Leaving directory
> > > > > > `/usr/ports/x11/gnome--/work/gnomemm-1.2.2/src/gnome--'
> > > > > > gmake[3]: *** [all-recursive] Error 1
> > > > > > gmake[3]: Leaving directory
> > > > > > `/usr/ports/x11/gnome--/work/gnomemm-1.2.2/src/gnome--'
> > > > > > gmake[2]: *** [all-recursive] Error 1
> > > > > > gmake[2]: Leaving directory
> > > > > > `/usr/ports/x11/gnome--/work/gnomemm-1.2.2/src'
> > > > > > gmake[1]: *** [all-recursive] Error 1
> > > > > > gmake[1]: Leaving directory
> > > >
> > > > `/usr/ports/x11/gnome--/work/gnomemm-1.2.2'
> > > >
> > > > > > gmake: *** [all-recursive-am] Error 2
> > > > > > *** Error code 2
> > > > > >
> > > > > > Stop in /usr/ports/x11/gnome--.
> > > > > >
> > > > > > > From: Joe Marcus Clarke <marcus@marcuscom.com>
> > > > > > > Date: 06 May 2002 20:37:47 -0400
> > > > > > > To: Jason de Cordoba <jason@vvi.at>
> > > > > > > Cc: freebsd-gnome@FreeBSD.ORG
> > > > > > > Subject: Re: bonobo-1.0.18 gnomeprint-0.34  missing on
ports
> >
> > and
> >
> > > > pkgs
> > > >
> > > > > > > On Mon, 2002-05-06 at 20:50, Jason de Cordoba wrote:
> > > > > > >> Hi,
> > > > > > >>
> > > > > > >> 1.
> > > > > > >> Trying to
> > > > > > >> /stand/sysinstall
> > > > > > >>
> > > > > > >> Install package
> > > > > > >> x11/gnome
> > > > > > >>
> > > > > > >> I get errors that dependent files gnomeprint-0.34  &
> > > >
> > > > bonobo-1.0.18
> > > >
> > > > > > >> not found on ftp server
> > > > > > >
> > > > > > > This is broken.  Do not build GNOME from packages.
> > > > > > >
> > > > > > >> Also
> > > > > > >>
> > > > > > >> 2.
> > > > > > >> Trying to pkg_add -r gnome on fbsd 4.5
> > > > > > >>
> > > > > > >> I get errors that
> > > > > > >>
> > > > > > >> pkg_add: could not find package bonobo-1.0.18 !
> > > > > > >> pkg_add: could not find package gnomeprint-0.34 !
> > > > > > >> pkg_add: could not find package libgda-0.2.93_2 !
> > > > > > >> pkg_add: could not find package gnomedb-0.2.93_3 !
> > > > > > >> pkg_add: could not find package gal-0.19 !
> > > > > > >> pkg_add: could not find package libglade-0.17_1 !
> > > > > > >> pkg_add: could not find package gtkhtml-1.0.1 !
> > > > > > >> pkg_add: pkg_add of dependency `gnomecore-1.4.0.4_3'
> > > > > > >> failed!
> > > > > > >>
> > > > > > >>
> > > > > > >>
> > > > > > >> Also
> > > > > > >>
> > > > > > >> 3.
> > > > > > >> after cvsup'ing my ports and then trying to install
> > > > > > >> /usr/ports/x11/gnome
> > > > > > >>
> > > > > > >> I also get errors of bonobo and gnomeprint is missing
> > > > > > >
> > > > > > > Try deleting all the previously installed GNOME packages,
then
> > > >
> > > > make
> > > >
> > > > > > > everything from ports (i.e. cd /usr/ports/x11/gnome ; make
> >
> > clean
> >
> > > > > > > install).  If you run into problems, send the build logs.
> > > > > > >
> > > > > > > Joe
> > > > > > >
> > > > > > >> Please help I have a c programmer coming tomorrow that
thinks
> > > >
> > > > linux
> > > >
> > > > > > >> is kewl and he uses gnome!  ;o)
> > > > > > >>
> > > > > > >> Best Regards,
> > > > > > >> Jason
> ----
> 

> ***************
> *** 42,48 ****
>   
>     ProcBar(const Gtk::Label &label,
>   		const vector<Gdk_Color*> &colors,
> - 		gint (*cb)());
>   
>     void set_values (const vector<unsigned> &values);
>   
> --- 42,48 ----
>   
>     ProcBar(const Gtk::Label &label,
>   		const vector<Gdk_Color*> &colors,
> + 		gint (*cb)(void *));
>   
>     void set_values (const vector<unsigned> &values);
>   
> ***************
> *** 72,78 ****
>   
>   ProcBar::ProcBar(const Gtk::Label &label,
>   			     const vector<Gdk_Color*> &colors,
> - 			     gint (*cb)())
>     : Gtk::HBox(GTK_HBOX(gtk_object_new(get_type(),0))),
>       colors_(0)
>   {
> --- 72,78 ----
>   
>   ProcBar::ProcBar(const Gtk::Label &label,
>   			     const vector<Gdk_Color*> &colors,
> + 			     gint (*cb)(void *))
>     : Gtk::HBox(GTK_HBOX(gtk_object_new(get_type(),0))),
>       colors_(0)
>   {
-- 
PGP Key: http://www.marcuscom.com/pgp.asc



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-gnome" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?002201c1f58b$a0465e30$39e1fcd0>