Re: Redhat 5.0 and Circle

From: George (greerga@CIRCLEMUD.ORG)
Date: 12/21/97


On Sun, 21 Dec 1997, Nicholas S. Wourms wrote:

>        I think that appropriate solutions to compiling circle30bpl11 and
>bpl12 should be posted in the faq plus the configuration scripts should be
>updated to include potential problems.  Just a thought.

bpl11 -> Upgrade

bpl12   (not including utilities, which still compile)
-----

make ../bin/circle
make[1]: Entering directory `/home/greerga/mud/wrk/circle30bpl12/egcs'
egcs -c -g -O2 -Wall  comm.c
In file included from comm.c:14:
sysdep.h:230: warning: `_POSIX_C_SOURCE' redefined
/usr/include/features.h:137: warning: this is the location of the previous
definition
egcs -c -g -O2 -Wall  act.comm.c
egcs -c -g -O2 -Wall  act.informative.c
egcs -c -g -O2 -Wall  act.movement.c
egcs -c -g -O2 -Wall  act.item.c
egcs -c -g -O2 -Wall  act.offensive.c
egcs -c -g -O2 -Wall  act.other.c
egcs -c -g -O2 -Wall  act.social.c
egcs -c -g -O2 -Wall  act.wizard.c
egcs -c -g -O2 -Wall  ban.c
egcs -c -g -O2 -Wall  boards.c
egcs -c -g -O2 -Wall  castle.c
egcs -c -g -O2 -Wall  class.c
egcs -c -g -O2 -Wall  config.c
egcs -c -g -O2 -Wall  constants.c
egcs -c -g -O2 -Wall  db.c
egcs -c -g -O2 -Wall  fight.c
egcs -c -g -O2 -Wall  graph.c
egcs -c -g -O2 -Wall  handler.c
egcs -c -g -O2 -Wall  house.c
egcs -c -g -O2 -Wall  interpreter.c
egcs -c -g -O2 -Wall  limits.c
egcs -c -g -O2 -Wall  magic.c
egcs -c -g -O2 -Wall  mail.c
egcs -c -g -O2 -Wall  mobact.c
egcs -c -g -O2 -Wall  modify.c
egcs -c -g -O2 -Wall  objsave.c
egcs -c -g -O2 -Wall  olc.c
egcs -c -g -O2 -Wall  random.c
egcs -c -g -O2 -Wall  shop.c
egcs -c -g -O2 -Wall  spec_assign.c
egcs -c -g -O2 -Wall  spec_procs.c
egcs -c -g -O2 -Wall  spell_parser.c
egcs -c -g -O2 -Wall  spells.c
egcs -c -g -O2 -Wall  utils.c
egcs -c -g -O2 -Wall  weather.c
egcs -o ../bin/circle  comm.o act.comm.o act.informative.o act.movement.o
act.item.o act.offensive.o act.other.o act.social.o act.wizard.o ban.o
boards.o castle.o class.o config.o constants.o db.o fight.o graph.o
handler.o house.o interpreter.o limits.o magic.o mail.o mobact.o modify.o
objsave.o olc.o random.o shop.o spec_assign.o spec_procs.o spell_parser.o
spells.o utils.o weather.o  -lcrypt
make[1]: Leaving directory `/home/greerga/mud/wrk/circle30bpl12/egcs'

Using 'egcs' because my GCC isn't set up to use GNU libc 6.

ldd ../bin/circle
        libcrypt.so.1 => /lib/libcrypt.so.1 (0x40002000)
        libc.so.6 => /lib/libc.so.6 (0x4002f000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x00000000)

Obviously RedHat broke something themselves.

ls -l /lib/libc.so.6 | cut -c 55-
 /lib/libc.so.6 -> libc-2.0.5.so*

(patched to 2.0.5c, compiled myself by GCC 2.7.2.3)

The global variable conflict (which only RedHat seems to have) will be
fixed, any other problems you should let us know about.

My configure results:

fgrep { config.cache | sed 's/ac.*\=\$//g' | tr '\n' ' '
{ac_cv_c_const=yes} {ac_cv_func_crypt=no} {ac_cv_func_gethostbyaddr=yes}
{ac_cv_func_malloc=yes} {ac_cv_func_socket=yes}
{ac_cv_header_arpa_telnet_h=yes} {ac_cv_header_assert_h=yes}
{ac_cv_header_crypt_h=yes} {ac_cv_header_errno_h=yes}
{ac_cv_header_fcntl_h=yes} {ac_cv_header_limits_h=yes}
{ac_cv_header_memory_h=yes} {ac_cv_header_net_errno_h=no}
{ac_cv_header_netdb_h=yes} {ac_cv_header_netinet_in_h=yes}
{ac_cv_header_signal_h=yes} {ac_cv_header_stdc=yes}
{ac_cv_header_string_h=yes} {ac_cv_header_strings_h=yes}
{ac_cv_header_sys_fcntl_h=yes} {ac_cv_header_sys_resource_h=yes}
{ac_cv_header_sys_select_h=yes} {ac_cv_header_sys_socket_h=yes}
{ac_cv_header_sys_stat_h=yes} {ac_cv_header_sys_time_h=yes}
{ac_cv_header_sys_types_h=yes} {ac_cv_header_sys_uio_h=yes}
{ac_cv_header_sys_wait_h=yes} {ac_cv_header_time=yes}
{ac_cv_header_unistd_h=yes} {ac_cv_lib_crypt_crypt=yes}
{ac_cv_prog_CC=egcs} {ac_cv_prog_CPP='egcs -E'} {ac_cv_prog_MORE=more}
{ac_cv_prog_cc_cross=no} {ac_cv_prog_cc_g=yes} {ac_cv_prog_cc_works=yes}
{ac_cv_prog_gcc=yes} {ac_cv_prototype_accept=yes}
{ac_cv_prototype_atoi=yes} {ac_cv_prototype_atol=yes}
{ac_cv_prototype_bind=yes} {ac_cv_prototype_bzero=yes}
{ac_cv_prototype_chdir=yes} {ac_cv_prototype_close=yes}
{ac_cv_prototype_crypt=yes} {ac_cv_prototype_fclose=yes}
{ac_cv_prototype_fcntl=yes} {ac_cv_prototype_fflush=yes}
{ac_cv_prototype_fprintf=yes} {ac_cv_prototype_fputc=yes}
{ac_cv_prototype_fputs=yes} {ac_cv_prototype_fread=yes}
{ac_cv_prototype_fscanf=yes} {ac_cv_prototype_fseek=yes}
{ac_cv_prototype_fwrite=yes} {ac_cv_prototype_getpeername=yes}
{ac_cv_prototype_getpid=yes} {ac_cv_prototype_getrlimit=yes}
{ac_cv_prototype_getsockname=yes} {ac_cv_prototype_gettimeofday=yes}
{ac_cv_prototype_htonl=yes} {ac_cv_prototype_htons=yes}
{ac_cv_prototype_listen=yes} {ac_cv_prototype_ntohl=yes}
{ac_cv_prototype_perror=yes} {ac_cv_prototype_printf=yes}
{ac_cv_prototype_qsort=yes} {ac_cv_prototype_read=yes}
{ac_cv_prototype_rewind=yes} {ac_cv_prototype_select=yes}
{ac_cv_prototype_setitimer=yes} {ac_cv_prototype_setrlimit=yes}
{ac_cv_prototype_setsockopt=yes} {ac_cv_prototype_socket=yes}
{ac_cv_prototype_sprintf=yes} {ac_cv_prototype_sscanf=yes}
{ac_cv_prototype_system=yes} {ac_cv_prototype_time=yes}
{ac_cv_prototype_unlink=yes} {ac_cv_prototype_write=yes}
{ac_cv_type_pid_t=yes} {ac_cv_type_signal=void} {ac_cv_type_size_t=yes}
{ac_cv_type_ssize_t=yes}

 --
George Greer  -  Me@Null.net   | Genius may have its limitations, but stupidity
http://www.van.ml.org/~greerga | is not thus handicapped. -- Elbert Hubbard


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/08/00 PST