Error building dovecot with CB 2.0

wendor

New member
Joined
Oct 28, 2003
Messages
2
Location
Las Vegas, NV
Host is CentOS 7.4, custombuild is 2.0

When I execute the following:

Code:
cd /usr/local/directadmin/custombuild
./build dovecot

it fails with the following error

Code:
Configuring dovecot 2.3.0.1 ...
/usr/local/directadmin/custombuild/configure/dovecot/configure.dovecot: line 2: ./configure: Is a directory

This seems to be because configure/dovecot/configure.dovecot consists of

Code:
#!/bin/sh
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --with-systemdsystemunitdir=/etc/systemd/system

which appears to be trying to call the configure script located in /usr/local/directadmin/custombuild/dovecot-2.3.0.1 but the current working directory during the call is still /usr/local/directadmin/custombuild/

I think I can work around this by copying configure.dovecot from the configure path to the custom path and adding in

Code:
cd /usr/local/directadmin/custombuild/dovecot-2.3.0.1
but this of course now hardcodes it to only work with this version of dovecot.

Any ideas for a more permanent fix?
 
Hello,
Solved in new version of custombuild
./build update
./build update_versions
 
Back
Top