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 

Tips on ./configure errors

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help
View previous topic :: View next topic  
Author Message
willyw
Revered One


Joined: 15 Jan 2009
Posts: 1175

PostPosted: Mon Jul 07, 2014 10:35 am    Post subject: Tips on ./configure errors Reply with quote

Are you having problems running ./configure?

Here are a couple tips for some somewhat recent occurrences :

1.)
Can't find tcl . Perhaps with Ubuntu 14 64 bit

This might be the solution:
http://eggwiki.org/Libdir


(You can google for instructions on how to list installed packages on your system or shell. )

The symptom will be:
./configure fails, telling you that tcl is not found.
Yet you can check installed packages, and it is there. Check for tcl-dev, and it is there too.

Use:
uname -a
Is it a 64 bit system?
Then this might be the problem.

Next, do:
find / -type f -name "tcl.h" 2>/dev/null
to find that file's path.

Next, do:
find / -type f -name "libtcl*" 2>/dev/null
to find the .so file
watch the filename too.

Now see the link mentioned above:
http://eggwiki.org/Libdir
and compare to the info you found with the find command.
I suppose you might need to substitute.

I hope this helps.



2.)
Can't compile on FreeBSD or OSX

Clang error

Try here:
http://eggwiki.org/Clang
Back to top
View user's profile Send private message
caesar
Mint Rubber


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

PostPosted: Tue Jul 08, 2014 1:07 am    Post subject: Reply with quote

I have this problem on a Linux Mint x64 and the "find / -type f -name "tcl.h" 2>/dev/null" doesn't return anything. The ./configure complains about missing TCL yet it's fine installed on the system:
Code:

Delta ~ # tclsh
% info patchlevel
8.6.1
% puts $tcl_version
8.6
%

Anything else I should try to locate that file? Oh, locate doesn't find anything either.

What's even stranger is that if I install the eggdrop version that I can find in the repository it works just fine cos it's installing TCL 8.5 too.
_________________
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
willyw
Revered One


Joined: 15 Jan 2009
Posts: 1175

PostPosted: Tue Jul 08, 2014 8:10 am    Post subject: Reply with quote

caesar wrote:
...
Anything else I should try to locate that file? Oh, locate doesn't find anything either.


Unfortunately, I am not a linux guru. I think you need somebody more knowledgeable than me.
I made the post here because I couldn't find any reference to this problem here, and wanted to have at least something for others.
I've had this problem a couple times now, and each time had to ask for help, or fumble through it. So I'm thinking that it is going to keep appearing.

While you wait for somebody else to come along here, just for the heck of it, try:
dpkg -l |grep tcl
to see what is installed.
Is tcl-dev installed too? corresponding to the version of tcl that is installed?
Without tcl-dev installed, ./configure will bark at you.

Next -

To find where tcl is installed:
dpkg -L tcl
and
dpkg -L tcl-dev


By the way, did this:
find / -type f -name "libtcl*" 2>/dev/null
find the .so file ?


I wonder if finding that tclsh that does run, would be a clue?
Have you tried:
find / -type f -name "tclsh*" 2>/dev/null
Again, I'm not your linux wizard, so I'm grasping here. Smile
Can't hurt ....
Back to top
View user's profile Send private message
caesar
Mint Rubber


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

PostPosted: Tue Jul 08, 2014 11:03 am    Post subject: Reply with quote

Quote:

Delta ~ # find / -type f -name "libtcl*" 2>/dev/null
/usr/lib/x86_64-linux-gnu/libtcl8.6.so

Can't find the tcl.h file...
_________________
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
willyw
Revered One


Joined: 15 Jan 2009
Posts: 1175

PostPosted: Tue Jul 08, 2014 11:35 am    Post subject: Reply with quote

I hope somebody comes along soon, that can advise you on it. I'm curious now.

At least you got
/usr/lib/x86_64-linux-gnu/libtcl8.6.so
which jives with
http://eggwiki.org/Libdir

I understand that it is the "x86_64-linux-gnu" part that is the snag.
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
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