On 4/7/2014 7:30 PM, Sam Varshavchik wrote:
> Bowie Bailey writes:
>
>> I added the above between the %setup and %configure lines.  It seemed to
>> go ok until it hit autoconf.  Here's the last bit of output:
>>
>> libtoolize: linking file `libltdl/ltdl.c'
>> libtoolize: linking file `libltdl/ltdl.h'
>> libtoolize: linking file `libltdl/slist.c'
>> libtoolize: Remember to add `LT_CONFIG_LTDL_DIR([libltdl])' to
>> `configure.in'.
>> libtoolize: Consider using `AC_CONFIG_AUX_DIR([libltdl/config])' in
>> configure.in.
>> libtoolize: Consider using `AC_CONFIG_MACRO_DIR([libltdl/m4])' in
>> configure.in.
>> libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
>> + aclocal
>> + autoheader
>> + automake
>> + autoconf
>> configure.in:24: error: possibly undefined macro: AC_PROG_SYSCONFTOOL
>>         If this token and others are legitimate, please use m4_pattern_allow.
>>         See the Autoconf documentation.
>> error: Bad exit status from /var/tmp/rpm-tmp.WVdhQW (%prep)
>>
>> Do you think this is worth pursuing, or should I just give up and run
>> the upgrade the old system?
> Install http://www.courier-mta.org/download.html#sysconftool

I install that.  Just a note, the spec file references 
sysconftool-0.17.tar.gz.  I had to change tar.gz to tar.bz2 in the spec 
file and re-create the archive before I could build the rpm. (or I 
supposed I could have just repackaged as tar.gz and built from that.)

However, I still get the same problem when I try to build courier-authlib:
configure: error: invalid ltdl library directory: `/usr/lib'

And this time it always says '/usr/lib' even if I have 
--with-ltdl-lib=/usr/lib64 specified on the %configure line (tried it 
with and without).

The spec file looks like this:

%prep
%setup -q
libtoolize -f
aclocal
autoheader
automake
autoconf
PATH=/usr/bin:$PATH %configure -C --with-redhat --without-authsqlite 
--without-authmysql --with-ltdl-lib=/usr/lib64

-- 
Bowie

------------------------------------------------------------------------------
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment 
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
_______________________________________________
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to