Gentoo Archives: gentoo-user

From: Zhang Weiwu <zhangweiwu@××××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] failed to install tinyERP: how to fix?
Date: Mon, 19 Mar 2007 07:14:10
Message-Id: 1174288143.6361.77.camel@joe.realss.com
1 Hello. When I emerged tinyERP server I was told I should run the below
2 command to configure it. But it doesn't work.
3
4 emerson files # emerge --config =app-office/tinyerp-server-4.0.2
5
6
7 Configuring pkg...
8
9 * In the following, the 'postgres' user will be used.
10 * Creating database user terp ...
11 createuser: unrecognized option `--no-createrole'
12 Try "createuser --help" for more information. [ !! ]
13
14 !!! ERROR: app-office/tinyerp-server-4.0.2 failed.
15 Call stack:
16 ebuild.sh, line 1527: Called pkg_config
17 tinyerp-server-4.0.2.ebuild, line 69: Called die
18
19 !!! Failed to create database user
20 !!! If you need support, post the topmost build error, and the call stack if relevant.
21
22 I first think maybe having --no-createrole is not important so I
23 modified /usr/portage/app-office/tinyerp-server/tinyerp-server-4.0.2.ebuild, replacing this line:
24 createuser --quiet --username=postgres --createdb --no-adduser --no-createrole ${TINYERP_USER}
25 with this line
26 createuser --quiet --username=postgres --createdb --no-adduser ${TINYERP_USER}
27
28 My modification doesn't seem to work, I run "emerge --config" again but
29 still exactly the same error message.
30
31 How do I proceed on? Any suggestions?
32
33 Best Regards
34 Zhang Weiwu
35
36 --
37 gentoo-user@g.o mailing list