pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

polyml 5.5 build fails Xm/Xm.h missing



Hi:

Compiling polyml 5.5 libpolyml library using bmake without openmotif support, 
causes the build to fail.

Even though openmotif is installed on my NetBSD-current system, i donot wish to 
build support for openmotif in polyml. Please see the PKG_OPTIONS.polyml 
settings below.

Environment
 AMD64 x86_64
 netbsd-current
 NetBSD 6.99.10 GENERIC
 pkgsrc-current
 polyml 5.5
 gcc 4.5.3 (NetBSD nb2 20110806)
 openmotif 2.3.3nb1

in /usr/pkg/etc/mk.conf
 PKG_OPTIONS.polyml= x11 -openmotif

Location of openmotif 2.3.5 header files
 /usr/pkg/include/Xm

Build log

x53u# pwd
/usr/pkgsrc/lang/polyml

x53u# ls
CVS MESSAGE PLIST options.mk DESCR Makefile distinfo patches work

x53u# bmake
=> Bootstrap dependency digest>=20010302: found digest-20111104
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/pkg/sbin/pkg_admin -K /var/db/pkg 
fetch-pkg-vulnerabilities'.
=> Fetching polyml.5.5.tar.gz
===> Building for polyml-5.5
/usr/pkg/bin/bmake  all-recursive
Making all in libpolyml
/bin/sh ../libtool --tag=CXX    --mode=compile c++ -DHAVE_CONFIG_H -I. -I..     
-Wall -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include 
-I/usr/X11R7/include  -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include 
-I/usr/X11R7/include -MT xwindows.lo -MD -MP -MF .deps/xwindows.Tpo -c -o 
xwindows.lo xwindows.cpp
libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I.. -Wall 
-I/usr/pkgsrc/lang/polyml/work/.buildlink/include 
-I/usr/pkgsrc/lang/polyml/work/.x11-buildlink/include -MT xwindows.lo -MD -MP 
-MF .deps/xwindows.Tpo -c xwindows.cpp  -fPIC -DPIC -o .libs/xwindows.o
xwindows.cpp:180:19: fatal error: Xm/Xm.h: No such file or directory
compilation terminated.
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/lang/polyml/work/polyml.5.5/libpolyml
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/lang/polyml/work/polyml.5.5
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/lang/polyml/work/polyml.5.5
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/lang/polyml
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/lang/polyml

x53u# pwd
/usr/pkgsrc/lang/polyml

Appreciate any suggestions as to how to fix this issue.

thanks
Saifi.


Home | Main Index | Thread Index | Old Index