Under OS X.1, i installed a patched version of PGSQL 7.1.3 and i had to set manually these environnement variables before installing DBD:Pg
the standard values should be POSTGRES_INCLUDE = /usr/local/pgsql/include POSTGRES_LIB=/usr/local/pgsql/lib or something like this i think after the installation of the Perl Module, these variables aren't used anymore Rija Le mercredi 17 octobre 2001, � 08:09 , [EMAIL PROTECTED] a �crit : > Hi, > > Has anyone successfully installed the PostgreSQL module (Pg.pm) for > perl on OSX Server? I'm ALL out of ideas, and I'm going to have to toss > this server if I can't get it working... > > installing DBI using: > > sudo perl -MCPAN -e 'install DBI' > > was smooth as silk. But then I tried to install the Pg module using: > > sudo perl -MCPAN -e 'install Pg' > > and it cranked away fine until the end where it said: > > --------------------------------- > Configuring Pg > Remember to actually read the README file ! > please set environment variables POSTGRES_INCLUDE and POSTGRES_LIB ! > Running make test > ��Make had some problems, maybe interrupted? Won't test > Running make install > ��Make had some problems, maybe interrupted? Won't install > --------------------------------- > > I see that OSX Server already has other DBD modules like DBD::Proxy > installed. If I do a: > > sudo perl -MCPAN -e 'install Proxy' > > then it cranks along fine and tells me that Proxy is 'up to date.' > > But why won't DBD:Pg install? > > I have set the environment variables correctly, so that's not the > problem. And I read the README file, but it doesn't help me. I also > tried to install using "force install DBD::Pg" but got exactly the same > error messages. > > PostgreSQL 7.1.3 is successfully installed and running on OSX Server > 10.0.4. > > Thanks in advance for any ideas...cause I'm afraid I'm all out. > > -John > ***************************************** > "Because the only people for me are the mad ones, > the ones who are mad to live, mad to talk, mad to be saved, > desirous of everything at the same time, the ones who never > yawn or say a commonplace thing, > but burn, burn, burn, like fabulous yellow roman candles > exploding like spiders across the stars and in the middle you see > the blue centerlight pop and everybody goes "Awww!" > > - Jack Kerouac > ***************************************** >
