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 

mysql.mod.0.6

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Modules & Programming
View previous topic :: View next topic  
Author Message
Satras
Voice


Joined: 27 Oct 2004
Posts: 28
Location: Germany

PostPosted: Sun Oct 02, 2005 11:46 am    Post subject: mysql.mod.0.6 Reply with quote

Hi,

on my Box i got the following error when i do make.

Code:
make[2]: *** [../mysql.o] Error 1
make[2]: Leaving directory `/home/sabrina/eggdrop1.6.17/src/mod/mysql.mod'
make[1]: *** [mysql.mod_so] Error 2
make[1]: Leaving directory `/home/sabrina/eggdrop1.6.17/src/mod'
make: *** [modules] Error 2


Its a clean install no other mods or anything else is added so far.


Here are the full Logs of every step i did

http://www.d0m4in.de/configure.txt
http://www.d0m4in.de/make_config.txt
http://www.d0m4in.de/make.txt

Any ideas on this ?

Operating System: Linux 2.4.20-021stab028.17.777-enterprise
Sprache: Deutsch
Apache: 2.0.53
PHP: 04.03.2010
Perl: 05.08.2006
Java 2: 01.04.2002
Jak./Tomcat: 5.0.30
MySQL: 4.1.10a
phpMyAdmin:2.6.1pl3
Spamassasin:3.0.4
ClamAV: 0.86.2
Confixx: 1.0.3
Back to top
View user's profile Send private message
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Sun Oct 02, 2005 12:44 pm    Post subject: Reply with quote

Quote:

gcc -pipe -fPIC -g -O2 -Wall -I. -I../../.. -I../../.. -I../../../src/mod -DHAVE_CONFIG_H `mysql_config --cflags` -DMAKING_MODS -c .././mysql.mod/mysql.c
/bin/sh: mysql_config: command not found


you lack mysql_config, or it's not in your PATH
_________________
connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use [code] tag when posting logs, code
Back to top
View user's profile Send private message Visit poster's website
Satras
Voice


Joined: 27 Oct 2004
Posts: 28
Location: Germany

PostPosted: Sun Oct 02, 2005 2:44 pm    Post subject: Reply with quote

Hi thanx for your answere...

so the "mysql_config" should be in the mod folder.
But its not in there if i extract the files from the tar.

Any ideas wher i can get it from ?
Back to top
View user's profile Send private message
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Sun Oct 02, 2005 3:13 pm    Post subject: Reply with quote

nope

mysql_config is an utility (actually a shell script) that comes with mySQL, and if mySQL is installed correctly on your system, it should be located in /usr/bin or /usr/local/bin
_________________
connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use [code] tag when posting logs, code
Back to top
View user's profile Send private message Visit poster's website
Satras
Voice


Joined: 27 Oct 2004
Posts: 28
Location: Germany

PostPosted: Sun Oct 02, 2005 3:31 pm    Post subject: Reply with quote

Hmmm

the box is a share V-server, so the sql installatiuon comes from the company that ownz the server...

I checked the file list of the mysql package that is installed (mysql-4.1.10a-3.2)
here you can see (bottom of page), that the config file isnt in the package.

Any ideas what i need to install Rolling Eyes

Thanx again !
Back to top
View user's profile Send private message
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Sun Oct 02, 2005 3:44 pm    Post subject: Reply with quote

try locate mysql_config
_________________
connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use [code] tag when posting logs, code
Back to top
View user's profile Send private message Visit poster's website
Satras
Voice


Joined: 27 Oct 2004
Posts: 28
Location: Germany

PostPosted: Sun Oct 02, 2005 3:54 pm    Post subject: Reply with quote

no luck Sad

Code:
www:~ # locate
-bash: locate: command not found
www:~ # whereis mysql_config
mysql_config:
www:~ #
Back to top
View user's profile Send private message
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Sun Oct 02, 2005 4:07 pm    Post subject: Reply with quote

are you on RPM Linux distro? RedHat, etc.

if so, try rpm -ql `rpm -qa|grep ^mysql`|grep mysql_config

or simply rpm -qa|grep ^mysql to see if mySQL is actually installed
_________________
connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use [code] tag when posting logs, code
Back to top
View user's profile Send private message Visit poster's website
Satras
Voice


Joined: 27 Oct 2004
Posts: 28
Location: Germany

PostPosted: Sun Oct 02, 2005 4:11 pm    Post subject: Reply with quote

Think so ...

Suse 9.3

I did the command and nothing happend.. the file is still not on the system

Code:

www:~ # rpm -ql `rpm -qa|grep ^mysql`|grep mysql_config
www:~ # whereis mysql_config
mysql_config:
Back to top
View user's profile Send private message
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Sun Oct 02, 2005 4:33 pm    Post subject: Reply with quote

you don't have mySQL installed on that system - talk to your admin

or try to install it yourself, in your home directory
_________________
connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use [code] tag when posting logs, code
Back to top
View user's profile Send private message Visit poster's website
Satras
Voice


Joined: 27 Oct 2004
Posts: 28
Location: Germany

PostPosted: Sun Oct 02, 2005 5:12 pm    Post subject: Reply with quote

Hmmm

at least something is installed there...

I'm running some forums on the SQL thing... and the admins are telling me that mysql-4.1.10a-3.2 is installed Sad

phpmyadmin also installed

but thanx for your help :S
Back to top
View user's profile Send private message
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Sun Oct 02, 2005 5:24 pm    Post subject: Reply with quote

then ask your admins to show you how to link your application (eggdrop) with mySQL libraries
_________________
connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use [code] tag when posting logs, code
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Modules & Programming 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