[Users] mysqlso error

Bogdan-Andrei Iancu bogdan at voice-system.ro
Wed Dec 14 17:25:53 CET 2005


go in Makdefile and look for "exclude_modules?=" - remove mysql from 
there and it will compile by default.

regards,
bogdan

unplug wrote:

>There is no error in the compilation.  What I mean is I need to
>compile mysql.so separately.  Just find out that if I compile openser
>code with parameter mode=debug, this openser won't work using
>mysql.so.  It will work if I compile openser code without debug mode. 
>It is what I have found.
>
>On 12/14/05, Norman Brandinger <norm at goes.com> wrote:
>  
>
>>When you said "doesn't compile in default", do you mean generates a
>>compile error or dosen't compile ?  If it doesn't compile, take a look
>>at "exclude_modules" in "Makefile".  If mysql is there, remove it and
>>try again.  There was a time when mysql was not included by default.  If
>>there are compile errors associated with mysql, please post them.
>>
>>Regards,
>>Norm
>>
>>unplug wrote:
>>
>>    
>>
>>>Hi,
>>> Thanks!  But the mysql.so doesn't compile in default.  I can run
>>>without mysql module.  But failed to start openser after including
>>>mysql.so.
>>>
>>>On 12/14/05, Norman Brandinger <norm at goes.com> wrote:
>>>
>>>
>>>      
>>>
>>>>Hello,
>>>>
>>>>Maybe you have modules from different compiles mixed.  One way to make
>>>>sure everything is at the same level is to remove all the modules from
>>>>/usr/local/lib/openser/modules, then recompile everything.
>>>>
>>>>We use FreeBSD here and to compile/install we generally only need to
>>>>perform the following two steps:
>>>>
>>>>1) gmake
>>>>
>>>>2) gmake install
>>>>
>>>>We have found that more than enough debugging information is available
>>>>by the generous use of xlog in our configuration files with "debug=3".
>>>>If you really want alot of debugging information, "debug=9" can be used
>>>>in your configuration file.
>>>>
>>>>Hope this helps.
>>>>
>>>>Regards,
>>>>Norm
>>>>
>>>>unplug wrote:
>>>>
>>>>
>>>>
>>>>        
>>>>
>>>>>Hi,
>>>>>
>>>>>What do you mean by different flag?
>>>>>I compile openser core with the following syntax
>>>>>make mode=debug all
>>>>>make prefix=/usr/local install
>>>>>By default, mysql won't compile.
>>>>>So I compile mysql with the following.
>>>>>make modules=modules/mysql modules
>>>>>
>>>>>
>>>>>On 12/13/05, Bogdan-Andrei Iancu <bogdan at voice-system.ro> wrote:
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>          
>>>>>
>>>>>>Hi,
>>>>>>
>>>>>>you used different flags for compiling mysql module and core - recompile
>>>>>>everything with same flag/configuration
>>>>>>
>>>>>>regards,
>>>>>>bogdan
>>>>>>
>>>>>>maillisting wrote:
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>            
>>>>>>
>>>>>>>I compile mysql.so with the following command.
>>>>>>>make modules=modules/mysql modules
>>>>>>>I have followed the document to configure openuser to use SQL.  When I
>>>>>>>start openser, the error message below is shown.  What does it mean
>>>>>>>the module compile flags?  Any clue?
>>>>>>>
>>>>>>>openser: ERROR: module compile flags mismatch for
>>>>>>>/usr/local/lib/openser/modules/mysql.so   core: STATS: Off,
>>>>>>>EXTRA_DEBUG, USE_IPV6, USE_TCP, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK,
>>>>>>>SHM_MEM, SHM_MMAP, PKG_MALLOC, F_MALLOC, FAST_LOCK-ADAPTIVE_WAIT
>>>>>>>module: STATS: Off, USE_IPV6, USE_TCP, DISABLE_NAGLE, USE_MCAST,
>>>>>>>DNS_IP_HACK, SHM_MEM, SHM_MMAP, PKG_MALLOC, F_MALLOC,
>>>>>>>FAST_LOCK-ADAPTIVE_WAIT
>>>>>>>
>>>>>>><mailto:users at openser.org>
>>>>>>>
>>>>>>>_______________________________________________
>>>>>>>Users mailing list
>>>>>>>Users at openser.org
>>>>>>>http://openser.org/cgi-bin/mailman/listinfo/users
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>              
>>>>>>>
>>>>>>            
>>>>>>
>>>>>_______________________________________________
>>>>>Users mailing list
>>>>>Users at openser.org
>>>>>http://openser.org/cgi-bin/mailman/listinfo/users
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>          
>>>>>
>>>>        
>>>>
>>>
>>>
>>>
>>>      
>>>
>>    
>>
>
>_______________________________________________
>Users mailing list
>Users at openser.org
>http://openser.org/cgi-bin/mailman/listinfo/users
>
>  
>





More information about the sr-users mailing list