Hi, Did you build with -Werror. I had this error during build:/Developer/Projects/ooo/m31/connectivity/source/drivers/postgresql/ pq_driver.cxx: In constructor ‘pq_sdbc_driver ::OOneInstanceComponentFactory::OOneInstanceComponentFactory(const rtl::OUString&, com::sun::star::uno::Reference<com::sun::star::uno::XInterface> (*) (const com ::sun::star::uno::Reference<com::sun::star::uno::XComponentContext>&), const com::sun::star::uno::Sequence<rtl::OUString>&, const com ::sun::star::uno::Reference<com::sun::star::uno::XComponentContext>&)’: /Developer/Projects/ooo/m31/connectivity/source/drivers/postgresql/ pq_driver.cxx:234: warning: ‘pq_sdbc_driver::OOneInstanceComponentFactory::m_implName’ will be initialized after /Developer/Projects/ooo/m31/connectivity/source/drivers/postgresql/ pq_driver.cxx:232: warning: ‘com::sun::star::uno::Reference<com::sun::star::uno::XInterface> (* pq_sdbc_driver::OOneInstanceComponentFactory::m_create)(const com ::sun::star::uno::Reference<com::sun::star::uno::XComponentContext>&)’ /Developer/Projects/ooo/m31/connectivity/source/drivers/postgresql/ pq_driver.cxx:243: warning: when initialized here
using m31 and dmake in connectivity/source/drivers/postgresql(if you have other build instructions let me know - the wiki seems somewhat out of date)
MikeOn Wed, Jul 1, 2009 at 5:43 PM, Florian Ludwig Heckl <flor...@florian-heckl.de > wrote:
Hi Jörg, not directly following your instructions on building from source I used - postgresql 8.4.0 - a build tree of DEV300_m44 - OOo 3.1.0 as test environment (plus the build from DEV300_m44)With one minor adaption (removing -lcrypt from the driver's linker list) I got a final package built, but installation fails with the following:
./unopkg add -v /Users/fheckl/Developer/ooo/DEV300_m44/connectivity/ unxmacxi.pro/lib/postgresql-sdbc-0.7.6.zip
Copying: postgresql-sdbc-0.7.6.zip Enabling: postgresql-sdbc-0.7.6.zip Enabling: postgresql-sdbc.uno.dylibWARNING: An error occurred while enabling: postgresql- sdbc.uno.dylib, Cause: (com.sun.star.registry.CannotRegisterImplementationException) { { Message = "loading component library failed: file:///Users/fheckl/Library/Application%20Support/OpenOffice.org/3/user/uno_packages/cache/uno_packages/LXmVte_/postgresql-sdbc-0.7.6.zip/postgresql-sdbc.uno.dylib ", Context = (com.sun.star.uno.XInterface) @0 } }
Enabling: postgresql-sdbc-impl.uno.dylibWARNING: An error occurred while enabling: postgresql-sdbc- impl.uno.dylib, Cause: (com.sun.star.registry.CannotRegisterImplementationException) { { Message = "loading component library failed: file:///Users/fheckl/Library/Application%20Support/OpenOffice.org/3/user/uno_packages/cache/uno_packages/LXmVte_/postgresql-sdbc-0.7.6.zip/postgresql-sdbc-impl.uno.dylib ", Context = (com.sun.star.uno.XInterface) @0 } }
Enabling: DataAccess.xcu unopkg done. Any ideas welcome. Regards, Florian On 01.07.2009, at 22:47, Julian Zimmerle wrote: Hi!I am in need of a MacOS X version of the PostgreSQL SDBC driver, the Windows and Linux versions of which can be found at
http://dba.openoffice.org/drivers/postgresql/The developer, Joerg Budischewski (joergb...@gmx.de) told me that he does not have a Mac, but is willing to support the porting process via email.
As a little incentive, I'm offering 200 EUR (currently about 280 USD, about 40 pizzas worth ;-) to anyone who first sends me a working version.
TIA, Julian Zimmerle www.zimmerle.de --------------------------------------------------------------------- To unsubscribe, e-mail: mac-unsubscr...@porting.openoffice.org For additional commands, e-mail: mac-h...@porting.openoffice.org
smime.p7s
Description: S/MIME cryptographic signature