[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Compiling Glom on FC5?
- From: Peter Williams <peter newton cx>
- To: glom-devel-list gnome org
- Subject: Re: Compiling Glom on FC5?
- Date: Thu, 23 Mar 2006 17:27:24 -0500
On Thu, 2006-03-23 at 10:32 +0100, Murray Cumming wrote:
> Some people seem to be working on packages, but sometimes it takes some
> time.
Ok, here's the recipe for getting Glom to work on FC5 at the moment:
1) Install the following packages:
postgresql-devel (for libgda 1.2)
postgresql-server (assuming you don't have a server)
oidentd (I needed this to get FC5's auth to work with Glom)
bakery-devel
gtkmm24-devel
gnome-vfsmm26-devel
libgnomecanvasmm22-devel
pygtk2-devel
iso-codes-devel
libxslt-devel
libgnome-devel
2) Build and install libgda 1.2.latest.
(http://ftp.gnome.org/pub/GNOME/sources/libgda/1.2/ )
3) Build and install libgdamm 1.3.latest
(http://ftp.gnome.org/pub/GNOME/sources/libgdamm/1.3/ )
4) Build and install gnome-python-extras 2.14.latest
(http://ftp.gnome.org/pub/GNOME/sources/gnome-python-extras/2.14/ )
(This will overwrite files from the gnome-python2-extras package)
5) Apply the attached patch to the glom sources to make it compile with
GCC 4.1.
6) Build and install Glom
7) Configure Postgresql. I had some problems starting with a bare
server. First there was the auth thing: I could run 'createdb' manually
fine, but when Glom tried to connect, the server rejected the connection
because I didn't have an identd running. Then first glom crashed when it
didn't have the permissions to create the glom_developer role (I hadn't
given my role/user CREATEROLE). Then it crashed when opening the example
because
DEBUG: Added user peter to glom developer group on postgres server.
Glom Base_DB::Query_execute(): Error while executing SQL
GRANT ALL PRIVILEGES ON contacts TO GROUP glom_developer
Internal error: ERROR: relation "contacts" does not exist
8) Share and enjoy.
Peter
--
Peter Williams / peter newton cx
Index: glom/base_db.h
===================================================================
RCS file: /cvs/gnome/glom/glom/base_db.h,v
retrieving revision 1.52
diff -u -r1.52 base_db.h
--- glom/base_db.h 20 Mar 2006 14:15:58 -0000 1.52
+++ glom/base_db.h 23 Mar 2006 22:17:22 -0000
@@ -239,7 +239,7 @@
void report_build_groupby(const Glib::ustring& table_name, xmlpp::Element& parent_node, const sharedptr<LayoutItem_GroupBy>& group_by, const Glib::ustring& where_clause_parent);
void report_build_groupby_children(const Glib::ustring& table_name, xmlpp::Element& nodeGroupBy, const sharedptr<LayoutItem_GroupBy>& group_by, const Glib::ustring& where_clause);
void report_build_summary(const Glib::ustring& table_name, xmlpp::Element& parent_node, const sharedptr<LayoutItem_Summary>& summary, const Glib::ustring& where_clause_parent);
- void Base_DB::report_build_headerfooter(const Glib::ustring& table_name, xmlpp::Element& parent_node, const sharedptr<LayoutGroup>& group, const Glib::ustring& where_clause);
+ void report_build_headerfooter(const Glib::ustring& table_name, xmlpp::Element& parent_node, const sharedptr<LayoutGroup>& group, const Glib::ustring& where_clause);
typedef std::vector< sharedptr<LayoutItem> > type_vecLayoutItems;
Index: glom/frame_glom.h
===================================================================
RCS file: /cvs/gnome/glom/glom/frame_glom.h,v
retrieving revision 1.44
diff -u -r1.44 frame_glom.h
--- glom/frame_glom.h 14 Feb 2006 12:44:01 -0000 1.44
+++ glom/frame_glom.h 23 Mar 2006 22:17:22 -0000
@@ -107,7 +107,7 @@
bool connection_request_password_and_attempt();
//Show the dialog to request the password, and choose an unused database name.
- bool Frame_Glom::connection_request_password_and_choose_new_database_name();
+ bool connection_request_password_and_choose_new_database_name();
///Create the database for new documents, showing the Connection dialog
bool create_database(const Glib::ustring& database_name, const Glib::ustring& title, bool request_password = true);
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]