? patch
Index: l10n_community/export.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/l10n_server/l10n_community/Attic/export.inc,v
retrieving revision 1.1.2.13
diff -u -p -r1.1.2.13 export.inc
--- l10n_community/export.inc	23 Feb 2008 12:28:42 -0000	1.1.2.13
+++ l10n_community/export.inc	7 Mar 2008 17:42:15 -0000
@@ -225,7 +225,14 @@ function l10n_community_export_form_subm
  *   Look into possibly exporting suggestions as fuzzy translations.
  */
 function l10n_community_export($uri, $release = NULL, $language = NULL, $template = TRUE, $version = NULL) {
-  include_once 'Archive/Tar.php';
+  if (!@include_once 'Archive/Tar.php') {
+    // Message to the user.
+    $message = 'PEAR extension Archive/Tar.php could not be found on your server. This file is required for exporting translations.';
+    drupal_set_message($message);
+    // Message to watchdog for possible automated packaging. 
+    watchdog('l10n_community', $message);
+    return NULL;
+  }
   
   $project = l10n_community_get_projects($uri);
   if ($template) {
Index: l10n_community/extractor.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/l10n_server/l10n_community/Attic/extractor.inc,v
retrieving revision 1.1.2.11
diff -u -p -r1.1.2.11 extractor.inc
--- l10n_community/extractor.inc	17 Jan 2008 01:24:37 -0000	1.1.2.11
+++ l10n_community/extractor.inc	7 Mar 2008 17:42:18 -0000
@@ -25,7 +25,15 @@ function l10n_community_parse_package($p
   $error = $message = '';
 
   // We depend on the PEAR Tar class and potx module.
-  include_once 'Archive/Tar.php';
+  if (!@include_once 'Archive/Tar.php') {
+    // Message to the user.
+    $message = 'PEAR extension Archive/Tar.php could not be found on your server. This file is required for extracting translations.';
+    drupal_set_message($message);
+    // Message to watchdog for possible automated packaging. 
+    watchdog('l10n_community', $message);
+    return NULL;
+  }
+
   include_once drupal_get_path('module', 'potx') .'/potx.inc';
 
   // Set up status messages if not in automated mode.
