Re: Gnome Pilot 0.1.67



On 24 Oct 2002, JP Rosevear wrote:

> Gnome Pilot 0.1.67 (Up the Tree-o) has been released:
>
> ftp://ftp.gnome.org/pub/GNOME/sources/gnome-pilot/0.1/
>
> Features
> * Update to work with Handspring Treo devices on USB
>
> Bug fixes
> * Fix crash when configuring net sync (still might not work though)
> * Use "USB" instead of "Handspring USB" in the wizard

Hrmm... Yuck.  I think I found another gimpy bug similar to the one from
0.1.66.

Executing CFLAGS="-O2 -march=i586 -mcpu=i686" ./configure --prefix=/usr
--sysconfdir=/etc --localstatedir=/var goes fine, except for...

checking for pi_accept in -lpisock... yes
./configure: line 10635: -lpisync: command not found
checking for pilot-link version >= 0.11.4... yes (found 0.11.4)

Doh!

Looking at (around) line 10635 we see...

if test $ac_cv_lib_pisock_pi_accept = yes; then
   PISOCK_LIBS=-lpisock -lpisync
else

Predictably, the result is a failure during the make like...

util.so /usr/lib/libgtk.so /usr/lib/libgdk.so -lXext -lX11 -lm
/usr/lib/libgmodule.so /usr/lib/libgthread.so /usr/lib/libglib.so
-lpthread -ldl -lcrypt -Wl,--rpath -Wl,/usr/lib/
gpilotd.o: In function `pilot_connect':
/space/tmp/gnome-pilot-0.1.67/gpilotd/gpilotd.c:129: undefined reference
to `pi_socket'
/space/tmp/gnome-pilot-0.1.67/gpilotd/gpilotd.c:149: undefined reference
to `pi_bind'
/space/tmp/gnome-pilot-0.1.67/gpilotd/gpilotd.c:154: undefined reference
to `pi_close'
/space/tmp/gnome-pilot-0.1.67/gpilotd/gpilotd.c:158: undefined reference
to `pi_listen'

...and so on.

Don't ask me why no one else seems to have mentioned this.

A dinky little diff is attached, or one can use the following perl command
to fixor it (before running configure, heh)...

perl -pi -e 's/PISOCK_LIBS=-lpisock -lpisync/PISOCK_LIBS="-lpisock -lpisync"/g' configure





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