[prev in list] [next in list] [prev in thread] [next in thread] 

List:       vchkpw
Subject:    Re: [vchkpw] New Command vmoddomain
From:       Manvendra Bhangui <mbhangui () gmail ! com>
Date:       2009-02-02 10:13:47
Message-ID: 95c27c8c0902020201l55743b74y22bb28bf83239f8c () mail ! gmail ! com
[Download RAW message or body]

On Mon, Feb 2, 2009 at 2:28 PM, Wouter van der Schagt
<wouter@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!

[Attachment #3 (text/html)]

On Mon, Feb 2, 2009 at 2:28 PM, Wouter van der Schagt <span dir="ltr">&lt;<a \
href="mailto:wouter@vdschagt.com">wouter@vdschagt.com</a>&gt;</span> wrote:<br><div \
class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid \
rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> <blockquote \
class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt \
0pt 0.8ex; padding-left: 1ex;"> To compile, edit Makefile.am and add vmoddomain as a \
program in vpopmailbin_PROGRAMS<br> and also add the following<br>
vmoddomain_SOURCES = vmoddomain.c<br>
vmoddomain_LDADD = libvpopmail.a @auth_libs@<br>
<br>
After editing Makefile.am you can do make<br>
</blockquote>
<br>
I did that, but no success. Do i also have to modify Makefile.in ? Im on a Debian \
system.<br> </blockquote><div><br>You can also manually compile the program as \
below<br>you will have to replace /usr/local/mysql with the path you are using \
<br><br>cd vpopmail-5.4.26<br><br></div><div>gcc -I.&nbsp; -g -O2 -Wall -c \
vmoddomain.c<br> <br>gcc&nbsp; -g -O2 -Wall&nbsp;&nbsp; -o vmoddomain vmoddomain.o \
libvpopmail.a -Xlinker -R -Xlinker /usr/local/mysql/lib/mysql \
-L/usr/local/mysql/lib/mysql&nbsp; -lmysqlclient -lz -lm -lcrypt <br></div></div><br>


!DSPAM:4986c48c32681786314763!



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic