在Mac OS X 10.3.4上实现安全性 [英] enable thready safety on Mac OS X 10.3.4

查看:69
本文介绍了在Mac OS X 10.3.4上实现安全性的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试使用enable-thread-safety编译7.4.3但它失败并且

表示它不受支持。我的配置命令是:


../configure --enable-thread-safety

和结果:


检查pthread.h可用性...是

检查pthread.h存在...是

检查pthread.h ...是

configure:错误:

无法在您的平台上启用线程。

请将您的平台线程信息报告给PostgreSQL邮件

列出

因此可以添加到下一个版本中。报告所有编译标志,链接

标志,

函数或线程支持所需的库。

请参阅src /顶部的注释port / thread.c获取更多信息。


这是在OS X 10.3.4上使用最新的开发人员工具。我在做什么?b $ b有什么问题,或者应该报告为错误?


谢谢,

----

Aaron Burghardt
ab****@mac.com

---------------------------(广播结束)---------------- -----------

提示5:您查看了我们广泛的常见问题解答吗?

http://www.postgresql.org/docs/faqs/FAQ.html

上午6/26/04 11:21,

解决方案

ab *** *@mac.com 据称是:

我尝试使用enable-thread-safety编译7.4.3但是它失败并且
说它是'不支持。我的配置命令是:

./configure --enable-thread-safety




这就是我为10.3.4 / 7.4所做的.2:


1.在平台模板中启用线程支持:src / template / darwin(参见

src / tools / thread / README获取信息)


2.已配置/已编译


3.运行由compile创建的thread_test程序(在

中) src / tools / thread)


4.遵循程序输出的任何建议


5.重新配置/编译


一切都很好。


Keary Suska

Esoteritech,Inc。

利用开放更好的互联网的来源"

---------------------------(播出结束)---- -----------------------

提示5:您查看了我们广泛的常见问题解答吗?

< a rel =nofollowhref =http://www.postgresql.org/docs/faqs/FAQ.htmltarget =_ blank> http://www.postgresql.org/docs/faqs/FAQ.html


谢谢,这有效!

----

Aaron Burghardt
< a href =mailto:ab **** @ mac.com> ab **** @ mac.com


2004年6月26日,4月4日:01 PM,Keary Suska写道:

on 6/26/04 11:21 AM, ab ****@mac.com 据称说:

我尝试使用enable-thread-safety编译7.4.3但是它失败了

./configure --enable-thread-safety



这就是我为10.3.4 / 7.4.2所做的:

1.在平台模板中启用线程支持:
src / template / darwin(参见
src / tools / thread / README获取信息)

2.配置/编译

3.运行通过编译创建的thread_test程序(在
src / tools / thread中)

4.按照任何建议输出通过该计划

5.重新配置/编译

一切都很好。

Keary Suska
Esoteritech,Inc。
利用开源获得更好的互联网

---------------------------(结束
广播)---------------------------
提示5:您是否查看了我们广泛的常见问题解答?

http://www.postgresql.org/docs /faqs/FAQ.html



---------------------------(结束了oadcast)---------------------------

提示1:订阅和取消订阅命令转到 ma ******* @ postgresql.org


< blockquote>在6/26/04 3:01 PM,Keary Suska <喜******** @ pcisys.net>写道:

我尝试使用enable-thread-safety编译7.4.3,但它失败了,
说它不受支持。我的configure命令是:

./configure --enable-thread-safety



这就是我为10.3.4 / 7.4.2所做的:

1.在平台模板中启用线程支持:src / template / darwin(参见
src / tools / thread / README获取信息)

2.配置/编译完成

3.运行由compile创建的thread_test程序(在
src / tools / thread中)

4.遵循程序输出的任何建议<

5.重新配置/编译

一切都很好。




你不应该弄乱与模板/达尔文。返回帖子7.4.2我通过与开发人员的多次迭代去了
,它是开箱即用的。
开箱即用。他们正在重写线程

检测和配置更干净,更可靠。


我刚刚从CVS源代码尝试过它很好,即使在''make

clean''之后。但是,当我下载7.4.3并尝试它时,我得到了与

相同的错误。达尔文模板在两者之间是相同的。我想

认为所有这些代码更改都会包含在7.4.3中。


我认为这需要更多的调查。 Mac OS X 10.3.x应该是

即便工作。


Wes

-------- -------------------(广播结束)-------------------------- -

提示1:订阅和取消订阅命令转到 ma ******* @ postgresql。组织


I attempted to compile 7.4.3 with enable-thread-safety but it fails and
says it''s not supported. My configure command was:

../configure --enable-thread-safety

and the result:

checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
configure: error:
Cannot enable threads on your platform.
Please report your platform threading info to the PostgreSQL mailing
lists
so it can be added to the next release. Report all compile flags, link
flags,
functions, or libraries required for threading support.
See the comment at the top of src/port/thread.c for more information.

This is on OS X 10.3.4 with the latest developer tools. Am I doing
something wrong, or should this be reported as a bug?

Thanks,
----
Aaron Burghardt
ab****@mac.com
---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faqs/FAQ.html

解决方案

on 6/26/04 11:21 AM, ab****@mac.com purportedly said:

I attempted to compile 7.4.3 with enable-thread-safety but it fails and
says it''s not supported. My configure command was:

./configure --enable-thread-safety



This is what I did for 10.3.4/7.4.2:

1. Enabled thread support in the platform template: src/template/darwin (see
src/tools/thread/README for info)

2. Configured/compiled

3. Ran the thread_test program that was created by compile (in
src/tools/thread)

4. Followed any recommendations output by the program

5. Re-configured/compiled

Everything was fine.

Keary Suska
Esoteritech, Inc.
"Leveraging Open Source for a better Internet"
---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faqs/FAQ.html


Thanks, that worked!
----
Aaron Burghardt
ab****@mac.com

On Jun 26, 2004, at 4:01 PM, Keary Suska wrote:

on 6/26/04 11:21 AM, ab****@mac.com purportedly said:

I attempted to compile 7.4.3 with enable-thread-safety but it fails
and
says it''s not supported. My configure command was:

./configure --enable-thread-safety



This is what I did for 10.3.4/7.4.2:

1. Enabled thread support in the platform template:
src/template/darwin (see
src/tools/thread/README for info)

2. Configured/compiled

3. Ran the thread_test program that was created by compile (in
src/tools/thread)

4. Followed any recommendations output by the program

5. Re-configured/compiled

Everything was fine.

Keary Suska
Esoteritech, Inc.
"Leveraging Open Source for a better Internet"
---------------------------(end of
broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faqs/FAQ.html


---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to ma*******@postgresql.org


On 6/26/04 3:01 PM, "Keary Suska" <hi********@pcisys.net> wrote:

I attempted to compile 7.4.3 with enable-thread-safety but it fails and
says it''s not supported. My configure command was:

./configure --enable-thread-safety



This is what I did for 10.3.4/7.4.2:

1. Enabled thread support in the platform template: src/template/darwin (see
src/tools/thread/README for info)

2. Configured/compiled

3. Ran the thread_test program that was created by compile (in
src/tools/thread)

4. Followed any recommendations output by the program

5. Re-configured/compiled

Everything was fine.



You shouldn''t have to mess with template/darwin. Back post 7.4.2 I went
through a number of iterations with the developers on this and it was
working out of the box. They were in the process of rewriting the threads
detection and configuration to be more clean and reliable.

I just tried it from the CVS source and it worked fine, even after a ''make
clean''. However, when I download 7.4.3 and try it, I get the same error as
you. The darwin template is identical between the two. I would have
thought all those code changes would have been incorporated in 7.4.3.

I think this requires some more investigation. Mac OS X 10.3.x should be
working off the bat.

Wes
---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to ma*******@postgresql.org


这篇关于在Mac OS X 10.3.4上实现安全性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆