Re: gpilotd problem



Not sure if things are any better yet, but it seems to be looking up. I
thought I'd write down the PITA experience involved in upgrading a
Mandrake 8.2 / Ximian system to newer versions using RPMs, though:

1) remove pilot-link 0.9.5 and gnome-pilot-0.64. There are a number of
dependent RPMs which you should make decisions on one-by-one.

2) get the Mandrake Cooker pilot-link-0.11.3 src.rpm from
speakeasy.rpmfind.net. There is no binary RPM at this time, probably
because the source RPM won't compile.

2.1) The problem is with the Perl modules. I couldn't get it working and
ended up removing all Perl support from pilot-link. If you're not
comfortable with the specifics of src.rpm, just rpm -i the src.rpm file
and put this attached pilot-link.spec into /usr/src/RPM/SPECS/. Then rpm
-bb /usr/src/RPM/SPECS/pilot-link.spec and cross your fingers. If all
goes well, some packages will appear under /usr/src/RPM/RPMS/i586/.

2.2) Another option would be to figure out why the Perl isn't working
and fix the spec file. Pilot-link 0.11.3 won't compile from .tgz either
if you configure it with Perl support and don't follow the directions in
bindings/Perl/README, so I tried embedding those steps into the spec
file with no success.

3) get and install the Mandrake Cooker gnome-pilot-0.65 i586.rpm. This
went smoothly for me.

4) If you use Evolution, you'll also need to download and install
libpilot-link4-0.9.5-8mdk.i586.rpm because the evolution-pilot conduits
require libpisock 4.

HTH,
Jack

On Wed, 2002-08-14 at 00:40, Dave Cooper wrote:
> I think you should be using pilot-link 0.11.3 now...  But I dont know
> that that will fix your problem...
> 
> Dave
> 
> 
> 
> On Wed, 2002-08-14 at 06:51, Jack Coates wrote:
> > Hi,
> > 
> > I'm having a problem with gpilotd running away with all the memory.
> > Mandrake 8.2, Sony Clie 610C syncing over USB to Ximian Evolution. I've
> > compiled pilot-link 0.11.1 from source and installed over the Mandrake
> > RPM (prefix=/usr) in order to minimize dependency hell. 
> > 
> > I then recompiled gnome-pilot-0.1.65-4mdk from src.rpm so that it would
> > use pilot-link 0.11.1, which it appears to do from the backtrace.
> > 
> > This setup works reasonably well as long as I don't use
> > gpilot-install-file -- if I use that utility, the next regular HotSync
> > will cause a runaway gpilotd to consume all memory and eventually crash
> > the system (on a side note, wasn't the 2.4 kernel supposed to kill
> > runaway processes for you? Not happening here).
> > 
> > I'm not a developer, but I found instructions on how to take a backtrace
> > manually and have done so in the attached file.
> > 
> > Thanks,
> > -- 
> > Jack Coates
> > Monkeynoodle: A Scientific Venture...
> 
> 
> _______________________________________________
> gnome-pilot-list mailing list
> gnome-pilot-list gnome org
> http://mail.gnome.org/mailman/listinfo/gnome-pilot-list
> 
-- 
Jack Coates
Monkeynoodle: A Scientific Venture...
%define lib_major 8
%define libcpp_major 0
%define libname libpisock
%define sync_major 0

Summary:	File transfer utilities between Linux and PalmPilots
Name:		pilot-link
Version:	0.11.3
Release:	1mdk

Source:		http://www.pilot-link.org/source/pilot-link-%{version}.tar.bz2 
Source1:	connect-palm-ppp.tar.bz2
# (fc) 0.10.99-1mdk fix python/perl installation
Patch7:     pilot-link-0.11.3-destdir.patch.bz2
# (pixel) 0.11.1-4mdk fix build for perl thread-multi
Patch11: pilot-link-0.11.1-fix-preprocessing-mess.patch.bz2
URL:		http://www.pilot-link.org/
License:	GPL/LGPL
Group:		Communications
BuildRoot:	%{_tmppath}/%{name}-%{version}-root
BuildRequires:	bison
BuildRequires:	perl-devel
BuildRequires:	XFree86-devel

Obsoletes: %{name}-tcl
Provides: %{name}-tcl

%description
This suite of tools allows you to upload and download programs and
data files between a Linux/UNIX machine and the PalmPilot.  It has a
few extra utils that will allow for things like syncing the
PalmPilot's calendar app with Ical.  Note that you might still need to
consult the sources for pilot-link if you would like the Python, Tcl,
or Perl bindings.

Install pilot-link if you want to synchronize your Palm with your
Linux system.

%package -n %{libname}%{lib_major}
Summary:        Libraries needed to use pilot-link
Group:          System/Libraries
Provides:       lib%{name}%{lib_major} = %{version}-%{release}
Obsoletes:		lib%{name}%{lib_major}

%description -n %{libname}%{lib_major}
Libraries needed to use pilot-link

%package -n libpisync%{sync_major}
Summary:        Libraries needed to use pilot-link
Group:          System/Libraries

%description -n libpisync%{sync_major}
Libraries needed to use pilot-link

%package -n %{libname}++%{libcpp_major}
Summary:        Libraries needed to use pilot-link
Group:          System/Libraries

%description -n %{libname}++%{libcpp_major}
Libraries needed to use pilot-link


%package -n %{libname}%{lib_major}-devel
Summary:	PalmPilot development header files
Group:		Development/C
Requires:	%{name} = %{version}-%{release}
Requires:	%{libname}%{lib_major} = %{version}-%{release}
Requires:   %{libname}++%{libcpp_major} = %{version}-%{release}
Requires:   libpisync%{sync_major} = %{version}-%{release}
Obsoletes:  %{name}-devel
Provides:   %{name}-devel = %{version}-%{release}
Provides:   lib%{name}-devel = %{version}-%{release}
Provides:   lib%{name}%{lib_major}-devel = %{version}-%{release}
Provides:   %{libname}-devel = %{version}-%{release}
Obsoletes:	lib%{name}%{lib_major}-devel

%description -n %{libname}%{lib_major}-devel
This package contains the development headers that are used to build
the pilot-link package.  It also includes the static libraries
necessary to build static pilot apps.

If you want to develop PalmPilot synchronizing applications, you'll
need to install this package.


%package -n perl-PDA-Pilot
Summary:	Perl module for Palm
Group:		Communications
Requires:	%{name} = %{version}

%description -n perl-PDA-Pilot
This package provides perl modules for supporting Palm.

%prep 
%setup -q -a 1
%patch7 -p1 -b .destdir
%patch11 -p1 -b .perlthread

#needed by patch 7
automake

#update libtool (needed for linking libpisock++ correctly)
libtoolize --force
aclocal

%build
%configure  

%make

%install
[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT

%makeinstall_std

%post -p /sbin/ldconfig -n %{libname}%{lib_major}

%postun -p /sbin/ldconfig -n %{libname}%{lib_major}

%post -p /sbin/ldconfig -n libpisync%{sync_major}

%postun -p /sbin/ldconfig -n libpisync%{sync_major}

%post -p /sbin/ldconfig -n %{libname}++%{libcpp_major}

%postun -p /sbin/ldconfig -n %{libname}++%{libcpp_major}

%clean
[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc COPYING ChangeLog README NEWS
%doc connect-palm-ppp/
%doc doc/README.usb doc/TODO

%{_bindir}/addresses
%{_bindir}/ccexample
%{_bindir}/debugsh
%{_bindir}/dlpsh
%{_bindir}/hinotes
%{_bindir}/install-datebook
%{_bindir}/install-expenses
%{_bindir}/install-hinote
%{_bindir}/install-memo
%{_bindir}/install-netsync
%{_bindir}/install-todos
%{_bindir}/install-user
%{_bindir}/memos
%{_bindir}/money2qif
%{_bindir}/pi-csd
%{_bindir}/pi-getram
%{_bindir}/pi-getrom
%{_bindir}/pi-getromtoken
%{_bindir}/pi-nredir
%{_bindir}/pilot-addresses
%{_bindir}/pilot-clip
%{_bindir}/pilot-datebook
#%{_bindir}/pilot-debug
%{_bindir}/pilot-dedupe
%{_bindir}/pilot-file
%{_bindir}/pilot-mail
%{_bindir}/pilot-prc
%{_bindir}/pilot-schlep
%{_bindir}/pilot-xfer
%{_bindir}/read-expenses
%{_bindir}/read-ical
%{_bindir}/read-notepad
%{_bindir}/read-palmpix
%{_bindir}/read-todos
%{_bindir}/reminders
%{_mandir}/man1/dlpsh.1*
%{_mandir}/man1/install-datebook*
%{_mandir}/man1/install-hinote*
%{_mandir}/man1/install-memo*
%{_mandir}/man1/install-netsync*
%{_mandir}/man1/install-user*
%{_mandir}/man1/pi-getram*
%{_mandir}/man1/pi-getrom*
%{_mandir}/man1/pilot-addresses*
%{_mandir}/man1/pilot-xfer*
%{_mandir}/man1/read-ical*
%{_mandir}/man1/read-notepad*
%{_mandir}/man1/read-palmpix*
%{_mandir}/man7/*
%{_datadir}/pilot-link

%files -n %{libname}%{lib_major}
%defattr(-,root,root)
%{_libdir}/libpisock.so.*

%files -n libpisync%{sync_major}
%defattr(-,root,root)
%{_libdir}/libpisync.so.*

%files -n %{libname}++%{libcpp_major}
%defattr(-,root,root)
%{_libdir}/libpisock++.so.*

%files -n %{libname}%{lib_major}-devel
%defattr(-,root,root)
%{_libdir}/*a
%{_libdir}/*.so
%{_includedir}/*

%changelog
* Thu Aug  8 2002 Frederic Crozat <fcrozat mandrakesoft com> 0.11.3-1mdk
- Release 0.11.3
- Regenerate patch0
- Remove patches 9 (merged upstream) & 10 (no longer needed)

* Mon Aug  5 2002 Pixel <pixel mandrakesoft com> 0.11.1-4mdk
- rebuild for perl thread-multi (add patch11 to fix build)

* Thu Jul 25 2002 Gwenole Beauchesne <gbeauchesne mandrakesoft com> 0.11.1-3mdk
- Automated rebuild with gcc3.2

* Wed Jul 24 2002 Frederic Crozat <fcrozat mandrakesoft com> 0.11.1-2mdk
- Recompiled against latest readline

* Fri Jul 19 2002 Frederic Crozat <fcrozat mandrakesoft com> 0.11.1-1mdk
- Release 0.11.1
- Regenerate patch 9
- Remove patch8 (merged upstream)
- Patch10 : fix versionning of library

* Wed Jul 17 2002 Frederic Crozat <fcrozat mandrakesoft com> 0.11.0-4mdk
- Fix obsoletes in -devel package

* Tue Jul 16 2002 Frederic Crozat <fcrozat mandrakesoft com> 0.11.0-3mdk
- Add new subpackage for libpysync

* Tue Jul 16 2002 Frederic Crozat <fcrozat mandrakesoft com> 0.11.0-2mdk
- Fix name of devel packages
- Split library packages in two packages (C and C++)

* Tue Jul 16 2002 Frederic Crozat <fcrozat mandrakesoft com> 0.11.0-1mdk
- Release 0.11.0 (stable release)

* Wed Jul 10 2002 Pixel <pixel mandrakesoft com> 0.10.99-2mdk
- patch9 for vendor_perl
- rebuild for perl 5.8.0

* Thu Jun 13 2002 Frederic Crozat <fcrozat mandrakesoft com> 0.10.99-1mdk
- Release 0.10.99 (WARNING : this is a developer release)
- Remove patches 0, 1, 2, 3, 5 & 6 (merged upstream)
- Patch7: use DESTDIR compliant makefile for Perl/Python bindings
- Patch8: fix perl scripts generation
- Merge Tcl stuff in main package (most part is no longer generated)

* Tue May 28 2002 François Pons <fpons mandrakesoft com> 0.9.5-9mdk
- build release (for newer libstdc++).

* Sat Jan 19 2002 Jeff Garzik <jgarzik mandrakesoft com> 0.9.5-8mdk
- Patch6: fix build under g++ v3

* Mon Jan 14 2002 Frederic Crozat <fcrozat mandrakesoft com> 0.9.5-7mdk
- Patch4 (Ximian): If the record was created and deleted between syncs 
  (without being archived) ignore it
- Patch5 (Ximian): Fix memory leaks

* Tue Jan  8 2002 Frederic Crozat <fcrozat mandrakesoft com> 0.9.5-6mdk
- Patch3 (Chmouel): use PILOTPORT when available in pilot-address 

* Mon Dec 17 2001 Chmouel Boudjnah <chmouel mandrakesoft com> 0.9.5-5mdk
- Add connect-palm-ppp documentation.

* Wed Dec 12 2001 Stefan van der Eijk <stefan eijk nu> 0.9.5-4mdk
- Fix BuildRequires
- Fix build with tools/Tcl. (Geoffrey Lee)

* Tue Jul  3 2001 Frederic Crozat <fcrozat mandrakesoft com> 0.9.5-3mdk
- Add missing BuildRequires (tcl)

* Mon Jun 25 2001 Stefan van der Eijk <stefan eijk nu> 0.9.5-2mdk
- BuildRequires: 	XFree86-devel

* Wed Jun 20 2001 Frederic Crozat <fcrozat mandrakesoft com> 0.9.5-1mdk
- Release 0.9.5 (final)
- Regenerate configure and libtool
- Regenerate patch0 for tcl part

* Mon May 21 2001 Frederic Crozat <fcrozat mandrakesoft com> 0.9.5-0.6.1mdk
- Release 0.9.5-pre6
- Recompiled against latest perl
- Change library package name

* Thu Apr  5 2001 Frederic Crozat <fcrozat mandrakesoft com> 0.9.5-0.5.4mdk
- Correct descriptions again..

* Thu Mar 15 2001 Frederic Crozat <fcrozat mandrakesoft com> 0.9.5-0.5.3mdk
- Correct descriptions

* Mon Mar 12 2001 Frederic Crozat <fcrozat mandrakesoft com> 0.9.5-0.5.2mdk
- Change patch 1 to correctly remove rpath

* Fri Mar  9 2001 Frederic Crozat <fcrozat mandrakesoft com> 0.9.5-0.5.1mdk
- Release 0.9.5-pre5
- regenerate patch 0
- generate different packages for different languages

* Wed Nov 15 2000 Frederic Crozat <fcrozat mandrakesoft com> 0.9.5-0.3.2mdk
- Rebuild with last stdlibc++
- Split lib package

* Fri Oct 27 2000 Frederic Crozat <fcrozat mandrakesoft com> 0.9.5-0.3.1mdk
- Release 0.9.5-pre3

* Tue Oct  3 2000 Chmouel Boudjnah <chmouel mandrakesoft com> 0.9.3-15mdk
- Remove pilot-bug since it is unusefull and bring tcltk dependences.

* Fri Sep 22 2000 Frederic Crozat <fcrozat mandrakesoft com> 0.9.3-14mdk
- Move perl part to its own package (which was preventing bootstrapping of package)

* Tue Aug 29 2000 Frederic Crozat <fcrozat mandrakesoft com> 0.9.3-13mdk
- merge Alpha diff from Stefan van der Eijk

* Mon Aug 28 2000 Frederic Crozat <fcrozat mandrakesoft com> 0.9.3-12mdk
- BM + macroszification

* Wed May 17 2000 David BAUENS <baudens mandrakesoft com> 0.9.3-11mdk
- Fix build for i486

* Thu Apr 13 2000 Yoann Vandoorselaere <yoann mandrakesoft com> 0.9.3-10mdk
- fix group

* Tue Mar 28 2000 Pixel <pixel mandrakesoft com> 0.9.3-9mdk
- cleanup
- patch for perl 5.6
- rebuild for new readline

* Tue Mar 21 2000 Yoann Vandoorselaere <yoann mandrakesoft com> 0.9.3-8mdk
- Fix group.

* Thu Jan 20 2000 Chmouel Boudjnah <chmouel mandrakesoft com> 0.9.3-7mdk
- libtoolize --force.

* Sat Dec 18 1999 John Buswell <johnb mandrakesoft com>
- Fixes sync-plan
- Fixed spec to build and install perl modules

* Sat Nov  6 1999 John Buswell <johnb mandrakesoft com>
- Build Release

* Tue Nov  2 1999 Chmouel Boudjnah <chmouel mandrakesoft com>
- 0.9.3.
- Fix building as user.
- Rewrote spec.

* Wed May 05 1999 Bernhard Rosenkränzer <bero mandrakesoft com>
- Mandrake adaptions
- handle RPM_OPT_FLAGS
- %post / %postun: make -p

* Tue Apr 06 1999 Preston Brown <pbrown redhat com>
- strip binaries

* Tue Mar 30 1999 Preston Brown <pbrown redhat com>
- added missing files from devel subpackage

* Fri Mar 26 1999 Preston Brown <pbrown redhat com>
- move %{_libdir}/pix to %{_libdir}/pilot-link (dumb, BAD name)

* Sun Mar 21 1999 Cristian Gafton <gafton redhat com> 
- auto rebuild in the new build environment (release 5)

* Wed Feb 24 1999 Preston Brown <pbrown redhat com>
- Injected new description and group.

* Thu Jan 21 1999 Bill Nottingham <notting redhat com>
- arm fix

* Fri Sep 24 1998 Michael Maher <mike redhat com>
- cleaned up spec file, updated package

* Tue May 19 1998 Michael Maher <mike redhat com>
- updated rpm

* Thu Jan 29 1998 Otto Hammersmith <otto redhat com>
- added changelog
- updated to 0.8.9
- removed explicit requires for /usr/bin/perl


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]