Re: vqadmin compile problems

Michael Bagnall <[email protected]> Sat, 15 Nov 2003 10:18:53 -0600
Newsgroups gmane.mail.vqadmin
Message-ID <[email protected]>
In order to get mySQL support to compile in VQAdmin, I needed to change 
some settings in the make file to properly include the paths to the 
MySQL library (/usr/local/mysql/lib)... the default ones in the make 
file were looking to the wrong place.

Once I did this I was able to compile with no problem. Of course, 
turning off mysql support also fixes this, but that's likely not the 
point.



On Nov 15, 2003, at 10:26 AM, Rolando Riley wrote:

> Hi list:
> Can anybody help me with this? .  I have set the passwords on the 
> related vpopmail package.
>  
>  
>  
>  
>  
> ----
> smtp:/usr/src/vqadmin-2.3.2# make
> make  all-recursive
> make[1]: Entering directory `/usr/src/vqadmin-2.3.2'
> make[2]: Entering directory `/usr/src/vqadmin-2.3.2'
> gcc  -g -O2 -Wall  -o vqadmin  vqadmin.o cgi.o template.o global.o 
> acl.o misc.o domain.o lang.o user.o -L/home/vpopmail/lib -lvpopmail  
> -lz -lm -lcrypt
> /home/vpopmail/lib/libvpopmail.a(vauth.o): In function 
> `vauth_open_update':
> /usr/src/vpopmail-5.2.1/vauth.c:108: undefined reference to 
> `mysql_init'
> /usr/src/vpopmail-5.2.1/vauth.c:111: undefined reference to 
> `mysql_real_connect'
> /usr/src/vpopmail-5.2.1/vauth.c:115: undefined reference to 
> `mysql_error'
> /usr/src/vpopmail-5.2.1/vauth.c:121: undefined reference to 
> `mysql_real_connect'
> /usr/src/vpopmail-5.2.1/vauth.c:126: undefined reference to 
> `mysql_error'
> /usr/src/vpopmail-5.2.1/vauth.c:135: undefined reference to 
> `mysql_query'
> /usr/src/vpopmail-5.2.1/vauth.c:140: undefined reference to 
> `mysql_error'
> /usr/src/vpopmail-5.2.1/vauth.c:143: undefined reference to 
> `mysql_store_result'
> /usr/src/vpopmail-5.2.1/vauth.c:144: undefined reference to 
> `mysql_free_result'
> /usr/src/vpopmail-5.2.1/vauth.c:147: undefined reference to 
> `mysql_select_db'
> -------
>  
>  
>           what is this related to?   Do I have to recompile vpopmail?  
>  
> R. Riley
>  
>  
>  
>  
>  
> -----Mensaje original-----
> De: John Johnson [mailto:[email protected]]
> Enviado el:Saturday, November 15, 2003 9:42 AM
> Para: Rolando Riley; [email protected]
> Asunto: Re: [qmailadmin] Virtual domains interface
>
>  Get vqadmin from inter7.com  qmailadmin is for your customers to 
> manage there
> domains and vqadmin is system wide email and domains.
>  
> -John
>  
> ----- Original Message -----
> From: Rolando Riley
> To: [email protected]
> Sent:Saturday, November 15, 2003 6:41 AM
> Subject:[qmailadmin] Virtual domains interface
>
>   Hi guys:
>         I have finished to install qmailadmin and from what I have 
> tested it works just great!!.  There is just one "but".  Can anyone 
> tell what cgi is used to "add a new virtualdomain".   I know how to do 
> it from command line, but I believe the purpose of the project is do 
> it from a web based graphic user interface.
>  
>  
>         In case there is no such cgi . Have anyone managed to make one?
>  
>  
>  thanks in advance,
>  
>  
> R. Riley
>
>
>  
>
>