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.

Help: problem installing mysqlTLC

Help for those learning Tcl or writing their own scripts.
Post Reply
D
Dzuma
Voice
Posts: 4
Joined: Wed Oct 25, 2006 12:07 pm

Help: problem installing mysqlTLC

Post by Dzuma »

First let me say that just by browsing these forums I found out how to install TCL and eggdrop. They are both working great. Thanks to all gurus here for sharing the info. :)

Now, I am presented with a problem that I couldnt solve by searching these forums (as I did in case of compiling and installing TCL and eggdrop).

I want to install mysqlTCL.
I'm running on Debian, and have mysql (I'm sure of it cause I'm running php forums that require mysql db) and as I said earlier I have installed TCL. So in my opinion I do meet the requirments.

However...
When I run this ./configure

Code: Select all

./configure --with-tcl=/usr/local/lib/tcl8.3 --with-tclinclude=/usr/local/include/tcl8.3 --with-mysql-include=/usr/local/include/mysql --with-mysql-lib=/usr/local/lib/mysql
I get error that mysql.h cannot be found. I tried "locate mysql.h" but found nothing. I dont even have "mysql" directory in "usr/local/include".

Am I missing some mysql (which btw works fine) files, and if I am where can I obtain them?

Thanks in advance for the help.

EDIT:
I posted in the wrong forum. :(
m
metroid
Owner
Posts: 771
Joined: Wed Jun 16, 2004 2:46 am

Post by metroid »

get the mysql-dev package.
D
Dzuma
Voice
Posts: 4
Joined: Wed Oct 25, 2006 12:07 pm

Post by Dzuma »

Ok, this is it.
http://packages.debian.org/cgi-bin/down ... &type=main

Now, I got it on root. But it's a .deb file. How do I get the files that are in that package?
D
Dzuma
Voice
Posts: 4
Joined: Wed Oct 25, 2006 12:07 pm

Post by Dzuma »

Obtained the source.
Installed mysqlTCL.

Once again this forum helped me see the light. :)
Big thanks metroid.


EDIT:
oops it didnt happen...
it passed confgiuration...but when i did "make"
it told me i need mysql 4.1 or higher...

how can i check which one im running now?
cause maybe, that source file for libmysqlclient was old...
D
Dzuma
Voice
Posts: 4
Joined: Wed Oct 25, 2006 12:07 pm

Post by Dzuma »

Yup, I have older version of mySQL.
Fixed the problem teporaraly by installing mysqlTLC 2.50.
Post Reply