This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Eggdrop problem on debian version Linux debian [Solved]

General support and discussion of Eggdrop bots.
User avatar
Fire-Fox
Master
Posts: 299
Joined: Sat Sep 23, 2006 9:01 pm
Location: /dev/null

Eggdrop problem on debian version Linux debian [Solved]

Post by Fire-Fox »

I have followed the guide as described.
But i stille get error on line number 7??? (Make config)

What is the problem.
please help me :)

1) Download eggdrop1.6.18.tar.gz from the eggheads ftp.
2) Telnet and FTP to the shell.
3) Upload eggdrop1.6.18.tar.gz via FTP.
4) In telnet type tar zxvf eggdrop1.6.18.tar.gz
5) Type cd eggdrop1.6.18
6) Type ./configure
7) Type make config (compiles all modules) or make iconfig (allows you to select the modules to compile).
8) Type make
9) Type make install DEST=/home/name/botdir
10) Switch to the botdir and edit the sample config file eggdrop.conf, then rename it to something appropriate (e.g. botnick.conf).
11) Type ./eggdrop -m <config file>
Last edited by Fire-Fox on Sun Sep 24, 2006 5:48 pm, edited 1 time in total.
GreatZ
Fire-Fox | Denmark

Scripts: Relay | Store Text | TvMaze
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

It would help if you actually posted the actual error.
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
User avatar
Fire-Fox
Master
Posts: 299
Joined: Sat Sep 23, 2006 9:01 pm
Location: /dev/null

Post by Fire-Fox »

Sorry about that... :)

Here is the whole thing under the installation....

(but it's in Dansish)

debian:~/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... no
checking for mawk... mawk
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.4.27-3-386
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... not found
checking for Tcl header... {not found}
checking whether the Tcl system has changed... yes
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.

debian:~/eggdrop1.6.18# make config
make: *** INo rule to create target 'config'. Stop.
debian:~/eggdrop1.6.18#
GreatZ
Fire-Fox | Denmark

Scripts: Relay | Store Text | TvMaze
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

Tcl cannot be found on this system.
It also helps if you actually do read it yourself.

Use apt-get to install tcl/tk.
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
User avatar
Fire-Fox
Master
Posts: 299
Joined: Sat Sep 23, 2006 9:01 pm
Location: /dev/null

Post by Fire-Fox »

Hey i have to ask for more help sorry....

i have downloadet the following files:

tk8.4.13-src.tar.gz

tcl8.4.13-src.tar.gz

an i'am trying to follow this guide here:

I can't get it to work... ( i believe it's because i havent tried it before :( )

EDIT: and the 2 files are placed in the root dir...


Configuring and Compiling on UNIX

Compiling Tcl on UNIX has two steps: configure and make. In the simplest case you type the following commands to your shell:


cd tcl8.4.12/unix
configure options
make
make test
make install

Configure

The configure script tests your system for different compilation and linking options and generates a Makefile. The configure script is created by GNU autoconf. There are two commonly-specified configure options:

--prefix=directory
This flag specifies the installation directory. The default is /usr/local.
--exec-prefix=directory
This flag specifies the installation directory for architecture-specific (i.e., binary) files. The default is to install architecture-specific files into the location specified by --prefix. This is typically set to a subdirectory of the main prefix, (e.g., /usr/local/solaris-sparc) for sites that want to maintain binaries for multiple architectures. If you just have a single system type, then you can ignore this option.

Note: be sure to use only absolute path names (those starting with "/") in the --prefix and --exec-prefix options.

To install into the directories /home/user/tcl/bin and /home/user/tcl/lib, for example, you should configure with:


configure --prefix=/home/user/tcl

Tcl's configure supports the following special switches in addition to the standard ones:

--enable-gcc
If this switch is set, Tcl will configure itself to use gcc if it is available on your system. Note: it is not safe to modify the Makefile to use gcc after configure is run; if you do this, then information related to dynamic linking will be incorrect.
--enable-threads
If this switch is set, Tcl will compile itself with multithreading support.
--disable-load
If this switch is specified then Tcl will configure itself not to allow dynamic loading, even if your system appears to support it. Normally you can leave this switch out and Tcl will build itself for dynamic loading if your system supports it.
--enable-shared
If this switch is specified, Tcl will compile itself as a shared library if it can figure out how to do that on this platform. This is now the default.

Configuring for multiple architectures

Suppose you are building for two platforms, Linux and Solaris, and your installation will be shared by both kinds of hosts. You'll want to use the --exec-prefix configure option to specify different binary installation directories.

There are two ways you can build for multiple platforms. The first way is to build both platforms in the unix subdirectory. First configure and build for one platform. After you install, type make distclean and then configure and build for the second platorm. Be sure that both the configure and build steps are run on the platform for which you are building. For example, don't configure under Solaris and then build under HP-UX.

You can also build the different platforms in different subdirectories of the unix directory. If you do this, then you must name the configure script with a full pathname. For example:


cd /home/user/src/tcl8.4.12/unix
mkdir solaris
cd solaris
/home/user/src/tcl8.4.12/unix/configure \
--enable-gcc --enable-shared \
--prefix=/usr/local \
--exec-prefix=/usr/local/solaris-sparc

Configuring Tk

When you configure Tk you may need to tell it where Tcl was built with the --with-tcl flag. This is true, for example, if you build Tcl in a subdirectory of unix as just described. To configure Tk:


cd /home/user/src/tk8.4.12/unix
mkdir solaris
cd solaris
/home/user/src/tk8.4.12/unix/configure \
--enable-gcc --enable-shared \
--with-tcl=/home/user/src/tcl8.4.12/unix/solaris \
--prefix=/usr/local \
--exec-prefix=/usr/local/solaris-sparc
GreatZ
Fire-Fox | Denmark

Scripts: Relay | Store Text | TvMaze
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

Are you new to Debian by any chance?

Code: Select all

man apt-get
Debian -- Packages

By using Debian's package manager there's no drama and all is installed correctly. :D
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
User avatar
Fire-Fox
Master
Posts: 299
Joined: Sat Sep 23, 2006 9:01 pm
Location: /dev/null

Post by Fire-Fox »

hey yes im new. but i will learn :D
GreatZ
Fire-Fox | Denmark

Scripts: Relay | Store Text | TvMaze
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

Fire-Fox wrote:hey yes im new. but i will learn :D
I should have asked earlier; this is your own box?
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
User avatar
Fire-Fox
Master
Posts: 299
Joined: Sat Sep 23, 2006 9:01 pm
Location: /dev/null

Post by Fire-Fox »

hey again again :D

i get this error
when i do this apt-get install tcl18.3
shell-init: could not get current directory: getcwd: cannot access parent
shell-init: could not get current directory: getcwd: cannot access parent
GreatZ
Fire-Fox | Denmark

Scripts: Relay | Store Text | TvMaze
User avatar
Fire-Fox
Master
Posts: 299
Joined: Sat Sep 23, 2006 9:01 pm
Location: /dev/null

Post by Fire-Fox »

I should have asked earlier; this is your own box?
yes it is my own box
GreatZ
Fire-Fox | Denmark

Scripts: Relay | Store Text | TvMaze
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

Fire-Fox wrote:
I should have asked earlier; this is your own box?
yes it is my own box
Your (last) error is Debian related and nothing to do with eggdrop. You will have to search the Debian Forums for a resolution.

Once you manage to have the Debian package manager install Tcl (and the necessary libraries) for you eggdrop will compile as expected. :)
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
User avatar
Fire-Fox
Master
Posts: 299
Joined: Sat Sep 23, 2006 9:01 pm
Location: /dev/null

Post by Fire-Fox »

hey

thx.
i will try to look for a salution :D thanks alot for the help so fare :)
GreatZ
Fire-Fox | Denmark

Scripts: Relay | Store Text | TvMaze
User avatar
Fire-Fox
Master
Posts: 299
Joined: Sat Sep 23, 2006 9:01 pm
Location: /dev/null

Post by Fire-Fox »

LOOOOOOOOOOOOL

i was in the wrong dir so i think...

the following steps where made

apt-get update

and i tryied from the root this time

now it's installed tcl8.3 and tk8.3
Last edited by Fire-Fox on Sat Sep 23, 2006 11:41 pm, edited 1 time in total.
GreatZ
Fire-Fox | Denmark

Scripts: Relay | Store Text | TvMaze
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

Fire-Fox wrote:LOOOOOOOOOOOOL

i was in the wrong dir so i think...

the following steps where made

apt-get update

and i tryied from the root this time

now it's installed tcl8.3
Easy enough mistake to make. Only root can install packages that have a system wide effect. :)
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
User avatar
Fire-Fox
Master
Posts: 299
Joined: Sat Sep 23, 2006 9:01 pm
Location: /dev/null

Post by Fire-Fox »

and now i can install the eggdrop and the command make config and all that right :D

EDIT: Do you use MSN :D you are some dude. i can use in the future :D
I got it to work with make config when i installed ---> apt-get install tcl8.4-dev
GreatZ
Fire-Fox | Denmark

Scripts: Relay | Store Text | TvMaze
Post Reply