Subject: pkg/16411: graphics/xpm does not follow xpkgwedge on Solaris and require WorkShop compiler
To: None <gnats-bugs@gnats.netbsd.org>
From: Lubomir Sedlacik <salo@Xtrmntr.org>
List: netbsd-bugs
Date: 04/19/2002 17:29:14
>Number: 16411
>Category: pkg
>Synopsis: graphics/xpm does not follow xpkgwedge on Solaris and require WorkShop compiler
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Apr 19 08:30:00 PDT 2002
>Closed-Date:
>Last-Modified:
>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:
>Unformatted: