Re: Question regarding a check in configure for XML::Parser
Hi Jonathan, *, On Tue, Apr 9, 2013 at 8:49 PM, Jonathan Aquilina eagles051...@gmail.com wrote: I am looking at Archive::Zip in configure file Then you're looking at the wrong place anyway, as configure is generated code and thus not very friendly too look at - in other words: It is way too confusing to work with that. Question becomes what do i need to do if there is an else to have it automatically installed during the script You don't. Configure must not mess with the user's system. as it needs to be run as root. You don't compile stuff as root either. do i change the error and add details on how to install the module? For adding a more verbose message, edit configure.ac in the Testing for required Perl modules section at around line 4600 But it probably is pointless to add commands, as package names probably differ too much e.g. on ubuntu it is libarchive-zip-perl, on mageia it is perl-Archive-Zip, etc. (otoh there are similar strings for cups and others) ciao Christian ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: Question regarding a check in configure for XML::Parser
On Tue, 2013-04-09 at 20:49 +0200, Jonathan Aquilina wrote: I am looking at Archive::Zip in configure file The idea for a test on XML::Parser to get past the icons/* error on sysui MacOSX has been over taken by events :-), dtardon has removed the need for it so the problem has been solved alternatively. C. ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Question regarding a check in configure for XML::Parser
I am looking at Archive::Zip in configure file { echo $as_me:$LINENO: checking for required Perl modules 5 echo $ECHO_N checking for required Perl modules... $ECHO_C 6; } if `$PERL -e 'use Archive::Zip; use Cwd; use Digest::MD5'`; then { echo $as_me:$LINENO: result: all modules found 5 echo ${ECHO_T}all modules found 6; } else { { echo $as_me:$LINENO: error: Failed to find some modules 5 echo $as_me: error: Failed to find some modules 2;} { (exit 1); exit 1; }; } fi Question becomes what do i need to do if there is an else to have it automatically installed during the script as it needs to be run as root. do i change the error and add details on how to install the module? -- Jonathan Aquilina ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice