On Mon, Feb 2, 2009 at 2:28 PM, Wouter van der Schagt
<wou...@vdschagt.com>wrote:

> To compile, edit Makefile.am and add vmoddomain as a program in
>> vpopmailbin_PROGRAMS
>> and also add the following
>> vmoddomain_SOURCES = vmoddomain.c
>> vmoddomain_LDADD = libvpopmail.a @auth_libs@
>>
>> After editing Makefile.am you can do make
>>
>
> I did that, but no success. Do i also have to modify Makefile.in ? Im on a
> Debian system.
>

You can also manually compile the program as below
you will have to replace /usr/local/mysql with the path you are using

cd vpopmail-5.4.26

gcc -I.  -g -O2 -Wall -c vmoddomain.c

gcc  -g -O2 -Wall   -o vmoddomain vmoddomain.o libvpopmail.a -Xlinker -R
-Xlinker /usr/local/mysql/lib/mysql -L/usr/local/mysql/lib/mysql
-lmysqlclient -lz -lm -lcrypt


!DSPAM:4986c48c32681786314763!

Reply via email to