<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2722" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi,</FONT></DIV>
<DIV><FONT face=Arial size=2>I did it!!!!!!!!</FONT></DIV>
<DIV><FONT face=Arial size=2>I compiled the MySQL source. The problem was of
directories.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>BUT, ( always there are a BUT )</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>When run the SER I get the next error:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> ser: ERROR:
load_module: could not open module </usr/local/lib/ser/modules/mysql.so>:
Shared</FONT></DIV>
<DIV><FONT face=Arial
size=2> object
"libmysqlclient.so.14" not found, required by "mysql.so"</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>when I execute "locate libmysqlclient.so.14" I
get:</FONT></DIV>
<DIV><FONT face=Arial size=2>
/usr/local/mysql/lib/mysql/libmysqlclient.so.14</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I have read whom there is to make a LINK to
libmysqlclient.so.14, but not where nor like doing it.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thanks,</FONT></DIV>
<DIV><FONT face=Arial size=2> </DIV></FONT>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=greger@teigre.com href="mailto:greger@teigre.com">Greger V.
Teigre</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=alberto.ipt@telefonica.net
href="mailto:alberto.ipt@telefonica.net">Alberto</A> ; <A
title=serusers@lists.iptel.org
href="mailto:serusers@lists.iptel.org">serusers@lists.iptel.org</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Cc:</B> <A title=dsirera@teching.net
href="mailto:dsirera@teching.net">Daniel Sirera</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Tuesday, September 06, 2005 1:14
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Serusers] Compiling SER
0.9.3</DIV>
<DIV><BR></DIV>
<DIV><FONT size=2>mysql/mysql.h: No such file or directory</FONT><BR>The
mysql-devel package is probably not installed.</DIV>
<DIV>g-)</DIV>
<DIV> </DIV>
<DIV>---- Original Message ----<BR>From: Alberto<BR>To: <A
href="mailto:serusers@lists.iptel.org">serusers@lists.iptel.org</A><BR>Cc: Daniel
Sirera<BR>Sent: Tuesday, September 06, 2005 12:16 PM<BR>Subject: [Serusers]
Compiling SER 0.9.3<BR><BR>> Hi,<BR>> <BR>> This is my first message.
I have a server with FreeBSD 5.3 and MySQL<BR>> 4.1.13 <BR>> and I would
like to install SER-0.9.3 (with sql support).<BR>> <BR>> I'd downloaded
the package " ser-0.9.3.GettingStarted.1.2.tar " from<BR>> <A
href="http://www.onSIP.org">www.onSIP.org</A>. <BR>> <BR>> Before
compiling, I'd edited the next files:<BR>> <BR>> Makefile file (
/usr/src/ser-0.9.3 )<BR>> ========================<BR>>
<BR>>
exclude_modules?=
cpl ext extcmd
\<BR>>
postgres<BR>> snmp \
<BR>>
im
\<BR>>
jabber<BR>> mysql \
<BR>>
cpl-c
\<BR>>
<BR>> auth_radius group_radius uri_radius avp_radius \
<BR>>
pa<BR>> <BR>> I'VE REMOVE THE REFERENCE TO
mysql<BR>> <BR>> <BR>> Makefile file ( /usr/src/ser-0.9.3 )<BR>>
========================<BR>> <BR>> # mysql.h
locations (freebsd,openbsd solaris)<BR>> DEFS
+=-I$(LOCALBASE)/include -I$(LOCALBASE)/include/mysql
\<BR>>
-I$(LOCALBASE)/mysql/include
\<BR>>
-I/usr/local/mysql/include \ #<BR>>
<----------------------------------------- ADDED BY ME
<BR>>
-I/usr/include/mysql<BR>> <BR>> <BR>> #
libmysqlclient locations on RH/Suse, Solaris /OpenBSD,
FreeBSD<BR>> # (Debian does the right thing and
puts it in /usr/lib)<BR>> LIBS=-L/usr/lib/mysql
-L$(LOCALBASE)/lib -L$(LOCALBASE)/lib/mysql<BR>> \
<BR>>
-L$(LOCALBASE)/mysql/lib/mysql/
\<BR>>
-L$(LOCALBASE)/mysql/lib
\<BR>>
-L/usr/local/mysql/lib \ #<BR>>
<----------------------------------------- ADDED BY ME
<BR>>
-L/usr/lib64/mysql
\<BR>>
-lmysqlclient -lz<BR>> <BR>> <BR>> <BR>> I execute the next
command for compile: " gmake all " and I get the<BR>> next errors: <BR>>
<BR>>
<--------- cut
----------><BR>>
................................<BR>>
gmake[1]: Entering directory<BR>> `/usr/src/ser-0.9.3/modules/mysql'
<BR>>
../../Makefile.rules:80: db_con.d: No such file or
directory<BR>>
../../Makefile.rules:80: db_mod.d: No such file or
directory<BR>>
../../Makefile.rules:80: dbase.d: No such file or
directory<BR>>
../../Makefile.rules:80: my_con.d: No such file or
directory<BR>>
../../Makefile.rules:80: my_id.d: No such file or
directory<BR>>
../../Makefile.rules:80: my_pool.d: No such file or
directory<BR>>
../../Makefile.rules:80: res.d: No such file or
directory<BR>>
../../Makefile.rules:80: row.d: No such file or
directory<BR>>
../../Makefile.rules:80: utils.d: No such file or
directory<BR>>
../../Makefile.rules:80: val.d: No such file or
directory<BR>> In file
included from
val.c:35:<BR>> val.h:31:25:
mysql/mysql.h: No such file or
directory<BR>> row.c:33:25:
mysql/mysql.h: No such file or
directory<BR>> res.c:31:25:
mysql/mysql.h: No such file or
directory<BR>> In file
included from
my_pool.h:32,<BR>>
from my_pool.c:31:<BR>>
my_con.h:33:25: mysql/mysql.h: No such file or
directory<BR>> In file
included from
my_con.c:31:<BR>>
my_con.h:33:25: mysql/mysql.h: No such file or
directory<BR>>
dbase.c:34:25: mysql/mysql.h: No such file or
directory<BR>>
......................<BR>>
<--------- cut ----------><BR>> <BR>> <BR>> <BR>> Some idea?
I not that but to prove. ( HELP!!! )<BR>> <BR>> Thanks for your time and
apologies by my english.</DIV></BLOCKQUOTE></BODY></HTML>