Le Mardi 23 Mai 2006 04:11, Henne Vogelsang a écrit :
> Hi,
>
> On Monday, May 22, 2006 at 16:43:59, Marc Collin wrote:
> > i would like to know if the makefile can have an impact on the specfile?
> >
> > i create a specfile step by step
>
> [...]
>
> > make: *** /lib/modules/2.6.16.13-4-default/build: No such file or
> > directory.
>
> Please, whenever you ask question about RPM specfiles put them somewhere
> (pastebin.com) so people can actually understand what you are trying to
> do.
>
> Henne

Name: spca5xx
Summary: spca5xx video for linux (v4l) driver.
Version: 20060501
Release: 1
License: GPL
Group:   System/Kernel
Source: http://mxhaard.free.fr/spca50x/Download/spca5xx-20060501.tar.gz
URL: http://mxhaard.free.fr/
Packager: Marc Collin <[EMAIL PROTECTED]>
BuildRequires:  kernel-source

BuildRoot: %{_tmppath}/%{name}-%{version}
%description
spca5xx video for linux (v4l) driver, providing
support for webcams and digital cameras based on the spca5xx range of chips
manufactured by SunPlus Sonix Z-star Vimicro Conexant Etoms Transvision 
Mars-Semi Pixart.

%prep
%setup
#%patch

%build
make

i get: build --rpms /opt/dvd_suse

+ cd spca5xx-20060501
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chown -Rhf root .
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chgrp -Rhf root .
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.76753
+ umask 022
+ cd /usr/src/packages/BUILD
+ /bin/rm -rf /var/tmp/spca5xx-20060501
++ dirname /var/tmp/spca5xx-20060501
+ /bin/mkdir -p /var/tmp
+ /bin/mkdir /var/tmp/spca5xx-20060501
+ cd spca5xx-20060501
+ make
   Building SPCA5XX driver for 2.5/2.6 kernel.
   Remember: you must have read/write access to your kernel source tree.
make -C /lib/modules/`uname -r`/build 
SUBDIRS=/usr/src/packages/BUILD/spca5xx-20060501 CC=cc modules
make: *** /lib/modules/2.6.16.13-4-default/build: No such file or directory.  
Stop.
make: *** [default] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.76753 (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.76753 (%build)


to install it it's easy..... make make install......
it's more difficult to do it with a spec file.....



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to