Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Jun 2002 00:38:45 +0200 (CEST)
From:      Martin Blapp <mb@imp.ch>
To:        Martin Blapp <mbr@FreeBSD.org>
Cc:        <cvs-committers@FreeBSD.org>, <cvs-all@FreeBSD.org>, <ports@FreeBSD.org>, Alexander Kabaev <ak03@gte.com>, "Carlos F. A. Paniago" <pan@panix.ecof.org.br>, Tim Tretyak <timothy@umc.com.ua>
Subject:   Re: cvs commit: ports/editors/openoffice/files patch-moz::zipped::makefile.mk
Message-ID:  <20020604001854.S880-100000@levais.imp.ch>
In-Reply-To: <200206032217.g53MHIw59895@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

Hi all,

>   Revision  Changes    Path
>   1.1       +10 -0     ports/editors/openoffice/files/patch-moz::zipped::makefile.mk (new)

This just comitted fix does make the OO build on recent CURRENT complete. OO
build and installs fine. Unfortunatly there are still startup issues,
so soffice.bin does coredump. The reasons are not known at the moment.

Note:
-----

You need a up to date CURRENT from today to build this. And a fresh libstd++
with the stups.c file compiled in. Else you'll end with unresolved math symbols.


And now to the help I need:


1.) Debug build and debugging information needed
------------------------------------------------

If you like to help me with debugging, do the following:

# Extract and patch the source
$make patch

# Add -g compiler flag to CFLAGSCC and CFLAGS
$vi work/oo_1.0_src/solenv/inc/unxfbsdi.mk

$make

And report any problems to me. The build does now run ok, it takes
about 6 hours on a Pentium 4 with gcc2 (on STABLE, but the code is broken
there at the moment), and about 7 hours with gcc3.


2.) gcc31 port issues
---------------------

Due gcc3.1 port issues, one can not build OO with gcc31 or gcc32 from ports.
There are unresolved symbols. Fixes for the gcc31/32 ports are highly welcome.


3.) OO on STABLE
----------------

OO does compile fine on STABLE. To run it, some gcc fixes are needed (Currently
in work by Alexander Kabaev.) Even with the gcc fixes, openoffice will not run,
since the exception handling is based on dwarf2 exceptions. Since we don't use
them in STABLE gcc2.95.3, the code parts need to be ported. (This is currently
in work by Alexander Kabaev.)

Where I need help, is to detect the setup crashes in the OO installation. For
some reason this only happens on STABLE.

To be able to debug, you'll need this patch. Else the .core files are removed
each time :-/

--- setup2/mow/source/loader/loader.c.orig2     Tue May 28 11:10:31 2002
+++ setup2/mow/source/loader/loader.c   Tue May 28 11:13:03 2002
@@ -902,6 +902,7 @@

 void KillSetupDir()
 {
+#if 0
     DIR* pDir = opendir( strTmpPath );
     struct dirent* pFile;

@@ -915,6 +916,10 @@

     chdir( strInitPath );
     rmdir( strTmpPath );
+#else
+    fprintf(stderr, "\nLeaving behind temporary directory: %s\n",
+       strTmpPath);
+#endif
 }

 void makeSymLink( char* s )


Thank you for any help you provide.

Martin



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020604001854.S880-100000>