Subject: pkg/18606: netscape7 problems
To: None <gnats-bugs@gnats.netbsd.org>
From: None <martti.kuparinen@iki.fi>
List: netbsd-bugs
Date: 10/10/2002 11:55:27
>Number:         18606
>Category:       pkg
>Synopsis:       netscape7 problems
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Oct 10 02:56:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        NetBSD 1.6
>Organization:
Martti Kuparinen
>Environment:
	
	
System: NetBSD dhcp118 1.6 NetBSD 1.6 (KAYAK) #0: Mon Sep 23 14:22:44 CEST 2002 root@dhcp118:/usr/src/sys/arch/i386/compile/KAYAK i386
Architecture: i386
Machine: i386
>Description:

The current netscape7 package has 3 problems:

1) Wrong PLIST
2) The installer leaves temporary files in /emul/linux/usr/pkgsrc
3) Missing symlinks (this is really suse_x11's fault)

Details:

1) I don't know what's wrong with the PLIST but I get this:

===> Registering installation for netscape7-0nb1
pkg_create: can't stat `/usr/pkg/lib/netscape/netscape7/plugins/libjavaplugin_oji.so'
netscape7-0nb1 requires installed package suse_base-7.3nb1
netscape7-0nb1 requires installed package suse_compat-7.3
netscape7-0nb1 requires installed package suse_gtk-7.3
netscape7-0nb1 requires installed package suse_x11-7.3nb2

2) After the installation is done, and the user has cleaned the work
   files, there are still files under /emul/linux/usr/pkgsrc. That's the
   place where the "original" installation was done (according to the
   instructions in files/extract_instructions). Please note that
   netscape sees /emul/linux as its root directory while "make clean"
   only wipes pkgsrc/www/netscape/work...

3) Some plugins fail to initialize. This is because of two missing
   symlinks in /emul/linux/usr/X11R6/lib.

>How-To-Repeat:

[ remove all suse packages ]
# rm -rf /emul/linux/*

# export NS_INST=complete
# make install
# make clean clean-depends
# netscape7
LoadPlugin: failed to initialize shared library libXt.so [libXt.so: cannot open shared object file: No such file or directory]
LoadPlugin: failed to initialize shared library libXext.so [libXext.so: cannot open shared object file: No such file or directory]

>Fix:

1) I don't know

2) Add a post-clean target to "${RM} -rf /emul/linux/${WRKSRC}"????

3) Add the missing symlinks (pre-build or fix suse_x11?)

# cd /emul/linux/usr/X11R6/lib/
# ln -s libXext.so.6 libXext.so  
# ln -s libXt.so.6 libXt.so
>Release-Note:
>Audit-Trail:
>Unformatted: