ayaspell icon indicating copy to clipboard operation
ayaspell copied to clipboard

making libreoffice fails

Open philipzae opened this issue 7 years ago • 5 comments

When running make libreoffice, this is the output

#copy dic and aff files to OpenOffice/LibreOffice package cp templates/ar.dic templates/openoffice/ar.dic cp: cannot stat 'templates/ar.dic': No such file or directory Makefile:63: recipe for target 'libreoffice' failed make: *** [libreoffice] Error 1

philipzae avatar Jan 31 '18 15:01 philipzae

÷ I fixed this error,can you confirm? Thanks

linuxscout avatar Jan 31 '18 20:01 linuxscout

that part is now fixed and the zipped .oxt gets created, but as there is no releases folder, i get this error

... mv templates/openoffice/dict_ar-3.7.oxt releases/ mv: cannot move 'templates/openoffice/dict_ar-3.7.oxt' to 'releases/': Not a directory Makefile:63: recipe for target 'libreoffice' failed make: *** [libreoffice] Error 1

philipzae avatar Feb 01 '18 15:02 philipzae

make libreoffice still returns an error.

$ make libreoffice
#copy dic and aff files to OpenOffice/LibreOffice package
cp templates/ar.dic templates/openoffice/ar.dic
cp templates/ar.aff templates/openoffice/ar.aff
#modify version
sed -i "s/<version value=\".*\"\/>/<version value=\"3.7\"\/>/g" templates/openoffice/description.xml 
sed: 1: "templates/openoffice/de ...": undefined label 'emplates/openoffice/description.xml'
make: *** [libreoffice] Error 1

mohataher avatar Jun 06 '20 16:06 mohataher

Salam, do you use a Mac? I found a solution related to Mac on the following link: https://stackoverflow.com/questions/23071830/sed-gives-sed-1-tsunit-js-undefined-label-sunit-js

linuxscout avatar Jun 06 '20 23:06 linuxscout

Yes, using Mac. I will test the solution when I get back to this task and let you know. Thanks.

mohataher avatar Jun 07 '20 23:06 mohataher