NetBSD Problem Report #16411
Received: (qmail 27616 invoked from network); 19 Apr 2002 15:29:24 -0000
Message-Id: <20020419152914.26B011D19B@otaku.Xtrmntr.org>
Date: Fri, 19 Apr 2002 17:29:14 +0200 (CEST)
From: Lubomir Sedlacik <salo@Xtrmntr.org>
Reply-To: salo@Xtrmntr.org
To: gnats-bugs@gnats.netbsd.org
Subject: graphics/xpm does not follow xpkgwedge on Solaris and require WorkShop compiler
X-Send-Pr-Version: 3.95
>Number: 16411
>Category: pkg
>Synopsis: graphics/xpm does not follow xpkgwedge on Solaris and require WorkShop compiler
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Apr 19 15:30:00 +0000 2002
>Closed-Date: Fri Jun 07 12:57:57 +0000 2002
>Last-Modified: Fri Jun 07 12:57:57 +0000 2002
>Originator: Lubomir Sedlacik
>Release: SunOS 5.8
>Organization:
>Environment:
>Description:
i am having troubles with compilation of graphics/xpm on Solaris machine.
i have pkgtools/xpkgwedge installed but xpm seems to ignore it and wants
to install itself into /usr/openwin/, additionally, it takes CFLAGS from
Solaris image and wants to use Sun WorkShop/Forte compiler with appropriate
flags.
i have such compiler, so it builds but it crashes while doing 'make install'
===> Installing for xpm-3.4k
installing in ./lib...
*** Error code 1 (ignored)
*** Error code 2 (ignored)
/usr/ucb/install -c -m 0644 libXpm.so.4.11 /usr/openwin/lib
rm -f /usr/openwin/lib/libXpm.so
ln -s libXpm.so.4.11 /usr/openwin/lib/libXpm.so
/usr/ucb/install -c -m 0644 libXpm.a /usr/openwin/lib
+ /usr/ucb/install -c -m 0644 xpm.h /usr/openwin/include/X11
install in lib done
installing in ./sxpm...
/usr/ucb/install -c sxpm /usr/openwin/bin/sxpm
install in sxpm done
installing in ./cxpm...
/usr/ucb/install -c cxpm /usr/openwin/bin/cxpm
install in cxpm done
installing man pages in ./lib...
install.man in lib done
installing man pages in ./sxpm...
/usr/ucb/install -c -m 0444 sxpm.man /usr/openwin/share/man/man1/sxpm.1
install.man in sxpm done
installing man pages in ./cxpm...
/usr/ucb/install -c -m 0444 cxpm.man /usr/openwin/share/man/man1/cxpm.1
install.man in cxpm done
cd /usr/pkg/lib && /usr/bin/rm -f libXpm.so.4 && /usr/bin/ln -f libXpm.so.4.11 libXpm.so.4
ln: cannot access libXpm.so.4.11
*** Error code 2
Stop.
bmake: stopped in /usr/pkgsrc/graphics/xpm
*** Error code 1
Stop.
bmake: stopped in /usr/pkgsrc/graphics/xpm
*** Error code 1
Stop.
bmake: stopped in /usr/pkgsrc/graphics/xpm
*** Error code 1
Stop.
bmake: stopped in /usr/pkgsrc/graphics/xpm
this is obvious, because it's installed into /usr/openwin/lib,
not /usr/pkg/lib.
i was able to compile and install it without using pkgtools/xpkgwedge
into /usr/openwin, though.
>How-To-Repeat:
on Solaris machine with pkgsrc:
1) install pkgtools/xpkgwedge
2) try to install graphics/xpm
>Fix:
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: tron
State-Changed-When: Fri Jun 7 05:54:48 PDT 2002
State-Changed-Why:
1.) The "xpkwedge" package doesn't work under Solaris because OpenWindows is
based on a very old X11 release.
2.) If you don't have Sun's Workshop compiler on your system you should create
a file "host.def" in "/usr/openwin/lib/config" which defines "CcCmd"
accordingly. It is not the job of the package sources to work arround
a incorrect X11 build environment.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.