Gentoo Archives: gentoo-user

From: Mick <michaelkintzios@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Kmail2 - I have not given up ... yet
Date: Tue, 29 Dec 2015 19:43:32
Message-Id: 201512291943.17876.michaelkintzios@gmail.com
In Reply to: Re: [gentoo-user] Kmail2 - I have not given up ... yet by "J. Roeleveld"
1 On Tuesday 29 Dec 2015 18:49:03 J. Roeleveld wrote:
2 > On 29 December 2015 19:40:58 CET, Mick <michaelkintzios@×××××.com> wrote:
3 > >On Tuesday 29 Dec 2015 17:51:32 J. Roeleveld wrote:
4 > >> On Tuesday, December 29, 2015 04:34:33 PM Mick wrote:
5 > >> > On Tuesday 29 Dec 2015 14:18:20 J. Roeleveld wrote:
6 > >> > > sqlite is nice, for single threaded applications.
7 > >> > > For anything more advanced, either a wrapper is required or
8 > >
9 > >something
10 > >
11 > >> > > more advanced needs to be used.
12 > >> >
13 > >> > I like sqlite because it is self-contained, embedded in the
14 > >
15 > >application
16 > >
17 > >> > that uses it and accesses the data directly with functional calls,
18 > >> > rather than looping around port/socket interfaces to speak to a
19 > >
20 > >server.
21 > >
22 > >> > This is why I kept it, since with Kmail1 it is not used much.
23 > >>
24 > >> SQLite never was reliable with akonadi. That might be why so many
25 > >
26 > >people
27 > >
28 > >> had all those issues.
29 > >>
30 > >> > With Kmail2 the database will be hammered so as you say will need
31 > >> > something that can process things in parallel at speed and in
32 > >
33 > >higher
34 > >
35 > >> > volumes. So, I'm planning to install postgresql for this purpose,
36 > >
37 > >since
38 > >
39 > >> > in my experience mysql has had a number of hickups with akonadi.
40 > >>
41 > >> My experience as well, which is why I switched to Postgresql.
42 > >>
43 > >> > Can you please advise what GRANTS did you use to create a dedicated
44 > >> > postgresql user for akonadi?
45 > >>
46 > >> Grants?
47 > >> I did the following:
48 > >> % createuser -P <akonadiuser>
49 > >> (NOTE: You need to set a password, which is why I use the "-P"
50 > >
51 > >option)
52 > >
53 > >> % createdb -E UTF8 -O <akonadiuser> <akonadidb>
54 > >>
55 > >> My config for this is:
56 > >>
57 > >> % cat .config/akonadi/akonadiserverrc
58 > >> [%General]
59 > >> Driver=QPSQL
60 > >>
61 > >> [QPSQL]
62 > >> Name=<akonadidb>
63 > >> Host=localhost
64 > >> Options=
65 > >> ServerPath=/usr/bin/pg_ctl
66 > >> InitDbPath=/usr/bin/initdb
67 > >> StartServer=false
68 > >> User=<akonadiuser>
69 > >> Password=<akonadipassword>
70 > >> Port=5432
71 > >>
72 > >> [Debug]
73 > >> Tracer=null
74 > >>
75 > >> > Will the same user be used for Baloo indexing, or is this an
76 > >
77 > >additional
78 > >
79 > >> > database role?
80 > >>
81 > >> Afaik, no. Baloo uses it's own database engine.
82 > >>
83 > >> For the USE-flags:
84 > >>
85 > >> app-office/akonadi-server postgresql qt4
86 > >> (all other USE-flags disabled)
87 > >>
88 > >> --
89 > >> Joost
90 > >
91 > >Thank you very much Joost for holding my hand on this. Last question
92 > >for the
93 > >day: It seems that postgresql wants to install xemacs as a dependency
94 > >... o_O
95 > >
96 > >========================================
97 > ># emerge -uaDv emerge dev-db/postgresql
98 > >
99 > >These are the packages that would be merged, in order:
100 > >
101 > >Calculating dependencies... done!
102 > >[ebuild N ] app-eselect/eselect-postgresql-1.2.1::gentoo 4 KiB
103 > >[ebuild N ] app-eselect/eselect-ctags-1.18::gentoo 9 KiB
104 > >[ebuild N ] app-eselect/eselect-emacs-1.18::gentoo 0 KiB
105 > >[ebuild N ] dev-db/postgresql-9.4.5-r1:9.4::gentoo USE="ldap nls
106 > >pam
107 > >readline server ssl xml zlib -doc -kerberos (-libressl) -perl -
108 > >pg_legacytimestamp -python (-selinux) -static-libs -tcl -threads -uuid"
109 > >
110 > >LINGUAS="en -af -cs -de -es -fa -fr -hr -hu -it -ko -nb -pl -pt_BR -ro
111 > >-ru -sk
112 > >-sl -sv -tr -zh_CN -zh_TW" PYTHON_SINGLE_TARGET="python2_7 -python3_4"
113 > >PYTHON_TARGETS="python2_7 python3_4" 17,248 KiB
114 > >[ebuild N ] app-editors/xemacs-21.4.24::gentoo USE="X berkdb gdbm
115 > >gif
116 > >gpm jpeg ldap png tiff -Xaw3d -athena -canna -dnd -eolconv -freewnn
117 > >-motif -
118 > >mule -nas -neXt -pop -postgres -xface -xim" 8,383 KiB
119 > >[ebuild N ] app-xemacs/xemacs-base-2.27::gentoo 524 KiB
120 > >[ebuild N ] app-xemacs/emerge-1.11::gentoo 60 KiB
121 > >
122 > >Total: 7 packages (7 new), Size of downloads: 26,225 KiB
123 > >
124 > >Would you like to merge these packages? [Yes/No]
125 > >================================================
126 > >
127 > >Why is this?
128 >
129 > No. You are trying to emerge 'emerge'.
130 > (Check the commandline :) )
131 >
132 > --
133 > Joost
134
135
136 Oops! Apologies for the noise.
137
138 Against my wife's advice (she knows better of course) I am trying to multi-
139 task a number of chores which have suddenly descended upon me ... I'll get on
140 with completing the tax return first, before I return to Kmail2.
141
142 --
143 Regards,
144 Mick

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] Kmail2 - I have not given up ... yet "J. Roeleveld" <joost@××××××××.org>