How to unpack and compile an EnergyMech |
||
The installation package includes sources, rand-files, help-files a cron script and a sample configuration. Sources are no longer distributed in a special package for people who are upgrading because of all the new stuff. Before you start to try to run a Bot..... Be sure that you are allowed to run a Bot on a machine and know what type and version of UNIX you have. EnergyMech has compiled successfully on AIX, BSD/OS, FreeBSD, HP-UX, IRIX, Linux, OSF1, SunOS 4.1.x and SunOS 5.x (Solaris). This is just an example, when you do this yourself, IT WILL NOT LOOK EXACTLY THE SAME! Enough yapping, lets get to it. First of all, lets see where we are... host:~$ echo $HOME /home/guest host:~$ cd $HOME host:~$ ls -l total 127 -rw-r--r-- 1 guest users 126814 May 1 12:18 emech250.tar.gz drwx------ 2 guest users 1024 May 1 12:19 mail/ drwx--x--x 2 guest users 1024 May 1 12:19 www/ host:~$ Our home directory is
"/home/guest" and we have the install host:~$ gunzip emech246pc.tar.gz host:~$ tar xvf emech246pc.tar host:~$ ls -l total 516 drwx------ 4 guest users 1024 May 1 10:40 emech/ -rw-r--r-- 1 guest users 522240 May 1 12:18 emech250.tar drwx------ 2 guest users 1024 May 1 12:19 mail/ drwx--x--x 2 guest users 1024 May 1 12:19 www/ host:~$ cd emech host:~$ ls -l total 72 -rwx------ 1 guest users 1554 May 1 10:40 checkmech* -rwx------ 1 guest users 43607 May 1 10:40 configure* -rw------- 1 guest users 19105 May 1 10:40 mech.help -rw------- 1 guest users 0 May 1 10:40 mech.usr drwx------ 2 guest users 1024 May 1 10:40 randfiles/ -rw------- 1 guest users 3247 May 1 10:40 sample.set drwx------ 2 guest users 1024 May 1 10:40 src/ host:~$ It's unpacked
now, time to compile... host:~$ ./configure creating cache ./config.cache checking for gcc... 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... yes checking whether gcc accepts -g... yes checking for chmod... /bin/chmod checking for mv... /bin/mv checking for rm... /bin/rm checking for crypt... yes checking for inet_addr... yes checking for socket... yes updating cache ./config.cache creating ./config.status creating src/Makefile host:~$ Ok, nothing to worry about here, now on to actually compiling... host:~$ cd src host:~$ make gcc -Wall -O2 -c cfgfile.c gcc -Wall -O2 -c channel.c gcc -Wall -O2 -c chanuser.c gcc -Wall -O2 -c com-ons.c gcc -Wall -O2 -c combot.c gcc -Wall -O2 -c commands.c gcc -Wall -O2 -c ctcp.c gcc -Wall -O2 -c dcc.c gcc -Wall -O2 -c function.c gcc -Wall -O2 -c link.c gcc -Wall -O2 -c main.c gcc -Wall -O2 -c memory.c gcc -Wall -O2 -c parse.c gcc -Wall -O2 -c server.c gcc -Wall -O2 -c userlist.c gcc -Wall -O2 -c vars.c gcc -Wall -O2 -c xmech.c gcc -Wall -O2 -o mech cfgfile.o channel.o chanuser.o com-ons.o combot.o commands.o ctcp.o dcc.o function.o link.o main.o memory.o parse.o server.o userlist.o vars.o xmech.o host:~$ ls -l mech -rwxr-xr-x 1 guest users 169973 May 1 12:29 mech* host:~$ mech -v EnergyMech 2.5.0, May 9th, 1998 StarGlider Class EnergyMech Compiled on May 9 1998 12:31:41 host:~$ Yup-yup! Got a working program, no
problems what so ever! host:~$ mv mech .. host:~$ cd .. host:~$ ls -l total 247 -rwx------ 1 guest users 1554 May 1 10:40 checkmech* -rw-r--r-- 1 guest users 1253 May 1 12:26 config.cache -rw-r--r-- 1 guest users 853 May 1 12:26 config.log -rwxr-xr-x 1 guest users 4677 May 1 12:26 config.status* -rwx------ 1 guest users 43607 May 1 10:40 configure* -rwxr-xr-x 1 guest users 169973 May 1 12:29 mech* -rw------- 1 guest users 19105 May 1 10:40 mech.help -rw------- 1 guest users 0 May 1 10:40 mech.usr drwx------ 2 guest users 1024 May 1 10:40 randfiles/ -rw------- 1 guest users 3247 May 1 10:40 sample.set drwx------ 2 guest users 1024 May 1 12:44 src/ host:~$ There we have it, now lets configure it
so we can use it. host:~$ cp sample.set mech.set host:~$ pico mech.set ( here you edit the mech.set file ) host:~$ If your shell doesnt have
"pico", you would have to use another host:~$ mech EnergyMech 2.5.0, May 9th, 1998 StarGlider Class EnergyMech Compiled on May 9 1998 12:31:41 init: Mech added: MECH init: Warning: MECH has no userlist init: EnergyMech running... host:~$ Alright! We got it going!! When a mech is in setup mode ALL users
have 100 access (owner access). Once you add a user, |
||
ATTENTION: If you get errors or can't compile it, just DON'T email me about it, because if you do, bad things will happen, like your hear will fall off etc... :)) |
||
Go back |
||
|