FS#16608 - [pan] 0.133 need to be rebuild because of new gmime package
Attached to Project:
Arch Linux
Opened by solsTiCe (zebul666) - Tuesday, 13 October 2009, 08:55 GMT
Last edited by Eric Belanger (Snowman) - Friday, 16 October 2009, 06:13 GMT
Opened by solsTiCe (zebul666) - Tuesday, 13 October 2009, 08:55 GMT
Last edited by Eric Belanger (Snowman) - Friday, 16 October 2009, 06:13 GMT
|
Details
Description:
$ pan pan: error while loading shared libraries: libgmime-2.0.so.2: cannot open shared object file: No such file or directory so pan need to be rebuild with new gmime package moreover, trying to build it from abs gives an error: checking for GMIME... configure: error: Package requirements (gmime-2.0 >= 2.1.9) were not met: No package 'gmime-2.0' found Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables GMIME_CFLAGS and GMIME_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. ==> ERROR: Build Failed. Aborting... gmime package is broken ? need a gmime.pc ?? i will fill a bug for that too |
This task depends upon
Closed by Eric Belanger (Snowman)
Friday, 16 October 2009, 06:13 GMT
Reason for closing: Fixed
Additional comments about closing: fixed in pan-0.133-2. I was able to patch it so that it built with gmime 2.4.
Friday, 16 October 2009, 06:13 GMT
Reason for closing: Fixed
Additional comments about closing: fixed in pan-0.133-2. I was able to patch it so that it built with gmime 2.4.
patch are floating around to fix this. on their ML.
don't know if their gonna release something to fix this
https://bugzilla.gnome.org/attachment.cgi?id=144228
adding this patch still fails to build pan for me. per comments in bug tracker, I doubt this will be getting fixed anytime soon. for now keeping gmime-2.2.21 as pan is the only application I have using it.
Thanks Sergej for the updated gmime22 package in community.
But I had to use the patch from http://git.gnome.org/cgit/pan2/commit/?id=41fa7e1e01752e6e8b6caa369b42b24951d86a5a
to compile it with gcc 4.4.1 . The PKGBUILD I used is attached and the patch named pan2gcc44.patch also.
pan2gcc44.patch (1.8 KiB)
mime-utils.cc: In function `void<unnamed>::handle_uu_and_yenc_in_text_plain_cb(GMimeObject*, GMimeObject*, void*)':
mime-utils.cc:787: error: invalid cast from type `_GMimeObject' to type `GTypeInstance*'
mime-utils.cc:788: error: invalid cast from type `_GMimeObject' to type `GMimeMultipart*'
mime-utils.cc:796: error: `handle_uu_and_yenc_in_text_plain' was not declared in this scope
mime-utils.cc:804: error: cannot convert `_GMimeObject' to `GMimeObject*' for argument `1' to `GMimeContentType* g_mime_object_get_content_type(GMimeObject*)'
mime-utils.cc:809: error: invalid cast from type `_GMimeObject' to type `GTypeInstance*'
make[3]: *** [mime-utils.o] Error 1
Anyone know how to fix this? The patch I'm using was made for the git version. I'll try to use it on the git version to see if it works. If I have too much trouble or if it takes too much time, I'll probably use the gmime22 package.