dbTalk Databases Forums  

[BUGS] postgresql bug on macosx

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


Discuss [BUGS] postgresql bug on macosx in the mailing.database.pgsql-bugs forum.



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

Default [BUGS] postgresql bug on macosx - 07-16-2006 , 07:06 AM






------=_Part_20084_33292766.1153047812679
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

# port install postgresql
---> Building postgresql with target all
Error: Target com.apple.build returned: shell command "cd
"/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwi nports.org_dpupdate_dports_databases_postgresql/work/postgresql-7.4.12"
&& gnumake all" returned error 2
Command output: gnumake[3]: Nothing to be done for `all'.
gnumake -C access all
gnumake -C common SUBSYS.o
gnumake[4]: `SUBSYS.o' is up to date.
gnumake -C gist SUBSYS.o
gnumake[4]: `SUBSYS.o' is up to date.
gnumake -C hash SUBSYS.o
gnumake[4]: `SUBSYS.o' is up to date.
gnumake -C heap SUBSYS.o
gnumake[4]: `SUBSYS.o' is up to date.
gnumake -C index SUBSYS.o
gnumake[4]: `SUBSYS.o' is up to date.
gnumake -C nbtree SUBSYS.o
gnumake[4]: `SUBSYS.o' is up to date.
gnumake -C rtree SUBSYS.o
gnumake[4]: `SUBSYS.o' is up to date.
gnumake -C transam SUBSYS.o
/usr/bin/gcc-4.0 -no-cpp-precomp -I/opt/local/include -fno-strict-aliasing
-Wall -Wmissing-prototypes -Wmissing-declarations -I../../../../src/include
-I/opt/local/include -I/opt/local/include -c -o xlog.o xlog.c
In file included from ../../../../src/include/storage/spin.h:50,
from xlog.c:35:
.../../../../src/include/storage/s_lock.h:543:2: error: #error PostgreSQL does
not have native spinlock support on this platform. To continue the compilation,
rerun configure using --disable-spinlocks. However, performance will be poor.
Please report this to pgsql-bugs (AT) postgresql (DOT) org.
In file included from ../../../../src/include/storage/spin.h:50,
from xlog.c:35:
.../../../../src/include/storage/s_lock.h:551: error: conflicting types for
'slock_t'
.../../../../src/include/pg_config_os.h:11: error: previous declaration of
'slock_t' was here
gnumake[4]: *** [xlog.o] Error 1
gnumake[3]: *** [transam-recursive] Error 2
gnumake[2]: *** [access-recursive] Error 2
gnumake[1]: *** [all] Error 2
gnumake: *** [all] Error 2

Error: /opt/local/bin/port: Status 1 encountered during processing.



--
Best reagds
Pavlovsky Konstantin
skype: sir_makkintosh
icq: 375428

------=_Part_20084_33292766.1153047812679
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

<pre id="comment_text_0"># port install postgresql<br>---&gt; Building postgresql with target all<br>Error: Target com.apple.build returned: shell command &quot;cd<br>&quot;/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwi nports.org_dpupdate_dports_databases_postgresql/work/postgresql-
7.4.12&quot;<br>&amp;&amp; gnumake all&quot; returned error 2<br>Command output: gnumake[3]: Nothing to be done for `all'.<br>gnumake -C access all<br>gnumake -C common SUBSYS.o<br>gnumake[4]: `SUBSYS.o' is up to date.<br>
gnumake -C gist SUBSYS.o<br>gnumake[4]: `SUBSYS.o' is up to date.<br>gnumake -C hash SUBSYS.o<br>gnumake[4]: `SUBSYS.o' is up to date.<br>gnumake -C heap SUBSYS.o<br>gnumake[4]: `SUBSYS.o' is up to date.<br>gnumake -C index
SUBSYS.o<br>gnumake[4]: `SUBSYS.o' is up to date.<br>gnumake -C nbtree SUBSYS.o<br>gnumake[4]: `SUBSYS.o' is up to date.<br>gnumake -C rtree SUBSYS.o<br>gnumake[4]: `SUBSYS.o' is up to date.<br>gnumake -C transam SUBSYS.o
<br>/usr/bin/gcc-4.0 -no-cpp-precomp -I/opt/local/include -fno-strict-aliasing<br>-Wall -Wmissing-prototypes -Wmissing-declarations -I../../../../src/include<br>-I/opt/local/include -I/opt/local/include -c -o xlog.o xlog.c
<br>In file included from ../../../../src/include/storage/spin.h:50,<br> from xlog.c:35:<br>../../../../src/include/storage/s_lock.h:543:2: error: #error PostgreSQL does<br>not have native spinlock support on this platform. To continue the compilation,
<br>rerun configure using --disable-spinlocks. However, performance will be poor.<br>Please report this to <a href="mailtogsql-bugs (AT) postgresql (DOT) org">pgsql-bugs (AT) postgresql (DOT) org</a>.<br>In file included from ../../../../src/include/storage/spin.h:50,
<br> from xlog.c:35:<br>../../../../src/include/storage/s_lock.h:551: error: conflicting types for<br>'slock_t'<br>../../../../src/include/pg_config_os.h:11: error: previous declaration of<br>'slock_t' was here
<br>gnumake[4]: *** [xlog.o] Error 1<br>gnumake[3]: *** [transam-recursive] Error 2<br>gnumake[2]: *** [access-recursive] Error 2<br>gnumake[1]: *** [all] Error 2<br>gnumake: *** [all] Error 2<br><br>Error: /opt/local/bin/port: Status 1 encountered during processing.
</pre><br clear="all"><br>-- <br>Best reagds<br>Pavlovsky Konstantin<br>skype: sir_makkintosh<br>icq: 375428

------=_Part_20084_33292766.1153047812679--

Reply With Quote
  #2  
Old   
AT
 
Posts: n/a

Default Re: [BUGS] postgresql bug on macosx - 07-16-2006 , 08:35 AM






Strange, I have had postgresql from version 7.0 to
8.1 running just fine on OS X. The only thing I ever
have to do is to install an up to date version of
bison and readline.

What version of OS X is this. It could be a problem
with darwinports.

Ted

--- Konstantin Pavlovsky
<konstantin.pavlovsky (AT) gmail (DOT) com> wrote:

Quote:
# port install postgresql
---> Building postgresql with target all
Error: Target com.apple.build returned: shell
command "cd

"/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwi nports.org_dpupdate_dports_databases_postgresql/work/postgresql-7.4.12"
&& gnumake all" returned error 2
Command output: gnumake[3]: Nothing to be done for
`all'.
gnumake -C access all
gnumake -C common SUBSYS.o
gnumake[4]: `SUBSYS.o' is up to date.
gnumake -C gist SUBSYS.o
gnumake[4]: `SUBSYS.o' is up to date.
gnumake -C hash SUBSYS.o
gnumake[4]: `SUBSYS.o' is up to date.
gnumake -C heap SUBSYS.o
gnumake[4]: `SUBSYS.o' is up to date.
gnumake -C index SUBSYS.o
gnumake[4]: `SUBSYS.o' is up to date.
gnumake -C nbtree SUBSYS.o
gnumake[4]: `SUBSYS.o' is up to date.
gnumake -C rtree SUBSYS.o
gnumake[4]: `SUBSYS.o' is up to date.
gnumake -C transam SUBSYS.o
/usr/bin/gcc-4.0 -no-cpp-precomp
-I/opt/local/include -fno-strict-aliasing
-Wall -Wmissing-prototypes -Wmissing-declarations
-I../../../../src/include
-I/opt/local/include -I/opt/local/include -c -o
xlog.o xlog.c
In file included from
../../../../src/include/storage/spin.h:50,
from xlog.c:35:
../../../../src/include/storage/s_lock.h:543:2:
error: #error PostgreSQL does
not have native spinlock support on this platform.
To continue the compilation,
rerun configure using --disable-spinlocks. However,
performance will be poor.
Please report this to pgsql-bugs (AT) postgresql (DOT) org.
In file included from
../../../../src/include/storage/spin.h:50,
from xlog.c:35:
../../../../src/include/storage/s_lock.h:551: error:
conflicting types for
'slock_t'
../../../../src/include/pg_config_os.h:11: error:
previous declaration of
'slock_t' was here
gnumake[4]: *** [xlog.o] Error 1
gnumake[3]: *** [transam-recursive] Error 2
gnumake[2]: *** [access-recursive] Error 2
gnumake[1]: *** [all] Error 2
gnumake: *** [all] Error 2

Error: /opt/local/bin/port: Status 1 encountered
during processing.



--
Best reagds
Pavlovsky Konstantin
skype: sir_makkintosh
icq: 375428


__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo (AT) postgresql (DOT) org so that your
message can get through to the mailing list cleanly


Reply With Quote
  #3  
Old   
AT
 
Posts: n/a

Default Re: [BUGS] postgresql bug on macosx - 07-16-2006 , 09:47 AM



"Konstantin Pavlovsky" <konstantin.pavlovsky (AT) gmail (DOT) com> writes:
Quote:
Error: Target com.apple.build returned: shell command "cd
"/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwi nports.org_dpupdate_dports_databases_postgresql/work/postgresql-7.4.12"
&& gnumake all" returned error 2
Try a newer PG version. 8.0.x is the first branch that has any hope of
working on Intel OS X (which I gather is what you got there, though you
failed to provide any info). 8.1.x is the first branch that actually
got any testing on that platform, since it didn't exist till recently.

Even in the 7.4.x branch, 7.4.12 was obsoleted two months ago because of
security problems. darwinports seems to be having a problem keeping up
to date :-(

regards, tom lane

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


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.