Installation on a HP UX!!

These are old archives. They are kept for historic purposes only.
Post Reply
NeoNapster
Posts: 3
Joined: Wed Feb 09, 2005 8:57 pm

Installation on a HP UX!!

Post by NeoNapster »

Hi been trying to install Unreal3.2.2b. on a hpux11.11 ran ./Config and got the following errors can anyone help here?? Here is the output of ./Config:

./configure --with-listen=5 --with-dpath=/home/irc/Unreal3.2 --with-spath=/home/irc/Unreal3.2/src/ircd --with-nick-history=2000 --with-sendq=3000000 --with-bufferpool=18 --with-hostname=unix --with-permissions=0600 --with-fd-setsize=1024 --enable-dynamic-linking
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking if gcc has a working -pipe... yes
checking for rm... /usr/bin/rm
checking for cp... /usr/bin/cp
checking for touch... /usr/bin/touch
checking for openssl... no
checking for install... /usr/bin/install
checking for gmake... gmake
checking for gmake... /usr/bin/gmake
checking for gunzip... /usr/contrib/bin/gunzip
checking for pkg-config... no
checking for crypt in -ldescrypt... no
checking for crypt in -lcrypt... yes
checking for socket in -lsocket... no
checking for inet_ntoa in -lnsl... yes
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... no
checking for sys/stat.h... no
checking for stdlib.h... no
checking for string.h... no
checking for memory.h... no
checking for strings.h... no
checking for inttypes.h... no
checking for stdint.h... no
checking for unistd.h... no
checking sys/param.h usability... no
checking sys/param.h presence... yes
configure: WARNING: sys/param.h: present but cannot be compiled
configure: WARNING: sys/param.h: check for missing prerequisite headers?
configure: WARNING: sys/param.h: proceeding with the preprocessor's result
checking for sys/param.h... yes
checking for stdlib.h... (cached) no
checking stddef.h usability... no
checking stddef.h presence... yes
configure: WARNING: stddef.h: present but cannot be compiled
configure: WARNING: stddef.h: check for missing prerequisite headers?
configure: WARNING: stddef.h: proceeding with the preprocessor's result
checking for stddef.h... yes
checking sys/syslog.h usability... no
checking sys/syslog.h presence... no
checking for sys/syslog.h... no
checking for unistd.h... (cached) no
checking for string.h... (cached) no
checking for strings.h... (cached) no
checking malloc.h usability... no
checking malloc.h presence... yes
configure: WARNING: malloc.h: present but cannot be compiled
configure: WARNING: malloc.h: check for missing prerequisite headers?
configure: WARNING: malloc.h: proceeding with the preprocessor's result
checking for malloc.h... yes
checking sys/rusage.h usability... no
checking sys/rusage.h presence... no
checking for sys/rusage.h... no
checking glob.h usability... no
checking glob.h presence... yes
configure: WARNING: glob.h: present but cannot be compiled
configure: WARNING: glob.h: check for missing prerequisite headers?
configure: WARNING: glob.h: proceeding with the preprocessor's result
checking for glob.h... yes
checking for gcc option to accept ANSI C... none needed
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for size_t... no
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for uid_t in sys/types.h... yes
checking for short... no
checking size of short... 0
checking for int... no
checking size of int... 0
checking for long... no
checking size of long... 0
configure: error: Cannot find a type with size of 16 bits

$ make
Make: No arguments or description file. Stop.

Any help or suggestions would be great thx!
Shelluser
Posts: 38
Joined: Tue Feb 01, 2005 8:30 pm
Location: The Netherlands
Contact:

Re: Installation on a HP UX!!

Post by Shelluser »

NeoNapster wrote:checking for sys/types.h... no
checking for sys/stat.h... no
checking for stdlib.h... no
checking for string.h... no
checking for memory.h... no
checking for strings.h... no
checking for inttypes.h... no
checking for stdint.h... no
checking for unistd.h... no
checking sys/param.h usability... no
checking sys/param.h presence... yes
configure: WARNING: sys/param.h: present but cannot be compiled
configure: WARNING: sys/param.h: check for missing prerequisite headers?
configure: WARNING: sys/param.h: proceeding with the preprocessor's result

configure: error: Cannot find a type with size of 16 bits
I am not fully familiar with HPUX but judging from the errors I'd say that you're missing some header files which are needed to compile this. For example; when compiling certain Linux software on Solaris you can use certain Linux compatible development files. So I wonder if this is the same issue for HPUX.
With kind regards, Peter

NekoNet IRC
www.neko-net.org / [url=irc://irc.neko-net.org:6667]irc.neko-net.org[/url]
NeoNapster
Posts: 3
Joined: Wed Feb 09, 2005 8:57 pm

Post by NeoNapster »

Ok thanks i shall look into that right away.
Regards Len
codemastr
Former UnrealIRCd head coder
Posts: 811
Joined: Sat Mar 06, 2004 8:47 pm
Location: United States
Contact:

Post by codemastr »

Once you do get ./Config to work, you will likely still experience problems when running make. The reason is, we've yet to fully find a way to add HP-UX support. If you are willing to try to help find the problem, please let me know.
-- codemastr
NeoNapster
Posts: 3
Joined: Wed Feb 09, 2005 8:57 pm

Post by NeoNapster »

Yes i have done the ./Config and got it to work and you are right running make did encounter problems, and yes I am more than willing to help in any way i can.
Regards

$ make
Building src
gcc -I../include -pipe -g -O2 -funsigned-char -c auth.c
In file included from ../include/struct.h:750,
from auth.c:21:
../include/modules.h:284: error: parse error before "shl_t"
../include/modules.h:284: warning: no semicolon at end of struct or union
../include/modules.h:294: error: parse error before '}' token
In file included from auth.c:40:
../include/h.h:218: error: conflicting types for 'snprintf'
../include/h.h:218: error: conflicting types for 'snprintf'
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.
Post Reply