Re: [Evolution] pilot-link handles UTF-8 conversions



On Wed, 2001-11-28 at 02:59, Paul Oliver wrote:
Damon Chaplin wrote


I think you need to make sure pilot-link is compiled with iconv support,
maybe using the --with-libiconv option.


Thanks, I tried that, and it didn't seem to work. :(

I have a tarball labeled pilot-link-0.9.6.tar.gz.  I can't remember
where I got it, but it installs with the tag 0.9.6cvs.  At any rate,
this one is broken with regards to compiling iconv support.  The release
0.9.5 does seem to compile fine.  I'm not sure about current pilot-link
CVS because I haven't tried it yet.

I ran into the exact same problem you had, and the only solution was to
revert to 0.9.5.


Dan


i.e. . .

for pilot-link-0.1.96

./configure --with-perl5=no --with-java=no --with-tcl=no
    --with-python=no --with-libiconv

for evolution (CVS)

./autogen.sh --with-pisock=/usr/local --enable-pilot-conduits=yes



What OS are you using?



$> cat /etc/redhat-release
Mandrake Linux release 8.2 (Cooker) for i586
$>
$> uname -a
Linux paultastic.tc 2.4.12-ac3 #4 Sat Oct 27 22:31:41 CDT 2001 i686 unknown

Here is config.log.  Maybe this will help someone diagnose it:
--------------- config.log -----------------------------------------
configure:10725: checking for gnome-pilot environment
configure:11078: checking if pilot-link handles UTF-8 conversions
configure:11107: gcc -o conftest -g -O2 -Wall -Wunused 
-Wmissing-prototypes -Wmissing-declarations 
-I/usr/local/include/gtk-1.2 -I/usr/local/include/glib-1.2 
-I/usr/local/lib/glib/include -I/usr/X11R6/include   conftest.c  1>&5
/tmp/cctKO0DM.o: In function `main':
/usr/local/sources/gnomecvs/evolution/configure:11099: undefined 
reference to `convert_ToPilotChar'
collect2: ld returned 1 exit status
configure: failed program was:
#line 11086 "configure"
#include "confdefs.h"


#include <stdlib.h>
#include <string.h>
#include <pi-util.h>

int main (int argc, char **argv)
{
         const char *utf8 = "\x66\x66\x66\x66\x66\x66\x66\xC2\xA9";
         size_t utf8_real_len = strlen (utf8);
         char *pstring;

         if (convert_ToPilotChar ("UTF8", utf8, utf8_real_len, &pstring) 
== -1)
                 exit (1);

         exit (0);
}

-------------------------------------------------------------------------


Thanks for your help!

Paul


_______________________________________________
evolution maillist  -  evolution ximian com
http://lists.ximian.com/mailman/listinfo/evolution






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