Crossfire Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
CF: Help compiling on RS6000?
Hi, all. I'd played crossfire at school a few years ago and I'd love to get
into it again; I'm having no luck
compiling my copy, though. Can anyone help?
I'm on AIX 4.2, with the X11R5 libraries.
I just downloaded crossfire-0.95.1 and have not been able to compile it- am
I doing something obivous wrong? I do not have root access on my system, so
I first tried:
%configure -prefix=/acct/mcn0968/test
(That's my personal directory, where I created "test" as a subdirectory...)
This is the output I got:
creating cache ./config.cache
checking for gcc... no
checking for cc... cc
checking whether the C compiler (cc ) works... yes
checking whether the C compiler (cc ) is a cross-compiler... no
checking whether we are using GNU C... no
checking how to run the C preprocessor... cc -E
checking for flex... lex
checking for yywrap in -ll... yes
checking for mawk... no
checking for gawk... no
checking for nawk... nawk
checking for a BSD compatible install... /usr/bin/installbsd -c
checking whether ln -s works... yes
checking whether make sets ${MAKE}... yes
checking for ranlib... ranlib
checking for mkdir... /usr/bin/mkdir
checking for tar... /usr/bin/tar
checking for makedepend... /usr/bin/X11/makedepend
checking for cp... /usr/bin/cp
checking for basename... /usr/bin/basename
checking for sed... /usr/bin/sed
checking for rm... /usr/bin/rm
checking for ar... /usr/bin/ar
checking for sh... /usr/bin/sh
checking for main in -lnsl... no
checking for main in -lsocket... no
checking for X... libraries , headers
checking for dnet_ntoa in -ldnet... no
checking for dnet_ntoa in -ldnet_stub... no
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... no
checking for main in -lX11... yes
checking for main in -lICE... no
checking for main in -lSM... no
checking for main in -lXext... yes
checking for main in -lXt... yes
checking for main in -lXmu... yes
checking for main in -lXaw... yes
checking for main in -lXpm... no
checking for main in -lcrypt... no
checking for main in -ldmalloc... no
checking for main in -lm... yes
checking for dirent.h that defines DIR... yes
checking for opendir in -ldir... no
checking for ANSI C header files... yes
checking for fcntl.h... yes
checking for limits.h... yes
checking for malloc.h... yes
checking for strings.h... yes
checking for sys/file.h... yes
checking for sys/ioctl.h... yes
checking for sys/time.h... yes
checking for unistd.h... yes
checking for stddef.h... yes
checking for stdlib.h... yes
checking for sys/ttycom.h... no
checking for sys/termios.h... no
checking for crypt.h... yes
checking for arpa/inet.h... yes
checking for working const... yes
checking for inline... no
checking for pid_t... yes
checking for size_t... yes
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 8-bit clean memcmp... yes
checking whether setpgrp takes no argument... yes
checking return type of signal handlers... void
checking for strftime... yes
checking for vprintf... yes
checking for ftime... no
checking for gethostname... yes
checking for gettimeofday... yes
checking for mkdir... yes
checking for mktime... yes
checking for rmdir... yes
checking for select... yes
checking for socket... yes
checking for strcspn... yes
checking for strerror... yes
checking for strspn... yes
checking for strstr... yes
checking for strtol... yes
checking for strcasecmp... yes
checking for strncasecmp... yes
checking for snprintf... yes
checking for setsid... yes
checking for srandom... yes
checking for getdtablesize... yes
checking for srand48... yes
checking for srand... yes
checking for sysconf... yes
updating cache ./config.cache
creating ./config.status
creating crossedit/doc/Makefile
creating doc/Makefile
creating lib/Makefile
creating server/Makefile
creating doc/spell-docs/Makefile
creating doc/spoiler/Makefile
creating crossedit/include/Makefile
creating include/Makefile
creating doc/spoiler-html/Makefile
creating doc/playbook/Makefile
creating crossedit/Cnv/Makefile
creating doc/playbook-html/Makefile
creating common/Makefile
creating crossedit/bitmaps/Makefile
creating crossedit/Makefile
creating Makefile
creating utils/Makefile
creating include/autoconf.h
That seems ok to me; there are some "no"s but nothing seems terrible.
Then:
%make depend
making depend in common...
/usr/bin/X11/makedepend -- -g -DLIBDIR=\"/acct/mcn0968/test/lib\"
-I../inc
lude -- arch.c anim.c button.c exp.c friend.c glue.c holy.c info.c image.c
init.c
item.c links.c living.c loader.c logger.c los.c ltostr.c map.c object.c
porting.c pl
ayer.c re-cmp.c readable.c recipe.c shstr.c sqrt.c time.c treasure.c
making depend in server...
/usr/bin/X11/makedepend -- -g -DLIBDIR=\"/acct/mcn0968/test/lib\"
-I../inc
lude -I../include -- alchemy.c apply.c attack.c ban.c c_chat.c c_misc.c
c_move.c c_n
ew.c c_object.c c_party.c c_wiz.c commands.c daemon.c egoitem.c encounter.c
ericser
ver.c hiscore.c gods.c init.c input.c login.c main.c monster.c move.c
newitem.c news
ocket.c pets.c player.c resurrection.c rune.c shop.c skills.c skill_util.c
socket.c
sockio.c sounds.c spell_effect.c spell_util.c swamp.c swap.c time.c
/usr/bin/X11/makedepend: warning: 1346-814 ericserver.c Includes
/usr/include/sys/t
ime.h more than once.
1346-815 Already have.
../include/global.h
../include/sproto.h
../include/newclient.h
../include/newserver.h
../include/living.h
/usr/include/sys/types.h
/usr/include/sys/time.h
/usr/include/sys/socket.h
/usr/include/netinet/in.h
/usr/include/netdb.h
/usr/include/unistd.h
making depend in doc...
Target "depend" is up to date.
making depend in include...
Target "depend" is up to date.
making depend in lib...
makedepend -- -O -I../include -- xbmtobdf.c
making depend in utils...
-- --
--: not found
make: 1254-004 The error code from the last command is 1.
Stop.
make: 1254-004 The error code from the last command is 2.
Stop.
I tried fiddling a little with the Makefile, but I'm a little out of my
depth. It looks to me like the script isn't finding any files in the utils
directory.
Any ideas?
Thanks very much for your time,
Matt Neumann
-
[you can put yourself on the announcement list only or unsubscribe altogether
by sending an email stating your wishes to crossfire-request@ifi.uio.no]