Hi,

Patched code works correctly with my normal build process on Win32 (wxWidgets 
pre-built) and I now get correct values in my Config.

I have just set a build in progress to test download and build of wxWidgets 
from scratch. I will post result when complete.

Regards

Mark



Mattia Barbon wrote:
Mark Dootson wrote:
F.Y.I.

I don't know if this helps in tracking down the problem, but on Win32

  Yes, it does, and your analisys is correct.

perl Build.PL --prefix=F:/path/i/want

works fine and Alien::wxWidgets gets installed where I have specified.

However, I am not using Alien to build wxWidgets and in my
package Alien::wxWidgets::Config::msw_2_8_7_uni_mslu_gcc_3_4;

the config vars for include_path, link_libraries etc. all point to the standard sitearch location, not the location where Alien::wxWidgets has actually been installed.


I used to patch 'My::Build::Utility;' with an ugly none portable hack to fix this ( the methods in question always return $Config{sitearchexp} )

The patch is attached as it is tested and does work if the env variable '$ENV{WX_BUILDENV_LIB}' is set. A better approach using some other method of setting $BUILDLIBPREFIX would solve this problem I think.

  Tentative and hopefully correct patch attached below (it passes
a sane-looking --refix value to configure, but it will be a couple
of hours before the Linux build finishes and I can check...).

  And I haven't checked on Win32/Mac yet.

Thanks!
Mattia



Reply via email to