Mark Belfanti wrote:
> Hi all,
> To start I am still very new to samba and this is my first attempt to
> build RPMS from the CVS source. I am trying to use the script you have
> in /packaging/Redhat.
> I keep getting an error that samba-PVERSION cant be found, see below:
>
> [root@LSALNXS01 RedHat]# pwd /usr/src/samba/packaging/RedHat
> [root@LSALNXS01 RedHat]# sh makerpms.sh
> chown: getting attributes of `samba-PVERSION': No such file or
directory
> tar: samba-PVERSION/samba2.*.spec: Cannot stat: No such file or directory
> tar: samba-PVERSION: Cannot stat: No such file or directory
> tar: Error exit delayed from previous errors
> error: Name field must be present in package: (main package)
> error: Version field must be present in package: (main package)
> error: Release field must be present in package: (main package)
> error: Summary field must be present in package: (main package)
> error: Group field must be present in package: (main package)
> error: License field must be present in package: (main package)
>
> I am not really sure where or how the PVERSION variable gets set. I
> assume that it is a file somewhere stating the current build version
> or what it should be
> Do I have to edit something somewhere to make this work? I have looked
> through the newsgroups, RTFM etc but can't see anything to point me in
> the right direction.
>
> Can you please tell me where I should look, what I can do to work this
> out.
>
> Thanks,
> Mark
>
Hi all,
Sorry, I figured it out. The directory name for the cvs download was
samba instead of samba-3.0.alpha19. All works fine now,
Thanks.
Mark