From owner-freebsd-ports@FreeBSD.ORG Sun May 27 19:14:13 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6B4DF1065670; Sun, 27 May 2012 19:14:13 +0000 (UTC) (envelope-from kayasaman@gmail.com) Received: from mail-ee0-f54.google.com (mail-ee0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id C05E58FC17; Sun, 27 May 2012 19:14:12 +0000 (UTC) Received: by eeke49 with SMTP id e49so588770eek.13 for ; Sun, 27 May 2012 12:14:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=hX7QgmvTgZiDcyVHIhQS6QjD1e96oOZO/s5LCEWzhf4=; b=YKZ1GpChJkTyKv0QWQc1bXqqRtHfHKKhbun49XAexpEAmYRpHPE+ar/n2UUt7psx2C 6mwG7pFSvSJW2PavafHbOsYaLhBTQrMXZOtL2aDidAEaUXDpwFkXkyltyp5Hq+ndK/oE axfqgL/ETgbwxKL1SNcNqOpRbXnc/ITy8S9R1EqhhbmIikHlODdJq3LNwSTpRkYSx3MB 65hUS+i22ldmlIszREF6i9oKjc8wbxJshjk2ncifxeDpLJvabknv/+iod9BplNSWYVEe Nvm/Ybujuc+FhIYW6MmWsU+YzHi16OIbTVQ3l01M2gTccLw54GHNwY372nkOBqDYIa8g uTRQ== Received: by 10.14.48.10 with SMTP id u10mr1031536eeb.205.1338146046402; Sun, 27 May 2012 12:14:06 -0700 (PDT) Received: from X220.optiplex-networks.com (81-178-2-118.dsl.pipex.com. [81.178.2.118]) by mx.google.com with ESMTPS id z5sm29122173eem.3.2012.05.27.12.14.04 (version=SSLv3 cipher=OTHER); Sun, 27 May 2012 12:14:04 -0700 (PDT) Message-ID: <4FC27CFA.6030102@gmail.com> Date: Sun, 27 May 2012 20:14:02 +0100 From: Kaya Saman User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120430 Thunderbird/12.0.1 MIME-Version: 1.0 To: ohauer@FreeBSD.org References: <4FC24C89.1080405@gmail.com> <4FC27B33.6040906@FreeBSD.org> In-Reply-To: <4FC27B33.6040906@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-ports@freebsd.org Subject: Re: ATmail Port not working? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 May 2012 19:14:13 -0000 On 05/27/2012 08:06 PM, Olli Hauer wrote: > On 2012-05-27 17:47, Kaya Saman wrote: >> Hi, >> >> I am currently in the process of testing ATmail as a replacement to my currently running old Zimbra setup. >> I would like to get rid of Linux and migrate my mail system onto FreeBSD. > :) > >> However, for some reason the ATmail port isn't working. >> I have contacted the port maintainer about it who told me that it would be fixed ASAP but I haven't heard anything since and trying to do a port upgrade didn't yield anything either. > >> My issue is that I keep getting this on the initial install: >> >> *Deprecated*: Assigning the return value of new by reference is deprecated in */usr/local/www/atmail/libs/PEAR/DB.php* on line *472* >> *Deprecated*: Assigning the return value of new by reference is deprecated in */usr/local/www/atmail/libs/PEAR/DB.php* on line *549* >> *Deprecated*: Assigning the return value of new by reference is deprecated in */usr/local/www/atmail/libs/PEAR/DB.php* on line *1204* >> *Deprecated*: Assigning the return value of new by reference is deprecated in */usr/local/www/atmail/libs/PEAR/PEAR.php* on line *569* >> *Deprecated*: Assigning the return value of new by reference is deprecated in */usr/local/www/atmail/libs/PEAR/PEAR.php* on line *572* >> >> *Strict Standards*: Non-static method DB::connect() should not be called statically in */usr/local/www/atmail/install/step2.php* on line *97* >> *Strict Standards*: Non-static method DB::parseDSN() should not be called statically in */usr/local/www/atmail/libs/PEAR/DB.php* on line *522* >> *Strict Standards*: Non-static method DB::isError() should not be called statically in */usr/local/www/atmail/libs/PEAR/DB.php* on line *559* >> *Strict Standards*: Non-static method DB::isError() should not be called statically in */usr/local/www/atmail/install/step2.php* on line *99* >> >> *Warning*: Cannot modify header information - headers already sent by (output started at /usr/local/www/atmail/libs/PEAR/DB.php:472) in */usr/local/www/atmail/install/index.php* on line *137* > > The messages are coming from backward compatibility with php4 > To get rid of "Deprecate: ..." look at the lines for '=& BlaBla' or '=&BlaBla' change them to '= BlaBla' > > I have no quick solution for the "Strict Standards" errors, you can *suppress* them by changing the error_reporting variable in php.ini but this *does not* fix the issue. > Changing the error_report variable is not recommend, the code should be fixed! I don't think I'd change the PhP code at this stage since it won't be consistent and I prefer your statement below anyhow for a fix! > > >> I have tried changing both MySQL and PHP versions which didn't have any luck. >> Current PHP version is 5.4 as 5.2 and 5.3 don't even display the index.php install page. >> >> MySQL was 5.5 but now is 5.0.x from ports. >> >> >> What can I do to get this working? >> >> >> The version of ATmail is also quite old it seems as is version 5 (1.0.5), however ATmail 6 is out....... > Where have you found ATmail 6 ?? > Current download is 1.0.5 Not in ports but on the ATmail site. > >> Can anybody help me getting ATmail working? > The following patch updates ATmail to version 1.0.5 (no guaranty since I'm not using ATmail) > http://people.freebsd.org/~ohauer/diffs/atmail-1.0.5.diff > > Please open a PR for the update, maybe even report your error messages to the ATmail project so they can fix the code. I will get in contact with ATmail then, I hope then I will be able to test properly. Once I can see the difference between ATmail and Zimbra I will choose one option. Just wish there was a FreeBSD port to Zimbra too though work was done on an ancient version I haven't seen any development since :-( I did try posting here to see what was going on and apparently not much is.... :-( Oh well..... Linux is a pain in the ASCII but it seems for certain things one still needs it. > > -- > Regards, > olli Thanks for the response and regards, Kaya