Hi, when I rmpbuild the HAWQ, I can build success and install. but when i 
init master, it report the ERROR : “unable to import module : No module named 
psi.proccess" . 
     This is my hawq.spec file. who konows Where  can I find the offical 
hawq.spec file? Or how can i update my hawq.spec to import all modules. i don't 
know which modules I should import and  which libs I should copy. thanks !


Name:hawq
Version:2.0.0.0
Release:10%{?dist}
Summary: HAWQ


Prefix:         /usr/local/hawq
Group:System Environment/Daemons
License:GPLv2
URL:http://hdb.docs.pivotal.io/
Source0:%{name}-%{version}.tar.gz
BuildRoot:%{_tmppath}/%{name}-%{version}-%{release}-root


BuildRequires:gcc,cmake
AutoReqProv:    no


%description
kingbase HAWQ


%prep
%setup -q




%build
./configure \
 --prefix=/root/rpmbuild/BUILDROOT/hawq-2.0.0.0-10.el6.x86_64/usr/local/hawq \
 --with-python \
 --with-perl
make %{?_smp_mflags}




%install
rm -rf %{buildroot}
make  install 
prefix=/root/rpmbuild/BUILDROOT/hawq-2.0.0.0-10.el6.x86_64/usr/local/hawq
%clean
rm -rf %{buildroot}




%files
%defattr(-,root,root,0755)
/usr/local/hawq


%define __debug_install_post   \
   %{_rpmconfigdir}/find-debuginfo.sh %{?_find_debuginfo_opts} 
"%{_builddir}/%{?buildsubdir}"\
%{nil}



Reply via email to