Subject: problems with xpm+xpkgwedge on Solaris - pkg/16411
To: None <tech-pkg@netbsd.org>
From: Lubomir Sedlacik <salo@Xtrmntr.org>
List: tech-pkg
Date: 04/19/2002 22:20:18
--jI8keyz6grp/JLjh
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

hi,

anyone can give me a hint how to solve this issue?  thanks in advance.

----------------------------------------------------------------------

 >Number:         16411
 >Category:       pkg
 >Synopsis:       graphics/xpm does not follow xpkgwedge on Solaris and req=
uire WorkShop compiler
 >Confidential:   no
 >Severity:       critical
 >Priority:       high
 >Responsible:    pkg-manager
 >State:          open
 >Class:          sw-bug
 >Release:        SunOS 5.8

 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 Sola=
ris
 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 instal=
l'

 =3D=3D=3D> 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.s=
o.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.

----------------------------------------------------------------------


regards,

--=20
-- Lubomir Sedlacik <salo@Xtrmntr.org>   ASCII Ribbon campaign against  /"\=
 --
--                  <salo@silcnet.org>   e-mail in gratuitous HTML and  \ /=
 --
--                                       Microsoft proprietary formats   X =
 --
-- PGPkey: http://Xtrmntr.org/salo.pgp                                  / \=
 --
-- Key Fingerprint: DBEC 8BEC 9A90 ECEC 0FEF  716E 59CE B70B 7E3B 70E2     =
 --

--jI8keyz6grp/JLjh
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (NetBSD)
Comment: For info see http://www.gnupg.org

iD8DBQE8wHwCWc63C347cOIRAtEPAKCaXguJlv3ukssLT2Xy8KNARktDKgCdEW1/
ufdCspkry/n1RtXnkO0OOh0=
=ZKds
-----END PGP SIGNATURE-----

--jI8keyz6grp/JLjh--