Instructions: Building DGD

 
Post new topic   Reply to topic    mudlab.org Forum Index -> Newbie
View previous topic :: View next topic  
Author Message
Yui Unifex
Site Admin


Joined: 11 May 2005
Posts: 47
Location: Florida

PostPosted: Fri Aug 05, 2005 11:37 pm    Post subject: Instructions: Building DGD Reply with quote

1) Download DGD.

DGD is available from ftp://ftp.dworkin.nl/pub/dgd/

You need the dgd-1.2p4.tar.gz file.

2) Extract the files from the archive.

Simply navigate to the directory where the file is saved and enter these commands.

Code:
unifex@abbadon:~/lpmud% tar xvzf dgd-1.2p4.tar.gz
dgd/
dgd/doc/
dgd/doc/kfun/
dgd/doc/kfun/acos
dgd/doc/kfun/allocate
dgd/doc/kfun/allocate_float
dgd/doc/kfun/allocate_int
dgd/doc/kfun/asin
dgd/doc/kfun/atan
dgd/doc/kfun/atan2
dgd/doc/kfun/block_input
dgd/doc/kfun/call_other
dgd/doc/kfun/call_out
dgd/doc/kfun/call_trace
dgd/doc/kfun/ceil
dgd/doc/kfun/clone_object
dgd/doc/kfun/compile_object
dgd/doc/kfun/cos
dgd/doc/kfun/cosh
dgd/doc/kfun/crypt
dgd/doc/kfun/ctime
dgd/doc/kfun/destruct_object
dgd/doc/kfun/dump_state
dgd/doc/kfun/editor
dgd/doc/kfun/error
dgd/doc/kfun/exp
dgd/doc/kfun/explode
dgd/doc/kfun/fabs
dgd/doc/kfun/find_object
dgd/doc/kfun/floor
dgd/doc/kfun/fmod
dgd/doc/kfun/frexp
dgd/doc/kfun/function_object
dgd/doc/kfun/get_dir
dgd/doc/kfun/hash_crc16
dgd/doc/kfun/hash_md5
dgd/doc/kfun/implode
dgd/doc/kfun/ldexp
dgd/doc/kfun/log
dgd/doc/kfun/log10
dgd/doc/kfun/make_dir
dgd/doc/kfun/map_indices
dgd/doc/kfun/map_sizeof
dgd/doc/kfun/map_values
dgd/doc/kfun/millitime
dgd/doc/kfun/modf
dgd/doc/kfun/object_name
dgd/doc/kfun/parse_string
dgd/doc/kfun/pow
dgd/doc/kfun/previous_object
dgd/doc/kfun/previous_program
dgd/doc/kfun/query_editor
dgd/doc/kfun/query_ip_name
dgd/doc/kfun/query_ip_number
dgd/doc/kfun/random
dgd/doc/kfun/read_file
dgd/doc/kfun/remove_call_out
dgd/doc/kfun/remove_dir
dgd/doc/kfun/remove_file
dgd/doc/kfun/rename_file
dgd/doc/kfun/restore_object
dgd/doc/kfun/save_object
dgd/doc/kfun/send_datagram
dgd/doc/kfun/send_message
dgd/doc/kfun/shutdown
dgd/doc/kfun/sin
dgd/doc/kfun/sinh
dgd/doc/kfun/sizeof
dgd/doc/kfun/sqrt
dgd/doc/kfun/sscanf
dgd/doc/kfun/status
dgd/doc/kfun/strlen
dgd/doc/kfun/swapout
dgd/doc/kfun/tan
dgd/doc/kfun/tanh
dgd/doc/kfun/this_object
dgd/doc/kfun/this_user
dgd/doc/kfun/time
dgd/doc/kfun/typeof
dgd/doc/kfun/users
dgd/doc/kfun/write_file
dgd/doc/Commercial
dgd/doc/Extensions
dgd/doc/Introduction
dgd/doc/LPC.html
dgd/doc/Platforms
dgd/doc/editor
dgd/doc/parser
dgd/Copyright
dgd/Credits
dgd/README
dgd/mud.dgd
dgd/mud/
dgd/mud/doc/
dgd/mud/doc/kernel/
dgd/mud/doc/kernel/efun/
dgd/mud/doc/kernel/efun/add_event
dgd/mud/doc/kernel/efun/call_limited
dgd/mud/doc/kernel/efun/call_other
dgd/mud/doc/kernel/efun/call_trace
dgd/mud/doc/kernel/efun/clone_object
dgd/mud/doc/kernel/efun/compile_object
dgd/mud/doc/kernel/efun/destruct_object
dgd/mud/doc/kernel/efun/event
dgd/mud/doc/kernel/efun/event_except
dgd/mud/doc/kernel/efun/file_info
dgd/mud/doc/kernel/efun/find_object
dgd/mud/doc/kernel/efun/get_dir
dgd/mud/doc/kernel/efun/query_events
dgd/mud/doc/kernel/efun/query_subscribed_event
dgd/mud/doc/kernel/efun/remove_event
dgd/mud/doc/kernel/efun/status
dgd/mud/doc/kernel/efun/subscribe_event
dgd/mud/doc/kernel/efun/unsubscribe_event
dgd/mud/doc/kernel/overview
dgd/mud/doc/kernel/hook/
dgd/mud/doc/kernel/hook/driver
dgd/mud/doc/kernel/hook/rsrcd
dgd/mud/doc/kernel/hook/userd
dgd/mud/doc/kernel/lfun/
dgd/mud/doc/kernel/lfun/allow_subscribe
dgd/mud/doc/kernel/lfun/create
dgd/mud/doc/kernel/lfun/query_owner
dgd/mud/include/
dgd/mud/include/config.h
dgd/mud/include/std.h
dgd/mud/include/kernel/
dgd/mud/include/kernel/access.h
dgd/mud/include/kernel/kernel.h
dgd/mud/include/kernel/net.h
dgd/mud/include/kernel/objreg.h
dgd/mud/include/kernel/rsrc.h
dgd/mud/include/kernel/tls.h
dgd/mud/include/kernel/user.h
dgd/mud/include/kernel/version.h
dgd/mud/kernel/
dgd/mud/kernel/lib/
dgd/mud/kernel/lib/api/
dgd/mud/kernel/lib/api/access.c
dgd/mud/kernel/lib/api/objreg.c
dgd/mud/kernel/lib/api/rsrc.c
dgd/mud/kernel/lib/api/tls.c
dgd/mud/kernel/lib/api/user.c
dgd/mud/kernel/lib/auto.c
dgd/mud/kernel/lib/connection.c
dgd/mud/kernel/lib/port.c
dgd/mud/kernel/lib/user.c
dgd/mud/kernel/lib/wiztool.c
dgd/mud/kernel/obj/
dgd/mud/kernel/obj/binary.c
dgd/mud/kernel/obj/port.c
dgd/mud/kernel/obj/rsrc.c
dgd/mud/kernel/obj/telnet.c
dgd/mud/kernel/obj/udp.c
dgd/mud/kernel/obj/user.c
dgd/mud/kernel/obj/wiztool.c
dgd/mud/kernel/sys/
dgd/mud/kernel/sys/accessd.c
dgd/mud/kernel/sys/driver.c
dgd/mud/kernel/sys/objregd.c
dgd/mud/kernel/sys/rsrcd.c
dgd/mud/kernel/sys/userd.c
dgd/mud/kernel/data/
dgd/mud/usr/
dgd/mud/usr/admin/
dgd/mud/usr/System/
dgd/src/
dgd/src/comp/
dgd/src/comp/Makefile
dgd/src/comp/codegen.h
dgd/src/comp/codegenc.c
dgd/src/comp/codegeni.c
dgd/src/comp/comp.c
dgd/src/comp/comp.h
dgd/src/comp/compile.c
dgd/src/comp/compile.h
dgd/src/comp/control.c
dgd/src/comp/control.h
dgd/src/comp/csupport.c
dgd/src/comp/csupport.h
dgd/src/comp/node.c
dgd/src/comp/node.h
dgd/src/comp/optimize.c
dgd/src/comp/optimize.h
dgd/src/comp/parser.y
dgd/src/comp/parser.h
dgd/src/comp/parser.c
dgd/src/Changelog
dgd/src/Makefile
dgd/src/alloc.c
dgd/src/alloc.h
dgd/src/array.c
dgd/src/array.h
dgd/src/call_out.c
dgd/src/call_out.h
dgd/src/comm.c
dgd/src/comm.h
dgd/src/config.c
dgd/src/config.h
dgd/src/data.c
dgd/src/data.h
dgd/src/dgd.c
dgd/src/dgd.h
dgd/src/dgd_ext.h
dgd/src/editor.c
dgd/src/editor.h
dgd/src/error.c
dgd/src/error.h
dgd/src/hash.c
dgd/src/hash.h
dgd/src/host.h
dgd/src/interpret.c
dgd/src/interpret.h
dgd/src/object.c
dgd/src/object.h
dgd/src/path.c
dgd/src/path.h
dgd/src/str.c
dgd/src/str.h
dgd/src/swap.c
dgd/src/swap.h
dgd/src/version.h
dgd/src/xfloat.h
dgd/src/ed/
dgd/src/ed/Makefile
dgd/src/ed/buffer.c
dgd/src/ed/buffer.h
dgd/src/ed/cmdsub.c
dgd/src/ed/ed.h
dgd/src/ed/edcmd.c
dgd/src/ed/edcmd.h
dgd/src/ed/fileio.c
dgd/src/ed/fileio.h
dgd/src/ed/line.c
dgd/src/ed/line.h
dgd/src/ed/regexp.c
dgd/src/ed/regexp.h
dgd/src/ed/vars.c
dgd/src/ed/vars.h
dgd/src/host/
dgd/src/host/beos/
dgd/src/host/beos/connect.c
dgd/src/host/beos/dirent.c
dgd/src/host/beos/local.cpp
dgd/src/host/beos/random.c
dgd/src/host/beos/time.c
dgd/src/host/Makefile
dgd/src/host/Makefile.beos
dgd/src/host/Makefile.bsd
dgd/src/host/Makefile.sysv
dgd/src/host/crypt.c
dgd/src/host/simfloat.c
dgd/src/host/telnet.h
dgd/src/host/mac/
dgd/src/host/mac/README
dgd/src/host/mac/connect.c
dgd/src/host/mac/dgd.proj.hqx
dgd/src/host/mac/dgd.rsrc.hqx
dgd/src/host/mac/local.c
dgd/src/host/mac/macdgd.h
dgd/src/host/mac/macfile.c
dgd/src/host/mac/memstr.c
dgd/src/host/mac/random.c
dgd/src/host/mac/sort.c
dgd/src/host/mac/time.c
dgd/src/host/pc/
dgd/src/host/pc/res/
dgd/src/host/pc/res/windgd.ico
dgd/src/host/pc/res/windgd.rc2
dgd/src/host/pc/res/windgdDoc.ico
dgd/src/host/pc/MainFrame.cpp
dgd/src/host/pc/MainFrame.h
dgd/src/host/pc/README
dgd/src/host/pc/StdAfx.h
dgd/src/host/pc/connect.c
dgd/src/host/pc/dosfile.c
dgd/src/host/pc/local.c
dgd/src/host/pc/resource.h
dgd/src/host/pc/time.c
dgd/src/host/pc/windgd.clw
dgd/src/host/pc/windgd.cpp
dgd/src/host/pc/windgd.h
dgd/src/host/pc/windgd.mak
dgd/src/host/pc/windgd.rc
dgd/src/host/unix/
dgd/src/host/unix/connect.c
dgd/src/host/unix/direct.c
dgd/src/host/unix/dirent.c
dgd/src/host/unix/local.c
dgd/src/host/unix/lrand48.c
dgd/src/host/unix/random.c
dgd/src/host/unix/time.c
dgd/src/kfun/
dgd/src/kfun/Makefile
dgd/src/kfun/builtin.c
dgd/src/kfun/debug.c
dgd/src/kfun/extra.c
dgd/src/kfun/file.c
dgd/src/kfun/kfun.h
dgd/src/kfun/math.c
dgd/src/kfun/std.c
dgd/src/kfun/table.c
dgd/src/kfun/table.h
dgd/src/lex/
dgd/src/lex/Makefile
dgd/src/lex/lex.h
dgd/src/lex/macro.c
dgd/src/lex/macro.h
dgd/src/lex/ppcontrol.c
dgd/src/lex/ppcontrol.h
dgd/src/lex/ppstr.c
dgd/src/lex/ppstr.h
dgd/src/lex/special.c
dgd/src/lex/special.h
dgd/src/lex/token.c
dgd/src/lex/token.h
dgd/src/lpc/
dgd/src/lpc/Makefile
dgd/src/lpc/list
dgd/src/lpc/lpc.c
dgd/src/parser/
dgd/src/parser/Makefile
dgd/src/parser/dfa.c
dgd/src/parser/dfa.h
dgd/src/parser/grammar.c
dgd/src/parser/grammar.h
dgd/src/parser/parse.c
dgd/src/parser/parse.h
dgd/src/parser/srp.c
dgd/src/parser/srp.h
dgd/bin/
dgd/tmp/


3) Configure and build the driver.

Navigate to the directory the source code is located in.
Code:
unifex@abbadon:~/lpmud% cd dgd/src
unifex@abbadon:~/lpmud/dgd/src%


If your host is running Linux, copy the appropriate Makefile.
Code:
unifex@abbadon:~/lpmud/dgd/src% cp host/Makefile.sysv host/Makefile


Build the codebase.
Code:
unifex@abbadon:~/lpmud/dgd/src% make
gcc -I. -Icomp -Ilex -Ied -Iparser -Ikfun -DNETBSD  -O2   -c -o alloc.o alloc.c
gcc -I. -Icomp -Ilex -Ied -Iparser -Ikfun -DNETBSD  -O2   -c -o error.o error.c
gcc -I. -Icomp -Ilex -Ied -Iparser -Ikfun -DNETBSD  -O2   -c -o hash.o hash.c
gcc -I. -Icomp -Ilex -Ied -Iparser -Ikfun -DNETBSD  -O2   -c -o swap.o swap.c
gcc -I. -Icomp -Ilex -Ied -Iparser -Ikfun -DNETBSD  -O2   -c -o str.o str.c
gcc -I. -Icomp -Ilex -Ied -Iparser -Ikfun -DNETBSD  -O2   -c -o array.o array.c
gcc -I. -Icomp -Ilex -Ied -Iparser -Ikfun -DNETBSD  -O2   -c -o object.o object.c
gcc -I. -Icomp -Ilex -Ied -Iparser -Ikfun -DNETBSD  -O2   -c -o data.o data.c
gcc -I. -Icomp -Ilex -Ied -Iparser -Ikfun -DNETBSD  -O2   -c -o path.o path.c
gcc -I. -Icomp -Ilex -Ied -Iparser -Ikfun -DNETBSD  -O2   -c -o editor.o editor.c
gcc -I. -Icomp -Ilex -Ied -Iparser -Ikfun -DNETBSD  -O2   -c -o comm.o comm.c
gcc -I. -Icomp -Ilex -Ied -Iparser -Ikfun -DNETBSD  -O2   -c -o call_out.o call_out.c
gcc -I. -Icomp -Ilex -Ied -Iparser -Ikfun -DNETBSD  -O2   -c -o interpret.o interpret.c
gcc -I. -Icomp -Ilex -Ied -Iparser -Ikfun -DNETBSD  -O2   -c -o config.o config.c
gcc -I. -Icomp -Ilex -Ied -Iparser -Ikfun -DNETBSD  -O2   -c -o dgd.o dgd.c
cd comp; make 'CC=gcc' 'CCFLAGS=-DNETBSD  -O2' 'YACC=yacc' dgd
make[1]: Entering directory `/home/unifex/lpmud/dgd/src/comp'
gcc -I. -I.. -I../lex -I../parser -I../kfun -DNETBSD  -O2   -c -o node.o node.c
gcc -I. -I.. -I../lex -I../parser -I../kfun -DNETBSD  -O2   -c -o parser.o parser.c
gcc -I. -I.. -I../lex -I../parser -I../kfun -DNETBSD  -O2   -c -o control.o control.c
gcc -I. -I.. -I../lex -I../parser -I../kfun -DNETBSD  -O2   -c -o optimize.o optimize.c
gcc -I. -I.. -I../lex -I../parser -I../kfun -DNETBSD  -O2   -c -o codegeni.o codegeni.c
gcc -I. -I.. -I../lex -I../parser -I../kfun -DNETBSD  -O2   -c -o compile.o compile.c
gcc -I. -I.. -I../lex -I../parser -I../kfun -DNETBSD  -O2   -c -o csupport.o csupport.c
make[1]: Leaving directory `/home/unifex/lpmud/dgd/src/comp'
cd lex; make 'CC=gcc' 'CCFLAGS=-DNETBSD  -O2' dgd
make[1]: Entering directory `/home/unifex/lpmud/dgd/src/lex'
gcc -I. -I.. -I../comp -DNETBSD  -O2   -c -o macro.o macro.c
gcc -I. -I.. -I../comp -DNETBSD  -O2   -c -o ppstr.o ppstr.c
gcc -I. -I.. -I../comp -DNETBSD  -O2   -c -o token.o token.c
gcc -I. -I.. -I../comp -DNETBSD  -O2   -c -o special.o special.c
gcc -I. -I.. -I../comp -DNETBSD  -O2   -c -o ppcontrol.o ppcontrol.c
make[1]: Leaving directory `/home/unifex/lpmud/dgd/src/lex'
cd ed; make 'CC=gcc' 'CCFLAGS=-DNETBSD  -O2' dgd
make[1]: Entering directory `/home/unifex/lpmud/dgd/src/ed'
gcc -I. -I.. -DNETBSD  -O2   -c -o line.o line.c
gcc -I. -I.. -DNETBSD  -O2   -c -o buffer.o buffer.c
gcc -I. -I.. -DNETBSD  -O2   -c -o fileio.o fileio.c
gcc -I. -I.. -DNETBSD  -O2   -c -o regexp.o regexp.c
gcc -I. -I.. -DNETBSD  -O2   -c -o vars.o vars.c
gcc -I. -I.. -DNETBSD  -O2   -c -o edcmd.o edcmd.c
gcc -I. -I.. -DNETBSD  -O2   -c -o cmdsub.o cmdsub.c
make[1]: Leaving directory `/home/unifex/lpmud/dgd/src/ed'
cd parser; make 'CC=gcc' 'CCFLAGS=-DNETBSD  -O2' dgd
make[1]: Entering directory `/home/unifex/lpmud/dgd/src/parser'
gcc -I. -I.. -DNETBSD  -O2   -c -o grammar.o grammar.c
gcc -I. -I.. -DNETBSD  -O2   -c -o dfa.o dfa.c
gcc -I. -I.. -DNETBSD  -O2   -c -o srp.o srp.c
gcc -I. -I.. -DNETBSD  -O2   -c -o parse.o parse.c
make[1]: Leaving directory `/home/unifex/lpmud/dgd/src/parser'
cd kfun; make 'CC=gcc' 'CCFLAGS=-DNETBSD  -O2' dgd
make[1]: Entering directory `/home/unifex/lpmud/dgd/src/kfun'
gcc -I. -I.. -I../comp -I../parser -DNETBSD  -O2   -c -o builtin.o builtin.c
gcc -I. -I.. -I../comp -I../parser -DNETBSD  -O2   -c -o std.o std.c
gcc -I. -I.. -I../comp -I../parser -DNETBSD  -O2   -c -o file.o file.c
gcc -I. -I.. -I../comp -I../parser -DNETBSD  -O2   -c -o math.o math.c
gcc -I. -I.. -I../comp -I../parser -DNETBSD  -O2   -c -o extra.o extra.c
gcc -I. -I.. -I../comp -I../parser -DNETBSD  -O2   -c -o debug.o debug.c
gcc -I. -I.. -I../comp -I../parser -DNETBSD  -O2   -c -o table.o table.c
make[1]: Leaving directory `/home/unifex/lpmud/dgd/src/kfun'
cd lpc; make 'DMAKE=make' 'CC=gcc' 'CCFLAGS=-DNETBSD  -O2' \
                 'YACC=yacc' 'LIBS=' dgd
make[1]: Entering directory `/home/unifex/lpmud/dgd/src/lpc'
gcc -I. -I.. -I../comp -DNETBSD  -O2   -c -o lpc.o lpc.c
make[1]: Leaving directory `/home/unifex/lpmud/dgd/src/lpc'
cd host; make 'CC=gcc' 'CCFLAGS=-DNETBSD  -O2' dgd
make[1]: Entering directory `/home/unifex/lpmud/dgd/src/host'
cp unix/local.c local.c
gcc -I. -I.. -DNETBSD  -O2   -c -o local.o local.c
cp unix/lrand48.c lrand48.c
gcc -I. -I.. -DNETBSD  -O2   -c -o lrand48.o lrand48.c
cp unix/dirent.c dirent.c
gcc -I. -I.. -DNETBSD  -O2   -c -o dirent.o dirent.c
cp unix/time.c time.c
gcc -I. -I.. -DNETBSD  -O2   -c -o time.o time.c
cp unix/connect.c connect.c
gcc -I. -I.. -DNETBSD  -O2   -c -o connect.o connect.c
connect.c: In function 'conn_tnew':
connect.c:534: warning: pointer targets in passing argument 3 of 'accept' differ in signedness
connect.c: In function 'conn_bnew':
connect.c:571: warning: pointer targets in passing argument 3 of 'accept' differ in signedness
connect.c: In function 'conn_select':
connect.c:716: warning: pointer targets in passing argument 6 of 'recvfrom' differ in signedness
gcc -I. -I.. -DNETBSD  -O2   -c -o crypt.o crypt.c
cp simfloat.c xfloat.c
gcc -I. -I.. -DNETBSD  -O2   -c -o xfloat.o xfloat.c
make[1]: Leaving directory `/home/unifex/lpmud/dgd/src/host'
gcc -O2  -o a.out alloc.o error.o hash.o swap.o str.o array.o object.o data.o path.o editor.o comm.o call_out.o interpret.o config.o dgd.o `cat comp/dgd` `cat lex/dgd` \
      `cat ed/dgd` `cat parser/dgd` `cat kfun/dgd` `cat lpc/dgd` \
      `cat host/dgd`


Install the codebase to the appropriate location.
Code:
unifex@abbadon:~/lpmud/dgd/src% make install
cd comp; make 'CC=gcc' 'CCFLAGS=-DNETBSD  -O2' 'YACC=yacc' dgd
make[1]: Entering directory `/home/unifex/lpmud/dgd/src/comp'
make[1]: `dgd' is up to date.
make[1]: Leaving directory `/home/unifex/lpmud/dgd/src/comp'
cd lex; make 'CC=gcc' 'CCFLAGS=-DNETBSD  -O2' dgd
make[1]: Entering directory `/home/unifex/lpmud/dgd/src/lex'
make[1]: `dgd' is up to date.
make[1]: Leaving directory `/home/unifex/lpmud/dgd/src/lex'
cd ed; make 'CC=gcc' 'CCFLAGS=-DNETBSD  -O2' dgd
make[1]: Entering directory `/home/unifex/lpmud/dgd/src/ed'
make[1]: `dgd' is up to date.
make[1]: Leaving directory `/home/unifex/lpmud/dgd/src/ed'
cd parser; make 'CC=gcc' 'CCFLAGS=-DNETBSD  -O2' dgd
make[1]: Entering directory `/home/unifex/lpmud/dgd/src/parser'
make[1]: `dgd' is up to date.
make[1]: Leaving directory `/home/unifex/lpmud/dgd/src/parser'
cd kfun; make 'CC=gcc' 'CCFLAGS=-DNETBSD  -O2' dgd
make[1]: Entering directory `/home/unifex/lpmud/dgd/src/kfun'
make[1]: `dgd' is up to date.
make[1]: Leaving directory `/home/unifex/lpmud/dgd/src/kfun'
cd lpc; make 'DMAKE=make' 'CC=gcc' 'CCFLAGS=-DNETBSD  -O2' \
                 'YACC=yacc' 'LIBS=' dgd
make[1]: Entering directory `/home/unifex/lpmud/dgd/src/lpc'
make[1]: `dgd' is up to date.
make[1]: Leaving directory `/home/unifex/lpmud/dgd/src/lpc'
cd host; make 'CC=gcc' 'CCFLAGS=-DNETBSD  -O2' dgd
make[1]: Entering directory `/home/unifex/lpmud/dgd/src/host'
make[1]: `dgd' is up to date.
make[1]: Leaving directory `/home/unifex/lpmud/dgd/src/host'
gcc -O2  -o a.out alloc.o error.o hash.o swap.o str.o array.o object.o data.o path.o editor.o comm.o call_out.o interpret.o config.o dgd.o `cat comp/dgd` `cat lex/dgd` \
      `cat ed/dgd` `cat parser/dgd` `cat kfun/dgd` `cat lpc/dgd` \
      `cat host/dgd`
mv ../bin/driver ../bin/driver.old
mv: cannot stat `../bin/driver': No such file or directory
make: [../bin/driver] Error 1 (ignored)
cp a.out ../bin/driver


4) Edit the configuration file to tell it where the mud lives.

The file is located in the dgd directory, so go back there.
Code:
unifex@abbadon:~/lpmud/dgd/src% cd ..
unifex@abbadon:~/lpmud/dgd%


The default configuration file is named mud.dgd. I only had to modify one line, although you will probably want to edit the port = line as well.
Code:
directory   = "/home/unifex/lpmud/dgd/mud";/* base directory (MUST be absolute) */


5) Test the driver!
Code:
unifex@abbadon:~/lpmud/dgd% bin/driver mud.dgd
Aug  6 07:52:21 ** DGD 1.2p4
Aug  6 07:52:21 ** Initializing...
Aug  6 07:52:22 ** Initialization complete.


If you see this, DGD is up and running!
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address
Display posts from previous:   
Post new topic   Reply to topic    mudlab.org Forum Index -> Newbie All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Powered by phpBB © 2001, 2002 phpBB Group
BBTech Template by © 2003-04 MDesign