On 01/-10/-28163 02:59 PM, Sam Varshavchik wrote:
> tar man writes:
>
>> I am trying to compile courier from source, but the build system is
>> giving trouble. It has custom tools bonded with Autotools. (Yes I'm
>> familiar with Autotools.)
>>
>> Where can I find it?
>
> sysconftool is in the source tarball. sysconftoolize is only needed when
> building from git.
>
> The link to sysconftool source is found on
> http://www.courier-mta.org/repo.html and its downloaded from the same
> download page.

Why not put sysconftoolize in the source tree under 
$(topsrcdir)/utils/sysconftoolize? Locally, I had to to remake the build 
system because I changed some Makefile.am's. So, I copied the 
SYSCONFTOOL m4 macro from the shipped aclocal.m4 and put it into m4/, 
and then:

export ACLOCAL=/path-to-aclcocal-version-on-debian-system-1.4
export AUTOMAKE=/path-to-aclocal-version-on-debian-system-1.4
export COURIERAUTHCONFIG=/path-to-courierauthconfig-binary

# If courier-authconfig not in /usr/local/ or /usr/lib prefixes, then 
need to export CFLAGS and LDFLAGS.
export CFLAGS=-I/path-to-include-dir
export LDFLAGS=-L/path-to-lib_courier-authlib/

libtoolize --copy --force --add-missing

# After generating libtool sh script, edit ('nano | emacs | vi libtool 
[Enter]') libtool sh file so that the libtool version is the same 
version that spit out libtool. Could be some bug.

# then
autoreconf -af --verbose -I /usr/share/aclocal

# ... and the build system is ready to go, so:
make -j 3


------------------------------------------------------------------------------
Sponsored by Intel(R) XDK 
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
_______________________________________________
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to