Installation problems on Ubuntu 13.10

janneman1966

New member
Joined
Jan 14, 2014
Messages
2
I'm trying to install DA on Ubuntu Server 13.10 (VPS).
Did install the pre-install requirements, filled out client/license-id, choose option 4 (Custombuild 2 beta) etc.
Everything seems to work fine, but after a while 3 bells are ringing and I get these errormessages and installation stops:


Code:
In file included from progname.c:26:0:
./stdio.h:1010:1: error: 'gets' undeclared here (not in a function)
 _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
 ^
make[2]: *** [progname.o] Error 1
make[2]: Leaving directory `/usr/local/directadmin/custombuild/libiconv-1.14/srclib'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/local/directadmin/custombuild/libiconv-1.14/srclib'
make: *** [all] Error 2
*******************************************
*******************************************

Cannot find /usr/local/bin/php
Please recompile php with custombuild, eg:
cd /usr/local/directadmin/custombuild
./build all d

This appears to be a 64-bit system.
a common cause of http/php compile failures is mentioned here:
http://help.directadmin.com/item.php?id=213

*******************************************
*******************************************


Did try the php recompiling
Code:
cd /usr/local/directadmin/custombuild
./build all d
but can't get any further...

Tried installing on Ubuntu Server 13.10/13.04 and Debian 7 (all x86 and x64 versions tried).

Please can anybody help me on how to proceed now?
Thanks!
 
Is your license set to debian 7 license?

Is all the software on your server up to date?
Code:
apt-get -y update && apt-get -y upgrade

Check you have all the prerequisite software installed.

http://help.directadmin.com/item.php?id=354

http://directadmin.com/installguide.html




I started with a clean install of Ubuntu 13.10.
Then did apt-get update and apt-get upgrade.
Installed all the pre-requirements as on http://help.directadmin.com/item.php?id=354.
Then the install itself.
According to my provider the license is set to Debian 7 64-bit (I use Ubuntu 13.10 64-bits as OS)
 
Hello,

We had another client report that issue, and seems to be an issue with srclib/stdio.in.h on some newer Debian 7 installs.
They included a patch for srclib/stdio.in.h:
Code:
--- srclib/stdio.in.h.orig 2011-08-07 16:42:06.000000000 +0300
+++ srclib/stdio.in.h 2013-01-10 15:53:03.000000000 +0200
@@ -695,7 +695,9 @@
 /* It is very rare that the developer ever has full control of stdin,
    so any use of gets warrants an unconditional warning.  Assume it is
    always declared, since it is required by C89.  */
-_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
+#if defined(__GLIBC__) && !defined(__UCLIBC__) && !__GLIBC_PREREQ(2, 16)
+ _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
+#endif
 #endif
which (in english), means to find the code:
Code:
_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
and replace it with:
Code:
#if defined(__GLIBC__) && !defined(__UCLIBC__) && !__GLIBC_PREREQ(2, 16)
_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
#endif
As this may be a more and more common issue, I've re-packed the libiconv-1.14.tar.gz with this patch (on files1) so no patching should be required.
If you're using some other files server, allow 24 hours.

Note you'll see this error:
Code:
*** MD5 Checksum for libiconv-1.14.tar.gz Failed.  Redownloading...***
which will be normal as I have updated the tar.gz, and the MD5 sum has changed.

John
 
Back
Top