Thanks Jake and Erik
 
I made the following change to ucspi-tcp-toaster.spec and did a --rebuild --with cnt4064
that solved the problem. This will help qmailtoaster users with 64 bit OSes.
 
Cheers
 
MarLz
 
%if %{build_cnt_4064}
%define         release %{bversion}.%{rpmrelease}
%define         ostype CentOS 4 x86_64 Linux
BuildRequires:  zlib-devel >= 1.2.1
Requires:       zlib >= 1.2.1
#%define                ccflags %{optflags}
#%define                ldflags %{optflags}
%define         ccflags -O0 -g -pipe -m64
%define         ldflags -O0 -g -pipe -m64
%define         build_sus_100  0
%define         build_sus_10064  0
%define         build_mdk_100  0
%define         build_mdk_101  0
%define         build_mdk_102  0
%define         build_mdk_103  0
%define         build_mdk_10364  0
%define         build_rht_90   0
%define         build_fdr_10   0
%define         build_fdr_20   0
%define         build_fdr_30   0
%define         build_fdr_40   0
%define         build_fdr_4064   0
%define         build_fdr_50   0
%define         build_fdr_5064   0
%define         build_cnt_40   0
%define         build_cnt_4064   1
%define         build_trx_20   0
%define         default        0
%endif


 
On 6/10/06, Jake Vickers <[EMAIL PROTECTED]> wrote:
MarLz LorenZo wrote:
Hi all
 
I am setting up qmailtoaster on an IBM x226 with Dual Xeon 64-bit on CentOS 4.3
2.6.9-34.0.1.ELsmp x86_64
 
At the end of the installation I get an error saying
tcpserver: fatal: temporarily unable to figure out IP address for 0.0.0.0: file does not exist
 
This seem to be a problem with tcpserver which uses gcc optimization flag -O2 which intern causes an error in dns_rcrw.c inside tcpserver.
I did try to edit the conf-cc and change the default gcc -O2 to just gcc . But this did not solve the problem. Perhaps the change was overidden during compilation of the RPM. Is there any way we can force the flags to be use during rpmbuild ?
 
If you install the source, you can edit the spec file and specify what options you want for compilation time. Then build the src-RPM again (using the vpopmail package as an example):
# rpmbuild -bs 
vpopmail-toaster.spec



 



Reply via email to