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.

make - troubles

General support and discussion of Eggdrop bots.
Post Reply
R
Roger-Ca
Voice
Posts: 8
Joined: Sun Apr 16, 2006 2:10 pm
Location: California

make - troubles

Post by Roger-Ca »

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
User avatar
De Kus
Revered One
Posts: 1361
Joined: Sun Dec 15, 2002 11:41 am
Location: Germany

Post by De Kus »

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...
R
Roger-Ca
Voice
Posts: 8
Joined: Sun Apr 16, 2006 2:10 pm
Location: California

Post by Roger-Ca »

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
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

By any chance we did do:

Code: Select all

./configure
.. first?
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
User avatar
De Kus
Revered One
Posts: 1361
Joined: Sun Dec 15, 2002 11:41 am
Location: Germany

Post by De Kus »

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 :D).
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...
R
Roger-Ca
Voice
Posts: 8
Joined: Sun Apr 16, 2006 2:10 pm
Location: California

Post by Roger-Ca »

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
Post Reply