To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=48011
                  Issue #:|48011
                  Summary:|libofficebean.so was not build on LinuxPPC
                Component:|porting
                  Version:|680m96
                 Platform:|PowerPC
                      URL:|
               OS/Version:|Linux
                   Status:|NEW
        Status whiteboard:|
                 Keywords:|
               Resolution:|
               Issue type:|PATCH
                 Priority:|P3
             Subcomponent:|code
              Assigned to:|ericb
              Reported by:|ericb





------- Additional comments from [EMAIL PROTECTED] Sat Apr 23 00:50:52 -0700 
2005 -------
Linux PPC  /  Java sdk  : IBMJava2-ppc-142 / gcc-3.3  / kernel 2.6.9 ( 
Debian-sid  )


libofficebean was not build on Linux PPC, because :

1) 

libjawt not found  -> bad $SOLARLIB  ( this library is in $JAVA_HOME/jre/bin )

Making: ../../unxlngppc.pro/lib/libofficebean.so
ccache g++ -Wl,-rpath,'$ORIGIN' -shared -L../../unxlngppc.pro/lib -L../lib
-L/home/eric/OpenOffice_680/solenv/unxlngppc/lib
-L/home/eric/OpenOffice_680/solver/680/unxlngppc.pro/lib
-L/home/eric/OpenOffice_680/solenv/unxlngppc/lib
-L/usr/local/IBMJava2-ppc-142/lib -L/usr/local/IBMJava2-ppc-142/jre/lib/ppc
-L/usr/local/IBMJava2-ppc-142/jre/lib/ppc/classic
-L/usr/local/IBMJava2-ppc-142/jre/lib/ppc/native_threads -L/usr/X11R6/lib
../../unxlngppc.pro/slo/officebean_version.o -o
../../unxlngppc.pro/lib/libofficebean.so
../../unxlngppc.pro/slo/com_sun_star_comp_beans_LocalOfficeWindow.o
../../unxlngppc.pro/slo/com_sun_star_beans_LocalOfficeWindow.o -ljawt -lstdc++
-ldl -lpthread -lm
/usr/bin/ld: ne peut trouver -ljawt
collect2: ld a retournà 1 code d'Ãtat d'exÃcution
dmake:  Error code 1, while making '../../unxlngppc.pro/lib/libofficebean.so'
'---* tg_merge.mk *---'

ERROR: Error 65280 occurred while making 
/home/eric/OpenOffice_680/bean/native/unix
[EMAIL PROTECTED]:~/OpenOffice/bean$ mc

2) 

libjvm.so not found -> bad solarlib   (this library is in
$JAVA_HOME/jre/bin/classic )

Making: ../../unxlngppc.pro/lib/libofficebean.so
ccache g++ -Wl,-rpath,'$ORIGIN' -shared -L../../unxlngppc.pro/lib -L../lib
-L/home/eric/OpenOffice_680/solenv/unxlngppc/lib
-L/home/eric/OpenOffice_680/solver/680/unxlngppc.pro/lib
-L/home/eric/OpenOffice_680/solenv/unxlngppc/lib
-L/usr/local/IBMJava2-ppc-142/lib -L/usr/local/IBMJava2-ppc-142/jre/lib/ppc
-L/usr/local/IBMJava2-ppc-142/jre/lib/ppc/classic
-L/usr/local/IBMJava2-ppc-142/jre/bin
-L/usr/local/IBMJava2-ppc-142/jre/lib/ppc/native_threads -L/usr/X11R6/lib
../../unxlngppc.pro/slo/officebean_version.o -o
../../unxlngppc.pro/lib/libofficebean.so
../../unxlngppc.pro/slo/com_sun_star_comp_beans_LocalOfficeWindow.o
../../unxlngppc.pro/slo/com_sun_star_beans_LocalOfficeWindow.o -ljawt -lstdc++
-ldl -lpthread -lm
rm -f ../../unxlngppc.pro/lib/check_libofficebean.so
mv ../../unxlngppc.pro/lib/libofficebean.so
../../unxlngppc.pro/lib/check_libofficebean.so
/home/eric/OpenOffice_680/solenv/bin/checkdll.sh -L../../unxlngppc.pro/lib
-L../lib -L/home/eric/OpenOffice_680/solenv/unxlngppc/lib
-L/home/eric/OpenOffice_680/solver/680/unxlngppc.pro/lib
-L/home/eric/OpenOffice_680/solenv/unxlngppc/lib
-L/usr/local/IBMJava2-ppc-142/lib -L/usr/local/IBMJava2-ppc-142/jre/lib/ppc
-L/usr/local/IBMJava2-ppc-142/jre/lib/ppc/classic
-L/usr/local/IBMJava2-ppc-142/jre/bin
-L/usr/local/IBMJava2-ppc-142/jre/lib/ppc/native_threads -L/usr/X11R6/lib
../../unxlngppc.pro/lib/check_libofficebean.so
Checking DLL ../../unxlngppc.pro/lib/check_libofficebean.so ...: ERROR:
libjvm.so: cannot open shared object file: No such file or directory
dmake:  Error code 1, while making '../../unxlngppc.pro/lib/libofficebean.so'
'---* tg_merge.mk *---'

 
A solution :

Add -L$JAVA_HOME/jre/bin -L$JAVA_HOME/jre/bin/classic  to the environment
variable SOLARLIB


-> See attached patch

---------------------------------------------------------------------
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