dbTalk Databases Forums  

[BUGS] RC2 on OS X can not make check

mailing.database.pgsql-bugs mailing.database.pgsql-bugs


Discuss [BUGS] RC2 on OS X can not make check in the mailing.database.pgsql-bugs forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Theodore Petrosky
 
Posts: n/a

Default [BUGS] RC2 on OS X can not make check - 12-28-2004 , 09:36 PM






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
Quote:
| 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

---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://archives.postgresql.org


Reply With Quote
  #2  
Old   
Tom Lane
 
Posts: n/a

Default Re: [BUGS] RC2 on OS X can not make check - 12-28-2004 , 10:25 PM






Theodore Petrosky <tedpet5 (AT) yahoo (DOT) com> writes:
Quote:
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

---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://archives.postgresql.org


Reply With Quote
  #3  
Old   
Theodore Petrosky
 
Posts: n/a

Default Re: [BUGS] RC2 on OS X can not make check - 12-29-2004 , 07:51 AM



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 (AT) sss (DOT) pgh.pa.us> wrote:

Quote:
Theodore Petrosky <tedpet5 (AT) yahoo (DOT) 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

---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
joining column's datatypes do not match


Reply With Quote
  #4  
Old   
Theodore Petrosky
 
Posts: n/a

Default Re: [BUGS] RC2 on OS X can not make check - 12-30-2004 , 08:27 AM



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 (AT) sss (DOT) pgh.pa.us> wrote:

Quote:
Theodore Petrosky <tedpet5 (AT) yahoo (DOT) 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

---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to majordomo (AT) postgresql (DOT) org)


Reply With Quote
  #5  
Old   
Theodore Petrosky
 
Posts: n/a

Default Re: [BUGS] RC2 on OS X can not make check - 12-30-2004 , 08:40 AM



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 (AT) sss (DOT) pgh.pa.us> wrote:

Quote:
Theodore Petrosky <tedpet5 (AT) yahoo (DOT) 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

---------------------------(end of broadcast)---------------------------
TIP 7: don't forget to increase your free space map settings


Reply With Quote
  #6  
Old   
Tom Lane
 
Posts: n/a

Default Re: [BUGS] RC2 on OS X can not make check - 12-30-2004 , 10:33 AM



Theodore Petrosky <tedpet5 (AT) yahoo (DOT) com> writes:
Quote:
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 (AT) postgresql (DOT) org


Reply With Quote
  #7  
Old   
Theodore Petrosky
 
Posts: n/a

Default Re: [BUGS] RC2 on OS X can not make check - 12-30-2004 , 03:02 PM




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 (AT) sss (DOT) pgh.pa.us> wrote:

Quote:
Theodore Petrosky <tedpet5 (AT) yahoo (DOT) 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 (AT) postgresql (DOT) org



__________________________________
Do you Yahoo!?
Send a seasonal email greeting and help others. Do good.
http://celebrity.mail.yahoo.com

---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster


Reply With Quote
  #8  
Old   
Tom Lane
 
Posts: n/a

Default Re: [BUGS] RC2 on OS X can not make check - 12-30-2004 , 03:12 PM



Theodore Petrosky <tedpet5 (AT) yahoo (DOT) com> writes:
Quote:
the full path was:
/Users/asacksadmin/Documents/postgresql-8.0.0rc2
Really? What I see at
http://archives.postgresql.org/pgsql...2/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


Reply With Quote
  #9  
Old   
Theodore Petrosky
 
Posts: n/a

Default Re: [BUGS] RC2 on OS X can not make check - 12-30-2004 , 03:32 PM



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 (AT) sss (DOT) pgh.pa.us> wrote:

Quote:
Theodore Petrosky <tedpet5 (AT) yahoo (DOT) com> writes:
the full path was:
/Users/asacksadmin/Documents/postgresql-8.0.0rc2

Really? What I see at

http://archives.postgresql.org/pgsql...2/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

---------------------------(end of broadcast)---------------------------
TIP 7: don't forget to increase your free space map settings


Reply With Quote
  #10  
Old   
Tom Lane
 
Posts: n/a

Default Re: [BUGS] RC2 on OS X can not make check - 12-30-2004 , 03:44 PM



Theodore Petrosky <tedpet5 (AT) yahoo (DOT) com> writes:
Quote:
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

---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to majordomo (AT) postgresql (DOT) org)


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.