egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Problem when compiling
Goto page Previous  1, 2
 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help
View previous topic :: View next topic  
Author Message
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Thu Dec 30, 2004 11:17 pm    Post subject: Reply with quote

put this in your ~/.profile or ~/.bash_profile:
Code:

LD_LIBRARY_PATH=My_location; export LD_LIBRARY_PATH

and you won't have to type it every time

or better yet, put LD_LIBRARY_PATH=My_location in your cron file (don't forget to run crontab afterwards)
Back to top
View user's profile Send private message Visit poster's website
AssCrack25
Voice


Joined: 30 Dec 2004
Posts: 2

PostPosted: Thu Dec 30, 2004 11:55 pm    Post subject: .profile seems to have worked :) Reply with quote

Thank you very much for the prompt reply, the line in the .profile seems to have worked like a charm Smile
Back to top
View user's profile Send private message
JMH
Guest





PostPosted: Mon Jan 02, 2006 10:27 pm    Post subject: Reply with quote

i have same problem...
but the libtcl8.4.so is in the normal dir.. but eggdrop cant find it..
thought maybe a symboliclink error but after trying to set it .. it tells me that it is set and to the right path!

so pls help me out
Back to top
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Mon Jan 02, 2006 11:37 pm    Post subject: Reply with quote

JMH wrote:
i have same problem...
but the libtcl8.4.so is in the normal dir.. but eggdrop cant find it..
thought maybe a symboliclink error but after trying to set it .. it tells me that it is set and to the right path!

so pls help me out

Did you try the solution demond gave (edit .profile)?
_________________
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Back to top
View user's profile Send private message Visit poster's website
caesar
Mint Rubber


Joined: 14 Oct 2001
Posts: 3741
Location: Mint Factory

PostPosted: Tue Jan 03, 2006 5:34 pm    Post subject: Reply with quote

Use the Search function of the forum before posting.
_________________
Once the game is over, the king and the pawn go back in the same box.
Back to top
View user's profile Send private message
soomon
Voice


Joined: 04 Mar 2006
Posts: 6

PostPosted: Sat Mar 04, 2006 12:00 pm    Post subject: Reply with quote

hi,
i have a problem while compiling the eggdrop. it sais:

Code:

 Your Tcl version is much too old for Eggdrop to use. You should
  download and compile a more recent version. The most reliable
  current version is 8.4.6 and can be downloaded from
  ftp://tcl.activestate.com/pub/tcl/tcl8_4/.

  See doc/COMPILE-GUIDE's 'Tcl Detection and Installation' section
  for more information.


but this is exactly what i did. i installed activetcl in the latest version.
so i tried:

./configure --with-tcllib='/usr/local/ActiveTcl/lib/libtcl8.4.so' <-- this path IS correct

Code:

configure: warning:

  You must specify both --with-tcllib and --with-tclinc for either to work.

  configure will now attempt to autodetect both the Tcl library and header.

configure: warning:

  The file '' given to option --with-tcllib is not valid.

  configure will now attempt to autodetect both the Tcl library and header.

configure: warning:

  The file '' given to option --with-tclinc is not valid.

  configure will now attempt to autodetect both the Tcl library and header.

checking for Tcl library... using /lib
checking for Tcl header... using /
checking whether the Tcl system has changed... yes
checking for Tcl version...
checking for Tcl patch level...
configure: error:


but where's the problem?
i also tried the preinstalled tcl (8.4.6-12) and made a downgrad to 8.4.6-9
always the same error.
my eggdrop is 1.6.17 (1.6.18 also doesn't work)

my system is a debian sarge server.

any ideas?
thx&greets,
soomon
Back to top
View user's profile Send private message
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Sat Mar 04, 2006 12:54 pm    Post subject: Reply with quote

soomon wrote:

but where's the problem?

Quote:

Code:

The file '' given to option --with-tclinc is not valid.


_________________
connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use [code] tag when posting logs, code
Back to top
View user's profile Send private message Visit poster's website
soomon
Voice


Joined: 04 Mar 2006
Posts: 6

PostPosted: Sat Mar 04, 2006 1:38 pm    Post subject: Reply with quote

Code:

configure: warning:

  The file '/usr/local/include/tcl8.4/tcl.h' given to option --with-tclinc is not valid.

  configure will now attempt to autodetect both the Tcl library and header.

checking for Tcl library... using /lib
checking for Tcl header... using /
checking whether the Tcl system has changed... yes
checking for Tcl version...
checking for Tcl patch level...
configure: error:

  Your Tcl version is much too old for Eggdrop to use


i also tried reinstalling tcl 8.4.12 using apt, it did it but still the same error...

recompiling the source from tcl.tk also doen't suceed:

xyz:/tmp/tcl8.4.12/unix# make
tclAppInit.o(.gnu.linkonce.t.__i686.get_pc_thunk.bx+0x0): first defined here
collect2: ld returned 1 exit status
make: *** [tclsh] error 1
(./configure worked!)
Back to top
View user's profile Send private message
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Sat Mar 04, 2006 2:00 pm    Post subject: Reply with quote

are you able to compile anything else?
_________________
connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use [code] tag when posting logs, code
Back to top
View user's profile Send private message Visit poster's website
dtgorm
Voice


Joined: 24 Jan 2007
Posts: 4

PostPosted: Wed Jan 24, 2007 12:12 pm    Post subject: Reply with quote

Ok, lets see if anyone can figure this out...

About a week ago, i installed Tcl/Tk Software's Tcl8.5 .. well then i removed the files...

today, I installed ActiveTcl8.4 to /opt/..... and exported the path.. tested i could use tclsh and was able to get a prompt.

go to compile eggy with and without the --with-tcl='path-to-tcl8.4' and when I go to make... i get :

Code:
./eggdrop: error while loading shared libraries: libtcl8.5.so: cannot open shared object file: No such file or directory
make: *** [modules] Error 127


I have done ldconfig -v and there is no reference to tcl8.5 at all. So why in the world am i getting an error about libtcl8.5.so? Is it hard coded to use a non-stable tcl library?

Any help would be appreciated.

I notice at the beginning of make, where it starts to compile, the path to tcl is listed as -L/usr/local/lib -ltcl8.5

Code:
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/local/lib -ltcl8.5 -lm -ldl -ldns -lnsl  md5/md5c.o compat/*.o `cat mod/mod.xlibs`
touch ../eggdrop
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help All times are GMT - 4 Hours
Goto page Previous  1, 2
Page 2 of 2

 
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


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber