Building Amaya

Hello,

I'm trying to build the Amaya bin (UNIX) from the source code:

Platform: Solaris

and I'm running into make problems.  I have followed the directions in
your README.amaya file.  I have attached the output I get from
"../configure" and "make all".  Would you please look at the output and
let me know what the problem is.

Thanks,

Neera
Script started on Thu Jan 31 09:15:55 2002
[nsood@yavin4 solaris]$ make all make[1]: Entering directory `/afs/rcf.mitre.org/project/socialinfo/svg/amaya/Amaya/solaris/tools'
make[2]: Entering directory `/afs/rcf.mitre.org/project/socialinfo/svg/amaya/Amaya/solaris/tools/mkdep'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/afs/rcf.mitre.org/project/socialinfo/svg/amaya/Amaya/solaris/tools/mkdep'
make[2]: Entering directory `/afs/rcf.mitre.org/project/socialinfo/svg/amaya/Amaya/solaris/tools/cextract-1.7'
gcc  -o ../../bin/cextract parse.o main.o io.o -ldl -lnsl -lsocket   -lm
/usr/rcf/i686-pc-linux-gnu/bin/ld: cannot find -lsocket
collect2: ld returned 1 exit status
make[2]: *** [../../bin/cextract] Error 1
make[2]: Leaving directory `/afs/rcf.mitre.org/project/socialinfo/svg/amaya/Amaya/solaris/tools/cextract-1.7'
make[1]: Leaving directory `/afs/rcf.mitre.org/project/socialinfo/svg/amaya/Amaya/solaris/tools'
make[1]: Entering directory `/afs/rcf.mitre.org/project/socialinfo/svg/amaya/Amaya/solaris/thotlib'
gcc -O2 -W   -DHAVE_CONFIG_H -I.. -I../../amaya/xpm -I../../tablelib/f -I../../thotlib/include -I../../thotlib/internals/var -I../../thotlib/internals/h -I../../thotlib/internals/f -I../../libjpeg -I../../libpng -I../../libpng/zlib -I/usr/dt/include   -I/usr/openwin/include -c ../../thotlib/base/fileaccess.c -o base/fileaccess.o
In file included from ../../thotlib/include/thot_sys.h:65,
                 from ../../thotlib/base/fileaccess.c:16:
../../thotlib/include/sysdep.h:768: sys/systeminfo.h: No such file or directory
In file included from ../../thotlib/include/interface.h:11,
                 from ../../thotlib/include/appstruct.h:14,
                 from ../../thotlib/internals/h/typestr.h:30,
                 from ../../thotlib/internals/h/typeint.h:19,
                 from ../../thotlib/internals/h/typemedia.h:18,
                 from ../../thotlib/base/fileaccess.c:18:
../../thotlib/include/thot_gui.h:127: Xm/MwmUtil.h: No such file or directory
../../thotlib/include/thot_gui.h:128: Xm/BulletinB.h: No such file or directory
../../thotlib/include/thot_gui.h:129: Xm/CascadeB.h: No such file or directory
../../thotlib/include/thot_gui.h:130: Xm/DialogS.h: No such file or directory
../../thotlib/include/thot_gui.h:131: Xm/DrawingA.h: No such file or directory
../../thotlib/include/thot_gui.h:132: Xm/DrawnB.h: No such file or directory
../../thotlib/include/thot_gui.h:133: Xm/Frame.h: No such file or directory
../../thotlib/include/thot_gui.h:134: Xm/Form.h: No such file or directory
../../thotlib/include/thot_gui.h:135: Xm/Label.h: No such file or directory
../../thotlib/include/thot_gui.h:136: Xm/List.h: No such file or directory
../../thotlib/include/thot_gui.h:137: Xm/MainW.h: No such file or directory
../../thotlib/include/thot_gui.h:138: Xm/MenuShell.h: No such file or directory
../../thotlib/include/thot_gui.h:139: Xm/PushB.h: No such file or directory
../../thotlib/include/thot_gui.h:140: Xm/RepType.h: No such file or directory
../../thotlib/include/thot_gui.h:141: Xm/RowColumn.h: No such file or directory
../../thotlib/include/thot_gui.h:142: Xm/Scale.h: No such file or directory
../../thotlib/include/thot_gui.h:143: Xm/ScrollBar.h: No such file or directory
../../thotlib/include/thot_gui.h:144: Xm/ScrolledW.h: No such file or directory
../../thotlib/include/thot_gui.h:145: Xm/SelectioB.h: No such file or directory
../../thotlib/include/thot_gui.h:146: Xm/Separator.h: No such file or directory
../../thotlib/include/thot_gui.h:147: Xm/Text.h: No such file or directory
../../thotlib/include/thot_gui.h:148: Xm/ToggleB.h: No such file or directory
../../thotlib/include/thot_gui.h:149: Xm/Xm.h: No such file or directory
../../thotlib/include/thot_gui.h:150: Xm/PushBG.h: No such file or directory
make[1]: *** [base/fileaccess.o] Error 1
make[1]: Leaving directory `/afs/rcf.mitre.org/project/socialinfo/svg/amaya/Amaya/solaris/thotlib'
make[1]: Entering directory `/afs/rcf.mitre.org/project/socialinfo/svg/amaya/Amaya/solaris/tablelib'
gcc -O2 -W   -DHAVE_CONFIG_H -I.. -I../../tablelib/f -I../../thotlib/include -I../../thotlib/internals/var -I../../thotlib/internals/h -I../../thotlib/internals/f -I../../libjpeg -I../../libpng -I../../libpng/zlib -I/usr/dt/include   -I/usr/openwin/include -c ../../tablelib/table.c -o table.o
In file included from ../../thotlib/include/thot_sys.h:65,
                 from ../../tablelib/table.c:18:
../../thotlib/include/sysdep.h:768: sys/systeminfo.h: No such file or directory
In file included from ../../thotlib/include/interface.h:11,
                 from ../../thotlib/include/appstruct.h:14,
                 from ../../thotlib/internals/h/typestr.h:30,
                 from ../../thotlib/internals/h/typeint.h:19,
                 from ../../thotlib/internals/h/typemedia.h:18,
                 from ../../tablelib/table.c:20:
../../thotlib/include/thot_gui.h:127: Xm/MwmUtil.h: No such file or directory
../../thotlib/include/thot_gui.h:128: Xm/BulletinB.h: No such file or directory
../../thotlib/include/thot_gui.h:129: Xm/CascadeB.h: No such file or directory
../../thotlib/include/thot_gui.h:130: Xm/DialogS.h: No such file or directory
../../thotlib/include/thot_gui.h:131: Xm/DrawingA.h: No such file or directory
../../thotlib/include/thot_gui.h:132: Xm/DrawnB.h: No such file or directory
../../thotlib/include/thot_gui.h:133: Xm/Frame.h: No such file or directory
../../thotlib/include/thot_gui.h:134: Xm/Form.h: No such file or directory
../../thotlib/include/thot_gui.h:135: Xm/Label.h: No such file or directory
../../thotlib/include/thot_gui.h:136: Xm/List.h: No such file or directory
../../thotlib/include/thot_gui.h:137: Xm/MainW.h: No such file or directory
../../thotlib/include/thot_gui.h:138: Xm/MenuShell.h: No such file or directory
../../thotlib/include/thot_gui.h:139: Xm/PushB.h: No such file or directory
../../thotlib/include/thot_gui.h:140: Xm/RepType.h: No such file or directory
../../thotlib/include/thot_gui.h:141: Xm/RowColumn.h: No such file or directory
../../thotlib/include/thot_gui.h:142: Xm/Scale.h: No such file or directory
../../thotlib/include/thot_gui.h:143: Xm/ScrollBar.h: No such file or directory
../../thotlib/include/thot_gui.h:144: Xm/ScrolledW.h: No such file or directory
../../thotlib/include/thot_gui.h:145: Xm/SelectioB.h: No such file or directory
../../thotlib/include/thot_gui.h:146: Xm/Separator.h: No such file or directory
../../thotlib/include/thot_gui.h:147: Xm/Text.h: No such file or directory
../../thotlib/include/thot_gui.h:148: Xm/ToggleB.h: No such file or directory
../../thotlib/include/thot_gui.h:149: Xm/Xm.h: No such file or directory
../../thotlib/include/thot_gui.h:150: Xm/PushBG.h: No such file or directory
make[1]: *** [table.o] Error 1
make[1]: Leaving directory `/afs/rcf.mitre.org/project/socialinfo/svg/amaya/Amaya/solaris/tablelib'
make[1]: Entering directory `/afs/rcf.mitre.org/project/socialinfo/svg/amaya/Amaya/solaris/batch'
gcc '-DCPP="'"gcc -E -x c"'"' -O2 -W  -DHAVE_CONFIG_H -I.. -I../../batch/f -I../../thotlib/include -I../../thotlib/internals/var -I../../thotlib/internals/h -I../../thotlib/internals/f -I../../libjpeg -I../../libpng -I../../libpng/zlib -I/usr/dt/include   -I/usr/openwin/include -c ../../batch/../thotlib/base/compilmsg.c -o ../thotlib/base/compilmsg.o
In file included from ../../thotlib/include/thot_sys.h:65,
                 from ../../batch/../thotlib/base/compilmsg.c:16:
../../thotlib/include/sysdep.h:768: sys/systeminfo.h: No such file or directory
In file included from ../../thotlib/include/interface.h:11,
                 from ../../thotlib/include/appstruct.h:14,
                 from ../../thotlib/internals/h/typestr.h:30,
                 from ../../thotlib/internals/h/typeint.h:19,
                 from ../../thotlib/internals/h/typemedia.h:18,
                 from ../../batch/../thotlib/base/compilmsg.c:22:
../../thotlib/include/thot_gui.h:127: Xm/MwmUtil.h: No such file or directory
../../thotlib/include/thot_gui.h:128: Xm/BulletinB.h: No such file or directory
../../thotlib/include/thot_gui.h:129: Xm/CascadeB.h: No such file or directory
../../thotlib/include/thot_gui.h:130: Xm/DialogS.h: No such file or directory
../../thotlib/include/thot_gui.h:131: Xm/DrawingA.h: No such file or directory
../../thotlib/include/thot_gui.h:132: Xm/DrawnB.h: No such file or directory
../../thotlib/include/thot_gui.h:133: Xm/Frame.h: No such file or directory
../../thotlib/include/thot_gui.h:134: Xm/Form.h: No such file or directory
../../thotlib/include/thot_gui.h:135: Xm/Label.h: No such file or directory
../../thotlib/include/thot_gui.h:136: Xm/List.h: No such file or directory
../../thotlib/include/thot_gui.h:137: Xm/MainW.h: No such file or directory
../../thotlib/include/thot_gui.h:138: Xm/MenuShell.h: No such file or directory
../../thotlib/include/thot_gui.h:139: Xm/PushB.h: No such file or directory
../../thotlib/include/thot_gui.h:140: Xm/RepType.h: No such file or directory
../../thotlib/include/thot_gui.h:141: Xm/RowColumn.h: No such file or directory
../../thotlib/include/thot_gui.h:142: Xm/Scale.h: No such file or directory
../../thotlib/include/thot_gui.h:143: Xm/ScrollBar.h: No such file or directory
../../thotlib/include/thot_gui.h:144: Xm/ScrolledW.h: No such file or directory
../../thotlib/include/thot_gui.h:145: Xm/SelectioB.h: No such file or directory
../../thotlib/include/thot_gui.h:146: Xm/Separator.h: No such file or directory
../../thotlib/include/thot_gui.h:147: Xm/Text.h: No such file or directory
../../thotlib/include/thot_gui.h:148: Xm/ToggleB.h: No such file or directory
../../thotlib/include/thot_gui.h:149: Xm/Xm.h: No such file or directory
../../thotlib/include/thot_gui.h:150: Xm/PushBG.h: No such file or directory
make[1]: *** [../thotlib/base/compilmsg.o] Error 1
make[1]: Leaving directory `/afs/rcf.mitre.org/project/socialinfo/svg/amaya/Amaya/solaris/batch'
make[1]: Entering directory `/afs/rcf.mitre.org/project/socialinfo/svg/amaya/Amaya/solaris/annotlib'
/bin/sh: /afs/rcf.mitre.org/project/socialinfo/svg/amaya/Amaya/solaris/annotlib/../bin/str: No such file or directory
make[1]: *** [Annot.STR] Error 126
make[1]: Leaving directory `/afs/rcf.mitre.org/project/socialinfo/svg/amaya/Amaya/solaris/annotlib'
make[1]: Entering directory `/afs/rcf.mitre.org/project/socialinfo/svg/amaya/Amaya/solaris/amaya'
make[2]: Entering directory `/afs/rcf.mitre.org/project/socialinfo/svg/amaya/Amaya/solaris/batch'
gcc '-DCPP="'"gcc -E -x c"'"' -O2 -W  -DHAVE_CONFIG_H -I.. -I../../batch/f -I../../thotlib/include -I../../thotlib/internals/var -I../../thotlib/internals/h -I../../thotlib/internals/f -I../../libjpeg -I../../libpng -I../../libpng/zlib -I/usr/dt/include   -I/usr/openwin/include -c ../../batch/../thotlib/base/compilmsg.c -o ../thotlib/base/compilmsg.o
In file included from ../../thotlib/include/thot_sys.h:65,
                 from ../../batch/../thotlib/base/compilmsg.c:16:
../../thotlib/include/sysdep.h:768: sys/systeminfo.h: No such file or directory
In file included from ../../thotlib/include/interface.h:11,
                 from ../../thotlib/include/appstruct.h:14,
                 from ../../thotlib/internals/h/typestr.h:30,
                 from ../../thotlib/internals/h/typeint.h:19,
                 from ../../thotlib/internals/h/typemedia.h:18,
                 from ../../batch/../thotlib/base/compilmsg.c:22:
../../thotlib/include/thot_gui.h:127: Xm/MwmUtil.h: No such file or directory
../../thotlib/include/thot_gui.h:128: Xm/BulletinB.h: No such file or directory
../../thotlib/include/thot_gui.h:129: Xm/CascadeB.h: No such file or directory
../../thotlib/include/thot_gui.h:130: Xm/DialogS.h: No such file or directory
../../thotlib/include/thot_gui.h:131: Xm/DrawingA.h: No such file or directory
../../thotlib/include/thot_gui.h:132: Xm/DrawnB.h: No such file or directory
../../thotlib/include/thot_gui.h:133: Xm/Frame.h: No such file or directory
../../thotlib/include/thot_gui.h:134: Xm/Form.h: No such file or directory
../../thotlib/include/thot_gui.h:135: Xm/Label.h: No such file or directory
../../thotlib/include/thot_gui.h:136: Xm/List.h: No such file or directory
../../thotlib/include/thot_gui.h:137: Xm/MainW.h: No such file or directory
../../thotlib/include/thot_gui.h:138: Xm/MenuShell.h: No such file or directory
../../thotlib/include/thot_gui.h:139: Xm/PushB.h: No such file or directory
../../thotlib/include/thot_gui.h:140: Xm/RepType.h: No such file or directory
../../thotlib/include/thot_gui.h:141: Xm/RowColumn.h: No such file or directory
../../thotlib/include/thot_gui.h:142: Xm/Scale.h: No such file or directory
../../thotlib/include/thot_gui.h:143: Xm/ScrollBar.h: No such file or directory
../../thotlib/include/thot_gui.h:144: Xm/ScrolledW.h: No such file or directory
../../thotlib/include/thot_gui.h:145: Xm/SelectioB.h: No such file or directory
../../thotlib/include/thot_gui.h:146: Xm/Separator.h: No such file or directory
../../thotlib/include/thot_gui.h:147: Xm/Text.h: No such file or directory
../../thotlib/include/thot_gui.h:148: Xm/ToggleB.h: No such file or directory
../../thotlib/include/thot_gui.h:149: Xm/Xm.h: No such file or directory
../../thotlib/include/thot_gui.h:150: Xm/PushBG.h: No such file or directory
make[2]: *** [../thotlib/base/compilmsg.o] Error 1
make[2]: Leaving directory `/afs/rcf.mitre.org/project/socialinfo/svg/amaya/Amaya/solaris/batch'
make[1]: *** [../bin/str] Error 2
make[1]: Leaving directory `/afs/rcf.mitre.org/project/socialinfo/svg/amaya/Amaya/solaris/amaya'
[nsood@yavin4 solaris]$ exit exit

Script done on Thu Jan 31 09:16:05 2002
Script started on Thu Jan 31 09:13:59 2002
[nsood@yavin4 solaris]$ ../configure loading cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking whether make sets ${MAKE}... (cached) yes
checking for bison... (cached) bison -y
checking for gcc... (cached) gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking how to run the C preprocessor... (cached) gcc -E
checking for flex... (cached) flex
checking for yywrap in -lfl... (cached) yes
checking for mawk... (cached) gawk
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether ln -s works... (cached) yes
checking whether make sets ${MAKE}... (cached) yes
checking for ranlib... (cached) ranlib
checking for cp... (cached) /bin/cp
checking for mv... (cached) /bin/mv
checking for rm... (cached) /bin/rm
checking for mkdir... (cached) /bin/mkdir
checking for echo... (cached) /bin/echo
checking for cat... (cached) /bin/cat
checking for chmod... (cached) /bin/chmod
checking for sed... (cached) /bin/sed
checking for ar... (cached) /usr/ccs/bin/ar
checking for diff... (cached) /bin/diff
checking for socket in -lsocket... (cached) yes
checking for connect in -linet... (cached) no
checking for t_accept in -lnsl... (cached) yes
checking for dlopen in -ldl... (cached) yes
checking for X... (cached) libraries /usr/openwin/lib, headers /usr/openwin/include
checking for dnet_ntoa in -ldnet... (cached) no
checking for dnet_ntoa in -ldnet_stub... (cached) no
checking for gethostbyname... (cached) yes
checking for connect... (cached) yes
checking for remove... (cached) yes
checking for shmat... (cached) yes
checking for IceConnectionNumber in -lICE... (cached) yes
\nfound libXp.a\n
checking for dirent.h that defines DIR... (cached) yes
checking for opendir in -ldir... (cached) no
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... (cached) yes
checking for stdio.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for types.h... (cached) no
checking for sys/unistd.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/fcntl.h... (cached) yes
checking for fcntl.h... (cached) yes
checking for sys/limits.h... (cached) no
checking for limits.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for stat.h... (cached) no
checking for sys/file.h... (cached) yes
checking for sys/ioctl.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for time.h... (cached) yes
checking for sys/systeminfo.h... (cached) yes
checking for sys/string.h... (cached) no
checking for strings.h... (cached) yes
checking for sys/syslog.h... (cached) yes
checking for syslog.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for socket.h... (cached) no
checking for appkit/appkit.h... (cached) no
checking for appkit.h... (cached) no
checking for apppkit/apppkit.h... (cached) no
checking for apppkit.h... (cached) no
checking for netinet/in.h... (cached) yes
checking for in.h... (cached) no
checking for dn.h... (cached) no
checking for sys/ipc.h... (cached) yes
checking for net/errno.h... (cached) no
checking for sys/errno.h... (cached) yes
checking for errno.h... (cached) yes
checking for pwd.h... (cached) yes
checking for grp.h... (cached) yes
checking for arpa/inet.h... (cached) yes
checking for inet.h... (cached) no
checking for netdb.h... (cached) yes
checking for manifest.h... (cached) no
checking for bsdtypes.h... (cached) no
checking for stdefs.h... (cached) no
checking for bsdtime.h... (cached) no
checking for sys/select.h... (cached) yes
checking for select.h... (cached) no
checking for dnetdb.h... (cached) no
checking for libc.h... (cached) no
checking for stdlib.h... (cached) yes
checking for malloc.h... (cached) yes
checking for memory.h... (cached) yes
checking for unixlib.h... (cached) no
checking for ctype.h... (cached) yes
checking for cursesX.h... (cached) no
checking for curses.h... (cached) no
checking for sys/resource.h... (cached) yes
checking for resource.h... (cached) no
checking for dirent.h that defines DIR... (cached) yes
checking for opendir in -ldir... (cached) no
checking for dir.h... (cached) no
checking for direct.h... (cached) no
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... (cached) yes
checking whether time.h and sys/time.h may both be included... (cached) yes
checking whether stat file-mode macros are broken... (cached) no
checking for working const... (cached) yes
checking for inline... (cached) inline
checking for mode_t... (cached) yes
checking for off_t... (cached) yes
checking for size_t... (cached) yes
checking whether time.h and sys/time.h may both be included... (cached) yes
checking whether struct tm is in sys/time.h or time.h... (cached) time.h
checking for tm_zone in struct tm... (cached) no
checking for tzname... (cached) yes
checking for uid_t in sys/types.h... (cached) yes
checking for working alloca.h... (cached) yes
checking for alloca... (cached) yes
checking type of array argument to getgroups... (cached) gid_t
checking whether gcc needs -traditional... (cached) no
checking for 8-bit clean memcmp... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... (cached) yes
checking for working mmap... (cached) yes
checking return type of signal handlers... (cached) void
checking for vprintf... (cached) yes
checking for getcwd... (cached) yes
checking for gethostname... (cached) yes
checking for gettimeofday... (cached) yes
checking for getwd... (cached) yes
checking for mkdir... (cached) yes
checking for mktime... (cached) yes
checking for putenv... (cached) yes
checking for select... (cached) yes
checking for socket... (cached) yes
checking for strdup... (cached) yes
checking for strerror... (cached) yes
checking for strftime... (cached) yes
checking for strstr... (cached) yes
checking for strtod... (cached) yes
checking for strtol... (cached) yes
checking for uname... (cached) yes
checking for lstat... (cached) yes
checking for strcasecmp... (cached) yes
checking for strncasecmp... (cached) yes
checking for strchr... (cached) yes
checking for memcpy... (cached) yes
checking for Motif... (cached) libraries /usr/dt/lib, headers /usr/dt/include
creating ./config.status
creating Makefile
creating Options.orig
creating tools/Makefile
creating libjpeg/Makefile
creating libpng/Makefile
creating libpng/zlib/Makefile
creating tools/mkdep/Makefile
creating tools/cextract-1.7/Makefile
creating thotlib/Makefile
creating thotlib/include/Makefile
creating batch/Makefile
creating tablelib/Makefile
creating amaya/Makefile
creating pluginlib/Makefile
creating annotlib/Makefile
creating config.h
config.h is unchanged
Amaya configured with libWWW
Amaya configured with SVG support
Amaya configured with Annotations support
Amaya configured with Annotation threads support
Amaya configured with generic XML suppport
Now type "make all" (GNU make preferably) to build the binaries
[nsood@yavin4 solaris]$ exit exit

Script done on Thu Jan 31 09:14:21 2002

Received on Thursday, 31 January 2002 10:15:42 UTC