[courier-users] [patch] fix linking variables in module.esmtp

2014-09-17 Thread Hanno Böck
Hello Sam,

attached is a patch which fixes mostly the same issue as the patch for
lunicode I sent a few days ago. It moves library linking from LDFLAGS
to LDADD where it belongs.

I found this during huting for another issue. It doesn't seem to cause
compile failures at the moment, but it should be fixed nevertheless.

Please apply, patch is against courier git.

cu,
-- 
Hanno Böck
http://hboeck.de/

mail/jabber: ha...@hboeck.de
GPG: BBB51E42
diff -Naur courier-upstream.git/courier/courier/module.esmtp/Makefile.am courier-courier.git/courier/courier/module.esmtp/Makefile.am
--- courier-upstream.git/courier/courier/module.esmtp/Makefile.am	2014-09-17 12:42:08.629144334 +0200
+++ courier-courier.git/courier/courier/module.esmtp/Makefile.am	2014-09-17 12:42:56.087551022 +0200
@@ -93,9 +93,9 @@
 
 courieresmtpd_DEPENDENCIES=$(courieresmtp_DEPENDENCIES) \
 ../../libs/tcpd/libspipe.la
-courieresmtpd_LDADD=$(commonLDADD) ../../libs/tcpd/libspipe.la
-courieresmtpd_LDFLAGS=`@COURIERAUTHCONFIG@ --ldflags` \
-		-lcourierauthsasl -lcourierauth
+courieresmtpd_LDADD=$(commonLDADD) ../../libs/tcpd/libspipe.la \
+			-lcourierauthsasl -lcourierauth
+courieresmtpd_LDFLAGS=`@COURIERAUTHCONFIG@ --ldflags`
 
 addcr_SOURCES=addcr.c
 


signature.asc
Description: PGP signature
--
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] building courier with nonstandard --prefix

2014-09-17 Thread Christopher Rüprich
> re-run the configure  script as Sam said.
> extracting error lines from config.log rarely helps, because the errors
> usually appear on other lines.
>
Thank you! I did and found this:
checking for courierauthconfig... /opt/courier-0.73.2/bin
./configure: line 15443: /opt/courier-0.73.2/bin: Is a directory
./configure: line 15455: /opt/courier-0.73.2/bin: Is a directory
./configure: line 15455: test: =: unary operator expected


After I changed COURIERAUTHCONFIG to
/opt/courier-0.73.2/bin/courierauthconfig, courier compiled without
further problems. Problem solved.

A big THANK YOU to everybody who helped!

--
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] building courier with nonstandard --prefix

2014-09-17 Thread Matus UHLAR - fantomas
>> That's not the real error.
>>
>> There was an error when the configure script ran earlier, but it
>> didn't abort, and kept going.
>>
>> Run the configure script again, and search for errors related to
>> executing "courierauthconfig".

KOn 17.09.14 08:30, Christopher Rüprich wrote:
>I still have the config.log. I ran "cat -n config.log|grep -C4 error" (
>http://pastebin.com/G21itVS9 ) and "cat -n config.log|grep -C4 failed" (
>http://pastebin.com/iyvFfJhY ), but the results don't tell me much.

re-run the configure  script as Sam said.
extracting error lines from config.log rarely helps, because the errors
usually appear on other lines.


(btw, using "grep -n -C4" would be more effective.
see http://www.smallo.ruhr.de/award.html)

-- 
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
I'm not interested in your website anymore.
If you need cookies, bake them yourself.

--
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users