picking a specific perl

Puneet Kishor punk.kish at gmail.com
Wed Oct 26 11:06:55 PDT 2011


On Oct 26, 2011, at 12:46 PM, Bradley Giesbrecht wrote:

> On Oct 26, 2011, at 10:25 AM, Puneet Kishor wrote:
> 
>> Moving on, I want to install mod_perl2 which has variants for several different perl versions. So, how do I tell macports to install mod_perl2 with my perl5.14? Below is my experience so far
>> 
>> ..
> 
> 
> Try:
> $ sudo port install mod_perl2  +perl5_14
> 

Thanks... now I get

:info:build     -c modperl_io.c && mv modperl_io.o modperl_io.lo
:info:build /Developer/usr/bin/llvm-gcc-4.2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_www_mod_perl2/mod_perl2/work/mod_perl-2.0.4/src/modules/perl -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_www_mod_perl2/mod_perl2/work/mod_perl-2.0.4/xs -I/opt/local/include/apr-1 -I/opt/local/include/apr-1 -I/opt/local/include -I/opt/local/apache2/include -pipe -O2 -arch x86_64 -fno-common -DPERL_DARWIN -I/opt/local/include -no-cpp-precomp -fno-strict-aliasing -fstack-protector -I/opt/local/include -I/opt/local/lib/perl5/5.14.1/darwin-multi-2level/CORE -DMOD_PERL -DMP_COMPAT_1X -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp -O3  \
:info:build     -c modperl_io_apache.c && mv modperl_io_apache.o modperl_io_apache.lo
:info:build mod_perl.c: In function ‘modperl_shutdown’:
:info:build mod_perl.c:62: error: ‘my_perl’ undeclared (first use in this function)
:info:build mod_perl.c:62: error: (Each undeclared identifier is reported only once
:info:build mod_perl.c:62: error: for each function it appears in.)
:info:build mod_perl.c: In function ‘modperl_hook_post_config_last’:
:info:build mod_perl.c:718: error: ‘my_perl’ undeclared (first use in this function)
:info:build mod_perl.c: In function ‘modperl_child_exit’:
:info:build mod_perl.c:814: error: ‘my_perl’ undeclared (first use in this function)
:info:build modperl_config.c: In function ‘modperl_config_req_cleanup’:
:info:build modperl_config.c:379: error: ‘my_perl’ undeclared (first use in this function)
:info:build modperl_config.c:379: error: (Each undeclared identifier is reported only once
:info:build modperl_config.c:379: error: for each function it appears in.)
:info:build modperl_config.c: In function ‘modperl_config_apply_PerlPostConfigRequire’:
:info:build modperl_config.c:455: error: ‘my_perl’ undeclared (first use in this function)
:info:build modperl_cmd.c: In function ‘modperl_cmd_modules’:
:info:build modperl_cmd.c:190: error: ‘my_perl’ undeclared (first use in this function)
:info:build modperl_cmd.c:190: error: (Each undeclared identifier is reported only once
:info:build modperl_cmd.c:190: error: for each function it appears in.)
:info:build modperl_cmd.c: In function ‘modperl_cmd_requires’:
:info:build modperl_cmd.c:228: error: ‘my_perl’ undeclared (first use in this function)
:info:build mod_perl.c: In function ‘modperl_response_handler’:
:info:build modperl_cmd.c: In function ‘modperl_cmd_set_env’:mod_perl.c:1041: error: ‘my_perl’ undeclared (first use in this function)
:info:build 
:info:build modperl_cmd.c:347: error: ‘my_perl’ undeclared (first use in this function)
:info:build modperl_cmd.c: In function ‘modperl_cmd_pass_env’:
:info:build modperl_cmd.c:375: error: ‘my_perl’ undeclared (first use in this function)
:info:build mod_perl.c: In function ‘modperl_response_handler_cgi’:
:info:build mod_perl.c:1080: error: ‘my_perl’ undeclared (first use in this function)
:info:build make[1]: *** [modperl_config.lo] Error 1
:info:build make[1]: *** Waiting for unfinished jobs....
:info:build modperl_callback.c: In function ‘modperl_callback_run_handlers’:
:info:build modperl_callback.c:212: error: ‘my_perl’ undeclared (first use in this function)
:info:build modperl_callback.c:212: error: (Each undeclared identifier is reported only once
:info:build modperl_callback.c:212: error: for each function it appears in.)
:info:build modperl_cmd.c: In function ‘modperl_cmd_perldo’:
:info:build modperl_cmd.c:562: error: ‘my_perl’ undeclared (first use in this function)
:info:build make[1]: *** [mod_perl.lo] Error 1
:info:build make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_www_mod_perl2/mod_perl2/work/mod_perl-2.0.4/Apache-Test'
:info:build make[1]: *** [modperl_callback.lo] Error 1
:info:build make[1]: *** [modperl_cmd.lo] Error 1
:info:build modperl_util.c: In function ‘modperl_cleanup_pnotes’:
:info:build modperl_util.c:852: error: ‘my_perl’ undeclared (first use in this function)
:info:build modperl_util.c:852: error: (Each undeclared identifier is reported only once
:info:build modperl_util.c:852: error: for each function it appears in.)
:info:build make[1]: *** [modperl_util.lo] Error 1
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_www_mod_perl2/mod_perl2/work/mod_perl-2.0.4/src/modules/perl'
:info:build make: *** [modperl_lib] Error 2
:info:build make: *** Waiting for unfinished jobs....
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_www_mod_perl2/mod_perl2/work/mod_perl-2.0.4/Apache-Test'
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_www_mod_perl2/mod_perl2/work/mod_perl-2.0.4'
:info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_www_mod_perl2/mod_perl2/work/mod_perl-2.0.4" && /usr/bin/make -j8 -w all " returned error 2
:error:build Target org.macports.build returned: shell command failed (see log for details)
:debug:build Backtrace: shell command failed (see log for details)
    while executing
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"$procedure $targetname"
:info:build Warning: the following items did not execute (for mod_perl2): org.macports.activate org.macports.build org.macports.destroot org.macports.install
:notice:build Log for mod_perl2 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_www_mod_perl2/mod_perl2/main.log



Thoughts?

--
Puneet Kishor



More information about the macports-users mailing list