Date: Thu, 06 Oct 2005 23:09:44 +0300 From: Evren Yurtesen <yurtesen@ispro.net.tr> To: Oliver Lehmann <lehmann@ans-netz.de> Cc: roam@freebsd.org, freebsd-ports@freebsd.org Subject: Re: courier-authlib-vchkpw port does not compile... Message-ID: <43458488.5040603@ispro.net.tr> In-Reply-To: <20051006202056.5861bdf6.lehmann@ans-netz.de> References: <43441A77.2040300@ispro.net.tr> <20051006202056.5861bdf6.lehmann@ans-netz.de>
next in thread | previous in thread | raw e-mail | index | archive | help
Oliver Lehmann wrote: > Hi Evren, > > when adding -fPIC at the mail/vpopmail Compile it works. I think this has > to be fixed in mail/vpopmail. Peter - can you fix that? > Thats right, it compiles but it doesnt authenticate anybody. At least it didnt work about 3-4 months ago and I had to install x32 binaries of courier-authlib-vchkpw and other libraries(mysql etc.) only to get it working in 32-bit compatibility mode. ------------------ http://www.opensubscriber.com/message/vchkpw@inter7.com/2160036.html Minor changes to 5.4.12, which was released two months ago. The most significant change is to compile libvpopmail with the -fPIC option, which supposedly corrects a problem when trying to compile courier-imap with vpopmail support on the AMD64 platform. ------------------ I see that ports have 5.4.10 version... Although I remember putting -fPIC to make.conf and re-compiling vpopmail and courier-imap-authlib etc. but it didnt help if I remember correctly. The programs were compiling but nothing was working properly. Are you using courier-authlib-vchkpw on amd64? Is there anybody who uses it can say that it works? I am a bit reluctant to test it on a production server. If anybody can remotely tip me that it works then I would be willing to try it on a weekend. Google also returns interesting search results http://www.google.fi/search?hl=en&safe=off&q=vchkpw+amd64+ If courier-authlib-vchkpw doesnt work properly on amd64, which is probably not a problem related to FreeBSD but I think the port should be blacklisted on amd64 with an explanation of the problem so people wont try to install it and fail all the time. Evren > Full-quote: > > Evren Yurtesen wrote: > > >>The courier-authlib-vchkpw port doesnt compile on AMD64 >>Is there any solution to this? Last time I did what it suggested, it >>compiled but didnt work properly! >> >>Evren >> >>Compiling authvchkpw.c >>authvchkpw.c: In function `auth_vchkpw_changepass': >>authvchkpw.c:142: warning: passing arg 1 of `parse_email' discards >>qualifiers from pointer target type >>Compiling authvchkpwlib.c >>Compiling preauthvchkpw.c >>preauthvchkpw.c: In function `auth_vchkpw_pre': >>preauthvchkpw.c:67: warning: passing arg 1 of `parse_email' discards >>qualifiers from pointer target type >>preauthvchkpw.c:141: warning: passing arg 3 of `vset_lastauth' discards >>qualifiers from pointer target type >>Compiling authpwdenumerate.c >>Compiling authsaslfrombase64.c >>Compiling authsasltobase64.c >>Compiling authsyschangepwd.c >>Compiling authsyscommon.c >>Compiling cramlib.c >>Compiling checkpassword.c >>Compiling cryptpassword.c >>Compiling checkpasswordmd5.c >>Compiling checkpasswordsha1.c >>Compiling authdaemon.c >>Compiling authdaemonlib.c >>Compiling preauthdaemon.c >>Compiling authmoduser2.c >>Compiling authmoduser3.c >>Compiling debug.c >>Compiling authoption.c >>Linking libcourierauth.la >>copying selected object files to avoid basename conflicts... >>Linking libcourierauthcommon.la >>Linking libauthvchkpw.la >>/usr/bin/ld: /usr/local/vpopmail/lib/libvpopmail.a(vpopmail.o): >>relocation R_X86_64_32 can not be used when making a shared object; >>recompile with -fPIC >>/usr/local/vpopmail/lib/libvpopmail.a: could not read symbols: Bad value >>gmake[2]: *** [libauthvchkpw.la] Error 1 >>gmake[2]: Leaving directory >>`/usr/ports/mail/courier-authlib-vchkpw/work/courier-authlib-0.57' >>gmake[1]: *** [all-recursive] Error 1 >>gmake[1]: Leaving directory >>`/usr/ports/mail/courier-authlib-vchkpw/work/courier-authlib-0.57' >>gmake: *** [all] Error 2 >>*** Error code 2 >> >>Stop in /usr/ports/mail/courier-authlib-vchkpw. >>*** Error code 1 >> >>Stop in /usr/ports/mail/courier-authlib-vchkpw. >>_______________________________________________ >>freebsd-ports@freebsd.org mailing list >>http://lists.freebsd.org/mailman/listinfo/freebsd-ports >>To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" >> >> > > > -- IsproNET Unix Sistem Yoneticisi & Network Yoneticisi Evren Yurtesen <yurtesen@ispro.net.tr>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43458488.5040603>