pan-users
[Top][All Lists]
Advanced

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

Re: [Pan-users] Pan 0.90 "Sero Sed Serio" x86_64 build error


From: Jeff Vian
Subject: Re: [Pan-users] Pan 0.90 "Sero Sed Serio" x86_64 build error
Date: Tue, 04 Apr 2006 21:00:19 -0500

On Mon, 2006-04-03 at 18:31 -0400, Byron Sonne wrote:
> Greetings,
> 
> Awesome news that the beta's out! Just grabbed it and started to build, 
> hoping to put together some amd64 RPMs (another thing I don't know how 
> to do yet).
> 
> OS is suse 10, the ./configure went ok, no issues it appears, but make 
> yields:
> 
> utf8-utils.cc: In function ‘char* pan::mime_part_to_utf8(GMimePart*, 
> const char*)’:
> utf8-utils.cc:253: error: cannot convert ‘guint*’ to ‘size_t*’ for 
> argument ‘2’ to ‘const char* g_mime_part_get_content(const GMimePart*, 
> size_t*)’
> make[3]: *** [utf8-utils.o] Error 1
> make[3]: Leaving directory `/home/blsonne/tmp/pan-0.90/pan/usenet-utils'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/home/blsonne/tmp/pan-0.90/pan'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/blsonne/tmp/pan-0.90'
> make: *** [all] Error 2
> 
> I've not touched the build since I hit the error in case there's 
> anything left in there that could help track down the issue. Didn't see 
> anything on the list that looks quite like this... Any suggestions or 
> tricks to try?
> 
There are 2 files that need changed for this error.
line 252 of pan/usenet-utils/utf8-utils.cc needs "guint" changed to
"size_t"
Line 506 of pan/gui/body-pane.cc needs the same change.

Once those were changed it worked for me on my amd64 system.

BTW, Charles has said, (quoting from his post on the devel list) in
reference to these two changes.  

"size_t works on 32 bit machines too, so the source should use those and
no ifdefs needed."

I had suggested that the architecture should be changed to make sure the
proper type was used on the 64 bit systems.

> Cheers,
> Byron Sonne
> 
> 
> _______________________________________________
> Pan-users mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/pan-users




reply via email to

[Prev in Thread] Current Thread [Next in Thread]