Hello. When I emerged tinyERP server I was told I should run the below
command to configure it. But it doesn't work.
        
        emerson files #  emerge --config =app-office/tinyerp-server-4.0.2
        
        
        Configuring pkg...
        
         * In the following, the 'postgres' user will be used.
         * Creating database user terp ...
        createuser: unrecognized option `--no-createrole'
        Try "createuser --help" for more information.               [ !! ]
        
        !!! ERROR: app-office/tinyerp-server-4.0.2 failed.
        Call stack:
          ebuild.sh, line 1527:   Called pkg_config
          tinyerp-server-4.0.2.ebuild, line 69:   Called die
        
        !!! Failed to create database user
        !!! If you need support, post the topmost build error, and the call 
stack if relevant.

I first think maybe having --no-createrole is not important so I
modified /usr/portage/app-office/tinyerp-server/tinyerp-server-4.0.2.ebuild, 
replacing this line:
        createuser --quiet --username=postgres --createdb --no-adduser 
--no-createrole ${TINYERP_USER}
with this line
        createuser --quiet --username=postgres --createdb --no-adduser  
${TINYERP_USER}

My modification doesn't seem to work, I run "emerge --config" again but
still exactly the same error message.

How do I proceed on? Any suggestions?

Best Regards
Zhang Weiwu

-- 
gentoo-user@gentoo.org mailing list

Reply via email to