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 

make - troubles

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help
View previous topic :: View next topic  
Author Message
Roger-Ca
Voice


Joined: 16 Apr 2006
Posts: 8
Location: California

PostPosted: Thu Jun 08, 2006 4:09 pm    Post subject: make - troubles Reply with quote

eggdrop/eggdrop1.6.17 # make
make[1]: Entering directory `/home/eggdrop/eggdrop1.6.17/src'
This may take a while. Go get some runts.

gcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H -c bg.c
In file included from ../lush.h:4,
from main.h:33,
from bg.c:27:
/usr/lib/tcl.h:1681:22: tclDecls.h: No such file or directory
make[1]: *** [bg.o] Error 1
make[1]: Leaving directory `/home/eggdrop/eggdrop1.6.17/src'
make: *** [modegg] Error 2



ok ..... ./configure and make config went smooth

At the end of ->make<- I got the above error(s)

any ideas?


export LD_library_path=<path to the library> hummm can someone explain this in simple words?

(I had to tell it the tcllib and tclinc path in make)

This is S.u.S.E. 9.3 and TCL 8.4

Thanks in advance
Back to top
View user's profile Send private message Send e-mail
De Kus
Revered One


Joined: 15 Dec 2002
Posts: 1361
Location: Germany

PostPosted: Thu Jun 08, 2006 9:29 pm    Post subject: Reply with quote

I'd suggest uninstalling SuSes TCL and install it from tcl.tk. Obviously some header files are missing.
_________________
De Kus
StarZ|De_Kus, De_Kus or DeKus on IRC
Copyright © 2005-2009 by De Kus - published under The MIT License
Love hurts, love strengthens...
Back to top
View user's profile Send private message MSN Messenger
Roger-Ca
Voice


Joined: 16 Apr 2006
Posts: 8
Location: California

PostPosted: Fri Jun 09, 2006 1:07 am    Post subject: Reply with quote

welllllll

removing -or- un-installing tcl is not a good idea... lots of other packages depend on this.

another suggestion?

this is 8.4.7 version of TCL

oh... the file bg.o is in eggy's src folder.
why cant it find it?

thanks in advance
rw
Back to top
View user's profile Send private message Send e-mail
Alchera
Revered One


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

PostPosted: Fri Jun 09, 2006 3:10 am    Post subject: Reply with quote

By any chance we did do:
Code:
./configure
.. first?
_________________
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
De Kus
Revered One


Joined: 15 Dec 2002
Posts: 1361
Location: Germany

PostPosted: Fri Jun 09, 2006 4:07 am    Post subject: Reply with quote

without ./configure there is no Makefile ^-^.

well, if you cannot uninstall it, remove it manually and install it into the same root as it was (meaning /usr instead of /usr/local). Though that might cause problems, if these programs rely on that old TCL version. Make sure to use the same compiler option for threaded (or not threaded), since a change in that would cause 99% problems (theoretically 8.4.12 is compatible to 8.4.7 except programs rely on bugs/flaws in that version Very Happy).
_________________
De Kus
StarZ|De_Kus, De_Kus or DeKus on IRC
Copyright © 2005-2009 by De Kus - published under The MIT License
Love hurts, love strengthens...
Back to top
View user's profile Send private message MSN Messenger
Roger-Ca
Voice


Joined: 16 Apr 2006
Posts: 8
Location: California

PostPosted: Fri Jun 09, 2006 3:02 pm    Post subject: Reply with quote

OKAY!!!!!

PROBLEM FIXED -- thanks for the help!!! and or suggestions .....

FOR S.u.S.E. 9.3

SuSE has tcl libraries under
(tclinc stuff --- is:) you need to point to this - --with-tclinc= (your correct path)
/opt/snavigator/include

I never knew what more was to the tcl library, besides tcl.h

--with-tcllib= (your correct path) {I had this part correct}
(tcllib stuff --- is:)
/usr/lib

Section "I" of eggdrops compile-guide was a clue, but, plain simple english would of helped me better. I dont understand this stuff. I am not a programmer and dont wanna be one.

so, when 'configure' add the right path to the libraries
./configure -- look for errors at the end (I didnt have any)
2) make config -- look for error messages
3) make --------- " " " "
4) make install

Good luck
-again- thanks for the help
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help All times are GMT - 4 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


Forum hosting provided by Reverse.net

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