i'm getting the following compile error when emerging
postgresql-base-9.0_beta2-r1:

checking thread safety of required library functions... no
configure: error: thread test program failed
This platform is not thread-safe.  Check the file 'config.log' or compile
and run src/test/thread/thread_test for the exact reason.

so i followed the instructions:

cd
/var/tmp/portage/dev-db/postgresql-base-9.0_beta2-r1/work/postgresql-9.0beta2/
./configure
...
checking thread safety of required library functions... yes
...
make
...
cd src/test/thread
make
./thread_test

yields:

Your errno is thread-safe.
Your system has sterror_r();  it does not need strerror().
Your system has getpwuid_r();  it does not need getpwuid().
Your system has getaddrinfo();  it does not need gethostbyname()
  or gethostbyname_r().

Your platform is thread-safe.

any hints?

kelly hirai

Reply via email to