Operating System - HP-UX
1833982 Members
1888 Online
110063 Solutions
New Discussion

Re: problems compiling xterm on 11i

 
SOLVED
Go to solution
Alun  Territt
Advisor

problems compiling xterm on 11i

Hi everyone,

I'm trying to compile a version of xterm
(the one from dickey.his.com).
I'm using hp-ux 11i, and we do have the
ansi compiler installed, but I'm not sure
if I have all the X11 libraries and headers
I need. I'm not sure where I would get those
from. Anyway, see below and see what you
think.

regards.

Paul Stuart


$ make
cc -O -Aa -I. -Dhpux -DSYSV -D_HPUX_SOURCE -DSCROLLBAR_RIGHT -DOPT_WIDE_CHARS -DOPT_LUIT_PROG -DPROJECTROOT= -c resize.c
cpp: "./ptyx.h", line 74: error 4036: Can't open include file 'X11/Xmu/Misc.h'.
cpp: "./ptyx.h", line 77: error 4036: Can't open include file 'X11/Xmu/Converters.h'.
*** Error exit code 1

Stop.
3 REPLIES 3
Steven E. Protter
Exalted Contributor

Re: problems compiling xterm on 11i

Its complaining about missing files. Verify their existance.

You may not have compatible sofware. I often have to change code to get stuff to compile properly on HP-UX.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Ermin Borovac
Honored Contributor
Solution

Re: problems compiling xterm on 11i

Include files you are missing should be in /usr/contrib/X11R6/include/X11/Xmu. If you have HP's ANSI C compiler installed, these files should be on your system.

To fix simply set CCOPTS and LDOPTS before running make.

CCOPTS="-I/usr/contrib/X11R6/include"
LDOPTS="-L/usr/contrib/X11R6/lib"
export CCOPTS LDOPTS
Alun  Territt
Advisor

Re: problems compiling xterm on 11i

Thanks. That worked perfectly.

PJS