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



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.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





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