Operating System - HP-UX
1753806 Members
8300 Online
108805 Solutions
New Discussion юеВ

Re: installing rdesktop into HP-UX 11i3

 
yuma_hirokawa
Occasional Advisor

installing rdesktop into HP-UX 11i3

Hi, experts.

I tried to install the rdesktop into HP-UX ,but failed with log below.

================

# cd rdesktop-1.8.3
#
# ./configure
checking build system type... ia64-hp-hpux11.31
checking host system type... ia64-hp-hpux11.31
checking for gcc... no
checking for cc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... no
checking whether cc accepts -g... no
checking for cc option to accept ISO C89... none needed
checking for a BSD-compatible install... ./install-sh -c
checking how to run the C preprocessor... cc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking whether byte ordering is bigendian... yes
checking for X... no

ERROR: Could not find X Window System headers/libraries.
To specify paths manually, use the options --x-includes and --x-libraries.

================

But there is ''X11' in /usr/bin, and can open xclock.

What is the reason of this problem?

 

Regards,

 

2 REPLIES 2
Sebastian.Koehler
Honored Contributor

Re: installing rdesktop into HP-UX 11i3

Hi Yuma,

you could just use the prebuild rdesktop package available here.

rdesktop-1.8.1
http://hpux.connect.org.uk/hppd/hpux/Networking/Misc/rdesktop-1.8.1/

Please use the Accept Solution button next to my post and assign a KUDO (thumbs up icon) if this works for you.

Regards,
Sebastian Koehler

ranganath ramachandra
Esteemed Contributor

Re: installing rdesktop into HP-UX 11i3

The configure script is looking for X(11) headers and libraries that will be needed during compilation of the sources and linking the final rdesktop executable. You have X11 installed and may not have the headers. (and archive libraries if available, and the symbolic links to the shared libraries) or the configure script from the source package you are using is looking for them in the wrong places. As already mentioned in a previous reply, the pre-built package is available on hp-ux connect, but if you want to build from source, you can download from the same site the source package which will configure nicely on hp-ux (you still need to make sure you have the headers etc installed).

Looking into what products provide the X server binaries, headers and libraries:

[ ranga ] $ /usr/sbin/swlist -l file | grep /usr/bin/X11/X
  PHSS_42881.OEM-SERVER: /usr/bin/X11/X
  PHSS_42881.OEM-SERVER: /usr/bin/X11/Xf86
  PHSS_42881.OEM-SERVER: /usr/bin/X11/Xhp
  PHSS_42881.OEM-SERVER: /usr/bin/X11/Xvfb
  Xserver.OEM-SERVER: /usr/bin/X11/X
  Xserver.OEM-SERVER: /usr/bin/X11/Xf86
  Xserver.OEM-SERVER: /usr/bin/X11/Xhp
  Xserver.OEM-SERVER: /usr/bin/X11/Xvfb

[ ranga ] $ /usr/sbin/swlist -l file | grep /usr/include/X11/X.h
  X11MotifDevKit.X11R6-PRG-COM: /usr/include/X11/X.h
  X11MotifDevKit.X11R6-PRG-COM: /usr/include/X11/Xthreads.h
[ ranga ] $ /usr/sbin/swlist -l file | grep /usr/lib/hpux32/libX11.so
X11.X11R6-SLIBS-IA: /usr/lib/hpux32/libX11.so.1
X11MotifDevKit.X11R6-PRG: /usr/lib/hpux32/libX11.so

Clearly two different products. (For linking, you need libX11.so, which is simply a symbolic link to libX11.so.1)

So if you want to build from source, you need X11MotifDevKit installed.

 
--
ranga
[i work for hpe]

Accept or Kudo