[GENERAL] Problems building pg 8.1.1
Hi, I'm unable to compile PostgreSQL 8.1.1 on my Suse 10.0 with thread safety enabled. ./configure --prefix=/opt/pgsql8.1.1 --enable-thread-safety --with-python ... ... ... checking thread safety of required library functions... no configure: error: *** Thread test program failed. Your platform is not thread-safe. *** Check the file 'config.log'for the exact reason. *** *** You can use the configure option --enable-thread-safety-force *** to force threads to be enabled. However, you must then run *** the program in src/tools/thread and add locking function calls *** to your applications to guarantee thread safety. And when I look in config.log, I have : configure:22455: checking thread safety of required library functions configure:22483: gcc -o conftest -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -pthread -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -DIN_CONFIGURE -D_GNU_SOURCEconftest.c -lz -lreadline -lcrypt -lresolv -lnsl -ldl -lm -lpthread>&5 conftest.c:140:44: error: ./src/tools/thread/thread_test.c: No such file or directory configure:22486: $? = 1 configure: program exited with status 1 Is it a problem with my system or is it a configur bug ? thanks ---(end of broadcast)--- TIP 2: Don't 'kill -9' the postmaster
Re: [GENERAL] Problems building pg 8.1.1
Le Vendredi 6 Janvier 2006 16:31, Tom Lane a écrit : > > > > conftest.c:140:44: error: ./src/tools/thread/thread_test.c: No such file > > or directory > > Hmm, it works fine for me. Is that file actually present in your source > tree? No and that's my fault, I have dowloaded postgresql-base-8.1.1.tar.bz2 in place of postgresql-8.1.1.tar.bz2 and then, tar xjvf without really looking the file or directory name... Thanks for the reply ! Regards. ---(end of broadcast)--- TIP 3: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faq