pan-users
[Top][All Lists]
Advanced

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

[Pan-users] Fix for 0.99 build issues on RHEL4 and Centos4


From: Steven Ellis
Subject: [Pan-users] Fix for 0.99 build issues on RHEL4 and Centos4
Date: Tue, 30 May 2006 17:37:34 +1200
User-agent: Mozilla Thunderbird 1.0.8-1.4.1 (X11/20060420)


Hit a number of compile time issues trying to get 0.99 up and running on RHEL4/Centos4. I've included a diff file of the changes I had to apply to the vanilla sources to get things working. Hopefully it will help other people hitting the same pain as me.

If anyone is interested I could start supplying RHEL4/Centos4 builds of Pan.

Steve



diff -rc pan-0.99.orig/pan/data/article-cache.cc 
pan-0.99/pan/data/article-cache.cc
*** pan-0.99.orig/pan/data/article-cache.cc     2006-05-28 08:48:00.000000000 
+1200
--- pan-0.99/pan/data/article-cache.cc  2006-05-30 13:56:15.000000000 +1200
***************
*** 26,31 ****
--- 26,32 ----
  #include <gmime/gmime.h>
  
  #include <glib.h>
+ #include <libintl.h>
  #include <glib/gi18n.h>
  #include <pan/general/debug.h>
  #include <pan/general/file-util.h>
diff -rc pan-0.99.orig/pan/general/line-reader.cc 
pan-0.99/pan/general/line-reader.cc
*** pan-0.99.orig/pan/general/line-reader.cc    2006-05-28 08:48:00.000000000 
+1200
--- pan-0.99/pan/general/line-reader.cc 2006-05-30 13:56:12.000000000 +1200
***************
*** 1,5 ****
--- 1,6 ----
  #include <cerrno>
  #include <cstring>
+ #include <libintl.h>
  #include <glib/gi18n.h>
  #include "file-util.h"
  #include "line-reader.h"
diff -rc pan-0.99.orig/pan/gui/actions.cc pan-0.99/pan/gui/actions.cc
*** pan-0.99.orig/pan/gui/actions.cc    2006-05-28 08:48:00.000000000 +1200
--- pan-0.99/pan/gui/actions.cc 2006-05-30 14:06:47.000000000 +1200
***************
*** 17,22 ****
--- 17,23 ----
   * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
   */
  
+ #include <libintl.h>
  #include <glib/gi18n.h>
  #include <gtk/gtk.h>
  #include <pan/general/debug.h>
diff -rc pan-0.99.orig/pan/gui/body-pane.cc pan-0.99/pan/gui/body-pane.cc
*** pan-0.99.orig/pan/gui/body-pane.cc  2006-05-28 08:48:00.000000000 +1200
--- pan-0.99/pan/gui/body-pane.cc       2006-05-30 14:10:01.000000000 +1200
***************
*** 18,23 ****
--- 18,24 ----
   */
  
  #include <ctype.h>
+ #include <libintl.h>
  #include <glib/gi18n.h>
  #include <gtk/gtk.h>
  #include <gdk/gdkkeysyms.h>
diff -rc pan-0.99.orig/pan/tasks/task-groups.cc 
pan-0.99/pan/tasks/task-groups.cc
*** pan-0.99.orig/pan/tasks/task-groups.cc      2006-05-28 08:48:01.000000000 
+1200
--- pan-0.99/pan/tasks/task-groups.cc   2006-05-30 14:00:55.000000000 +1200
***************
*** 18,23 ****
--- 18,24 ----
   */
  
  #include <cassert>
+ #include <libintl.h>
  #include <glib/gi18n.h>
  #include <pan/general/debug.h>
  #include <pan/general/foreach.h>
diff -rc pan-0.99.orig/pan/tasks/task-post.cc pan-0.99/pan/tasks/task-post.cc
*** pan-0.99.orig/pan/tasks/task-post.cc        2006-05-28 08:48:01.000000000 
+1200
--- pan-0.99/pan/tasks/task-post.cc     2006-05-30 14:02:08.000000000 +1200
***************
*** 17,22 ****
--- 17,23 ----
   * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
   */
  
+ #include <libintl.h>
  #include <glib/gi18n.h>
  #include "task-post.h"
  #include <pan/general/debug.h>
diff -rc pan-0.99.orig/pan/tasks/task-xover.cc pan-0.99/pan/tasks/task-xover.cc
*** pan-0.99.orig/pan/tasks/task-xover.cc       2006-05-28 08:48:01.000000000 
+1200
--- pan-0.99/pan/tasks/task-xover.cc    2006-05-30 14:02:35.000000000 +1200
***************
*** 19,24 ****
--- 19,25 ----
  
  #include <cassert>
  #include <cerrno>
+ #include <libintl.h>
  #include <glib/gi18n.h>
  #include <gmime/gmime-utils.h>
  #include <pan/general/debug.h>

reply via email to

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