Summary: | emerge gnome-pilot Fails | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | John Beimler <john> |
Component: | [OLD] GNOME | Assignee: | Seemant Kulleen (RETIRED) <seemant> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | gabriele_giorgetti, jangutter |
Priority: | High | ||
Version: | 1.2 | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
John Beimler
2002-07-17 01:13:02 UTC
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. |