On Sat, Sep 24, 2011 at 01:12:18AM -0300, Ariel Constenla-Haile wrote:
> I can see that error too. This is the problem:
> 
> * the sax module is a dependency of unoxml, see unoxml/prj/build.lst
> * solver/340/unxlngx6.pro/lib/libsaxlx.so does not exist, though it
>   should have been built in sax module. Looking there, the library is
>   now named libsax.so instead of libsaxlx.so, see sax/unxlngx6.pro/lib; 
>   and is so copied to the solver. 
>   When checking for the dependencies, the library is not found; 
>   output of make -rd in unoxml:
> 
> Considering target file
> `/mnt/build/openoffice/apache/trunk/main/solver/340/unxlngx6.pro/lib/libsaxlx.so'.
> File
> `/mnt/build/openoffice/apache/trunk/main/solver/340/unxlngx6.pro/lib/libsaxlx.so'
> does not exist.
> Looking for an implicit rule for
> `/mnt/build/openoffice/apache/trunk/main/solver/340/unxlngx6.pro/lib/libsaxlx.so'.
> Trying pattern rule with stem `libsaxlx'.
> Found an implicit rule for
> `/mnt/build/openoffice/apache/trunk/main/solver/340/unxlngx6.pro/lib/libsaxlx.so'.
> Finished prerequisites of target file
> `/mnt/build/openoffice/apache/trunk/main/solver/340/unxlngx6.pro/lib/libsaxlx.so'.
> Must remake target
> `/mnt/build/openoffice/apache/trunk/main/solver/340/unxlngx6.pro/lib/libsaxlx.so'.
> Invoking recipe from
> /mnt/build/openoffice/apache/trunk/main/solenv/gbuild/Library.mk:53 to
> update target
> `/mnt/build/openoffice/apache/trunk/main/solver/340/unxlngx6.pro/lib/libsaxlx.so'.
> R=/mnt/build/openoffice/apache/trunk && S=$R/main &&
> O=$S/solver/340/unxlngx6.pro && W=$O/workdir &&  mkdir -p $O/lib/ &&
> /bin/cp --remove-destination --force --preserve=timestamps
> $O/lib/libsaxlx.so 
> 
> bin/cp: missing destination file operand after
> `/mnt/build/openoffice/apache/trunk/main/solver/340/unxlngx6.pro/lib/libsaxlx.so'
> Try `/bin/cp --help' for more information.
> 
> 
> libsaxlx.so does not exist, so make tries to build it with a gbuild
> recipe!
> Yes, the cp command is wrong, but that's not the root cause of the
> error.
> It looks libsax.so should be named libsaxlx.so and delivered to the
> solver with that name.
> IMO we should investigate why the name has changed.


If I got it right, the problem is in solenv/inc/unxlngx.mk
http://svn.apache.org/viewvc/incubator/ooo/trunk/main/solenv/inc/unxlngx.mk?r1=1162288&r2=1174164&diff_format=h

DLLPOSTFIX=

before

DLLPOSTFIX=lx

If the DLLPOSTFIX is changed there, I guess it should be changed also in
solenv/gbuild/platform/linux.mk.


Regards
-- 
Ariel Constenla-Haile
La Plata, Argentina

Attachment: pgpMGShaV4QMB.pgp
Description: PGP signature

Reply via email to