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.

Installing mysqltcl on a shell

Help for those learning Tcl or writing their own scripts.
Post Reply
N
Nickeloden
Voice
Posts: 2
Joined: Thu Jun 22, 2006 7:27 am

Installing mysqltcl on a shell

Post by Nickeloden »

Hello,

Is it possible to install mysqltcl on a shell? (note; i'm not box owner, just a regulat shell account).

I've browsed this forum, mysqltcl homepage and googled for hours, but i simply can't find ANY guide to it... :?

I've ofc managed to dl it to the shell, unpack and ./configure it, but it stops on make..

Code: Select all

error: too many arguments to function `mysql_shutdown'
make: *** [mysqltcl.o] Error 1
Could anyone point me out to an direction or direct me to a guide? :oops: :?
G
Garp
Voice
Posts: 29
Joined: Mon Sep 15, 2003 7:58 pm

Post by Garp »

you can't install mysqltcl on a shell.
First requirement would be a mysql db and IF a shellrunner has installed it - he has for sure that package installed.
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

the entire mySQL (server + client libs) can be installed by unprivileged users for their own private use, as any other UNIX program, by specifying --prefix=$HOME option of the configure script
connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use

Code: Select all

 tag when posting logs, code
N
Nickeloden
Voice
Posts: 2
Joined: Thu Jun 22, 2006 7:27 am

Post by Nickeloden »

Oh.. So without installing entire mySQL server/client libs, whats my options when I need to use mysql in a .tcl script....?
none ? :?

Edit:
I had a little look around at my shell account, and found some mysql files in among /usr/include, /usr/lib and /usr/local/lib...

Code: Select all

mysql                       mysql_find_rows
mysqlaccess                 mysql_fix_privilege_tables
mysqlbinlog                 mysqlhotcopy
mysqlbug                    mysqlimport
mysqlcheck                  mysql_install_db
mysql_config                mysql_setpermission
mysql_convert_table_format  mysqlshow
mysqld_multi                mysqltest
mysqldump                   mysql_zap
mysqldumpslow
[/size]
And also in /usr/lib/mysql..

Code: Select all

libdbug.a                    libheap.a             libmerge.a
libmyisam.a                  libmyisammrg.a        libmysqlclient.a
libmysqlclient_r.a           libmysqlclient_r.so@  libmysqlclient_r.so.10@
libmysqlclient_r.so.10.0.0*  libmysqlclient.so@    libmysqlclient.so.10@
libmysqlclient.so.10.0.0*    libmystrings.a        libmysys.a
libnisam.a                   mysqlbug*             mysql_config*
[/size]

Would this be of any use to me, and if so; how?
Post Reply