mingw-cross-env-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Mingw-cross-env-list] Xerces library problem


From: tek
Subject: Re: [Mingw-cross-env-list] Xerces library problem
Date: Wed, 14 Jul 2010 15:21:49 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.9.1.10) Gecko/20100619 Icedove/3.0.5

On 07/12/2010 02:22 PM, Volker Grabsch wrote:
The relevant part of your log is the following command:
     /bin/sh ../libtool --tag=CXX   --mode=link i686-pc-mingw32-g++ ...

which causes some strange error messages:

     eval: 1: libtool_args+=: not found
     eval: 1: compile_command+=: not found
     eval: 1: finalize_command+=: not found
     ...

That's why I'd like to know more about the "/bin/sh" of your system.

I finally found the root of the issue. This is due to a recent change in Debian to speed-up boot:

https://wiki.ubuntu.com/DashAsBinSh

Here's how I resolved it:

$ cd /opt/mingw
$ sudo rm /bin/sh && sudo ls -s /bin/bash /bin/sh
$ rm usr/installed/xerces
$ make xerces
$ sudo rm /bin/sh && sudo ls -s /bin/dash /bin/sh

And finally:

$ ls -l usr/i686-pc-mingw32/lib/libxerces*

-rw-r--r-- 1 tek tek 35991560 Jul 14 14:53 usr/i686-pc-mingw32/lib/libxerces-c.a -rwxr-xr-x 1 tek tek 1256 Jul 14 14:53 usr/i686-pc-mingw32/lib/libxerces-c.la

I did not test it yet, but at least, it seems a lot more correct now.

Thank you Volker for pointing me in the right direction. As far as I understood it, it does not seem to be a problem in the mingw-cross-env's xerces.mk file, but deeper into the Xerces build.

Please confirm, so I can report it to the Xerces maintainers.

Regards.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]