From owner-freebsd-questions@FreeBSD.ORG Sun Nov 9 16:45:51 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4459516A4CE for ; Sun, 9 Nov 2003 16:45:51 -0800 (PST) Received: from ms-smtp-01-eri0.southeast.rr.com (ms-smtp-01-lbl.southeast.rr.com [24.25.9.100]) by mx1.FreeBSD.org (Postfix) with ESMTP id 592E043FDF for ; Sun, 9 Nov 2003 16:45:50 -0800 (PST) (envelope-from jason@ec.rr.com) Received: from ec.rr.com (cpe-024-211-231-149.ec.rr.com [24.211.231.149]) hAA0jkgd025019; Sun, 9 Nov 2003 19:45:47 -0500 (EST) Message-ID: <3FAEDF92.5040907@ec.rr.com> Date: Sun, 09 Nov 2003 19:45:06 -0500 From: Jason User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.5) Gecko/20031205 Thunderbird/0.3 X-Accept-Language: en-us, en MIME-Version: 1.0 To: sham khalil References: <20031110075104.R556@shmbsd5.kopiesatu.com> In-Reply-To: <20031110075104.R556@shmbsd5.kopiesatu.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Symantec AntiVirus Scan Engine cc: freebsd-questions@freebsd.org Subject: Re: Openoffice install error X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Nov 2003 00:45:51 -0000 sham khalil wrote: >i want to install openoffice on my FreeBSD-4.9-RELEASE >my /usr is only 3.1G, it said I need 4G >so i put my /usr/ports into /home which i have plenty of space >/usr/ports -> /home/ports > >i can't install openoffice with both command, make install and >portinstall. > >error message is in the attachment > >thanks you. >sham khalil > > > >install comand: make install clean >================================== > >../../../dist/include/docshell/nsIDocShell.h:750: virtual outside class > declaration >../../../dist/include/docshell/nsIDocShell.h:750: function `nsresult > SetScheme(const nsAString&)' is initialized like a variable >../../../dist/include/docshell/nsIDocShell.h:752: syntax error before `}' token >../../../dist/include/docshell/nsIDocShell.h:784:11: warning: no newline at end >of file >../../../dist/include/docshell/nsIDocShell.h:711:1: unterminated #ifndef >nsObserverBase.cpp: In member function `virtual nsresult > nsObserverBase::NotifyWebShell(nsISupports*, nsISupports*, const char*, > int)': >nsObserverBase.cpp:76: `nsIDocShell' undeclared (first use this function) >nsObserverBase.cpp:76: (Each undeclared identifier is reported only once for > each function it appears in.) >nsObserverBase.cpp:76: template argument 1 is invalid >nsObserverBase.cpp:76: ISO C++ forbids declaration of `docshell' with no type >nsObserverBase.cpp:76: cannot convert `const nsQueryInterface' to `int' in > initialization > > This says in the file nsObserverBase.cpp there is a typo or syntax error at lines 76 and 79. I have seen the same type error from using -O2 or higher on gcc. Try -O when you compile it, check the file for errors if you are good at programing, or download the src again. >nsObserverBase.cpp:79: invalid conversion from `int' to `nsISupports*' >nsObserverBase.cpp:79: initializing argument 1 of `const nsQueryInterface > do_QueryInterface(nsISupports*, nsresult*)' >{standard input}: Assembler messages: >{standard input}:13: Error: symbol `GetForm' is already defined > >