CustomBuild 2 can't build exim

nobaloney

NoBaloney Internet Svcs - In Memoriam †
Joined
Jun 16, 2003
Messages
26,119
Location
California
I did
Code:
# ./build update
and then
Code:
# ./build update_versons
today on one of our CentOS 6 servers and it stopped when trying to build exim.
Code:
Please install ExtUtils::Embed for /usr/bin/perl
I found this page in the Knowledge Base:
Please install ExtUtils::Embed for /usr/bin/perl.

None of the three suggestion solutions works:
Code:
yum install perl-ExtUtils-Embed
returns:
Code:
No package perl-ExtUtils-Embed available.
Error: Nothing to do
Install from source failed as well:
Code:
# wget http://www.cpan.org/modules/by-module/ExtUtils/ExtUtils-Embed-1.14.tar.gz
--2014-06-02 13:28:46--  http://www.cpan.org/modules/by-module/ExtUtils/ExtUtils-Embed-1.14.tar.gz
Resolving www.cpan.org... 207.171.7.91, 2607:f238:3::91:1
Connecting to www.cpan.org|207.171.7.91|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2014-06-02 13:28:46 ERROR 404: Not Found.
as did also:
Code:
# cpan -i ExtUtils::Embed
CPAN: Storable loaded ok (v2.20)
Going to read '/root/.cpan/Metadata'
  Database was generated on Mon, 02 Jun 2014 02:17:02 GMT
Running install for module 'ExtUtils::Embed'
CPAN: YAML loaded ok (v0.84)
The most recent version "1.32" of the module "ExtUtils::Embed"
is part of the perl-5.20.0 distribution. To install that, you need to run
  force install ExtUtils::Embed   --or--
  install R/RJ/RJBS/perl-5.20.0.tar.gz
CPAN: Time::HiRes loaded ok (v1.9726)
Running make test
  Can't test without successful make
Running make install
  Make had returned bad status, install seems impossible
It appears I'm using the latest version of perl available in yum, because yum tells me there's nothing newer available.

So I tried the force option to CPAN (see above), and got the same error message.

I'm a bit afraid to do an update to perl through CPAN (I don't know what it'll do with the yum installation, and this IS a working server).

Anyone have any ideas/suggestions?

Thanks.

Jeff
 

DirectAdmin Support

Administrator
Staff member
Joined
Feb 27, 2003
Messages
9,051
Hmm.. three strikes is rare :) I wonder if they're trying to tell us something...
Not too sure why they removed the tar.gz from the cpan site.. or why cpan refuses to install it.

In any case, I hunted around and found a tar.gz and put it up on files1.
I've updated the source install instructions here:
http://help.directadmin.com/item.php?id=396

so we'll see if that does the trick.

John
 

nobaloney

NoBaloney Internet Svcs - In Memoriam †
Joined
Jun 16, 2003
Messages
26,119
Location
California
In any case, I hunted around and found a tar.gz and put it up on files1.
I've updated the source install instructions here:
http://help.directadmin.com/item.php?id=396

so we'll see if that does the trick.
Not quite :( . Your manual instructions worked without a hitch, but the exim build failed again:
Code:
gcc spool_in.c
gcc spool_out.c
gcc std-crypto.c
gcc store.c
gcc string.c
gcc tls.c
gcc tod.c
gcc transport.c
gcc tree.c
gcc verify.c
gcc local_scan.c
gcc perl.c
gcc malware.c
gcc mime.c
gcc regex.c
gcc spam.c
gcc spool_mbox.c
gcc demime.c
gcc bmi_spam.c
gcc spf.c
gcc srs.c
gcc dcc.c
gcc dmarc.c
gcc version.c
gcc -o exim
/usr/bin/ld: cannot find -lgdbm
collect2: ld returned 1 exit status
make[1]: *** [exim] Error 1
make[1]: Leaving directory `/usr/local/directadmin/custombuild/exim-4.82.1/build-Linux-x86_64'
make: *** [all] Error 2

*** The make has failed, would you like to try to make again? (y,n):
Of course trying again failed as well.

Within the next two days or so I'll be trying a new Directadmin install, but I don't know if it's going to work.

So any further help will be appreciated.

I'll send you the login info using secure submit, but please send me an email if you're going to be working on the server.

Thanks.

Jeff
 

nobaloney

NoBaloney Internet Svcs - In Memoriam †
Joined
Jun 16, 2003
Messages
26,119
Location
California
As noted above I got the missin file from DirectAdmin's Knowledgebase article (see DirectAdmin Support's post), and then I got a different error.

Jeff
 

DirectAdmin Support

Administrator
Staff member
Joined
Feb 27, 2003
Messages
9,051
I've logged in, and in relation to this error:
Code:
[COLOR=#333333]/usr/bin/ld: cannot find -lgdbm[/COLOR]
This was the fix:
Code:
yum install gdbm-devel
John
 

nobaloney

NoBaloney Internet Svcs - In Memoriam †
Joined
Jun 16, 2003
Messages
26,119
Location
California
Now it's my turn to be embarrassed. I should have realized that lgdbm was part of a gdbm package. Failing that I should have searched harder to find what package supplied it.

Thanks!

Jeff
 
Top