Обсуждение: RC2 on OS X can not make check
I just found the time to try 8.0RC2 on OSX and I have a problem with 'make check'. Here is my configure.. ./configure --disable-shared --with-rendezvous --enable-thread-safety make then make check ============== creating temporary installation ============== pg_regress: installation failed Examine ./log/install.log for the reason. make[2]: *** [check] Error 2 make[1]: *** [check] Error 2 make: *** [check] Error 2 Here is the install.log... make -C doc install gzip -d -c ./postgres.tar.gz | ( cd /Users/postgres/Documents/postgresql source/postgresql-8.0.0rc2/src/test/regress/./tmp_check/install/usr/local/pgsql/doc/html && /usr/bin/tar xf - ) for file in man1/*.1 man7/*.7 ; do \ /bin/sh ../config/install-sh -c -m 644 $file /Users/postgres/Documents/postgresql source/postgresql-8.0.0rc2/src/test/regress/./tmp_check/install/usr/local/pgsql/man/$file || exit; \ done make -C src install /bin/sh ../config/mkinstalldirs /Users/postgres/Documents/postgresql source/postgresql-8.0.0rc2/src/test/regress/./tmp_check/install/usr/local/pgsql/lib/pgxs/src /bin/sh ../config/install-sh -c -m 644 Makefile.global /Users/postgres/Documents/postgresql source/postgresql-8.0.0rc2/src/test/regress/./tmp_check/install/usr/local/pgsql/lib/pgxs/src/Makefile.global /bin/sh ../config/install-sh -c -m 644 Makefile.port /Users/postgres/Documents/postgresql source/postgresql-8.0.0rc2/src/test/regress/./tmp_check/install/usr/local/pgsql/lib/pgxs/src/Makefile.port /bin/sh ../config/install-sh -c -m 644 ./Makefile.shlib /Users/postgres/Documents/postgresql source/postgresql-8.0.0rc2/src/test/regress/./tmp_check/install/usr/local/pgsql/lib/pgxs/src/Makefile.shlib /bin/sh ../config/install-sh -c -m 644 ./nls-global.mk /Users/postgres/Documents/postgresql source/postgresql-8.0.0rc2/src/test/regress/./tmp_check/install/usr/local/pgsql/lib/pgxs/src/nls-global.mk make -C port install /bin/sh ../../config/install-sh -c -m 644 libpgport.a /Users/postgres/Documents/postgresql source/postgresql-8.0.0rc2/src/test/regress/./tmp_check/install/usr/local/pgsql/lib make -C timezone install make -C ../../src/port all make[6]: Nothing to be done for `all'. ./zic -d /Users/postgres/Documents/postgresql source/postgresql-8.0.0rc2/src/test/regress/./tmp_check/install/usr/local/pgsql/share/timezone ./data/africa ./data/antarctica ./data/asia ./data/australasia ./data/europe ./data/northamerica ./data/southamerica ./data/pacificnew ./data/etcetera ./data/factory ./data/backward ./data/systemv ./data/solar87 ./data/solar88 ./data/solar89 ./zic: Can't open source/postgresql-8.0.0rc2/src/test/regress/./tmp_check/install/usr/local/pgsql/share/timezone: No such file or directory make[5]: *** [install] Error 1 make[4]: *** [install] Error 2 make[3]: *** [install] Error 2 Anything else I can send? Ted __________________________________ Do you Yahoo!? Send holiday email and support a worthy cause. Do good. http://celebrity.mail.yahoo.com
Theodore Petrosky <tedpet5@yahoo.com> writes: > I just found the time to try 8.0RC2 on OSX and I have > a problem with 'make check'. > Here is my configure.. > ./configure --disable-shared ... --disable-shared breaks plpgsql, and probably a few other things. I'm not exactly sure why we still advertise it as a supported option. regards, tom lane
I'll try again this morning without the diable-shared. However, I tried this because of a recomendation for using libpq. When I tried to compile my app (using xcode on OS X) it complained about the dylib.... I will try again in a little while and let you know. Ted --- Tom Lane <tgl@sss.pgh.pa.us> wrote: > Theodore Petrosky <tedpet5@yahoo.com> writes: > > I just found the time to try 8.0RC2 on OSX and I > have > > a problem with 'make check'. > > > Here is my configure.. > > > ./configure --disable-shared ... > > --disable-shared breaks plpgsql, and probably a few > other things. I'm > not exactly sure why we still advertise it as a > supported option. > > regards, tom lane > __________________________________ Do you Yahoo!? Jazz up your holiday email with celebrity designs. Learn more. http://celebrity.mail.yahoo.com
Here is (was) the problem. I was working in an administrator account. Not Root, but an admin account. This is the first time that OS X choked while working this way. RC1 was fine so something else must have really changed. Anyway, I just created a 'standard' user, moved the folder and did the make check. all 96 tests passed. I don't know if you need to make a note that OS X users can not work in an admin account or if just the normal warnings about not working as ROOT are enough. Ted --- Tom Lane <tgl@sss.pgh.pa.us> wrote: > Theodore Petrosky <tedpet5@yahoo.com> writes: > > I just found the time to try 8.0RC2 on OSX and I > have > > a problem with 'make check'. > > > Here is my configure.. > > > ./configure --disable-shared ... > > --disable-shared breaks plpgsql, and probably a few > other things. I'm > not exactly sure why we still advertise it as a > supported option. > > regards, tom lane > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
The one thing I didn't think about is that standard users cannot sudo. So now I need to figure out how to create a 'standard' user with privs high enough to sudo to install. Ted --- Tom Lane <tgl@sss.pgh.pa.us> wrote: > Theodore Petrosky <tedpet5@yahoo.com> writes: > > I just found the time to try 8.0RC2 on OSX and I > have > > a problem with 'make check'. > > > Here is my configure.. > > > ./configure --disable-shared ... > > --disable-shared breaks plpgsql, and probably a few > other things. I'm > not exactly sure why we still advertise it as a > supported option. > > regards, tom lane > __________________________________ Do you Yahoo!? Yahoo! Mail - Easier than ever with enhanced search. Learn more. http://info.mail.yahoo.com/mail_250
Theodore Petrosky <tedpet5@yahoo.com> writes: > Here is (was) the problem. I was working in an > administrator account. Not Root, but an admin account. That seems a bit hard to believe. Looking back at your original message, I notice something that escaped me the first time: the actual failure message is ./zic -d /Users/postgres/Documents/postgresql source/postgresql-8.0.0rc2/src/test/regress/./tmp_check/install/usr/local/pgsql/share/timezone ./data/africa ./data/antarctica ./data/asia ./data/australasia ./data/europe ./data/northamerica ./data/southamerica ./data/pacificnew ./data/etcetera ./data/factory ./data/backward ./data/systemv ./data/solar87 ./data/solar88 ./data/solar89 ./zic: Can't open source/postgresql-8.0.0rc2/src/test/regress/./tmp_check/install/usr/local/pgsql/share/timezone: No such file or directory Do you have a space in the path leading to the source tree? regards, tom lane
Tom, the full path was: /Users/asacksadmin/Documents/postgresql-8.0.0rc2 this is where the source lived and where I issued the ./configure --with-xxx and yyy make make check //which failed sudo make install there are no spaces in the path.. interesting on a different note.... Ab :) I wanted to test the installation so I did a createlang (for plpgsql) and a createdb extremedb psql extremedb </Users/asacksadmin/Desktop/extbackup10.txt I get an error at the top.... ERROR: permission denied for language c maybe my order is out of wack. I did the ./configure while logged in as an administrator. then moved the folder to a standard account where the make check passed.. Then I moved the folder back to the admin account because I didn't want to have to learn in that second how to give sudo permissions to a non admin account. After moving the folder back to the admin account I did the sudo make install and it appeared to install fine. Except for that error. Any ideas. I will ask around on how to give sudo privs to a non admin account. Ted --- Tom Lane <tgl@sss.pgh.pa.us> wrote: > Theodore Petrosky <tedpet5@yahoo.com> writes: > > Here is (was) the problem. I was working in an > > administrator account. Not Root, but an admin > account. > > That seems a bit hard to believe. > > Looking back at your original message, I notice > something that escaped > me the first time: the actual failure message is > > ./zic -d /Users/postgres/Documents/postgresql > source/postgresql-8.0.0rc2/src/test/regress/./tmp_check/install/usr/local/pgsql/share/timezone > ./data/africa ./data/antarctica ./data/asia > ./data/australasia ./data/europe ./data/northamerica > ./data/southamerica ./data/pacificnew > ./data/etcetera > ./data/factory ./data/backward ./data/systemv > ./data/solar87 ./data/solar88 ./data/solar89 > ./zic: Can't open > source/postgresql-8.0.0rc2/src/test/regress/./tmp_check/install/usr/local/pgsql/share/timezone: > No such file or directory > > Do you have a space in the path leading to the > source tree? > > regards, tom lane > > ---------------------------(end of > broadcast)--------------------------- > TIP 1: subscribe and unsubscribe commands go to > majordomo@postgresql.org > __________________________________ Do you Yahoo!? Send a seasonal email greeting and help others. Do good. http://celebrity.mail.yahoo.com
Theodore Petrosky <tedpet5@yahoo.com> writes: > the full path was: > /Users/asacksadmin/Documents/postgresql-8.0.0rc2 Really? What I see at http://archives.postgresql.org/pgsql-bugs/2004-12/msg00263.php definitely looks like /Users/postgres/Documents/postgresql source/postgresql-8.0.0rc2/src/test/regress/./tmp_check/install/ ... I can't tell if the line break is in the original install.log or was added somewhere in the mailing process, but in any case that doesn't look quite like what you say. regards, tom lane
that's correct, that was the computer at home at that does have the space in the path.. however my machine in the office that had the identical problem has no spaces and is the machine that I used to create the standard user. Sorry about that, I tend to run around a lot and work on different machines. Subversion really helps me with that one. Ted --- Tom Lane <tgl@sss.pgh.pa.us> wrote: > Theodore Petrosky <tedpet5@yahoo.com> writes: > > the full path was: > > /Users/asacksadmin/Documents/postgresql-8.0.0rc2 > > Really? What I see at > http://archives.postgresql.org/pgsql-bugs/2004-12/msg00263.php > > definitely looks like > > /Users/postgres/Documents/postgresql > source/postgresql-8.0.0rc2/src/test/regress/./tmp_check/install/ > ... > > I can't tell if the line break is in the original > install.log or was > added somewhere in the mailing process, but in any > case that doesn't > look quite like what you say. > > regards, tom lane > > ---------------------------(end of > broadcast)--------------------------- > TIP 4: Don't 'kill -9' the postmaster > __________________________________ Do you Yahoo!? The all-new My Yahoo! - What will yours do? http://my.yahoo.com
Theodore Petrosky <tedpet5@yahoo.com> writes: > that's correct, that was the computer at home at that > does have the space in the path.. > however my machine in the office that had the > identical problem has no spaces and is the machine > that I used to create the standard user. Your machine in the office most certainly didn't have "the identical problem". Please pay closer attention than whether make check "fails" or not. regards, tom lane
You are right.. I started over from untarring the source and everything worked. I must have just done a make clean and it didn't like something. Just to reiterate.... i untarred the distro ./configure --with-rendezvous --enable-thread-safety make make check everything is ok.... my bad... mea culpa yada yada. so sorry Ted --- Tom Lane <tgl@sss.pgh.pa.us> wrote: > Theodore Petrosky <tedpet5@yahoo.com> writes: > > that's correct, that was the computer at home at > that > > does have the space in the path.. > > > however my machine in the office that had the > > identical problem has no spaces and is the machine > > that I used to create the standard user. > > Your machine in the office most certainly didn't > have "the identical > problem". Please pay closer attention than whether > make check "fails" > or not. > > regards, tom lane > __________________________________ Do you Yahoo!? Yahoo! Mail - Find what you need with new enhanced search. http://info.mail.yahoo.com/mail_250