Ken Moffat wrote:
> On Tue, Nov 12, 2013 at 01:51:24AM +0000, Ken Moffat wrote:
>>   For me, dovecot-2.2.7 fails during it's install -
>>
>> Making install in auth
>> make[2]: Entering directory
>> '/scratch/working/dovecot-2.2.7/src/auth'
>> make[3]: Entering directory
>> '/scratch/working/dovecot-2.2.7/src/auth'
>>   /bin/mkdir -p '/usr/lib/dovecot'
>>    /bin/sh ../../libtool   --mode=install /usr/bin/install -c auth
>> checkpassword-reply '/usr/lib/dovecot'
>> libtool: install: /usr/bin/install -c .libs/auth
>> /usr/lib/dovecot/auth
>> libtool: install: /usr/bin/install -c .libs/checkpassword-reply
>> /usr/lib/dovecot/checkpassword-reply
>>   /bin/mkdir -p '/usr/lib/dovecot/auth'
>> /bin/mkdir: cannot create directory ‘/usr/lib/dovecot/auth’: File
>> exists
>> Makefile:701: recipe for target 'install-auth_moduleLTLIBRARIES'
>> failed
>> make[3]: *** [install-auth_moduleLTLIBRARIES] Error 1
>> make[3]: Leaving directory '/scratch/working/dovecot-2.2.7/src/auth'
>> Makefile:1079: recipe for target 'install-am' failed
>> make[2]: *** [install-am] Error 2
>>
>>
>>   Any ideas, please ?  It has created a *file* at
>> /usr/lib/dovecot/auth -
>>
>> root@ac4tv ~# ls -l /usr/lib/dovecot/auth
>> -rwxr-xr-x 1 root root 319770 Nov 12 01:33 /usr/lib/dovecot/auth
>>
>   The problem is caused by --libexecdir=/usr/lib : the 'auth' file
> along with many others should be in the libexecdir.  See e.g.
> http://dovecot.2317879.n4.nabble.com/Make-install-error-td41719.html
> (had to remove that auth file, of course, before I could install).
>
>   We could use --libexecdir=/usr/lib/dovecot, but that puts the
> libexec files file in /usr/lib/dovecot/dovecot/ or we could follow
> CBLFS and use --libexecdir=/usr/lib/dovecot/exec which puts them into
> /usr/lib/dovecot/exec/dovecot/ : preferences ?  Personally, I would
> prefer to just let it use /usr/libexec, but I guess that is probably
> still too much in the redhat/gnu tradition for you guys.
>
>    I'll fix it up later if we can agree about where to use, I've also
> got one other recent package that needs tweaking.

I really don't have a problem with /usr/libexec.

   -- Bruce



-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to