Anope IRC Services

Denora Stats (discontinued) => Denora 1.5.x Support (Read Only) => Topic started by: Thhunder on February 07, 2014, 08:56:03 PM

Title: Problem with compiling Denora 1.5
Post by: Thhunder on February 07, 2014, 08:56:03 PM
Hey guys,
i have a problem in compiling Denora with mysql support.
i installed the newest lib....-dev paket on my Debian wheezy but after the ./Config process it shows me the "Mysql  no" option...
so what is my failure?!?

sry for my bad english i startet first a german post here: http://forum.anope.org/index.php?topic=4100.0 but i did't get an request so i try it in english now...

greets

Thhunder
Title: Re: Problem with compiling Denora 1.5
Post by: CrazyCat on February 11, 2014, 11:37:07 AM
Did you remove the config.cache and did a make clean before trying to recompile ?
Title: Re: Problem with compiling Denora 1.5
Post by: Thhunder on February 12, 2014, 05:55:33 PM
Yes,
i tried also a remove of all directorys and files of denora that i had... but it says "mysql  - no " at anytime i tried to compile with mysql support...
in my other post you can see the list of packages that i had installed before compiling i'm confusing with that problem...
Title: Re: Problem with compiling Denora 1.5
Post by: CrazyCat on February 13, 2014, 11:57:56 AM
I think you must peharps install mysql-client too (and not only the dev)
Title: Re: Problem with compiling Denora 1.5
Post by: Thhunder on February 18, 2014, 09:21:19 PM
I think you must peharps install mysql-client too (and not only the dev)

that is allready Installed on my system and does not fix the problem as well....
any recommended packs are still there but after the config-script before compiling it with "make" it shows me that there is no mysql... :/
i'm very confused about it...

greets Thhunder

P.S.: sry for my late answers but i work much in a catering firm....
Title: Re: Problem with compiling Denora 1.5
Post by: CrazyCat on May 05, 2014, 02:54:14 PM
A long time after...
I encounter the same trouble.
I don't know if debian doesn't create the good headers or if denora doesn't detect the libmysqlclient-dev, gonna have a look.

I don't really know what denora is expecting in the mysql_config to determine the presence of mysqlclient-dev
Code: [Select]
$ mysql_config --help
Usage: /usr/bin/mysql_config [OPTIONS]
Options:
        --cflags         [-I/usr/include/mysql -DBIG_JOINS=1  -fno-strict-aliasing  -g]
        --include        [-I/usr/include/mysql]
        --libs           [-L/usr/lib/x86_64-linux-gnu -lmysqlclient -lpthread -lz -lm -lrt -ldl]
        --libs_r         [-L/usr/lib/x86_64-linux-gnu -lmysqlclient_r -lpthread -lz -lm -lrt -ldl]
        --plugindir      [/usr/lib/mysql/plugin]
        --socket         [/var/run/mysqld/mysqld.sock]
        --port           [0]
        --version        [5.5.37]
        --libmysqld-libs [-L/usr/lib/x86_64-linux-gnu -lmysqld -lpthread -lz -lm -lrt -lwrap -lcrypt -ldl -laio]
        --variable=VAR   VAR is one of:
                pkgincludedir [/usr/include/mysql]
                pkglibdir     [/usr/lib/x86_64-linux-gnu]
                plugindir     [/usr/lib/mysql/plugin]
Title: Re: Problem with compiling Denora 1.5
Post by: CrazyCat on May 26, 2014, 11:50:26 AM
I bypassed a test in configure (denora 1.5.0.755) :

Commented line 4964:
Code: [Select]
if test "$ac_cv_mysql" = "yes"; then
Commented line 5027 to line 5029:
Code: [Select]
else
       DIS_MYSQL="MySQL: No"
fi

And it works.