On 2009-09-21 22:27 +0200, shampavman wrote:

> Im new to .deb packaging.. and learning it as a test I wanted to
> modify the alien pkg such that it automatically creates a symlink from
> /usr/bin/alien to /usr/sfw/bin/alien.. and thus i changed the rules
> file appropriately... but when I do a build this is what I get
>
> make[1]: Leaving directory `/home/shampavman/packaging/alien-8.73'
>   dh_auto_test
> make[1]: Entering directory `/home/shampavman/packaging/alien-8.73'
> No tests defined for Alien extension.
> make[1]: Leaving directory `/home/shampavman/packaging/alien-8.73'
> # simple smoke test
> /bin/ln -s /usr/bin/alien /usr/sfw/bin/alien
> /bin/ln: creating symbolic link `/usr/sfw/bin/alien': No such file or 
> directory

You need to create the target directory for the link beforehand:
mkdir -p /usr/sfw/bin

Sven


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to