Juergen Schmidt wrote:
Hi Daniel,
i will verify your patch and will let you know asap.
i mean i will correct the code because dlopen can't be used here. This
peace can not work under Mac and the 3 layer office.
Juergen
If it works i will
take care that it comes into the 3.1.
And if i have time i will check it with Python 2.5 or directly 2.6 as well.
Juergen
Darabos Dániel wrote:
In general are the configure switches used in the official builds
available somewhere? I mean not just for the Mac builds.
The official Sun builds do not use configure, but rather some home-brown
mechanism ("setsolar"), for which the relevant data is taken from the
file
mentioned above (and Sun Release Engineering can probably tell you more
about that file format and the exact mechanisms at play).
That is nice to know!
I have been able to make some progress. Python extensions work fine
for me with this patch to pyuno/source/module/pyuno_dlopenwrapper.cxx:
- void* h = dlopen (SAL_DLLPREFIX "pyuno" SAL_DLLEXTENSION ,
RTLD_NOW | RTLD_GLOBAL);
+ void* h = dlopen
("/Users/cyhawk/Desktop/OpenOffice.org.app/Contents/basis-link/program/"
SAL_DLLPREFIX "pyuno" SAL_DLLEXTENSION , RTLD_NOW | RTLD_GLOBAL);
This is of course not a general fix :). Any idea why dlopen does not
find libpyuno.dylib in the same folder that this code (pyuno.so) is
executed from?
It is also nice that with this modification my build of pyuno works
great with my 2.5 system python. This means that this issue has a very
simple fix, that could hopefully find its way to a release soon.
Regards,
Daniel
---------------------------------------------------------------------
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]