Mailinglist Archive: opensuse-packaging (206 mails)

< Previous Next >
Re: [opensuse-packaging] Could not install the file
That's it working now, thanks guys :-)


On 19/01/11 12:17, oc2pus@xxxxxxxx wrote:
Am Mittwoch, 19. Januar 2011 schrieb Kyle Gordon:
|Hi folks,

I have a small project that just requires the command 'python ./waf
install' to install the files. However, on both my RPM and DEB builds
it's coming back with 'Could not install the file' at the end. Can
anyone explain why?

This excerpt is from the RPM build -

+ python waf install
Waf: Entering directory  `/usr/src/packages/BUILD/lysdr-1295045688/build'
* installing build/default/lysdr as /usr/bin/lysdr
Waf: Leaving directory  `/usr/src/packages/BUILD/lysdr-1295045688/build'
Could not install the file '/usr/bin/lysdr'

|| error: Bad exit status from /var/tmp/rpm-tmp.p8ZTto (%install)

And this is from the DEB build -

||* installing build/default/lysdr as  /usr/bin/lysdr

Waf: Leaving directory `/usr/src/packages/BUILD/build'
Could not install the file '/usr/bin/lysdr'
make: *** [install] Error 1
dpkg-buildpackage: error: fakeroot-tcp debian/rules binary gave  error 
exit status 2

Any thoughts?
you need to call waf with the correct parameters.

./waf configure \
--prefix=%{_prefix} \
./waf build %{?jobs:-j%{jobs}}

./waf install \

the --destdir should do the trick :)



Kyle Gordon - 2M1DIQ
Jabber/Email/SIP: kyle@xxxxxxxxxxxxxxxxxxxx

Kyle Gordon - 2M1DIQ
Jabber/Email/SIP: kyle@xxxxxxxxxxxxxxxxxxxx

To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx

< Previous Next >