by Izertis

Create documents in docx, xlsx (MS Office Word and Excel), odt, ods (LibreOffice and OpenOffice) and pdf format without MS Office or others plugins installed from any module and subpanel using templates.

Includes a 30 day guarantee
Try it Now

By clicking you consent to share your profile with the developer

#3057 - cd-libreoffice-pdf install on Debian

Closed Installation created by LaNceLoT 7 years ago

Hi,

We have just untar the libreoffice package on a Debian Linux and it seem that de cde-exec command can not be execute so the library generate an empty PDF file.

Here is the error when we try to execute de cde-exec file :

root@sugar-dev04:/var/www/html/cde-libreoffice-pdf_temp# ll
total 920
-rwxrwxrwx 1 www-data www-data 909044 May  3  2014 cde-exec
-rwxrwxrwx 1 www-data www-data   1155 May  3  2014 cde.full-environment
-rwxrwxrwx 1 www-data www-data   1512 May  3  2014 cde.options
drwxrwxrwx 9 www-data www-data   4096 May  3  2014 cde-root
-rwxrwxrwx 1 www-data www-data     87 May  3  2014 cde.uname
-rwxrwxrwx 1 www-data www-data    109 May  3  2014 libreoffice4.2.cde
-rwxrwxrwx 1 www-data www-data    109 May  3  2014 libreoffice.cde
-rwxrwxrwx 1 www-data www-data    162 May  3  2014 version.txt
drwxrwxrwx 2 www-data www-data   4096 Feb 14 11:01 working
root@sugar-dev04:/var/www/html/cde-libreoffice-pdf_temp# ./cde-exec
-bash: ./cde-exec: No such file or directory
root@sugar-dev04:/var/www/html/cde-libreoffice-pdf_temp#

And the file commande print that :

root@sugar-dev04:/var/www/html/cde-libreoffice-pdf_temp# file cde-exec
cde-exec: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.2, for GNU/Linux 2.6.9, BuildID[sha1]=0fe0ac36f02bcec07f7d705ab3dbae377cf46624, not stripped

uname of the linux :

root@sugar-dev04:/var/www/html/cde-libreoffice-pdf_temp# uname -a
Linux sugar-dev04 3.16.0-4-amd64 #1 SMP Debian 3.16.39-1+deb8u2 (2017-03-07) x86_64 GNU/Linux

In a centOs version here is the print out of the execution :

[root@sugar-dev03 cde-libreoffice-pdf]# ./cde-exec
CDE: Code, Data, and Environment packaging for Linux
Copyright 2010-2011 Philip Guo (pg@cs.stanford.edu)
http://www.stanford.edu/~pgbovine/cde.html

usage: cde-exec [command within cde-root/ to run]

Options
  -l  : Use native dynamic linker on machine (less portable but more robust)
  -s  : Streaming mode (ooh, mysterious!)
  -v  : Verbose mode (for debugging)

And the file command on centOs :

[root@sugar-dev03 cde-libreoffice-pdf]# file cde-exec
cde-exec: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.9, BuildID[sha1]=0fe0ac36f02bcec07f7d705ab3dbae377cf46624, not stripped

uname of the centOs :

[root@sugar-dev03 cde-libreoffice-pdf]# uname -a
Linux sugar-dev03 3.10.0-327.28.3.el7.x86_64 #1 SMP Thu Aug 18 19:05:49 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

It works fine on centOs.

Do you have an idea of the error ? Or is there a spcific package for debian or a special library that is necessary ?

Best Regards. Jérémy

  1. dharma member avatar

    Izertis Provider

    6 years ago

    We are sorry but we can not help you, we can not know why MMR is failling in that particular installation. We can give you two advices:

    a) Remember that what has to be configured in SUGAR regarding the cde package, is the libreoffice.cde file, not the cde-exec file. For example, in the MMR configuration you would add /var/www/html/cde-libreoffice-pdf_temp/libreoffice.cde.

    b) Remember that the cde package doesn't work in virtualized servers.

    For more details, please, see the ‘PDF Documents" section in the Readme.txt file and in the user manual.

    Regards

    Anabel

This case is public. Please leave out any sensitive information such as URLs, passwords, etc.
Saving Comment Saving Comment...
Rating
  • "The single biggest downfall of the community edition of SugarCRM or SuiteCRM is the lack of creating a report form a custom module for a single event...." - ian

    Read More Reviews