From: Koichi S. <ko...@in...> - 2010-12-03 06:18:10
|
It looks that make[4] was successful. I'm afraid there could be another error in some subdirectory under .../backend/ The following is a typical configure options we're using in our local test. ../configure CFLAGS='-O2 -DPGXC' --enable-debug --enable-depend --disable-rpath --prefix=/pg2/sudoutaka/pgsql_pg2 I hope it helps. Regards; --- Koichi (2010年12月03日 00:24), Devrim GÜNDÜZ wrote: > On Thu, 2010-12-02 at 19:00 +0900, Koichi Suzuki wrote: >> I think you should just remove libpthread from the spec file. Sorry >> I'm not familiar with building rpm. XC's configure does not include >> pthread staff by default. I hope it helps. > > Thanks, I disabled --enable-thread-safety flag. Now I'm getting strange > error. I can't see any problem below, or am I missing something? > > gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -DPGXC -DPGXC -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -I../../../../src/include -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include -c -o snapmgr.o snapmgr.c > ( echo src/backend/utils/sort/logtape.o src/backend/utils/sort/tuplesort.o src/backend/utils/sort/tuplestore.o )>objfiles.txt > make[5]: Leaving directory `/var/lib/pgsql/svn/repo/rpm/redhat/8.4/postgres-xc/EL-5/pgxc/src/backend/utils/sort' > ( echo src/backend/utils/time/combocid.o src/backend/utils/time/tqual.o src/backend/utils/time/snapmgr.o )>objfiles.txt > make[5]: Leaving directory `/var/lib/pgsql/svn/repo/rpm/redhat/8.4/postgres-xc/EL-5/pgxc/src/backend/utils/time' > ( cat adt/objfiles.txt cache/objfiles.txt error/objfiles.txt fmgr/objfiles.txt hash/objfiles.txt init/objfiles.txt mb/objfiles.txt misc/objfiles.txt mmgr/objfiles.txt resowner/objfiles.txt sort/objfiles.txt time/objfiles.txt; echo src/backend/utils/fmgrtab.o )>objfiles.txt > make[4]: Leaving directory `/var/lib/pgsql/svn/repo/rpm/redhat/8.4/postgres-xc/EL-5/pgxc/src/backend/utils' > make[3]: Leaving directory `/var/lib/pgsql/svn/repo/rpm/redhat/8.4/postgres-xc/EL-5/pgxc/src/backend' > make[2]: *** [all] Error 2 > make[2]: Leaving directory `/var/lib/pgsql/svn/repo/rpm/redhat/8.4/postgres-xc/EL-5/pgxc/src' > make[1]: *** [all] Error 2 > make[1]: Leaving directory `/var/lib/pgsql/svn/repo/rpm/redhat/8.4/postgres-xc/EL-5/pgxc' > error: Bad exit status from /var/tmp/rpm-tmp.86900 (%build) > > Regards, > |