The Dawn Of Time
The Official Forums for the Dawn Of Time Mud Codebase
 
Log in Register FAQ Memberlist Search The Dawn Of Time Forum Index Goto the Official Dawn Website

Setting up a Ubuntu Server for a DoT Codebase

 
Post new topic   Reply to topic    The Dawn Of Time Forum Index » Getting Started
View previous topic :: View next topic  
Author Message
Averros



Joined: 08 Jul 2008
Posts: 1

PostPosted: Tue Jul 08, 2008 3:24 pm    Post subject: Setting up a Ubuntu Server for a DoT Codebase Reply with quote

Good Day,
I have freshly installed ubuntu on my machine along with the gcc compiler and such... my question is exactly what programs should be installed to get Dawn of Time to compile properly as it is not working for me.

Code:

checking for g++... g++
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 g++ accepts -g... yes
checking how to run the C++ preprocessor... g++ -E
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking for sys/types.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/sysctl.h usability... yes
checking sys/sysctl.h presence... yes
checking for sys/sysctl.h... yes
checking sys/utsname.h usability... yes
checking sys/utsname.h presence... yes
checking for sys/utsname.h... yes
checking for pid_t... yes
checking for size_t... yes
checking if socklen_t defined... yes
checking whether time.h and sys/time.h may both be included... yes
checking return type of signal handlers... void
checking for strftime... yes
checking for vprintf... yes
checking for _doprnt... no
checking for gettimeofday... yes
checking for select... no
checking for socket... yes
checking for strstr... yes
checking for deflate in -lz... no
checking for BSD make...
Not found
checking for GNU make... make
Found
configure: creating ./config.status
config.status: creating ../makefile
config.status: creating ../config.h


Code:

averros@NeXuS:~/MUD/DoT/src$ make
g++ -c -Wall -g -O  act_info.cpp -o obj/act_info.o
In file included from act_info.cpp:28:
lockers.h:81: error: extra qualification ‘lockers_object::’ on member ‘get_next_free_locker_number’
act_info.cpp:48: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp:48: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp:87: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp:87: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp:87: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp:87: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp:87: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp:87: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp:87: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp:87: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp:87: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp:87: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp:87: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp:87: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp:87: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp:87: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp:87: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp:87: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp:87: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp:87: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp:87: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp:87: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp:87: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp:87: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp:87: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp:87: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp:87: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp:87: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp:87: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp:87: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp:87: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp:87: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp:87: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp:87: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp: In function ‘char* get_canwear_colour(OBJ_DATA*, char_data*)’:
act_info.cpp:143: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp:145: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp:147: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp:150: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp:151: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp: In function ‘void show_char_to_char_1(char_data*, char_data*)’:
act_info.cpp:730: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp: In function ‘void do_peek(char_data*, char*)’:
act_info.cpp:815: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp: In function ‘void do_motd(char_data*, char*)’:
act_info.cpp:967: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp: In function ‘void do_imotd(char_data*, char*)’:
act_info.cpp:973: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp: In function ‘void do_rules(char_data*, char*)’:
act_info.cpp:979: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp: In function ‘void do_story(char_data*, char*)’:
act_info.cpp:985: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp: In function ‘void do_autolist(char_data*, char*)’:
act_info.cpp:1108: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp:1109: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp: In function ‘void do_battlelag(char_data*, char*)’:
act_info.cpp:1640: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp: In function ‘void do_look(char_data*, char*)’:
act_info.cpp:2093: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp:2101: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp:2103: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp:2109: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp:2123: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp:2166: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp:2168: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp:2173: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp:2191: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp:2201: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp:2294: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp:2404: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp: At global scope:
act_info.cpp:3169: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp:3169: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp:3169: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp:3169: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp:3169: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp:3169: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp:3169: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp:3179: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp:3179: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp:3179: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp:3179: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp:3179: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp:3179: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp:3179: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp:3179: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp:3179: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp:3179: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp:3179: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp:3179: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp: In function ‘void do_time(char_data*, char*)’:
act_info.cpp:3188: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp:3189: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp:3190: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp:3191: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp:3192: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp: In function ‘void do_weather(char_data*, char*)’:
act_info.cpp:3293: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp:3293: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp:3293: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp:3293: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp: In function ‘void do_mudstats(char_data*, char*)’:
act_info.cpp:3643: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp:3645: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp:3646: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp:3647: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp:3648: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp:3649: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp:3650: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp:3651: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp:3652: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp:3653: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp:3654: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp:3655: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp:3658: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp:3660: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp:3661: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp:3662: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp:3669: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp:3672: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp:3673: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp:3674: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp:3675: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp:3676: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp:3677: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp:3679: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp:3680: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp:3681: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp:3682: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp:3683: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp:3684: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp:3686: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp:3688: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp: In function ‘void do_compare(char_data*, char*)’:
act_info.cpp:3865: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp:3870: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp:3871: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp:3872: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp: In function ‘void do_credits(char_data*, char*)’:
act_info.cpp:3897: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp: In function ‘void do_pkinfo(char_data*, char*)’:
act_info.cpp:4019: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp:4022: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp:4025: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp:4028: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp:4031: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp:4036: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp:4039: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp:4044: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp:4052: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp:4060: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp: In function ‘void show_practice_list(char_data*, char_data*)’:
act_info.cpp:4086: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp:4088: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp: In function ‘void do_practice(char_data*, char*)’:
act_info.cpp:4199: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp:4199: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp:4199: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp: In function ‘void do_huh(char_data*, char*)’:
act_info.cpp:4625: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp: In function ‘void do_dawnftp(char_data*, char*)’:
act_info.cpp:4674: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp: In function ‘void do_quester(char_data*, char*)’:
act_info.cpp:4740: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp:4750: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp: In function ‘void do_charhistory(char_data*, char*)’:
act_info.cpp:4841: warning: deprecated conversion from string constant to ‘char*’
act_info.cpp: In function ‘void do_classinfo(char_data*, char*)’:
act_info.cpp:5093: warning: deprecated conversion from string constant to ‘char*’
make: *** [act_info.o] Error 1


This is what I get when trying to compile after the ./configure So I guess I just want to figure out what I need for the fresh install... I want to run on my own server until I feel the mud is ready for release with the code changes and all new areas. Any help on this would be greatly appreciated.

Averros


Back to top
View user's profile Send private message
derek



Joined: 23 Sep 2007
Posts: 125

PostPosted: Wed Jul 09, 2008 12:37 pm    Post subject: Reply with quote

add "-Wno-write-strings" to C_FLAGS line of makefile.in and regenerate makefile to get rid of the warning spam, and remove "lockers_object::" from line 81 of of lockers.h

make resetconfig after those changes and you should be good (i think resetconfig does a clean anyway, might have to make resetconfig and make clean)


Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    The Dawn Of Time Forum Index » Getting Started All times are GMT + 13 Hours
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-2005 phpBB Group
Theme created by Vjacheslav Trushkin