<p>cd freeradius2<br>freebsd_v8# make<br>===> Vulnerability check disabled, database not found<br>===> License GPLv2 accepted by the user<br>===> Found saved configuration for freeradius-2.1.12<br>===> Extracting for freeradius-2.1.12<br>=> SHA256 Checksum OK for freeradius-server-2.1.12.tar.bz2.<br>===> freeradius-2.1.12 depends on file: /usr/local/bin/perl5.12.4 - found<br>===> Patching for freeradius-2.1.12<br>===> freeradius-2.1.12 depends on file: /usr/local/bin/perl5.12.4 - found<br>===> Applying FreeBSD patches for freeradius-2.1.12<br>===> freeradius-2.1.12 depends on executable: gmake - found<br>===> freeradius-2.1.12 depends on file: /usr/local/bin/perl5.12.4 - found<br>===> freeradius-2.1.12 depends on file: /usr/local/bin/autoconf-2.68 - found<br>===> freeradius-2.1.12 depends on package: libtool>=2.4 - found<br>===> freeradius-2.1.12 depends on shared library: gdbm.4 - found<br>===> freeradius-2.1.12 depends on shared library: krb5.26 - not found<br>===> Verifying install for krb5.26 in /usr/ports/security/heimdal<br>===> heimdal-1.4_1 depends on file: /usr/local/lib/libcrack.a - found<br>===> heimdal-1.4_1 depends on file: /usr/local/bin/autoconf-2.68 - found<br>===> heimdal-1.4_1 depends on package: libtool>=2.4 - found<br>===> heimdal-1.4_1 depends on executable: pkg-config - found<br>===> heimdal-1.4_1 depends on shared library: ldap-2.4.8 - not found<br>===> Verifying install for ldap-2.4.8 in /usr/ports/net/openldap24-client<br>===> openldap-sasl-client-2.4.26 depends on package: libtool>=2.4 - found<br>===> openldap-sasl-client-2.4.26 depends on shared library: sasl2.2 - not found<br>===> Verifying install for sasl2.2 in /usr/ports/security/cyrus-sasl2<br>===> cyrus-sasl-2.1.25_1 is marked as broken: SQLITE and SQLITE3 are mutually exclusive..<br>*** Error code 1</p><p>Stop in /usr/ports/security/cyrus-sasl2.<br>*** Error code 1</p><p>Stop in /usr/ports/net/openldap24-client.<br>*** Error code 1</p><p>Stop in /usr/ports/net/openldap24-client.<br>*** Error code 1</p><p>Stop in /usr/ports/security/heimdal.<br>*** Error code 1</p><p>Stop in /usr/ports/security/heimdal.<br>*** Error code 1</p><p>Stop in /tmp/freeradius2.<br>*** Error code 1</p><p>Stop in /tmp/freeradius2.<br><br>============<br>the same while installing from source(( </p><br><br><br>06 декабря 2011, 20:12 от "Fajar A. Nugraha-2 [via FreeRadius]" <<a href="/user/SendEmail.jtp?type=node&node=5052614&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>>:<br><blockquote style="border-left:1px solid #0857A6; margin:10px; padding:0 0 0 10px;" class="mailru-blockquote"><div id="class_1323188577">

        <div class="js-helper">
        
        <div id="style_13231879710000000582" class="mr_read__body">
                <base target="_self" href="http://e.mail.ru/cgi-bin/">
                
                        <div id="style_13231879710000000582_BODY">

        On Tue, Dec 6, 2011 at 10:51 PM, <a link="external" rel="nofollow" target="_top">[hidden email]</a>
<br><<a link="external" rel="nofollow" target="_top">[hidden email]</a>> wrote:
<br>> Dear Fajar,
<br>>
<br>> i failed to intergate FR + mysql, i was informed that my FR is without mysql
<br>> module.
<br><br>then why didn't you ask that in the first place? It'd save lots of time.
<br><br>>
<br>> i am in process of building from the source.
<br>> so,
<br>> after:
<br>> 1. i build mysql-server
<br><br>Not necessarily. Binary tar/package from
<br><a link="external" rel="nofollow" target="_top" href="http://dev.mysql.com/downloads/mysql">http://dev.mysql.com/downloads/mysql</a> should also work. Personally, I'd
<br>avoid having to build mysql from source. It takes a VERY long time.
<br>Also, you don't really need the server. FR only needs the client part
<br>(with corresponding headers/libs).
<br><br>Anyway, whatever method you use (build from ports, compile manually,
<br>installing binary package, whatever) you need to make sure that mysql
<br>headers and libraries are available. One way (though not the ONLY way)
<br>to verify this is by running "mysql_config", then look at "include"
<br>and "libs" output, then see if the files are there. For example, on my
<br>Ubuntu box:
<br><br>#=========================================================
<br>$ mysql_config
<br>Usage: /usr/bin/mysql_config [OPTIONS]
<br>Options:
<br>        --cflags         [-I/usr/include/mysql
<br>-fno-omit-frame-pointer -g -pipe -Wno-uninitialized   -DUNIV_LINUX]
<br>        --include        [-I/usr/include/mysql]
<br>        --libs           [-Wl,-Bsymbolic-functions -rdynamic
<br>-L/usr/lib/mysql -lmysqlclient -L/usr/lib/ -lssl -lcrypto]
<br>        --libs_r         [-Wl,-Bsymbolic-functions -rdynamic
<br>-L/usr/lib/mysql -lmysqlclient_r -L/usr/lib/ -lssl -lcrypto]
<br>        --plugindir      [/usr/lib/mysql/plugin]
<br>        --socket         [/var/run/mysqld/mysqld.sock]
<br>        --port           [0]
<br>        --version        [5.3.2-MariaDB-beta]
<br>        --libmysqld-libs [-Wl,-Bsymbolic-functions -rdynamic
<br>-L/usr/lib/mysql -lmysqld -ldl -lwrap -lrt -L/usr/lib/ -lssl -lcrypto]
<br><br>$ ls /usr/include/mysql/
<br>client_plugin.h  my_alloc.h           my_getopt.h      mysqld_ername.h
<br> my_valgrind.h              services.h           typelib.h
<br>decimal.h        my_attribute.h       my_global.h      mysqld_error.h
<br> my_xml.h                   service_thd_alloc.h
<br>errmsg.h         my_compiler.h        my_list.h        mysql_embed.h
<br> plugin_auth_common.h       sql_common.h
<br>keycache.h       my_config.h          my_net.h         mysql.h
<br> plugin_auth.h              sql_state.h
<br>ma_dyncol.h      my_dbug.h            my_no_pthread.h  mysql_time.h
<br> plugin.h                   sslopt-case.h
<br>m_ctype.h        my_decimal_limits.h  my_pthread.h     mysql_version.h
<br> service_my_snprintf.h      sslopt-longopts.h
<br>m_string.h       my_dir.h             mysql_com.h      my_sys.h
<br> service_progress_report.h  sslopt-vars.h
<br><br>$ ls /usr/lib /*mysqlclient*
<br>/usr/lib/libmysqlclient.a     /usr/lib/libmysqlclient_r.so
<br>/usr/lib/libmysqlclient_r.so.16.0.0  /usr/lib/libmysqlclient.so.16
<br>/usr/lib/libmysqlclient.la    /usr/lib/libmysqlclient_r.so.15
<br>/usr/lib/libmysqlclient.so           /usr/lib/libmysqlclient.so.16.0.0
<br>/usr/lib/libmysqlclient_r.a   /usr/lib/libmysqlclient_r.so.15.0.0
<br>/usr/lib/libmysqlclient.so.15
<br>/usr/lib/libmysqlclient_r.la  /usr/lib/libmysqlclient_r.so.16
<br>/usr/lib/libmysqlclient.so.15.0.0
<br>#=========================================================
<br><br>> 2. install mysql driver for Rf
<br>>
<br>> correct?
<br><br>Just build freeradius following the simple instruction in the wiki.
<br><br>IF mysql headers and drivers are there, AND you have a working
<br>mysql_config somewhere (/usr/bin/, /usr/local/bin, whatever) then
<br>mysql support should be built in by default.
<br><br>However, IF the headers/libs are NOT in the default places, you might
<br>have to specify some parameters to configure:
<br><br>  --with-mysql-include-dir=DIR
<br>                          Directory where the mysql includes may be found
<br>  --with-mysql-lib-dir=DIR
<br>                          Directory where the mysql libraries may be found
<br>  --with-mysql-dir=DIR    Base directory where mysql is installed
<br><br>In any case, make sure you READ the output from ./configure. Hint:
<br>it's easier to do so if you redirect the output to a file, something
<br>like
<br><br>./configure | tee configure-output.txt
<br><br>The output should show whether the configure script was able to find
<br>mysql headers/libs or not.
<br><br>-- 
<br>Fajar
<br><br>-
<br>List info/subscribe/unsubscribe? See <a link="external" rel="nofollow" target="_top" href="http://www.freeradius.org/list/users.html">http://www.freeradius.org/list/users.html</a><br>
        
        <br>
        <br>
        <hr noshade="noshade" color="#cccccc" size="1">
        <div style="color:#444; font: 12px tahoma,geneva,helvetica,arial,sans-serif;">
                <div style="font-weight:bold">If you reply to this email, your message will be added to the discussion below:</div>
                <a target="_blank" href="http://freeradius.1045715.n5.nabble.com/freeradius2-installation-error-tp5052326p5052587.html" rel="nofollow" link="external">http://freeradius.1045715.n5.nabble.com/freeradius2-installation-error-tp5052326p5052587.html</a>
        </div>
        <div style="color:#666; font: 11px tahoma,geneva,helvetica,arial,sans-serif;margin-top:.4em;line-height:1.5em">
                
                To unsubscribe from freeradius2 installation error, <a target="_blank" href="" rel="nofollow" link="external">click here</a>.<br>
                <a rel="nofollow" target="_blank" href="http://freeradius.1045715.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.InstantMailNamespace&breadcrumbs=instant+emails%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml" style="font:9px serif" link="external">NAML</a>
        <br></div>
<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br></div>
                        
                
                <base target="_self" href="http://e.mail.ru/cgi-bin/">
        </div>
</div>



</div></blockquote><br>

        
<br/><hr align="left" width="300" />
View this message in context: <a href="http://freeradius.1045715.n5.nabble.com/freeradius2-installation-error-tp5052326p5052614.html">Re[6]: freeradius2 installation error</a><br/>
Sent from the <a href="http://freeradius.1045715.n5.nabble.com/FreeRadius-User-f2740693.html">FreeRadius - User mailing list archive</a> at Nabble.com.<br/>