[Libreoffice] compilation scp part failed

Julien Nabet serval2412 at yahoo.fr
Sat Apr 2 04:49:52 PDT 2011


Hello,

With an empty autogen.lastrun, it compiles ok (make check ok too).
With this autogen.lastrun :
'--enable-ext-barcode' '--enable-ext-diagram'
'--enable-ext-google-docs--enable-ext-hunart' '--enable-ext-lightproof'
'--enable-ext-lightproof' '--enable-ext-mysql-connector'
'--enable-ext-nlpsolver' '--enable-ext-numbertext'
'--enable-ext-oooblogger' '--enable-ext-pdfimport'
'--enable-ext-presenter-console' '--enable-ext-presenter-minimizer'
'--enable-ext-presenter-ui' '--enable-ext-report-builder'
'--enable-ext-scripting-beanshell' '--enable-ext-scripting-javascript'
'--enable-ext-scripting-python' '--enable-ext-typo'
'--enable-ext-validator' '--enable-ext-watch-window'
'--enable-ext-wiki-publisher' '--enable-graphite' '--enable-evolution2'
'--enable-epm' '--enable-gio' '--enable-kde4'
'--enable-binfilter' '--enable-extra-gallery' '--enable-extra-template'
'--enable-extra-sample' '--enable-extra-font' '--with-system-mysql'
'--disable-gnome-vfs'
i've got this pb :
Entering /home/maryline/compile-libreoffice/libo/scp2/util

Making:    setup_osl.ins

par2script -i 
../unxlngi6.pro/par,/home/maryline/compile-libreoffice/libo/solver/300/unxlngi6.pro/par 
@@/tmp/mk2rVbIK -o ../unxlngi6.pro/bin/osl/setup_osl.ins
Reading par files
Collecting items

***************************************************************
ERROR: malformed par file, expecting <token> <gid> but saw 'File 
gid_File_Fnt_-URW-Gothic_L_Avantgarde UnixRights = 444;
'
in function: test_par_syntax
***************************************************************
dmake:  Error code 255, while making '../unxlngi6.pro/bin/osl/setup_osl.ins'
Retrying /home/maryline/compile-libreoffice/libo/scp2/util

Making:    setup_osl.ins

par2script -i 
../unxlngi6.pro/par,/home/maryline/compile-libreoffice/libo/solver/300/unxlngi6.pro/par 
@@/tmp/mkYQz1XB -o ../unxlngi6.pro/bin/osl/setup_osl.ins
Reading par files
Collecting items

***************************************************************
ERROR: malformed par file, expecting <token> <gid> but saw 'File 
gid_File_Fnt_-URW-Gothic_L_Avantgarde UnixRights = 444;
'
in function: test_par_syntax
***************************************************************
dmake:  Error code 255, while making '../unxlngi6.pro/bin/osl/setup_osl.ins'

Of course, it was because I've got --enable-extra-font

But then I "greped" like this in scp2 "grep -R 
gid_File_Fnt_-URW-Gothic_L_Avantgarde * |grep -v unx", it gave this :
file_font_accessories.scp:STD_FONT_FILE( 
gid_File_Fnt_-URW-Gothic_L_Avantgarde, a010013l.ttf, -URW-Gothic L )
module_font_accessories.scp:        gid_File_Fnt_-URW-Gothic_L_Avantgarde,

I thought first to change the file file_font_accessories.scp in order to 
have this :
file_font_accessories.scp:STD_FONT_FILE( 
gid_File_Fnt_-URW-Gothic_L_Avantgarde, a010013l.ttf, 
-URW-Gothic_L_Avantgarde )

But there was still the pb.
So I changed for having this :
file_font_accessories.scp:STD_FONT_FILE( 
gid_File_Fnt_Gothic_L_Avantgarde, a010013l.ttf, Gothic_L_Avantgarde )
module_font_accessories.scp:        gid_File_Fnt_Gothic_L_Avantgarde,

then it worked. Of course there are several files to change. So may i 
keep on the changes or did I forget anything ?

Julien.







More information about the LibreOffice mailing list