[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Pan-users] Compiling recent Pan for RHEL4 and Centos4 - Any Tips?
From: |
Steven Ellis |
Subject: |
Re: [Pan-users] Compiling recent Pan for RHEL4 and Centos4 - Any Tips? |
Date: |
Sat, 02 Jun 2007 19:20:57 +1200 |
User-agent: |
Thunderbird 1.5.0.10 (X11/20070301) |
Steven Ellis wrote:
> I currently use Pan across 3 environments
>
> 1. Server running Centos4
> 2. Laptop running RHEL4
> 3. Desktop running Ubuntu Feisty
>
> Now I like to keep them running equivalent builds of Pan so I can
> synchronise headers.
>
> Problem building recent Pan on RHEL4 seems to need a lot of additional
> dependencies.
>
> At the moment the link to the Fedora 6 build is down, but has anyone
> else tried to backport their build to RHEL4?
>
Ok i've hit a few compile errors on RHEL4.
1. pan/data-impl/data-io.cc needs the following to avoid an error on chmod
extern "C" {
#include <sys/types.h> // for chmod
#include <sys/stat.h> // for chmod
#include <unistd.h>
#include <glib.h>
#include <glib/gi18n.h>
}
2. RHEL4 only has GTK 2.4 which causes a problem with pan/gui/post-ui.cc
producing the following error
if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -DXTHREADS -D_REENTRANT
-DXUSE_MTSAFE_API -pthread -I/usr/include/gtk-2.0
-I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0
-I/usr/include/pango-1.0 -I/usr/include/freetype2
-I/usr/include/freetype2/config -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/gmime-2.0
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-DPANLOCALEDIR=\""/usr/local/share/locale"\" -g -O2 -MT post-ui.o -MD
-MP -MF ".deps/post-ui.Tpo" -c -o post-ui.o post-ui.cc; \
then mv -f ".deps/post-ui.Tpo" ".deps/post-ui.Po"; else rm -f
".deps/post-ui.Tpo"; exit 1; fi
post-ui.cc:211: error: `GTK_STOCK_EDIT' was not declared in this scope
make: *** [post-ui.o] Error 1
Any tips on how to fix this one?
Steve