From owner-freebsd-ports Mon Jun 8 07:01:21 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA16607 for freebsd-ports-outgoing; Mon, 8 Jun 1998 07:01:21 -0700 (PDT) (envelope-from owner-freebsd-ports@FreeBSD.ORG) Received: from home.rest.ru (root@home.rest.ru [195.58.8.205]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA16556 for ; Mon, 8 Jun 1998 07:01:07 -0700 (PDT) (envelope-from zal@rest.ru) Received: from rest.ru (zal.rest.ru [194.135.175.178]) by home.rest.ru (8.8.8/8.8.8) with ESMTP id UAA28377 for ; Mon, 8 Jun 1998 20:01:03 +0600 (ESS) (envelope-from zal@rest.ru) Message-ID: <357BEE4C.5D8C4CB1@rest.ru> Date: Mon, 08 Jun 1998 19:59:40 +0600 From: Aleksey Zvyagin Organization: REST Ltd. X-Mailer: Mozilla 4.05 [en] (Win95; I) MIME-Version: 1.0 To: ports@FreeBSD.ORG Subject: About the troubleshooting of installing of the postgresql port Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hello! Sorry for my bad English! About problem: I have been installing the PostGreSQL of 'port-current'. All were being right until the execution of 'createuser'. This script didn't create the pgsql user. I had found the error! This script (createuser) is written not correct! My Platform is: FreeBSD 2.2.6 /usr/bin/perl is version of 5.004 (i had replaced this binary from 4.0 to 5.003 version by manual) Following line is in script: system( "/usr/bin/chpass -a \"pgsql:*:$pgUID:$pgGID::0:0:PostgreSQL pseudo-user:$ENV{'PREFIX'}/pgsql:/bin/sh\"" ); I am having the error: chpass: corrupted entry The interpretation of string believes that "$pgGID::0" is member-data and the "$pgGID::0" will not be printed. I have the perl of version 5.004 by path /usr/bin/perl (standart version is 4.0 in FreeBSD). I would like to suggest a simple solution: To replace this string to following string: system( "/usr/bin/chpass -a \"pgsql:*:$pgUID:$pgGID\:\:0:0:PostgreSQL pseudo-user:$ENV{'PREFIX'}/pgsql:/bin/sh\"" ); Same script is located in /usr/ports/databases/msql. May be should it be changed too? -- Best regards, Aleksey Zvyagin, Ekaterinburg city, Ural region, Russia. E-mail: zal@rest.ru; UIN: 1381198; ntalk compatible: zal@zal.rest.ru; Mini-site: http://www.almaz.rest.ru ; HomePage: http://www.rest.ru/~zal/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message