Thread: BUG #3911: can not 'make'
The following bug has been logged online: Bug reference: 3911 Logged by: ted petrosky Email address: tedpet5@yahoo.com PostgreSQL version: 8.3RC2 Operating system: os x Description: can not 'make' Details: Ok, what am I doing wrong? I downloaded RC2 and config with: ./configure --with-libedit-preferred --enable-thread-safety --with-bonjour sequence ... FAILED polymorphism ... ok rowtypes ... FAILED returning ... FAILED largeobject ... FAILED xml ... FAILED test stats ... ok test tablespace ... ok ============== shutting down postmaster ============== server stopped ====================================================== 39 of 114 tests failed, 1 of these failures ignored. ====================================================== cc --version gives: cc --version i686-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5465) Copyright (C) 2005 Free Software Foundation, Inc. I usually don't have a problem with 'make check' what can I send to help find the problem. Ted
"ted petrosky" <tedpet5@yahoo.com> writes: > PostgreSQL version: 8.3RC2 > Operating system: os x > Description: can not 'make' OS X which? And is this PPC or Intel hardware? > Ok, what am I doing wrong? I downloaded RC2 and config with: > ./configure --with-libedit-preferred --enable-thread-safety > --with-bonjour That exact case works fine for me on a freshly installed 10.5.1 machine. One thought, if this is a machine that's been upgraded from 10.4 to 10.5: in the past we've seen problems with old Xcode installations not being able to build code that works in a newer OS. Did you update Xcode when you updated? Even if you did, it might be best to remove and reinstall Xcode. regards, tom lane
10.5.1 a new install on a separate HD. Xcode 3 was installed fresh (as the HD was freshly formatted) intel (quad processor) Ted --- Tom Lane <tgl@sss.pgh.pa.us> wrote: > "ted petrosky" <tedpet5@yahoo.com> writes: > > PostgreSQL version: 8.3RC2 > > Operating system: os x > > Description: can not 'make' > > OS X which? And is this PPC or Intel hardware? > > > Ok, what am I doing wrong? I downloaded RC2 and > config with: > > ./configure --with-libedit-preferred > --enable-thread-safety > > --with-bonjour > > That exact case works fine for me on a freshly > installed 10.5.1 > machine. > > One thought, if this is a machine that's been > upgraded from 10.4 to > 10.5: in the past we've seen problems with old Xcode > installations > not being able to build code that works in a newer > OS. Did you update > Xcode when you updated? Even if you did, it might > be best to remove > and reinstall Xcode. > > regards, tom lane > ____________________________________________________________________________________ Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping
so I just tried uninstalling and reinstalling Xcode3.... same result. will it help to see the actual logs? Ted --- Tom Lane <tgl@sss.pgh.pa.us> wrote: > "ted petrosky" <tedpet5@yahoo.com> writes: > > PostgreSQL version: 8.3RC2 > > Operating system: os x > > Description: can not 'make' > > OS X which? And is this PPC or Intel hardware? > > > Ok, what am I doing wrong? I downloaded RC2 and > config with: > > ./configure --with-libedit-preferred > --enable-thread-safety > > --with-bonjour > > That exact case works fine for me on a freshly > installed 10.5.1 > machine. > > One thought, if this is a machine that's been > upgraded from 10.4 to > 10.5: in the past we've seen problems with old Xcode > installations > not being able to build code that works in a newer > OS. Did you update > Xcode when you updated? Even if you did, it might > be best to remove > and reinstall Xcode. > > regards, tom lane > ____________________________________________________________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
Theodore Petrosky <tedpet5@yahoo.com> writes: > 10.5.1 a new install on a separate HD. Xcode 3 was > installed fresh (as the HD was freshly formatted) > intel (quad processor) Hmmm ... 10.5 on Intel is the one case that's not getting exercised on a fairly regular basis (either by the buildfarm or me personally). So maybe you have a real issue there. Did you see any compile warnings while building the code? What's the regression.diffs look like? regards, tom lane
Theodore Petrosky <tedpet5@yahoo.com> writes: > when I check the results/float4.out I see: > psql: FATAL: sorry, too many clients already Hah. Check what initdb set max_connections to, and run the tests with fewer clients than that: make MAX_CONNECTIONS=n check In the long run you'll want to increase the shared memory settings --- Apple's out-of-the-box defaults are pretty lame. regards, tom lane
So the solution is to create a file /etc/sysctl.conf with the following: kern.sysv.shmmax=33554432 kern.sysv.shmmin=1 kern.sysv.shmmni=32 kern.sysv.shmseg=8 kern.sysv.shmall=65536 I went looking for my rc.conf and can not find it under os 10.5... Apple must have moved it again. If someone very knowledgeable can post where this file went (more for information than need) I would appreciate it. I assumed that since I had no problem installing postgresql on server 10.5.1 I would have the same luck on client..... When you assume.... Thanks, everything is beautiful now and I am back on track with webobjects... Ted --- Tom Lane <tgl@sss.pgh.pa.us> wrote: > Theodore Petrosky <tedpet5@yahoo.com> writes: > > when I check the results/float4.out I see: > > psql: FATAL: sorry, too many clients already > > Hah. Check what initdb set max_connections to, and > run the tests > with fewer clients than that: > make MAX_CONNECTIONS=n check > > In the long run you'll want to increase the shared > memory settings > --- Apple's out-of-the-box defaults are pretty lame. > > regards, tom lane > > ---------------------------(end of > broadcast)--------------------------- > TIP 9: In versions below 8.0, the planner will > ignore your desire to > choose an index scan if your joining column's > datatypes do not > match > ____________________________________________________________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
Theodore Petrosky <tedpet5@yahoo.com> writes: > So the solution is to create a file /etc/sysctl.conf > with the following: > kern.sysv.shmmax=33554432 > kern.sysv.shmmin=1 > kern.sysv.shmmni=32 > kern.sysv.shmseg=8 > kern.sysv.shmall=65536 > I went looking for my rc.conf and can not find it > under os 10.5... Apple must have moved it again. If you did a fresh install then there's no reason to expect a custom file to be there. I had to copy over my sysctl.conf from my 10.4 disk by hand ... regards, tom lane