From owner-freebsd-stable@FreeBSD.ORG Tue Feb 1 12:07:25 2005 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1108916A4CE; Tue, 1 Feb 2005 12:07:25 +0000 (GMT) Received: from postfix3-1.free.fr (postfix3-1.free.fr [213.228.0.44]) by mx1.FreeBSD.org (Postfix) with ESMTP id 759E343D31; Tue, 1 Feb 2005 12:07:24 +0000 (GMT) (envelope-from ivan.roth@free.fr) Received: from imp2-q.free.fr (imp2-q.free.fr [212.27.42.2]) by postfix3-1.free.fr (Postfix) with ESMTP id D187917348C; Tue, 1 Feb 2005 13:07:23 +0100 (CET) Received: by imp2-q.free.fr (Postfix, from userid 33) id AD9E05455C; Tue, 1 Feb 2005 13:07:23 +0100 (MET) Received: from leclerc-1-81-56-33-141.fbx.proxad.net (leclerc-1-81-56-33-141.fbx.proxad.net [81.56.33.141]) by imp2-q.free.fr (IMP) with HTTP for ; Tue, 1 Feb 2005 13:07:23 +0100 Message-ID: <1107259643.41ff70fb94772@imp2-q.free.fr> Date: Tue, 1 Feb 2005 13:07:23 +0100 From: ivan.roth@free.fr To: Peter Olsson References: <20050201104045.O43425@pol.leissner.se> In-Reply-To: <20050201104045.O43425@pol.leissner.se> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.2.5 X-Originating-IP: 81.56.33.141 cc: freebsd-stable@freebsd.org cc: freebsd-ports@freebsd.org Subject: Re: Problems with OpenOffice compile after upgrade from 5.2.1 to 5.3 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Feb 2005 12:07:25 -0000 Selon Peter Olsson : > I recently upgraded from 5.2.1-p{something} to 5.3-p5. > The system seems fine after the upgrade, but I have one problem. > > The reason for the upgrade to 5.3 was to be able to compile > OpenOffice, but when I tried to do that I got an error in the > dmake part stating that the file types.h didn't exist. While > searching for the cause of this problem I ended up in the directory > /usr/local/lib/gcc-lib/i386-portbld-freebsd5.2.1/3.2.3, where > I moved away the whole include directory. Then the OpenOffice > compile could finish the dmake part and continue. > > Later in the compile I got errors because the include directory > was missing, so I moved it back. Now I get the error below about > types.h. > > I think that the problem has to do with the fact that the files > in /usr/local/lib/gcc-lib/ seem to be from the 5.2.1 release I had > before upgrading. Why haven't these files been upgraded and how can > I fix the problem? > > (I have to admit that I didn't go to single user before upgrading, > I just killed almost all of the processes without [] in the ps list. > This might be the cause of the problem.) > > I have successfully compiled some other applications after the upgrade, > so the gcc-lib/i386-portbld-freebsd5.2.1 problem doesn't seem to break > everything. > > Here is the current error: > > cd ./unxfbsd.pro/misc/build/STLport-4.5/src && gmake -f gcc-3.0-freebsd.mak > -j1 && touch so_built_so_stlport > g++32 -D_REENTRANT -fexceptions -I../stlport > -DGXX_INCLUDE_PATH=/usr/local/lib/gcc-lib/i386-portbld-freebsd5.2.1/3.2.3/include/g++-v3 > -Wall -W -Wno-sign-compare -Wno-unused -Wno-uninitialized -ftemplate-depth-32 > -fPIC dll_main.cpp -c -o ../lib/obj/GCC-FREEBSD/ReleaseD/dll_main.o > In file included from /usr/include/pthread.h:42, > from ../stlport/pthread.h:26, > from ../stlport/stl/_threads.h:74, > from ../stlport/stl/_alloc.h:64, > from ../stlport/memory:28, > from dll_main.cpp:38: > /usr/local/lib/gcc-lib/i386-portbld-freebsd5.2.1/3.2.3/include/sys/types.h:251: > syntax > error before `;' token > In file included from ../stlport/stl/_vector.h:572, > from ../stlport/vector:36, > from dll_main.cpp:39: > ../stlport/stl/_bvector.h:37:1: warning: "__WORD_BIT" redefined > In file included from /usr/include/sys/limits.h:36, > from /usr/include/limits.h:128, > from > /usr/local/lib/gcc-lib/i386-portbld-freebsd5.2.1/3.2.3/include/limits.h:132, > from > /usr/local/lib/gcc-lib/i386-portbld-freebsd5.2.1/3.2.3/include/syslimits.h:7, > from > /usr/local/lib/gcc-lib/i386-portbld-freebsd5.2.1/3.2.3/include/limits.h:11, > from /usr/include/pthread.h:45, > from ../stlport/pthread.h:26, > from ../stlport/stl/_threads.h:74, > from ../stlport/stl/_alloc.h:64, > from ../stlport/memory:28, > from dll_main.cpp:38: > /usr/include/machine/_limits.h:95:1: warning: this is the location of the > previous definition > gmake: *** [../lib/obj/GCC-FREEBSD/ReleaseD/dll_main.o] Fel 1 > dmake: Error code 2, while making > './unxfbsd.pro/misc/build/so_built_so_stlport' > ---* TG_SLO.MK *--- > > ERROR: Error 65280 occurred while making > /usr/ports/editors/openoffice-1.1-se/work/stlport > dmake: Error code 1, while making 'instsetoo/prj/build_all' > *** Error code 255 > > Stop in /usr/ports/editors/openoffice-1.1-se. > ---* TG_SLO.MK *--- > > Thanks! > > -- > Peter Olsson pol@leissner.se > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > I'd like to help you with my few knowledge in FreeBSD. I just have to tell that I compiled openoffice-1.1.4 yesterday but on a fresh 5.3 install and no problem (just 15 hours, is that normal?). sorry for this quite useless post but if I could help, just ask. Regards, Ivan.