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.

Tips on ./configure errors

General support and discussion of Eggdrop bots.
Post Reply
w
willyw
Revered One
Posts: 1202
Joined: Thu Jan 15, 2009 12:55 am

Tips on ./configure errors

Post by willyw »

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
User avatar
caesar
Mint Rubber
Posts: 3777
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

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: Select all

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.
w
willyw
Revered One
Posts: 1202
Joined: Thu Jan 15, 2009 12:55 am

Post by willyw »

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. :)
Can't hurt ....
User avatar
caesar
Mint Rubber
Posts: 3777
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

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.
w
willyw
Revered One
Posts: 1202
Joined: Thu Jan 15, 2009 12:55 am

Post by willyw »

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