To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=74751
                 Issue #|74751
                 Summary|libmawt.so not found for x86_64 when using Sun JDK6
               Component|porting
                 Version|OOo 2.2 RC1
                Platform|Opteron/x86_64
                     URL|
              OS/Version|Linux
                  Status|UNCONFIRMED
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|code
             Assigned to|mh
             Reported by|andyrtr





------- Additional comments from [EMAIL PROTECTED] Wed Feb 21 20:34:20 +0000 
2007 -------
Using the precompiled Sun amd64 package we have

[EMAIL PROTECTED] ~]$ locate libmawt.so
/opt/java/jre/lib/amd64/xawt/libmawt.so
/opt/java/jre/lib/amd64/motif21/libmawt.so
/opt/java/jre/lib/amd64/headless/libmawt.so

build fails as the xawt path is set to /opt/java/jre/lib/amd64/ instead of
/opt/java/jre/lib/amd64/xawt/. A symlink in our jdk package is the worst
possible solution. It should better be detected and the path correctly added by
runtime or add it to config_office/set_soenv.in like that:

[EMAIL PROTECTED] openoffice-base]$ cat awt_x86_64.diff 
--- config_office/set_soenv.in  2007-02-21 16:31:51.000000000 +0100
+++ config_office/set_soenv.in.new      2007-02-21 20:37:17.000000000 +0100
@@ -426,6 +426,7 @@
       $OUTPATH        = "unxlngx6";
       # Blackdown.org JDK porting project uses `amd64' and `server' in JDK
1.4.2 RC1
       $JRELIBDIR      = '$JAVA_HOME'.$ds."jre".$ds."lib".$ds."amd64";
+      $JREEXTRALIBDIR = 
'$JAVA_HOME'.$ds."jre".$ds."lib".$ds."amd64".$ds."xawt";
       $JRETOOLKITDIR  = 
'$JAVA_HOME'.$ds."jre".$ds."lib".$ds."amd64".$ds."server";
       $JRETHREADDIR   =
'$JAVA_HOME'.$ds."jre".$ds."lib".$ds."amd64".$ds."native_threads";
    }

That worked here well.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to