From owner-freebsd-apache@FreeBSD.ORG Fri Feb 18 22:02:09 2011 Return-Path: Delivered-To: apache@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E4FD5106564A for ; Fri, 18 Feb 2011 22:02:09 +0000 (UTC) (envelope-from ohauer@FreeBSD.org) Received: from u18-124.dslaccess.de (unknown [194.231.39.124]) by mx1.freebsd.org (Postfix) with ESMTP id 908248FC19 for ; Fri, 18 Feb 2011 22:02:09 +0000 (UTC) Received: from [172.20.1.100] (unknown [172.20.1.100]) by u18-124.dslaccess.de (Postfix) with ESMTPSA id BDFCB20688; Fri, 18 Feb 2011 23:02:05 +0100 (CET) Message-ID: <4D5EEC68.1030507@FreeBSD.org> Date: Fri, 18 Feb 2011 23:02:16 +0100 From: Olli Hauer User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: Andrew Sinclair References: <4D5BAB5B.2010501@gmail.com> In-Reply-To: <4D5BAB5B.2010501@gmail.com> X-Enigmail-Version: 1.1.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: apache@FreeBSD.org Subject: Re: www/apache22: configure: error: Size of "void *" is less than size of "long" X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ohauer@FreeBSD.org List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Feb 2011 22:02:10 -0000 On 2011-02-16 11:47, Andrew Sinclair wrote: > Configuration fails in relation to a primitive type: > Size of "void *" is less than size of "long" > > As requested by script, config.log is attached. > Compilation attempt 1,2 in install.txt attached. > Output of attempt 2 follows: > > [ Wed Feb 16 ] [ 21:06:43 ] root@q-73-exe:/usr/ports/www/apache22 > # (date;time make install;date)|tee -a install.txt > Wed Feb 16 21:07:06 CST 2011 [...] > checking for void pointer length... yes > configure: error: Size of "void *" is less than size of "long" This error is strange ... $> cd /tmp create a file named test.c and copy the following lines into the file #include int main(void) { printf("sizeof(void *) = %d ; sizeof(long) = %d\n", sizeof(void *), sizeof(long)); return sizeof(void *) < sizeof(long); } Now build the file with the following command (note, no file extension) $> make test and send us the output of the following command $> ./test; echo $?