![](https://secure.gravatar.com/avatar/a52180e24a72c78dc830624b240c5795.jpg?s=120&d=mm&r=g)
Hi, Sorry for the delay. I'm in vacations ATM, but I'll return at the end of the next week. Mikhail Kolesnik wrote:
Hello, Richard.
On Wed, 6 Aug 2008 17:49:16 +0200 "Richard Pöttler" <richard.poettler@gmail.com> wrote:
On Wed, Aug 6, 2008 at 3:31 AM, Thiago Coutinho <thiagocoutinho1@gmail.com> wrote:
Why not add mtools to dependency of syslinux?
root@ironman ~ $ syslinux -s /dev/sdb1 sh: mcopy: command not found I think it is not listed, because it is not linked against it.
This is not the case: mtools port is not in core and thus should be listed as a dependency. The question is if it is essential for the syslinux functionality... You can always discuss such situation with a maintainer. I'm the maintainer on contrib for this port. The fact is that the syslinux binary requires mtools installed (for working with vfat filesystems), but isn't required for build the port and mostly of the others binaries and tools packaged don't depends on it. That's for what I decided to added mtools as optional.
Yeah, I don't like to have these kind of errors due to optional-non_installed dependencies, so I propose you some ways for fixing it: a) add a README file explaining the problem b) add mtools as a dependency c) rename syslinux to syslinux-bin and add a syslinux called script which executes the syslinux binary after checking if mtools is installed [attached] [1] Imho c) would be the best option. What are your opinions? Thanks for your comments, Jose V Beneyto [1] results for syslinux script example: $ syslinux Usage: syslinux [-sfr][-d directory][-o offset] device $ sudo pkgrm mtools $ syslinux You need to install mtools for using the syslinux command. #!/bin/bash if [ "$(pkginfo -i | grep '^mtools ')" ]; then exec syslinux $@ else echo "You need to install mtools for using the syslinux command." 2>&1 exit 1 fi # End of file