Subject: suse-* binary packages do not create directories
To: None <tech-pkg@netbsd.org>
From: Hauke Fath <hf@spg.tu-darmstadt.de>
List: tech-pkg
Date: 06/29/2004 14:43:06
Hi,

the suse-* packages want to install symlinks in directories that they 
{do,can} not create:


[hf@kilimanjaro] /emul/linux # pkg_add suse_base suse_devel
pkg_add: Package 
`ftp://ftp.netbsd.org/pub/NetBSD/packages/pkgsrc-2004Q1/NetBSD-1.6.2/i386/All/suse_base-7.3nb5.tgz' 
OS mismatch:
pkg_add: NetBSD/i386 1.6.2 (pkg) vs. NetBSD/i386 2.0_BETA (this host)
ln: /usr/pkg/emul/linux/usr/share/terminfo/p/patch: No such file or 
directory
pkg_add: command 'ln -fs ../u/unknown 
/usr/pkg/emul/linux/usr/share/terminfo/p/patch' failed
==============================================================================

Do not forget to include COMPAT_LINUX (and EXEC_ELF32 on NetBSD systems 
older than 1.5) in your kernel configuration file.  (Linux binaries 
require these options in order to work.)

==============================================================================
pkg_add: Package 
`ftp://ftp.netbsd.org/pub/NetBSD/packages/pkgsrc-2004Q1/NetBSD-1.6.2/i386/All/suse_devel-7.3nb2.tgz' 
OS mismatch: pkg_add: NetBSD/i386 1.6.2 (pkg) vs. NetBSD/i386 2.0_BETA 
(this host)
ln: /usr/pkg/emul/linux/usr/i486-suse-linux/bin/ar: No such file or 
directory
pkg_add: command 'ln -fs ../../bin/ar 
/usr/pkg/emul/linux/usr/i486-suse-linux/bin/ar' failed
ln: /usr/pkg/emul/linux/usr/i486-suse-linux/bin/as: No such file or 
directory
pkg_add: command 'ln -fs ../../bin/as 
/usr/pkg/emul/linux/usr/i486-suse-linux/bin/as' failed
ln: /usr/pkg/emul/linux/usr/i486-suse-linux/bin/gasp: No such file or 
directory
pkg_add: command 'ln -fs ../../bin/gasp 
/usr/pkg/emul/linux/usr/i486-suse-linux/bin/gasp' failed
ln: /usr/pkg/emul/linux/usr/i486-suse-linux/bin/ld: No such file or 
directory
pkg_add: command 'ln -fs ../../bin/ld 
/usr/pkg/emul/linux/usr/i486-suse-linux/bin/ld' failed
ln: /usr/pkg/emul/linux/usr/i486-suse-linux/bin/nm: No such file or 
directory
pkg_add: command 'ln -fs ../../bin/nm 
/usr/pkg/emul/linux/usr/i486-suse-linux/bin/nm' failed
ln: /usr/pkg/emul/linux/usr/i486-suse-linux/bin/ranlib: No such file or 
directory
pkg_add: command 'ln -fs ../../bin/ranlib 
/usr/pkg/emul/linux/usr/i486-suse-linux/bin/ranlib' failed
ln: /usr/pkg/emul/linux/usr/i486-suse-linux/bin/strip: No such file or 
directory
pkg_add: command 'ln -fs ../../bin/strip 
/usr/pkg/emul/linux/usr/i486-suse-linux/bin/strip' failed
[hf@kilimanjaro] /emul/linux #

FYI,
	hauke

-- 
            Hauke Fath                   /~\  The ASCII Ribbon Campaign
Institut für Nachrichtentechnik         \ /    No HTML/RTF in email
           TU Darmstadt                   X     No Word docs in email
       Ruf +49-6151-16-3281              / \  Respect for open standards