Request for help with Perl (p5-alien-wxwidgets)

Daniel J. Luke dluke at geeklair.net
Wed Aug 14 09:47:56 PDT 2013


On Aug 14, 2013, at 12:36 PM, Mojca Miklavec <mojca at macports.org> wrote:
> On Wed, Aug 14, 2013 at 5:36 PM, Daniel J. Luke wrote:
>> On Aug 14, 2013, at 5:44 AM, Mojca Miklavec wrote:
>>> I have some problems figuring out how the Perl's build system works
>>> and I don't manage to prevent automatic fetching of another copy of
>>> wxWidgets during configuration step of p5-alien-wxwidgets.
>> 
>> The Alien::wxWidgets README says you need to set WX_CONFIG environment variable (which the current port seems to do incorrectly).
>> 
>> http://search.cpan.org/~mdootson/Alien-wxWidgets-0.64/README.txt
> 
> I tried with
>    configure.env-append WX_CONFIG=${wxWidgets.wxconfig}
>    build.env-append WX_CONFIG=${wxWidgets.wxconfig}
> but it's always the same story:
> 
> DEBUG: Environment: CPATH='/opt/unilocal/include' CFLAGS='-pipe -Os'
> CPPFLAGS='-I/opt/unilocal/include' CXXFLAGS='-pipe -Os'
> LIBRARY_PATH='/opt/unilocal/lib' MACOSX_DEPLOYMENT_TARGET='10.7'
> CXX='/usr/bin/clang++'
> CC_PRINT_OPTIONS_FILE='/path/to/p5.12-alien-wxwidgets/work/.CC_PRINT_OPTIONS'
> F90FLAGS='-pipe -Os'
> WX_CONFIG='/opt/unilocal/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/2.9/bin/wx-config'
> LDFLAGS='-L/opt/unilocal/lib -Wl,-headerpad_max_install_names'
> FCFLAGS='-pipe -Os' OBJC='/usr/bin/clang' INSTALL='/usr/bin/install
> -c' PERL_AUTOINSTALL='--skipdeps' OBJCFLAGS='-pipe -Os' FFLAGS='-pipe
> -Os' CC_PRINT_OPTIONS='YES' CC='/usr/bin/clang'
> DEBUG: Assembled command: 'cd
> "/path/to/p5.12-alien-wxwidgets/work/Alien-wxWidgets-0.64" &&
> /opt/unilocal/bin/perl5.12 Makefile.PL INSTALLDIRS=vendor
> CC="/usr/bin/clang" LD="/usr/bin/clang"'
> DEBUG: Executing command line:  cd
> "/path/to/p5.12-alien-wxwidgets/work/Alien-wxWidgets-0.64" &&
> /opt/unilocal/bin/perl5.12 Makefile.PL INSTALLDIRS=vendor
> CC="/usr/bin/clang" LD="/usr/bin/clang"
> # running Build.PL --installdirs vendor --config cc=/usr/bin/clang
> --config ld=/usr/bin/clang
> Do you want to fetch and build wxWidgets from sources? [yes ]yes
> Which wxWidgets version? (2.8.10, 2.8.11, 2.8.12, 2.9.0, 2.9.1, 2.9.2,
> 2.9.3, 2.9.4) [2.9.4 ]2.9.4
> Which archive type? [tar.bz2 ]tar.bz2
> Do you want to include OpenGL support [yes ]yes
> Creating new 'MYMETA.yml' with configuration results
> Creating new 'Build' script for 'Alien-wxWidgets' version '0.64'



Makefile.PL might be doing something we don't want - since the project uses Module::Build you could try 'perl5.use_module_build' and see if that helps?

--
Daniel J. Luke                                                                   
+========================================================+                        
| *---------------- dluke at geeklair.net ----------------* |                          
| *-------------- http://www.geeklair.net -------------* |                          
+========================================================+                        
|   Opinions expressed are mine and do not necessarily   |                          
|          reflect the opinions of my employer.          |                          
+========================================================+





More information about the macports-dev mailing list