lmi
[Top][All Lists]
Advanced

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

Re: [lmi] error building libxml using install_msw.sh


From: Greg Chicares
Subject: Re: [lmi] error building libxml using install_msw.sh
Date: Sat, 18 Jun 2011 21:08:44 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10

On 2011-06-18 12:13Z, Greg Chicares wrote:
> 
> It's a pleasant duty to note publicly that Corinna Vinschen has
> already addressed the present problem AFAICT:
>   http://cygwin.com/ml/cygwin/2011-06/msg00227.html

And this later message lists some recommended steps:
  http://cygwin.com/ml/cygwin/2011-06/msg00230.html
|       export lt_cv_to_tool_file_cmd=func_convert_file_cygwin_to_w32
|       export PATH="/c/MinGW/bin:${PATH}"
|       configure --build=i686-pc-cygwin \
|               --host=mingw32 \
|               NM=/c/MinGW/bin/nm.exe

In 'install_libxml2_libxslt.make', we already have:
  --build=i686-pc-cygwin \
  --host=i686-pc-mingw32 \
       NM='$(mingw_bin_dir)/nm' \
so I guess we should add the rest there, something like this:
        cd $(xml_dir)/$(notdir $@) \
+         && export lt_cv_to_tool_file_cmd=func_convert_file_cygwin_to_w32 \
+         && export PATH="/c/MinGW/bin:${PATH}" \
          && ./configure --prefix=$(prefix) $($(notdir $@)_options) \
          && $(MAKE) \
          && $(MAKE) install \
except that we're not using "/c/MinGW/bin". That looks like an MSYS
path; should we use a Cygwin path there?

And perhaps we should modify 'install_wx.make' too. Like the other
makefile, it already has:
  --build=i686-pc-cygwin \
  --host=i686-pc-mingw32 \
       NM='$(mingw_bin_dir)/nm' \
so I guess a patch like this would take care of the rest of Charles's
recommendations:
 .PHONY: wx
 wx:
+          export lt_cv_to_tool_file_cmd=func_convert_file_cygwin_to_w32 \
+       && export PATH="/c/MinGW/bin:${PATH}" \
+       && ../configure $(config_options) && $(MAKE) && $(MAKE) install
-       ../configure $(config_options) && $(MAKE) && $(MAKE) install
but with the same question about "/c/MinGW/bin" as above.



reply via email to

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