Hi Peter, Peter Czanik writes: > Hello, > This morning I also added postgresql 9.0 to the mix. "make check" failed > at test_pgsql.sh. I was running it as root, and postgresql scripts don't > like it. So there was an attempt to su to user postgres. There are two > problems with it: > - on FreeBSD su is in /usr/bin (not in /bin, as the script expects) > - there is no postgres user
The test scripts were donated by the Ubuntu and Debian maintainers. They still contain some OS-specific stuff. I'm not yet sure how to deal with this. In contrast to other stuff, the "make check" stuff should run on any platform without platform-specific patches. So how do we find out whether or not we have to su to a particular user in order to do administrative tasks on the server? Is it only Debian-based OSes that handle postgresql access this way? If that were the case, we could add some code to ./configure to make sure this test is run appropriately. > So I compiled libdbi-drivers as user czanik, ran make check, and now I have: > ================== > All 3 tests passed > ================== > Actually, I always build software in my regular account. To the best of my knowledge, only make install requires root privileges. In any cases, this should be documented somewhere. regards, Markus -- Markus Hoenicka http://www.mhoenicka.de AQ score 38 ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ libdbi-devel mailing list libdbi-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libdbi-devel