Peter Olsson
2005-Feb-01 02:12 UTC
Problems with OpenOffice compile after upgrade from 5.2.1 to 5.3
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
ivan.roth@free.fr
2005-Feb-01 04:07 UTC
Problems with OpenOffice compile after upgrade from 5.2.1 to 5.3
Selon Peter Olsson <pol@leissner.se>:> 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.
Mikhail Teterin
2005-Feb-01 07:53 UTC
Problems with OpenOffice compile after upgrade from 5.2.1 to 5.3
The patch to use the system compiler (created by Gentoo for an earlier release and adapted by me to 1.1.4) was submitted to the OpenOffice port maintainer over three weeks ago -- before the port was upgraded to 1.1.4. The patch also included fixes to make the port use independently installed STL and other components currently bundled with the OOo. Unfortunately, the team-leader's attitude is that the a port should not change any aspects (however wrong) of the ported software. According to him, "gcc will always have regressions" and thus it is somehow better to stick to the old version of it. I will, hopefully, commit something like openoffice-1.1-clean soon. -mi
László Károly
2005-Feb-01 08:41 UTC
Problems with OpenOffice compile after upgrade from 5.2.1 to 5.3
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Peter Olsson wrote: | 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. | Hi, You should recompile gcc3.2.3 (cd /usr/ports/lang/gcc32; make deinstall install clean), when you do it you get the correct version as "i386-portbld-freebsd5.3". With this you can compile OO.org successfully. Furthermore, I recommend you to upgrade your system to 5.3-STABLE, on 5.3-RELEASE there are threading issues with OO.org. Best, Laci -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFB/7E9HGP5/4adgcURArDkAJ9AAYEO2ZCxvik9CrgxBq89FLBQ8gCdE0eN W/hkvbO7U7abrHp8R5P7cGM=+4Pg -----END PGP SIGNATURE-----