[Serusers] Problem compiling mysql.so 0.8.13-dev-23-merged

Jan Janak jan at iptel.org
Tue Jan 27 10:08:56 CET 2004


mysqlclient development files (header and libraries) are missing on your
system. Usually you need to install an additional package, it is often
called mysqlcient-devel or libmysqlclient-dev.

  Jan.

On 27-01 13:04, Dinesh wrote:
> I am trying to compile  mysql.so  0.8.13-dev-23-merged
> using:  make all include_modules="mysql"
>  
> all other modules compile fine however mysql issues the below errors
> which then go on and on
> I have checked that "mysql.h" exists in the dir
> `/root/srcprogs/SER/sip_router/modules/mysql'
>  
> Anyhelp please.
>  
> Thanks,
> Dinesh
>  
> 
> make[1]: Entering directory
> `/root/srcprogs/SER/sip_router/modules/mysql'
> 
> gcc -fPIC -DPIC -g -O9 -funroll-loops -Wcast-align -Wall
> -minline-all-stringops -malign-double -falign-loops -mcpu=athlon
> -DNAME='"ser"' -DVERSION='"0.8.13-dev-23-merged"' -DARCH='"i386"'
> -DOS='"linux"' -DCOMPILER='"gcc 3.2"' -D__CPU_i386 -D__OS_linux
> -DCFG_DIR='"/usr/local/etc/ser/"' -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP
> -DDNS_IP_HACK -DUSE_IPV6
> 
> -DUSE_TCP -DDISABLE_NAGLE -DFAST_LOCK -DADAPTIVE_WAIT
> -DADAPTIVE_WAIT_LOOPS=1024 -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN
> -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL
> -I/usr/local/include -I/usr/local/include/mysql
> -I/usr/local/mysql/include -I/usr/pkg/include -I/usr/include/mysql -c
> dbase.c -o dbase.o
> 
> dbase.c:33:25: mysql/mysql.h: No such file or directory
> 
> In file included from dbase.c:38:
> 
> con_mysql.h:33:25: mysql/mysql.h: No such file or directory
> 
> In file included from dbase.c:38:
> 
>  
>  
> Dinesh Mahbubani
> The International Marketing Exchange Ltd.
> Email: dinesh at imelhk.com
> Tel: (852) 2541-2617
> Fax (852) 2543-4537
> 
> -----Original Message-----
> From: serusers-bounces at iptel.org [mailto:serusers-bounces at lists.iptel.org] On
> Behalf Of Joao Sampaio
> Sent: Tuesday, January 27, 2004 1:57 AM
> To: 'Atle Samuelsen'
> Cc: 'serusers at lists.iptel.org'
> Subject: RE: [Serusers] Sems
> 
> 
> 
> 
> I'm sill working on this so I don't know if my conf files will work. But
> I'm following the example on
> http://iptel.org/~faqomatic/fom-serve/cache/92.html . Take a look.
> 
> Jo?o 
> 
> 
> -----Original Message----- 
> From: 'Atle Samuelsen' [mailto:clona at cyberhouse.no] 
> Sent: segunda-feira, 26 de Janeiro de 2004 17:47 
> To: Joao Sampaio 
> Subject: Re: [Serusers] Sems 
> 
> 
> btw, off the list: 
> 
> How does your config look with the voicemail in ser? does it automaticly
> 
> redirect to voicemail after XX seconds? 
> if so. could you send me the needed in that config to get to work ? 
> 
> - Atle 
> 
> 
> * 'Atle Samuelsen' <clona at cyberhouse.no> [040126 18:39]: 
> > Hm 
> > did'nt have that problem.. Tho.. have you checked your database that 
> > your user 1001 has a e-mail address? 
> > 
> > 
> > 
> > - Atle 
> > 
> > * Joao Sampaio <est-j-sampaio at ptinovacao.pt> [040126 18:29]: 
> > > Hello, thanks. 
> > > 
> > > I found my problem (till now!) which was a bad sems configuration
> file. 
> > > 
> > > Now voicemail is responding to the calls but I always get the
> message 
> > > "Session rejected: 404 voicemail: no email address for user <1001> "
> on the 
> > > caller phone. 
> > > 
> > > Did you have the same problem? 
> > > 
> > > Thanks 
> > > 
> > > Jo?o 
> > > 
> > > 
> > > 
> > > -----Original Message----- 
> > > From: Atle Samuelsen [mailto:clona at cyberhouse.no] 
> > > Sent: segunda-feira, 26 de Janeiro de 2004 17:22 
> > > To: Joao Sampaio 
> > > Subject: Re: [Serusers] Sems 
> > > 
> > > 
> > > 
> > > it looks like the same problem I had yesterday.. 
> > > 
> > > If I did understand the README file, I think the sems CVS and SER
> CVS 
> > > works together but not SER no-Cvs + SEMS CVS. this is because of the
> 
> > > upgrade of the fifo buffer thing. 
> > > 
> > > 
> > > - ATle 
> > > 
> > > 
> > > .. here's my modified default config.. 
> > > 
> > > 
> > > 
> > > # $Id: sems.conf.sample,v 1.11 2003/11/19 19:03:22 rco Exp $ 
> > > # 
> > > # sems.conf.sample 
> > > # 
> > > # Sip Express Media Server (sems) 
> > > # 
> > > # sample configuration file 
> > > # 
> > > # 
> > > # whitespaces (spaces and tabs) are ignored 
> > > # comments start with a "#" and may be used inline 
> > > # 
> > > # example: option=value1, value2  # i like this option 
> > > # 
> > > 
> > > ################################## 
> > > # global parameters              # 
> > > ################################## 
> > > 
> > > # optional parameter: fork={yes|no} 
> > > # 
> > > # - specifies if sems should run in daemon mode (background) 
> > > #   (fork=no is the same as -E) 
> > > fork=yes 
> > > 
> > > # optional parameter: stderr={yes|no} 
> > > # 
> > > # - debug mode: do not fork and log to stderr 
> > > #   (stderr=yes is the same as -E) 
> > > stderr=no 
> > > 
> > > # optional parameter: loglevel={0|1|2|3} 
> > > # 
> > > # - sets log level (error=0, warning=1, info=2, debug=3) 
> > > #   (same as -D) 
> > > loglevel=1 
> > > 
> > > # optional parameter: fifo_name=<filename> 
> > > # 
> > > # - path and file name of our fifo file (same as -i) 
> > > fifo_name=/tmp/am_fifo 
> > > 
> > > # optional parameter: ser_fifo_name=<filename> 
> > > # 
> > > # - path and file name of Ser's fifo file (same as -o) 
> > > ser_fifo_name=/tmp/ser_fifo 
> > > 
> > > # optional parameter: plugin_path=<path> 
> > > # 
> > > # - sets the path to the plug-ins 
> > > # - may be absolute or relative to CWD 
> > > plugin_path=/usr/local/lib/sems/plug-in 
> > > 
> > > # optional parameter: smtp_server=<hostname> 
> > > # 
> > > # - sets address of smtp server 
> > > smtp_server=localhost 
> > > 
> > > # optional parameter: smtp_port=<port> 
> > > # 
> > > # - sets port of smtp server 
> > > smtp_port=25 
> > > 
> > > 
> > > ################################## 
> > > # module specific parameters     # 
> > > ################################## 
> > > 
> > > # sample voicemail configuration (inline) 
> > > config.voicemail=inline 
> > > 
> > > # optional parameter: announce_path=<path> 
> > > # 
> > > # - sets the path where announce files are searched for 
> > > # - the file to be played is determined the following way: 
> > > #   <announce_path>/<domainname>/<username>.wav 
> > > #   if this file is not available <announce_path>/<default_anounce>
> is 
> > > #   used 
> > > announce_path=/usr/local/lib/sems/audio/ 
> > > 
> > > # parameter: default_announce=<filename> 
> > > # 
> > > # - sets the name of the default announce WAV file 
> > > default_announce=default.wav 
> > > 
> > > # parameter: max_record_time=<seconds> 
> > > # 
> > > # - maximum record time 
> > > max_record_time=30 
> > > 
> > > # end of configuration section for voicemail module 
> > > config.voicemail=end 
> > > 
> > > 
> > > # sample announcement configuration (inline) 
> > > config.announcement=inline 
> > > 
> > > # optional parameter: announce_path=<path> 
> > > # 
> > > # - sets the path where announce files are searched for 
> > > announce_path=/usr/local/lib/sems/audio/ 
> > > 
> > > # parameter: default_announce=<filename> 
> > > # 
> > > # - sets the name of the default announce WAV file 
> > > default_announce=default.wav 
> > > 
> > > # end of configuration section for announcement module 
> > > config.announcement=end 
> > > 
> > > 
> > > # sample isdngw module configuration (external file) 
> > > # config.isdngw=/etc/isdngw.conf 
> > > 
> > > # sample ivr module configuration (inline) 
> > > config.ivr=inline 
> > > 
> > > #parameter: python_script_path=<full path> 
> > > python_script_path=/etc/ivr 
> > > 
> > > #parameter: python_script_file=<filename> 
> > > python_script_file=example.py 
> > > 
> > > # end of configuration section for ivr module 
> > > config.ivr=end 
> > > 
> > > 
> > > # sample conference configuration (inline) 
> > > config.conference=inline 
> > > 
> > > # parameter: default_announce=<filename> 
> > > # 
> > > # - sets the full pathed name of the default announce WAV file. 
> > > #   Will be played to lonely users. 
> > > default_announce=/usr/local/lib/sems/audio/first_participant.wav 
> > > 
> > > 
> > > # end of configuration section for conference module 
> > > config.conference=end 
> > > 
> > > # example configuration for number reader 
> > > config.number_reader=inline 
> > > 
> > > number_path=/usr/local/lib/sems/audio/ 
> > > 
> > > prolog_file=/usr/local/lib/sems/audio/welcome_to_number_reader.wav 
> > > 
> > >
> epilog_file=/usr/local/lib/sems/audio/thanks_calling_number_reader.wav 
> > > 
> > > # end of number_reader configuration 
> > > config.number_reader=end 
> > > 
> > > # add more module configurations here (inline or external): 
> > > # 
> > > # config.mymodule=<filename> 
> > > #  or 
> > > # config.mymodule=inline 
> > > # ... 
> > > # config.mymodule=end 
> > > 
> > > 
> > > 
> > > 
> > > * Joao Sampaio <est-j-sampaio at ptinovacao.pt> [040126 15:43]: 
> > > > 
> > > > Hello, 
> > > > 
> > > > I'm trying to install sems so that I can configure my ser proxy to
> support 
> > > > voicemail functions. 
> > > > 
> > > > I have downloaded the last CVS version of sems and I'm currently
> running 
> > > ser 
> > > > version 0.8.12 
> > > > 
> > > > I got these error every time I try to start sems: 
> > > > 
> > > >  Sems[12051]: Warning: /etc/sems/sems.conf:59  configuration:
> ignoring 
> > > > unknown parameter announce_path 
> > > >  Sems[12051]: Warning: /etc/sems/sems.conf:64  configuration:
> ignoring 
> > > > unknown parameter default_announce 
> > > >  Sems[12051]: Warning: /etc/sems/sems.conf:69  configuration:
> ignoring 
> > > > unknown parameter max_record 
> > > >  Sems[12054]: Warning: no configuration found for module
> announcement, 
> > > maybe 
> > > > you want to specify config.announcement in config file. 
> > > >  Sems[12054]: Error: while loading plug-in 
> > > > '/usr/local/lib/sems/plug-in/apps/announcement.so' 
> > > >  Sems[12053]: Warning: signal 17 received 
> > > > 
> > > > 
> > > > Another question: Is ser 0.8.12 compatible with the last version
> of sems 
> > > in 
> > > > CVS? 
> > > > 
> > > > Thank you very much. 
> > > > 
> > > > Best reagards, 
> > > > _______________________ 
> > > > Jo?o Sampaio 
> > > > 
> > > > PT Inova??o, SA 
> > > > 
> > > > SRM - Servi?os e Redes M?veis 
> > > > 
> > > > email: est-j-sampaio at ptinovacao.pt 
> > > > Tlf:  +351 234511160-1907 / +351 234403421 
> > > > 
> > > 
> > > > _______________________________________________ 
> > > > Serusers mailing list 
> > > > serusers at lists.iptel.org 
> > > > http://lists.iptel.org/mailman/listinfo/serusers 
> > 
> > _______________________________________________ 
> > Serusers mailing list 
> > serusers at lists.iptel.org 
> > http://lists.iptel.org/mailman/listinfo/serusers 
> > 
> 

> _______________________________________________
> Serusers mailing list
> serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers




More information about the sr-users mailing list