1 |
i'm getting the following compile error when emerging |
2 |
postgresql-base-9.0_beta2-r1: |
3 |
|
4 |
checking thread safety of required library functions... no |
5 |
configure: error: thread test program failed |
6 |
This platform is not thread-safe. Check the file 'config.log' or compile |
7 |
and run src/test/thread/thread_test for the exact reason. |
8 |
|
9 |
so i followed the instructions: |
10 |
|
11 |
cd |
12 |
/var/tmp/portage/dev-db/postgresql-base-9.0_beta2-r1/work/postgresql-9.0beta2/ |
13 |
./configure |
14 |
... |
15 |
checking thread safety of required library functions... yes |
16 |
... |
17 |
make |
18 |
... |
19 |
cd src/test/thread |
20 |
make |
21 |
./thread_test |
22 |
|
23 |
yields: |
24 |
|
25 |
Your errno is thread-safe. |
26 |
Your system has sterror_r(); it does not need strerror(). |
27 |
Your system has getpwuid_r(); it does not need getpwuid(). |
28 |
Your system has getaddrinfo(); it does not need gethostbyname() |
29 |
or gethostbyname_r(). |
30 |
|
31 |
Your platform is thread-safe. |
32 |
|
33 |
any hints? |
34 |
|
35 |
kelly hirai |