Peter,

I just executed the rpm rebuild on my SuSE 7.0 system, with the 2.2.16
kernel.  It seemed to work fine for me.  The error you report is generated
by the configure command in /usr/src/packages/BUILD/samba-2.2.5/source/.
You might take a look at the config.log file in that directory.  The very
last thing that I have in mine is this:
configure:13522: checking for poptGetContext in -lpopt
configure:13541: gcc -o conftest -O -O2 -Wall -O -D_GNU_SOURCE
-D_LARGEFILE64_SOURCE   conftest.c -lpopt   -ldl -lnsl -lpam 1>&5
configure:13565: checking whether to use included popt
configure:13580: checking configure summary
configure:13589: gcc -o conftest -O -O2 -Wall -O -D_GNU_SOURCE
-D_LARGEFILE64_SOURCE   conftest.c  -ldl -lnsl -lpam -lpopt 1>&5
In file included from configure:13586:
tests/summary.c:4: warning: return-type defaults to `int'

Yours will probably have some sort of error with the compilation of the
summary check.

Mark Post

-----Original Message-----
From: Peter E. Abresch Jr. - at Pepco [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 12, 2002 8:40 AM
To: [EMAIL PROTECTED]
Subject: Re: Upgrading Samba from 2.2.0a to 2.2.5


I tried the suggestion below because it looked the easiest. I get the
following when I do the 'rpm --rebuild samba-2.2.5-0.src.rpm

checking whether to use traditional smbpasswd file... yes
--More--configure: error: summary failure. Aborting config
Bad exit status from /var/tmp/rpm-tmp.98694 (%build)
checking whether to use NISPLUS_HOME... no
checking whether to use SSL... no
checking whether to use syslog logging... yes

When I do SMBD -V I still get Version 2.2.0a

I looked over samba.conf but being the newbie I am, I really do not see
anything that stands out. Does anyone have any ideas? Much appreciated.

Peter






<[EMAIL PROTECTED]>
07/11/2002 04:07 PM


        To:     "Peter E. Abresch Jr.   - at Pepco" <[EMAIL PROTECTED]>
        cc:     <[EMAIL PROTECTED]>
        Subject:        Re: Upgrading Samba from 2.2.0a to 2.2.5


On Thu, 11 Jul 2002, Peter E. Abresch Jr.   - at Pepco wrote:

> We are running SuSE SLES7 beta Linux Kernel 2.4.7. The Samba delivered
was
> Samba 2.2.0a. I used YAST to install the source and created a source
tree
> under /usr/src/samba-2.2.0a. I downloaded all the patches and
successfully
> applied them up to 2.2.5.
>
> My question is where do I go from here? I know I have to compile the
> source. What are the commands or sequence of commands necessary? I here
a
> lot about the .spec file. What is it and what do I do with it? Are there
> any gotchas? I appreciate any assistance this newbie can receive.
Thanks.

Another solution is to download the src rpm for samba 2.2.5 from :

ftp://ftp.suse.com/pub/people/lmuelle/src/

Depending on the options you need you will probably have to modify the
spec for the rpm to tune it to your needs. If not you can rebuild directly
from the src rpm using :

rpm --rebuild samba-2.2.5-0.src.rpm

If you have to change the spec file (it contains the configure command)
then first install the src rpm

rpm -i samba-2.2.5-0.src.rpm

Then modify the spec file, I think you will find it in
/usr/src/packages/SPEC

(don't forget the increase the Release field after each modification of
the spec file)

Then build the s390.rpm files using

rpm -bb samba.spec

Have fun with it,
Tim

--
===========================================================================
Tim Verhoeven
                                Linux & Open Source Specialist
GSM : 0496 / 693 453                          + e-business solutions
Email : [EMAIL PROTECTED]                           + consulting
URL : www.sin.khk.be/~dj/                     + Server consolidation
===========================================================================

Reply via email to