Subject: | failure to set buildflags ( s conf buildflags --installdirs=site --install_path html=_temp_ |
Trying to set buildflags from the default shell is hard.
cpanp just doesn't want to accept the whole string, and if you use
quotes, they end up as part of the flags.
$ cpanp
CPANPLUS::Shell::Default -- CPAN exploration and module installation
(v0.89_09)
*** Please report bugs to <bug-cpanplus@rt.cpan.org>.
*** Using CPANPLUS::Backend v0.89_09. ReadLine support disabled.
*** Type 'p' now to show start up log
Did you know...
You can turn off these tips using 's conf show_startup_tip 0'
CPAN Terminal> s conf buildflags
Key 'buildflags' was set to ''
CPAN Terminal> s conf buildflags --installdirs=site --install_path
html=_temp_
Key 'buildflags' was set to 'html=_temp_'
CPAN Terminal> s conf buildflags -- --installdirs=site
--install_path html=_temp_
Key 'buildflags' was set to 'html=_temp_'
CPAN Terminal> s conf buildflags '--installdirs=site --install_path
html=_temp_'
Key 'buildflags' was set to ''--installdirs=site html=_temp_''
CPAN Terminal> s conf buildflags "--installdirs=site --install_path
html=_temp_"
Key 'buildflags' was set to '"--installdirs=site html=_temp_"'
CPAN Terminal> s conf buildflags "--installdirs=site --install_path
html=_temp_
Key 'buildflags' was set to '"--installdirs=site html=_temp_'
CPAN Terminal> s conf buildflags \--installdirs=site \--install_path
html=_temp_
Key 'buildflags' was set to '\--installdirs=site \--install_path
html=_temp_'
CPAN Terminal> q
Exiting CPANPLUS shell
$
The only way I managed was to manually edit CPANPLUS/Config/User.pm
$conf->set_conf( buildflags => '--installdirs=site --install_path
html=_temp_' );
Thanks