On Fri, 2009-05-22 at 10:13 +0200, Stephan Bergmann wrote: > On 05/20/09 20:20, Adam Tauno Williams wrote: > > On one of our webservers with use PUNO (the PHP UNO module > > <http://www.wstech2.net/index.php?do=puno_install>) to communicate with > > OOo running as a service. In that case it is openSUSE 10.3 with > > OpenOffice_org-2.3.0.1.2-10.5. The module builds an works perfectly. > > Now we need to deploy on openSUSE 11.1 with OpenOffice_org-3.0.1.3-3.1. > > But unforunately the module fails to build since [as I interpret it) the > > UNO API has changed: > > OK: tar xf puno-0.6.tar.gz > Where did you get that tar file from? I do not know what it is.
<http://sourceforge.net/project/showfiles.php?group_id=197229> The download link on <http://puno.sourceforge.net/install.html> results in a 404 error (object not found) on <http://www.wstech2.net/downloads.html> The PUNO page at <http://puno.sourceforge.net/install.html> points to <http://puno.sourceforge.net/downloads.html> which links to the PUNO 0.6 and PUNO 0.5 TGZs. > > OK: cd puno-0.6 > > OK: /usr/lib/ooo3/basis3.0/sdk/setsdkenv_unix > > OK: phpize > > OK: ./configure --with-puno=/usr/lib/ooo3/basis3.0/sdk > > OK: make cppumaker > > FAILS: make install (or just make) > > /usr/lib/ooo3/basis3.0/sdk/include/cppu/unotype.hxx: In static member > > function 'static const com::sun::star::uno::Type& cppu::UnoType< > > <template-parameter-1-1> >::get() [with T = int]': > > /usr/lib/ooo3/basis3.0/sdk/include/cppu/unotype.hxx:293: instantiated > > from 'const com::sun::star::uno::Type& cppu::getTypeFavourUnsigned(const > > T*) [with T = int]' > > /usr/lib/ooo3/basis3.0/sdk/include/com/sun/star/uno/Any.hxx:205: > > instantiated from 'void > > com::sun::star::uno::operator<<=(com::sun::star::uno::Any&, const C&) > > [with C = int]' > > /root/puno-0.6/funcs.cpp:232: instantiated from here > > /usr/lib/ooo3/basis3.0/sdk/include/cppu/unotype.hxx:272: error: call of > > overloaded 'cppu_detail_getUnoType(int*)' is ambiguous > > /usr/lib/ooo3/basis3.0/sdk/include/cppu/unotype.hxx:159: note: > > candidates are: const com::sun::star::uno::Type& > > cppu::detail::cppu_detail_getUnoType(const sal_Int32*) <near match> > > /usr/lib/ooo3/basis3.0/sdk/include/cppu/unotype.hxx:164: note: > > const com::sun::star::uno::Type& > > cppu::detail::cppu_detail_getUnoType(const sal_uInt32*) <near match> > > make: *** [puno.lo] Error 1 > Looks like a compiler issue. Which GCC version exactly are you using? yannigan-green:~/puno-0.6 # gcc --version gcc (SUSE Linux) 4.3.2 [gcc-4_3-branch revision 141291] Copyright (C) 2008 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. yannigan-green:~/puno-0.6 # gcc -v Using built-in specs. Target: i586-suse-linux Configured with: ../configure --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib --libexecdir=/usr/lib --enable-languages=c,c++,objc,fortran,obj-c++,java,ada --enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.3 --enable-ssp --disable-libssp --with-bugurl=http://bugs.opensuse.org/ --with-pkgversion='SUSE Linux' --disable-libgcj --disable-libmudflap --with-slibdir=/lib --with-system-zlib --enable-__cxa_atexit --enable-libstdcxx-allocator=new --disable-libstdcxx-pch --enable-version-specific-runtime-libs --program-suffix=-4.3 --enable-linux-futex --without-system-libunwind --with-cpu=generic --build=i586-suse-linux Thread model: posix gcc version 4.3.2 [gcc-4_3-branch revision 141291] (SUSE Linux) > (I guess the above tar file comes not from OOo, but from Novell's go-oo > fork. In that case, please ask the go-oo folks for help---or switch to > the true OOo.) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@udk.openoffice.org For additional commands, e-mail: dev-h...@udk.openoffice.org