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.
Discussion of Eggdrop's code and module programming in C.
Satras
Voice
Posts: 28 Joined: Wed Oct 27, 2004 12:16 pm
Location: Germany
Post
by Satras » Sun Oct 02, 2005 11:46 am
Hi,
on my Box i got the following error when i do make.
Code: Select all
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
demond
Revered One
Posts: 3073 Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:
Post
by demond » Sun Oct 02, 2005 12:44 pm
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
Satras
Voice
Posts: 28 Joined: Wed Oct 27, 2004 12:16 pm
Location: Germany
Post
by Satras » Sun Oct 02, 2005 2:44 pm
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 ?
demond
Revered One
Posts: 3073 Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:
Post
by demond » Sun Oct 02, 2005 3:13 pm
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
Satras
Voice
Posts: 28 Joined: Wed Oct 27, 2004 12:16 pm
Location: Germany
Post
by Satras » Sun Oct 02, 2005 3:31 pm
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
Thanx again !
demond
Revered One
Posts: 3073 Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:
Post
by demond » Sun Oct 02, 2005 3:44 pm
try locate mysql_config
connection, sharing, dcc problems? click
<here>
before asking for scripting help, read
<this>
use
Satras
Voice
Posts: 28 Joined: Wed Oct 27, 2004 12:16 pm
Location: Germany
Post
by Satras » Sun Oct 02, 2005 3:54 pm
no luck
Code: Select all
www:~ # locate
-bash: locate: command not found
www:~ # whereis mysql_config
mysql_config:
www:~ #
demond
Revered One
Posts: 3073 Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:
Post
by demond » Sun Oct 02, 2005 4:07 pm
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
Satras
Voice
Posts: 28 Joined: Wed Oct 27, 2004 12:16 pm
Location: Germany
Post
by Satras » Sun Oct 02, 2005 4:11 pm
Think so ...
Suse 9.3
I did the command and nothing happend.. the file is still not on the system
Code: Select all
www:~ # rpm -ql `rpm -qa|grep ^mysql`|grep mysql_config
www:~ # whereis mysql_config
mysql_config:
demond
Revered One
Posts: 3073 Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:
Post
by demond » Sun Oct 02, 2005 4:33 pm
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
Satras
Voice
Posts: 28 Joined: Wed Oct 27, 2004 12:16 pm
Location: Germany
Post
by Satras » Sun Oct 02, 2005 5:12 pm
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
phpmyadmin also installed
but thanx for your help :S
demond
Revered One
Posts: 3073 Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:
Post
by demond » Sun Oct 02, 2005 5:24 pm
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