When I try to emerge gnome-pilot, the compile fails on gpilotd: I am using GCC 2.95.3 and have had luck in building most of the other parts of gnome2. I am assuming this is a Gnome 2 issue. output: make[2]: Entering directory `/var/tmp/portage/gnome-pilot-0.1.65-r4/work/gnome-pilot-0.1.65/gpilotd' /bin/sh ../libtool --mode=link gcc -Wall -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -g -DGNOMELOCALEDIR=\""/usr/share/locale"\" -L/usr/lib -o gpilotd -export-dynamic gnome-pilot-common.o gnome-pilot-skels.o gnome-pilot-stubs.o gpilotd.o manager.o queue_io.o orbit_daemon_glue.o gnome-pilot-structures.o gpilot-gui.o libgpilotdconduit.la ../libgpilotdCM/libgpilotdcm.la -L/usr/lib -lORBitCosNaming -lORBit -lIIOP -lORBitutil -lglib -lm -rdynamic -L/usr/lib -L/usr/X11R6/lib -lgnome -lgnomesupport -lesd -lasound -laudiofile -lm -ldb1 -lglib -L/usr/lib -lxml -lz -L/usr/lib -rdynamic -lgmodule -lglib -ldl -rdynamic -L/usr/lib -L/usr/X11R6/lib -lgnorba -lORBitCosNaming -lORBit -lIIOP -lORBitutil -lgnomeui -lart_lgpl -lgdk_imlib -lSM -lICE -lgtk -lgdk -lgmodule -ldl -lXi -lXext -lX11 -lgnome -lgnomesupport -lesd -lasound -laudiofile -lm -ldb1 -lglib -rdynamic -L/usr/lib -L/usr/X11R6/lib -lgnomevfs -lxml -lz -lgconf-gtk-1 -lgconf-1 -loaf -lORBitCosNaming -lORBit -lIIOP -lORBitutil -lgtk -lgdk -lXi -lXext -lX11 -lm -lgmodule -lgthread -lglib -lpthread -ldl -lpisock -lcrypt gcc -Wall -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -g -DGNOMELOCALEDIR=\"/usr/share/locale\" -o .libs/gpilotd gnome-pilot-common.o gnome-pilot-skels.o gnome-pilot-stubs.o gpilotd.o manager.o queue_io.o orbit_daemon_glue.o gnome-pilot-structures.o gpilot-gui.o -rdynamic -rdynamic -rdynamic -rdynamic -Wl,--export-dynamic -L/usr/lib ./.libs/libgpilotdconduit.so ../libgpilotdCM/.libs/libgpilotdcm.so -L/usr/X11R6/lib /usr/lib/libgnorba.so /usr/lib/libgnomeui.so /usr/lib/libart_lgpl.so /usr/lib/libgdk_imlib.so -lSM -lICE /usr/lib/libgnome.so /usr/lib/libgnomesupport.so /usr/lib/libesd.so /usr/lib/libasound.so /usr/lib/libaudiofile.so -ldb1 /usr/lib/libgnomevfs.so -lssl -lcrypto -lrt /usr/lib/libxml.so -lncurses -lz /usr/lib/libgconf-gtk-1.so /usr/lib/libgconf-1.so /usr/lib/liboaf.so /usr/lib/libpopt.so /usr/lib/libORBitCosNaming.so /usr/lib/libORBit.so /usr/lib/libIIOP.so /usr/lib/libORBitutil.so /usr/lib/libgtk.so /usr/lib/libgdk.so -lXi -lXext -lX11 -lm /usr/lib/libgmodule.so /usr/lib/libgthread.so /usr/lib/libglib.so -lpthread -ldl /usr/lib/libpisock.so -lpng -lcrypt -Wl,--rpath -Wl,/usr/lib/ ./.libs/libgpilotdconduit.so: undefined reference to `sync_CopyToPilot' ./.libs/libgpilotdconduit.so: undefined reference to `sync_Synchronize' ./.libs/libgpilotdconduit.so: undefined reference to `sync_CopyFromPilot' ./.libs/libgpilotdconduit.so: undefined reference to `sync_MergeToPilot' ./.libs/libgpilotdconduit.so: undefined reference to `sync_MergeFromPilot' collect2: ld returned 1 exit status make[2]: *** [gpilotd] Error 1 make[2]: Leaving directory `/var/tmp/portage/gnome-pilot-0.1.65-r4/work/gnome-pilot-0.1.65/gpilotd' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/gnome-pilot-0.1.65-r4/work/gnome-pilot-0.1.65' make: *** [all-recursive-am] Error 2 !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line -104, Exitcode 2 !!! (no error message) !!! emerge aborting on /usr/portage/gnome-extra/gnome-pilot/gnome-pilot-0.1.65-r4.ebuild .
this was fixed way earlier. please emerge rsync and try again.
I am using gnome-extra/gnome-pilot-0.1.65-r4. I've looked in CVS and that appears to be the latest. I am still getting compliation errors. I am using gcc 2.95.3. Please let me know what else I can do to help with this, I don't mind diving in.
Seemant when/with what revision, this was fixed ?
I can confirm that this bug is also present if you use GCC 3.1 It seems to be that gnome-pilot does not like the specific pilot-link package. What combinations DID work in the past? This is a showstopper for me for evolution.
Just asked about this on the pilot-link-dev list, got the attached response. Iit looks like there is more than one makefile that needs to be updated and only one is getting updated. I will update the ebuild script when I get time and add the patch here as soon as I get time, unless someone else beats me to it. From pilot-link-devel-admin@pilot-link.org Wed Jul 17 12:35:43 2002 From: "David A. Desrosiers" <hacker@gnu-designs.com> To: pilot-link Development List <pilot-link-devel@pilot-link.org> Subject: Re: trouble building gnome-pilot Date: Wed, 17 Jul 2002 12:33:35 -0400 (EDT) > When I try to build gnome-pilot 0.1.65 with pilot-link the build fails > with: Did you patch it with the patches mentioned previously on these lists? Did you also remove any and all stale gnome-pilot.m4 files from your system first, before compiling? If that doesn't work, this process will: $ cd gnome-pilot-0.1.65 $ make distclean $ ./configure --prefix=`gtk-config --prefix` $ ./configure --prefix=`gtk-config --prefix` # This next line must be all on one line, pay very close attention # to single-quotes versus the accent-grave marks. $ perl -pi.orig -e 's/PISOCK_LIBS = -lpisock/PISOCK_LIBS = -lpisock -lpisync/g' `find . -name Makefile` $ make > I tried adding -lpisync to the PISOCK_LIBS in the make file, but that > didn't help. It does help, when you add it to all of the Makefiles which need it.
this patch will fix things, at least it Works for Me(tm) --- gnome-pilot-0.1.65-r4.ebuild Tue Jul 16 18:26:35 2002 +++ gnome-pilot-0.1.65-r5.ebuild Wed Jul 17 14:58:28 2002 @@ -47,9 +47,10 @@ econf ${myconf} || die - cp Makefile Makefile.orig - sed "s:PISOCK_LIBS = -lpisock:PISOCK_LIBS = -lpisock -lpisync:g" \ - Makefile.orig > Makefile +# cp Makefile Makefile.orig +# sed "s:PISOCK_LIBS = -lpisock:PISOCK_LIBS = -lpisock -lpisync:g" \ +# Makefile.orig > Makefile + perl -pi.orig -e 's/PISOCK_LIBS = -lpisock/PISOCK_LIBS = -lpisock -lpisync/g' `find . -name Makefile` emake || die }
argh! Line wrap has gotten me. heres the patch again, hopefully with no wrapping: --- gnome-pilot-0.1.65-r4.ebuild Tue Jul 16 18:26:35 2002 +++ gnome-pilot-0.1.65-r5.ebuild Wed Jul 17 14:58:28 2002 @@ -47,9 +47,10 @@ econf ${myconf} || die - cp Makefile Makefile.orig - sed "s:PISOCK_LIBS = -lpisock:PISOCK_LIBS = -lpisock -lpisync:g" \ - Makefile.orig > Makefile +# cp Makefile Makefile.orig +# sed "s:PISOCK_LIBS = -lpisock:PISOCK_LIBS = -lpisock -lpisync:g" \ +# Makefile.orig > Makefile + perl -pi.orig -e 's/PISOCK_LIBS = -lpisock/PISOCK_LIBS = -lpisock -lpisync/g' `find . -name Makefile` emake || die }
Thanks for the patch... It seems to fix the pilot-sync bug, but it looks like I'm missing some deps here. I've just emerged gnome2, think it might be gnome-core missing here? Making all in applet make[2]: Entering directory `/var/tmp/portage/gnome-pilot-0.1.65-r5/work/gnome-pilot-0.1.65/applet' gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I/usr/X11R6/include -I/usr/include/libcapplet1 -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I/usr/X11R6/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -DGLADEDATADIR=\""/usr/share/gnome-pilot/glade"\" -DGNOMELOCALEDIR=\""/usr/share/locale"\" -I/usr/include/gnome-vfs-1.0 -I/usr/lib/gnome-vfs-1.0/include -I/usr/include/gnome-xml -I/usr/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gconf/1 -I/usr/include/gtk-1.2 -I/usr/X11R6/include -D_REENTRANT -I/usr/include/gnome-xml -I/usr/include/libglade-1.0 -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I/usr/X11R6/include -march=i686 -O3 -pipe -c pilot.c cc1: warning: changing search order for system directory "/usr/include" cc1: warning: as it has already been specified as a non-system directory pilot.c:33:27: applet-widget.h: No such file or directory pilot.c:98: parse error before '*' token pilot.c:99: parse error before '*' token pilot.c: In function `apply_properties_cb': pilot.c:654: invalid type argument of `->' pilot.c:655: invalid type argument of `->' pilot.c: At top level: pilot.c:718: parse error before '*' token pilot.c:1008: parse error before '*' token pilot.c:1044: parse error before '*' token pilot.c:1062: parse error before '*' token pilot.c:1071: parse error before '*' token pilot.c: In function `applet_start_new_applet': pilot.c:1195: warning: assignment makes pointer from integer without a cast pilot.c: In function `pilot_applet_activator': pilot.c:1221: warning: assignment makes pointer from integer without a cast pilot.c:1225: invalid type argument of `->' pilot.c:1236: warning: return makes pointer from integer without a cast make[2]: *** [pilot.o] Error 1 make[2]: Leaving directory `/var/tmp/portage/gnome-pilot-0.1.65-r5/work/gnome-pilot-0.1.65/applet' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/gnome-pilot-0.1.65-r5/work/gnome-pilot-0.1.65' make: *** [all-recursive-am] Error 2 !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line -92, Exitcode 2 !!! (no error message) !!! emerge aborting on /usr/portage/gnome-extra/gnome-pilot/gnome-pilot-0.1.65-r5.ebuild .
you're right, it didn't hit me that the perl line was adjusting all lines. I had the patch already and decided to modify it :/ will submit a fix shortly, as for the gnome error in the last comment -- Gabriele?
I just emerged gnome-core and then gnome-pilot... it did solve the dependency. Whoohoo! Now I can emerge Evolution! I'll keep you posted on whether this leaves evolution usable or not... So far, the only showstopper on my whole GCC 3.1 system is OpenOffice...
-r5 sorts the perl thingy to fix the Makefiles. sorry about that.
the real fix waits for portage supporing good bounds on dependencies but try this: DEPEND="<gnome-base/gnome-panel-1.9.0" This will make it drag in gnome-panel-1.4.1 which contains the necessary parts. this will also solve this package's gnome2 compability.