perl-interface: make test
От | wlin@atmgcm.msrc.sunysb.Edu |
---|---|
Тема | perl-interface: make test |
Дата | |
Msg-id | Pine.OSF.3.91.990309215645.29842B-100000@atmgcm.msrc.sunysb.edu обсуждение исходный текст |
Ответы |
Re: [INTERFACES] perl-interface: make test
|
Список | pgsql-interfaces |
Hello, When I installed the perl interface for postgresql, as instructed, the first two steps (perl Makefile.PL; make) worked well. But when doing "make test", it stopped with message ... not ok 2: 0, 1 FATAL 1: Database emplate1 does not exist in pg_database ======== rather than template1 Looks like the first char of $dbmain (which is 'template1') has been striped off. If I placed an arbitrary char before 'template1', which would be '?template1', then the database template1 could be connected; but it would still fail at later steps of 'make test'. I just find out that I didn't specify '--with-perl' to enable perl interface at the configuration step when I installed postgresql last May. Is this responsible for the above problem? Any shortcut to enable it rather than re-install it from scratch? The INSTALL file indicates if using '--with-perl', it requires an installed version of postgreSQL. In that case, what files/directories should be retained for a rebuild or an update? Any advices will be appreciated! Wuyin Lin wlin@atmgcm.msrc.sunysb.edu
В списке pgsql-interfaces по дате отправления: