Re: Postgresql Access with Perl and DBD::PG
Re: Postgresql Access with Perl and DBD::PG
От:
J J <linux2000@hotmail.com>
Дата:
It sounds like you dont have write permission where ever it wants to create Makemaker.tmp. In the directory you're building in, and as root, try: chown -R me.mygroup * That will make you the owner of all files in that dir and the ones below it (-R), and also set the group to mygroup. Untested, but it's worked for me on other things. Regards, J J C. R wrote: > I currently have postgresql 6.3.2-6 on RedHat Linux 5.1 and have > successfully (I think) installed DBI 1.06. I have tried to install DBD-Pg > 0.73 (the last version that works with postgresql 6.3) so that I will be > able to use Perl to access a postgresql database but I am having problems. > The DBD-Pg readme states that I should do the install as a normal user who > has db and user create access in postgresql. I have tried this but I get a > error saying that I am unable to open the file "Makemaker.tmp". This > happens when I try to create the make file using the makefile.pl file > provided. Could someone please tell me where this file or directory is > located so that i can adjust the access privileges or explain to me how this > "Makemaker" works? I carried out a similar procedure with DBI and everything > worked fine except that I did it as root. DBD-Pg specifically says not to > do the install as root. > > Any help would be greatly appreciated and please email me in addition to > posting to the group. > > Thanks. > > Carl > carl.roth@home.com