Ubuntu 6.06.1 LTS install Tcl ,tcl-devel dan eggdrop how to?

Barusan install ubuntu neh ceritanya, pas mau bikin psybnc seh dia hanya minta gcc belom ada langsungs aja aku ketik apt-get update di lanjtkan dengan apt-get install gcc
trus udah deh install psynya berjalan normal. masalah kedua muncul ketika aku install eggdrop. penggalan erornya macam gini:
=============================================================
configure: error:
Tcl cannot be found on this system.
Eggdrop requires Tcl to compile. If you already have Tcl installed on
this system, and I just wasn’t looking in the right place for it, re-run
./configure using the –with-tcllib=’/path/to/libtcl.so’ and
–with-tclinc=’/path/to/tcl.h’ options.
See doc/COMPILE-GUIDE’s ‘Tcl Detection and Installation’ section for more
information.
=============================================================
thats means tcl nya lom ada. aku cobain perintah berikut karena aku lupa padahal dulu pernah aku install beginian tapi sayang gak aku tulis jadi gak bisa di review ulang
root@ardantus:/home# apt-get install tcl-devel
Reading package lists… Done
Building dependency tree… Done
E: Couldn’t find package tcl-devel
root@ardantus:/home#
root@ardantus:/home# cat /etc/issue
Ubuntu 6.06.1 LTS \n \l
root@ardantus:/home# apt-get update
Hit ftp://80.237.136.138 dapper Release.gpg
Hit ftp://80.237.136.138 dapper-security Release.gpg
Get:1 ftp://80.237.136.138 dapper Release [34.8kB]
Get:2 ftp://80.237.136.138 dapper-security Release [50.9kB]
Hit ftp://80.237.136.138 dapper/main Packages
Hit ftp://80.237.136.138 dapper/multiverse Packages
Hit ftp://80.237.136.138 dapper/universe Packages
Hit ftp://80.237.136.138 dapper-security/main Packages
Hit ftp://80.237.136.138 dapper-security/restricted Packages
Hit ftp://80.237.136.138 dapper-security/universe Packages
Hit ftp://80.237.136.138 dapper-security/multiverse Packages
Hit ftp://archive.ubuntu.com dapper Release.gpg
Hit ftp://archive.ubuntu.com dapper-security Release.gpg
Get:3 ftp://archive.ubuntu.com dapper Release [34.8kB]
Get:4 ftp://archive.ubuntu.com dapper-security Release [50.9kB]
Hit ftp://archive.ubuntu.com dapper/main Packages
Hit ftp://archive.ubuntu.com dapper/multiverse Packages
Hit ftp://archive.ubuntu.com dapper/universe Packages
Hit ftp://archive.ubuntu.com dapper-security/main Packages
Hit ftp://archive.ubuntu.com dapper-security/restricted Packages
Hit ftp://archive.ubuntu.com dapper-security/universe Packages
Hit ftp://archive.ubuntu.com dapper-security/multiverse Packages
Fetched 171kB in 1s (131kB/s)
Reading package lists… Done
root@ardantus:/home# apt-get install *tcl*
Reading package lists… Done
Building dependency tree… Done
E: Regex compilation error – Invalid preceding regular expression
root@ardantus:/home# apt-get install tcl
Reading package lists… Done
Building dependency tree… Done
Package tcl is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package tcl has no installation candidate
root@ardantus:/home# traceroute 202.152.170.254 33
traceroute: packet length must be > 39
root@ardantus:/home# apt-get install tcl-dev
Reading package lists… Done
Building dependency tree… Done
Package tcl-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package tcl-dev has no installation candidate
root@ardantus:/home# apt-get install tcl8.4 tcl8.4-dev
Reading package lists… Done
Building dependency tree… Done
Suggested packages:
tclreadline tcl8.4-doc
The following NEW packages will be installed:
tcl8.4 tcl8.4-dev
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 1857kB of archives.
After unpacking 5480kB of additional disk space will be used.
Get:1 ftp://80.237.136.138 dapper/main tcl8.4 8.4.12-0ubuntu1 [1126kB]
Get:2 ftp://80.237.136.138 dapper/main tcl8.4-dev 8.4.12-0ubuntu1 [732kB]
Fetched 1857kB in 0s (5930kB/s)
Selecting previously deselected package tcl8.4.
(Reading database … 45545 files and directories currently installed.)
Unpacking tcl8.4 (from …/tcl8.4_8.4.12-0ubuntu1_i386.deb) …
Selecting previously deselected package tcl8.4-dev.
Unpacking tcl8.4-dev (from …/tcl8.4-dev_8.4.12-0ubuntu1_i386.deb) …
Setting up tcl8.4 (8.4.12-0ubuntu1) …
Setting up tcl8.4-dev (8.4.12-0ubuntu1) …
root@ardantus:/home#
==============================================
itu adalah beberapa perintah yang aku jalankan dan akhirnya dapat juga perintah benernya macam mana. ok sekarang sudah terinstall tcl dan tcl-develnya version 4.4 untuk ubuntu 6.
langkah kedua adalah ke tujuan semula yaitu install eggdrop( telor anjlok)
admin@ardantus:~/eggdrop1.6.18$ ./configure
This is Eggdrop’s GNU configure script.
It’s going to run a bunch of tests to hopefully make your compile
work without much twiddling.
checking for gcc… gcc
checking for C compiler default output file name… 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 gcc accepts -g… yes
checking for gcc option to accept ANSI C… none needed
checking how to run the C preprocessor… gcc -E
checking for egrep… grep -E
checking for AIX… no
checking for library containing strerror… none required
checking for ANSI C header files… 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 minix/config.h usability… no
checking minix/config.h presence… no
checking for minix/config.h… no
checking whether the compiler understands -Wall… yes
checking whether the compiler understands -pipe… yes
checking for a BSD-compatible install… /usr/bin/install -c
checking whether make sets $(MAKE)… yes
checking for ranlib… ranlib
checking whether ln -s works… yes
checking whether head -n 1 works… yes
checking for gawk… gawk
checking for basename… basename
checking for uname… uname
checking for socket in -lsocket… no
checking for connect in -lnsl… yes
checking for gethostbyname in -ldns… no
checking for dlopen in -ldl… yes
checking for tan in -lm… yes
checking for pthread_mutex_init in -lpthread… yes
checking system type… Linux
checking system release… 2.6.9-023stab044.4-enterprise
checking module loading capabilities…
checking dl.h usability… no
checking dl.h presence… no
checking for dl.h… no
checking dlfcn.h usability… yes
checking dlfcn.h presence… yes
checking for dlfcn.h… yes
checking loader.h usability… no
checking loader.h presence… no
checking for loader.h… no
checking rld.h usability… no
checking rld.h presence… no
checking for rld.h… no
checking mach-o/dyld.h usability… no
checking mach-o/dyld.h presence… no
checking for mach-o/dyld.h… no
checking mach-o/rld.h usability… no
checking mach-o/rld.h presence… no
checking for mach-o/rld.h… no
checking for dlopen… yes
checking for load… no
checking for NSLinkModule… no
checking for shl_load… no
checking for rld_load… no
checking for dirent.h that defines DIR… yes
checking for library containing opendir… none required
checking whether time.h and sys/time.h may both be included… yes
checking arpa/inet.h usability… yes
checking arpa/inet.h presence… yes
checking for arpa/inet.h… yes
checking fcntl.h usability… yes
checking fcntl.h presence… yes
checking for fcntl.h… yes
checking limits.h usability… yes
checking limits.h presence… yes
checking for limits.h… yes
checking locale.h usability… yes
checking locale.h presence… yes
checking for locale.h… yes
checking netdb.h usability… yes
checking netdb.h presence… yes
checking for netdb.h… yes
checking netinet/in.h usability… yes
checking netinet/in.h presence… yes
checking for netinet/in.h… yes
checking stdio.h usability… yes
checking stdio.h presence… yes
checking for stdio.h… yes
checking std_args.h usability… no
checking std_args.h presence… no
checking for std_args.h… no
checking stdarg.h usability… yes
checking stdarg.h presence… yes
checking for stdarg.h… yes
checking stddef.h usability… yes
checking stddef.h presence… yes
checking for stddef.h… yes
checking sys/file.h usability… yes
checking sys/file.h presence… yes
checking for sys/file.h… yes
checking sys/param.h usability… yes
checking sys/param.h presence… yes
checking for sys/param.h… yes
checking sys/rusage.h usability… no
checking sys/rusage.h presence… no
checking for sys/rusage.h… no
checking sys/select.h usability… yes
checking sys/select.h presence… yes
checking for sys/select.h… yes
checking sys/socket.h usability… yes
checking sys/socket.h presence… yes
checking for sys/socket.h… 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 wchar.h usability… yes
checking wchar.h presence… yes
checking for wchar.h… yes
checking for an ANSI C-conforming const… yes
checking whether byte ordering is bigendian… no
checking for inline… inline
checking for pid_t… yes
checking for size_t… yes
checking whether struct tm is in sys/time.h or time.h… time.h
checking for struct tm.tm_zone… yes
checking for working volatile… yes
checking for socklen_t… yes
checking for long… yes
checking size of long… 4
checking for int… yes
checking size of int… 4
checking for short… yes
checking size of short… 2
checking for clock… yes
checking for dprintf… yes
checking for fsync… yes
checking for getdtablesize… yes
checking for getrusage… yes
checking for inet_aton… yes
checking for isascii… yes
checking for mbrlen… yes
checking for memcpy… yes
checking for memset… yes
checking for random… yes
checking for rename… yes
checking for setpgid… yes
checking for sigaction… yes
checking for sigemptyset… yes
checking for snprintf… yes
checking for srandom… yes
checking for strcasecmp… yes
checking for strncasecmp… yes
checking for uname… yes
checking for vsnprintf… yes
checking for sys/select.h… (cached) yes
checking for sys/socket.h… (cached) yes
checking types of arguments for select… int,fd_set *,struct timeval *
checking for vprintf… yes
checking for _doprnt… no
checking for strftime… yes
checking for stdlib.h… (cached) yes
checking for unistd.h… (cached) yes
checking for getpagesize… yes
checking for working mmap… yes
checking for broken libsafe sscanf… no
checking for Tcl library… found /usr/lib/libtcl8.4.so
checking for Tcl header… found /usr/include/tcl8.4/tcl.h
checking whether the Tcl system has changed… yes
checking for Tcl version… 8.4
checking for Tcl patch level… 8.4.12
checking for Tcl_Free in -ltcl8.4… yes
checking for TclpFinalizeThreadData in -ltcl8.4… yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating scripts/Makefile
config.status: creating src/Makefile
config.status: creating src/compat/Makefile
config.status: creating src/md5/Makefile
config.status: creating src/mod/Makefile
config.status: creating config.h
config.status: executing replace-if-changed commands
creating lush.h
config.status: executing catch-make-rebuild commands
Operating System: Linux 2.6.9-023stab044.4-enterprise
If you experience any problems compiling Eggdrop, please read the
compile guide, found in doc/COMPILE-GUIDE.
Type ‘make config’ to configure the modules, or type ‘make iconfig’
to interactively choose which modules to compile.
admin@ardantus:~/eggdrop1.6.18$
admin@ardantus:~/eggdrop1.6.18$ make config
Detecting modules……………….. done.
Calculating dependencies………………. done.
Building ./src/mod/Makefile… done.
make[1]: Entering directory `/home/admin/eggdrop1.6.18/src/mod’
Configuring module ‘compress’.
configure: creating cache ../../../config.cache
checking for gcc… gcc
checking for C compiler default output file name… 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 gcc accepts -g… yes
checking for gcc option to accept ANSI C… none needed
checking for gzopen in -lz… yes
checking how to run the C preprocessor… gcc -E
checking for egrep… grep -E
checking for ANSI C header files… 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 zlib.h usability… yes
checking zlib.h presence… yes
checking for zlib.h… yes
updating cache ../../../config.cache
configure: creating ./config.status
config.status: creating Makefile
Configuring module ‘dns’.
configure: loading cache ../../../config.cache
checking for gcc… (cached) gcc
checking for C compiler default output file name… 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… (cached) o
checking whether we are using the GNU C compiler… (cached) yes
checking whether gcc accepts -g… (cached) yes
checking for gcc option to accept ANSI C… (cached) none needed
checking for res_init… no
checking for res_init in -lresolv… no
checking for res_init in -lbind… no
checking for __res_init… yes
checking for res_mkquery… no
checking for res_mkquery in -lresolv… yes
checking build system type… i686-pc-linux-gnu
checking host system type… i686-pc-linux-gnu
updating cache ../../../config.cache
configure: creating ./config.status
config.status: creating Makefile
make[1]: Leaving directory `/home/admin/eggdrop1.6.18/src/mod’
Building ./src/mod/Makefile… done.
You can now compile the bot, using “make”.
admin@ardantus:~/eggdrop1.6.18$
admin@ardantus:~/eggdrop1.6.18$ make
make[1]: Entering directory `/home/admin/eggdrop1.6.18/src’
This may take a while. Go get some runts.
gcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H   -c bg.c
gcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H   -c botcmd.c
gcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H   -c botmsg.c
gcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H   -c botnet.c
gcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H   -c chanprog.c
gcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H   -c cmds.c
gcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H   -c dcc.c
gcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H   -c dccutil.c
gcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H   -c dns.c
gcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H   -c flags.c
gcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H   -c language.c
gcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H   -c match.c
gcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H   \
‘-DCCFLAGS=”gcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H  “‘ \
‘-DLDFLAGS=”gcc -pipe”‘ \
‘-DSTRIPFLAGS=”touch”‘ -c ./main.c
gcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H   -c mem.c
gcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H   -c misc.c
gcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H   -c misc_file.c
gcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H   -c modules.c
gcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H   -c net.c
gcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H   -c rfc1459.c
gcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H   -c tcl.c
tcl.c:490: warning: dereferencing type-punned pointer will break strict-aliasing rules
tcl.c: In function ‘readtclprog’:
tcl.c:740: warning: assignment discards qualifiers from pointer target type
gcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H   -c tcldcc.c
gcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H   -c tclhash.c
gcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H   -c tclmisc.c
tclmisc.c: In function ‘tcl_md5’:
tclmisc.c:688: warning: pointer targets in assignment differ in signedness
gcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H   -c tcluser.c
gcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H   -c userent.c
userent.c: In function ‘del_entry_type’:
userent.c:1135: warning: dereferencing type-punned pointer will break strict-aliasing rules
gcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H   -c userrec.c
gcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H   -c users.c
make[2]: Entering directory `/home/admin/eggdrop1.6.18/src/md5′
gcc -pipe -g -O2 -Wall -I. -I../.. -I../.. -I../../src -DHAVE_CONFIG_H   -c md5c.c
make[2]: Leaving directory `/home/admin/eggdrop1.6.18/src/md5′
make[2]: Entering directory `/home/admin/eggdrop1.6.18/src/compat’
gcc -pipe -g -O2 -Wall -I../.. -I../.. -I../../src -DHAVE_CONFIG_H   -c inet_aton.c
gcc -pipe -g -O2 -Wall -I../.. -I../.. -I../../src -DHAVE_CONFIG_H   -c snprintf.c
gcc -pipe -g -O2 -Wall -I../.. -I../.. -I../../src -DHAVE_CONFIG_H   -c memset.c
gcc -pipe -g -O2 -Wall -I../.. -I../.. -I../../src -DHAVE_CONFIG_H   -c memcpy.c
gcc -pipe -g -O2 -Wall -I../.. -I../.. -I../../src -DHAVE_CONFIG_H   -c strcasecmp.c
gcc -pipe -g -O2 -Wall -I../.. -I../.. -I../../src -DHAVE_CONFIG_H   -c strftime.c
make[2]: Leaving directory `/home/admin/eggdrop1.6.18/src/compat’
———- Yeah! That’s the compiling, now the linking! ———-
Linking eggdrop (standard build).
gcc -pipe -o ../eggdrop bg.o botcmd.o botmsg.o botnet.o chanprog.o cmds.o dcc.o dccutil.o dns.o flags.o language.o match.o main.o mem.o misc.o misc_file.o modules.o net.o rfc1459.o tcl.o tcldcc.o tclhash.o tclmisc.o tcluser.o userent.o userrec.o users.o  -L/usr/lib -ltcl8.4 -lm -lpthread -ldl -lnsl  md5/md5c.o compat/*.o `cat mod/mod.xlibs`
touch ../eggdrop
Successful compile: eggdrop
make[1]: Leaving directory `/home/admin/eggdrop1.6.18/src’
make[1]: Entering directory `/home/admin/eggdrop1.6.18/src/mod’
make[2]: Entering directory `/home/admin/eggdrop1.6.18/src/mod/assoc.mod’
gcc -pipe -fPIC -g -O2 -Wall -I. -I../../.. -I../../.. -I../../../src/mod -DHAVE_CONFIG_H   -DMAKING_MODS -c .././assoc.mod/assoc.c
mv assoc.o ../
gcc -pipe -shared -nostartfiles -o ../../../assoc.so ../assoc.o -L/usr/lib -ltcl8.4 -lm -lpthread -ldl -lnsl
touch ../../../assoc.so
make[2]: Leaving directory `/home/admin/eggdrop1.6.18/src/mod/assoc.mod’
make[2]: Entering directory `/home/admin/eggdrop1.6.18/src/mod/blowfish.mod’
gcc -pipe -fPIC -g -O2 -Wall -I. -I../../.. -I../../.. -I../../../src/mod -DHAVE_CONFIG_H   -DMAKING_MODS -c .././blowfish.mod/blowfish.c
.././blowfish.mod/blowfish.c: In function ‘blowfish_init’:
.././blowfish.mod/blowfish.c:219: warning: pointer targets in passing argument 2 of ‘__builtin_strncpy’ differ in signedness
.././blowfish.mod/blowfish.c: In function ‘encrypt_string’:
.././blowfish.mod/blowfish.c:322: warning: pointer targets in assignment differ in signedness
.././blowfish.mod/blowfish.c:329: warning: pointer targets in assignment differ in signedness
mv blowfish.o ../
gcc -pipe -shared -nostartfiles -o ../../../blowfish.so ../blowfish.o -L/usr/lib -ltcl8.4 -lm -lpthread -ldl -lnsl
touch ../../../blowfish.so
make[2]: Leaving directory `/home/admin/eggdrop1.6.18/src/mod/blowfish.mod’
make[2]: Entering directory `/home/admin/eggdrop1.6.18/src/mod/channels.mod’
gcc -pipe -fPIC -g -O2 -Wall -I. -I../../.. -I../../.. -I../../../src/mod -DHAVE_CONFIG_H   -DMAKING_MODS -c .././channels.mod/channels.c
mv channels.o ../
gcc -pipe -shared -nostartfiles -o ../../../channels.so ../channels.o -L/usr/lib -ltcl8.4 -lm -lpthread -ldl -lnsl
touch ../../../channels.so
make[2]: Leaving directory `/home/admin/eggdrop1.6.18/src/mod/channels.mod’
make[2]: Entering directory `/home/admin/eggdrop1.6.18/src/mod/compress.mod’
gcc -pipe -fPIC -g -O2 -Wall -I. -I../../.. -I../../.. -I../../../src/mod -DHAVE_CONFIG_H   -DMAKING_MODS -c .././compress.mod/compress.c
.././compress.mod/compress.c:371: warning: pointer targets in initialization differ in signedness
.././compress.mod/compress.c:372: warning: pointer targets in initialization differ in signedness
rm -f ../compress.o
mv compress.o ../
gcc -pipe -shared -nostartfiles -o ../../../compress.so ../compress.o -lz -L/usr/lib -ltcl8.4 -lm -lpthread -ldl -lnsl
touch ../../../compress.so
make[2]: Leaving directory `/home/admin/eggdrop1.6.18/src/mod/compress.mod’
make[2]: Entering directory `/home/admin/eggdrop1.6.18/src/mod/console.mod’
gcc -pipe -fPIC -g -O2 -Wall -I. -I../../.. -I../../.. -I../../../src/mod -DHAVE_CONFIG_H   -DMAKING_MODS -c .././console.mod/console.c
mv console.o ../
gcc -pipe -shared -nostartfiles -o ../../../console.so ../console.o -L/usr/lib -ltcl8.4 -lm -lpthread -ldl -lnsl
touch ../../../console.so
make[2]: Leaving directory `/home/admin/eggdrop1.6.18/src/mod/console.mod’
make[2]: Entering directory `/home/admin/eggdrop1.6.18/src/mod/ctcp.mod’
gcc -pipe -fPIC -g -O2 -Wall -I. -I../../.. -I../../.. -I../../../src/mod -DHAVE_CONFIG_H   -DMAKING_MODS -c .././ctcp.mod/ctcp.c
mv ctcp.o ../
gcc -pipe -shared -nostartfiles -o ../../../ctcp.so ../ctcp.o -L/usr/lib -ltcl8.4 -lm -lpthread -ldl -lnsl
touch ../../../ctcp.so
make[2]: Leaving directory `/home/admin/eggdrop1.6.18/src/mod/ctcp.mod’
make[2]: Entering directory `/home/admin/eggdrop1.6.18/src/mod/dns.mod’
gcc -pipe -fPIC -g -O2 -Wall -I. -I../../.. -I../../.. -I../../../src/mod -DHAVE_CONFIG_H    -DMAKING_MODS -c .././dns.mod/dns.c
mv dns.o ../
gcc -pipe -shared -nostartfiles -o ../../../dns.so ../dns.o -lresolv -L/usr/lib -ltcl8.4 -lm -lpthread -ldl -lnsl
touch ../../../dns.so
make[2]: Leaving directory `/home/admin/eggdrop1.6.18/src/mod/dns.mod’
make[2]: Entering directory `/home/admin/eggdrop1.6.18/src/mod/filesys.mod’
gcc -pipe -fPIC -g -O2 -Wall -I. -I../../.. -I../../.. -I../../../src/mod -DHAVE_CONFIG_H   -DMAKING_MODS -c .././filesys.mod/filesys.c
In file included from .././filesys.mod/filesys.c:139:
.././filesys.mod/dbcompat.c: In function ‘convert_version1’:
.././filesys.mod/dbcompat.c:168: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
.././filesys.mod/dbcompat.c:168: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness
mv filesys.o ../
gcc -pipe -shared -nostartfiles -o ../../../filesys.so ../filesys.o -L/usr/lib -ltcl8.4 -lm -lpthread -ldl -lnsl
touch ../../../filesys.so
make[2]: Leaving directory `/home/admin/eggdrop1.6.18/src/mod/filesys.mod’
make[2]: Entering directory `/home/admin/eggdrop1.6.18/src/mod/irc.mod’
gcc -pipe -fPIC -g -O2 -Wall -I. -I../../.. -I../../.. -I../../../src/mod -DHAVE_CONFIG_H   -DMAKING_MODS -c .././irc.mod/irc.c
mv irc.o ../
gcc -pipe -shared -nostartfiles -o ../../../irc.so ../irc.o -L/usr/lib -ltcl8.4 -lm -lpthread -ldl -lnsl
touch ../../../irc.so
make[2]: Leaving directory `/home/admin/eggdrop1.6.18/src/mod/irc.mod’
make[2]: Entering directory `/home/admin/eggdrop1.6.18/src/mod/notes.mod’
gcc -pipe -fPIC -g -O2 -Wall -I. -I../../.. -I../../.. -I../../../src/mod -DHAVE_CONFIG_H   -DMAKING_MODS -c .././notes.mod/notes.c
mv notes.o ../
gcc -pipe -shared -nostartfiles -o ../../../notes.so ../notes.o -L/usr/lib -ltcl8.4 -lm -lpthread -ldl -lnsl
touch ../../../notes.so
make[2]: Leaving directory `/home/admin/eggdrop1.6.18/src/mod/notes.mod’
make[2]: Entering directory `/home/admin/eggdrop1.6.18/src/mod/seen.mod’
gcc -pipe -fPIC -g -O2 -Wall -I. -I../../.. -I../../.. -I../../../src/mod -DHAVE_CONFIG_H   -DMAKING_MODS -c .././seen.mod/seen.c
mv seen.o ../
gcc -pipe -shared -nostartfiles -o ../../../seen.so ../seen.o -L/usr/lib -ltcl8.4 -lm -lpthread -ldl -lnsl
touch ../../../seen.so
make[2]: Leaving directory `/home/admin/eggdrop1.6.18/src/mod/seen.mod’
make[2]: Entering directory `/home/admin/eggdrop1.6.18/src/mod/server.mod’
gcc -pipe -fPIC -g -O2 -Wall -I. -I../../.. -I../../.. -I../../../src/mod -DHAVE_CONFIG_H   -DMAKING_MODS -c .././server.mod/server.c
.././server.mod/server.c: In function ‘next_server’:
.././server.mod/server.c:1050: warning: dereferencing type-punned pointer will break strict-aliasing rules
.././server.mod/server.c: At top level:
.././server.mod/server.c:1344: warning: dereferencing type-punned pointer will break strict-aliasing rules
.././server.mod/server.c:1352: warning: dereferencing type-punned pointer will break strict-aliasing rules
mv server.o ../
gcc -pipe -shared -nostartfiles -o ../../../server.so ../server.o -L/usr/lib -ltcl8.4 -lm -lpthread -ldl -lnsl
touch ../../../server.so
make[2]: Leaving directory `/home/admin/eggdrop1.6.18/src/mod/server.mod’
make[2]: Entering directory `/home/admin/eggdrop1.6.18/src/mod/share.mod’
gcc -pipe -fPIC -g -O2 -Wall -I. -I../../.. -I../../.. -I../../../src/mod -DHAVE_CONFIG_H   -DMAKING_MODS -c .././share.mod/share.c
mv share.o ../
gcc -pipe -shared -nostartfiles -o ../../../share.so ../share.o -L/usr/lib -ltcl8.4 -lm -lpthread -ldl -lnsl
touch ../../../share.so
make[2]: Leaving directory `/home/admin/eggdrop1.6.18/src/mod/share.mod’
make[2]: Entering directory `/home/admin/eggdrop1.6.18/src/mod/transfer.mod’
gcc -pipe -fPIC -g -O2 -Wall -I. -I../../.. -I../../.. -I../../../src/mod -DHAVE_CONFIG_H   -DMAKING_MODS -c .././transfer.mod/transfer.c
mv transfer.o ../
gcc -pipe -shared -nostartfiles -o ../../../transfer.so ../transfer.o -L/usr/lib -ltcl8.4 -lm -lpthread -ldl -lnsl
touch ../../../transfer.so
make[2]: Leaving directory `/home/admin/eggdrop1.6.18/src/mod/transfer.mod’
make[2]: Entering directory `/home/admin/eggdrop1.6.18/src/mod/uptime.mod’
gcc -pipe -fPIC -g -O2 -Wall -I. -I../../.. -I../../.. -I../../../src/mod -DHAVE_CONFIG_H   -DMAKING_MODS -c .././uptime.mod/uptime.c
mv uptime.o ../
gcc -pipe -shared -nostartfiles -o ../../../uptime.so ../uptime.o -L/usr/lib -ltcl8.4 -lm -lpthread -ldl -lnsl
touch ../../../uptime.so
make[2]: Leaving directory `/home/admin/eggdrop1.6.18/src/mod/uptime.mod’
make[2]: Entering directory `/home/admin/eggdrop1.6.18/src/mod/wire.mod’
gcc -pipe -fPIC -g -O2 -Wall -I. -I../../.. -I../../.. -I../../../src/mod -DHAVE_CONFIG_H   -DMAKING_MODS -c .././wire.mod/wire.c
mv wire.o ../
gcc -pipe -shared -nostartfiles -o ../../../wire.so ../wire.o -L/usr/lib -ltcl8.4 -lm -lpthread -ldl -lnsl
touch ../../../wire.so
make[2]: Leaving directory `/home/admin/eggdrop1.6.18/src/mod/wire.mod’
All modules compiled.
make[1]: Leaving directory `/home/admin/eggdrop1.6.18/src/mod’
Test run of ./eggdrop -v:
Eggdrop v1.6.18 (C) 1997 Robey Pointer (C) 2006 Eggheads
Eggdrop successfully compiled:
-rwxr-xr-x 1 admin users 818385 Jun 26 21:43 eggdrop
Modules successfully compiled:
-rwxr-xr-x 1 admin users  18844 Jun 26 21:43 assoc.so
-rwxr-xr-x 1 admin users  23226 Jun 26 21:43 blowfish.so
-rwxr-xr-x 1 admin users 208952 Jun 26 21:43 channels.so
-rwxr-xr-x 1 admin users  20404 Jun 26 21:43 compress.so
-rwxr-xr-x 1 admin users  17510 Jun 26 21:43 console.so
-rwxr-xr-x 1 admin users  14766 Jun 26 21:43 ctcp.so
-rwxr-xr-x 1 admin users  29847 Jun 26 21:43 dns.so
-rwxr-xr-x 1 admin users 164326 Jun 26 21:43 filesys.so
-rwxr-xr-x 1 admin users 248302 Jun 26 21:43 irc.so
-rwxr-xr-x 1 admin users  55137 Jun 26 21:43 notes.so
-rwxr-xr-x 1 admin users  25796 Jun 26 21:43 seen.so
-rwxr-xr-x 1 admin users 112114 Jun 26 21:43 server.so
-rwxr-xr-x 1 admin users  82227 Jun 26 21:43 share.so
-rwxr-xr-x 1 admin users  64898 Jun 26 21:43 transfer.so
-rwxr-xr-x 1 admin users  14045 Jun 26 21:43 uptime.so
-rwxr-xr-x 1 admin users  24988 Jun 26 21:43 wire.so
Now run “make install” to install your bot.
admin@ardantus:~/eggdrop1.6.18$
admin@ardantus:~/eggdrop1.6.18$ make install
Eggdrop v1.6.18 (C) 1997 Robey Pointer (C) 2006 Eggheads
Installing in directory: ‘/home/admin/eggdrop’.
Creating directory ‘/home/admin/eggdrop’.
Copying new ‘eggdrop’ executable and creating symlink.
Creating ‘modules-1.6.18’ subdirectory and symlink.
Copying new modules.
Creating ‘logs’ subdirectory.
Creating ‘text’ subdirectory.
Copying help files.
Creating ‘help’ subdirectory.
Creating ‘help/set’ subdirectory.
make[1]: Entering directory `/home/admin/eggdrop1.6.18/src/mod’
Copying module help files.
Creating ‘help/msg’ subdirectory.
make[1]: Leaving directory `/home/admin/eggdrop1.6.18/src/mod’
Copying language files.
Creating ‘language’ subdirectory.
make[1]: Entering directory `/home/admin/eggdrop1.6.18/src/mod’
Copying module language files.
make[1]: Leaving directory `/home/admin/eggdrop1.6.18/src/mod’
Creating skeletal filesystem subdirectories.
make[1]: Entering directory `/home/admin/eggdrop1.6.18/doc’
Creating ‘doc’ subdirectory.
Creating ‘doc/man1’ subdirectory.
Creating ‘doc/html’ subdirectory.
Creating ‘doc/settings’ subdirectory.
Copying docs.
make[1]: Leaving directory `/home/admin/eggdrop1.6.18/doc’
make[1]: Entering directory `/home/admin/eggdrop1.6.18/scripts’
Creating ‘scripts’ subdirectory.
Copying scripts.
make[1]: Leaving directory `/home/admin/eggdrop1.6.18/scripts’
Installation completed.
You MUST ensure that you edit/verify your configuration file.
An example configuration file, eggdrop.conf, is distributed with Eggdrop.
Remember to change directory to /home/admin/eggdrop before you proceed.
admin@ardantus:~/eggdrop1.6.18$

Squid limit Max Connection

Bagaimana membuat Limit koneksi secara simultan dari web browser client. Yang kita butuhkan adalah memasukkan rule ACCESS Control. Tutorial ini sudah di coba di fedora core 5 Bordeaux dengan kernel system kernel-2.6.20-1.2319.fc5 dan squid versi 2.6.STABLE13 dengan compile configure dari squid sebagai berikut
configure options: ‘–build=i686-redhat-linux-gnu’ ‘–host=i686-redhat-linux-gnu’ ‘–target=i386-redhat-linux-gnu’ ‘–program-prefix=’ ‘–prefix=/usr’ ‘–exec-prefix=/usr’ ‘–bindir=/usr/bin’ ‘–sbindir=/usr/sbin’ ‘–sysconfdir=/etc’ ‘–includedir=/usr/include’ ‘–libdir=/usr/lib’ ‘–libexecdir=/usr/libexec’ ‘–sharedstatedir=/usr/com’ ‘–mandir=/usr/share/man’ ‘–infodir=/usr/share/info’ ‘–exec_prefix=/usr’ ‘–bindir=/usr/sbin’ ‘–libexecdir=/usr/lib/squid’ ‘–localstatedir=/var’ ‘–datadir=/usr/share’ ‘–sysconfdir=/etc/squid’ ‘–enable-poll’ ‘–enable-snmp’ ‘–enable-removal-policies=heap,lru’ ‘–enable-storeio=aufs,coss,diskd,null,ufs’ ‘–enable-ssl’ ‘–with-openssl=/usr/kerberos’ ‘–enable-delay-pools’ ‘–enable-linux-netfilter’ ‘–with-pthreads’ ‘–enable-ntlm-auth-helpers=SMB,fakeauth’ ‘–enable-external-acl-helpers=ip_user,ldap_group,unix_group,wbinfo_group’ ‘–enable-auth=basic,digest,ntlm’ ‘–enable-digest-auth-helpers=password’ ‘–with-winbind-auth-challenge’ ‘–enable-useragent-log’ ‘–enable-referer-log’ ‘–disable-dependency-tracking’ ‘–enable-cachemgr-hostname=localhost’ ‘–enable-underscores’ ‘–enable-basic-auth-helpers=LDAP,PAM,SMB,SASL’ ‘–enable-cache-digests’ ‘–enable-ident-lookups’ ‘–with-large-files’ ‘–enable-fd-config’ ‘–enable-follow-x-forwarded-for’ ‘build_alias=i686-redhat-linux-gnu’ ‘host_alias=i686-redhat-linux-gnu’ ‘target_alias=i386-redhat-linux-gnu’
langsungs aja kita edit squid.conf
# vi /etc/squid/squid.conf
masukkan kode berikut :
acl iprange 192.168.0.0/24        <<< ip yang di alokasikan oleh rule ini
acl limitnya maxconn 3             <<<< maxsimal koneksi ke web

http_access deny iprange limitnya     <<<< rule http_acces deny 2 rule di atas
lau tinggal restart squid nya
squid -k reconfigure
setelah tidak ada erorr coba di test deh. ternyata 😛 kamu belum beruntung :))
original tutor dari www.squid-cache.org
supported by google.com cyberciti.biz wordpress.com