Comments (10)
The issue with Ubuntu is trying run a 32 bit software in a 64 bit Operating System. I could fix that by installing ia32-libs. I think it's the same issue in in the Mac as well.
from afdko.
I couldn't find ia32-libs in the repository on ubuntu 16.04.
The following solved it for me.
sudo apt install lib32z1
from afdko.
When I make FDK use system Python installation on Ubuntu by un-commenting the line in setFDKpaths file above error goes away. But when I call a tool such as "makeotf" it gives the error below.
Please re-install the FDK. The executable directory '/home/randika/FDK/Tools/linux' is missing the tools: ['tx', 'makeotfexe']. for the files referenced by the shell script is missing.
The files mentioned above are in the given path and re-installing did not solve the issue.
from afdko.
The "makeotf" shell script can't find the embedded Python interpreter required to run the "MakeOTF.py" script, because that "Python" subfolder is not actually included in the Github repository. That needs to be built and configured, as explained in "Building the Python interpreter for the FDK", in the "FDK Build Notes.txt":
the FDK will use the Python interpreter whose path is specified in the file "setFDKPaths" This line can be changed to point to any other Python interpreter program on the system. However, if you choose to use another Python interpreter, you must add the several third party packages.
If you just want to use the afdko without worrying about all this, you can just grab the latest release from Adobe's webite: http://www.adobe.com/devnet/opentype/afdko.html
from afdko.
@paarandika Sorry, I didn't read your comment properly.
The problem is that the executable directory is not in your PATH. That's where makeotf is looking for tx and makeotfexe, etc.
So to fix this, you also need to append the executable directory to your $PATH variable in .bash_profile, .profile, or .bashrc.
This is what I get in my OS X .bash_profile after I install the AFDKO from Adobe website:
# Initialization for FDK command line tools.Mon Jun 2 12:20:50 2014
FDK_EXE="/Users/cosimolupo/bin/FDK/Tools/osx"
PATH=${PATH}:"/Users/cosimolupo/bin/FDK/Tools/osx"
export PATH
export FDK_EXE
Point this to the directory where the compiled tx and makeotfexe are, and see if it works then.
Cheers,
C.
from afdko.
I have .bashrc, .bash_profile and .profile with lines below. I have added the lines to .bash_profile and .bashrc manually later. The .profile was automatically created.
path=$PATH:"/home/randika/bin/FDK/Tools/linux"
export PATH
export FDK_EXE
But still the error persists.
from afdko.
If you export the PATH (all uppercase) variable in .bash_profile, you don't also need to redo it in .profile or bashrc. Try use one of the three.
If you are trying to set up the Github's afdko, but have previously installed the pre-packaged release, you need to comment out any automatically generated lines in your .profile that were created by the install scripts, and replace them with the actual path to the executable directory located inside your git repository.
from afdko.
No I'm trying the prepackaged version
from afdko.
Oh well, that's supposed to work out of the box... I don't have a Linux machine to test it. Let's see what others come up with.
from afdko.
@anthrotype @paarandika Thanks!
from afdko.
Related Issues (20)
- [otfstemhist] cannot specify glyphs via external glyph list
- [otfstemhist] -h reports unrelated options, wrong tool name HOT 1
- Unify format of external glyph names files across AFDKO tools
- [otfautohint/otfstemhist] Add tests
- use TTX tools to compile a otf file HOT 10
- [spot] alternate metrics ignored in class kern proof
- [otfautohint] (minor) outdated tool names
- [otfautohint] points “optimized away” in flex-like scenario (print only) HOT 15
- [tx] Crashing without error when using -decid option in -t1 mode
- Reordering of ligature substitution rules is considered harmful HOT 10
- [otfautohint] Mishinting of glyph? HOT 7
- [otfautohint] Consider adding flag to selectively skip overlap processing for some glyphs
- [makeotf] silently fails when GOADB has unexpected data
- [makeinstancesufo] & [checkoutlinesufo] multiprocessing vs progress bar, output improvement
- building fails on manjaro HOT 2
- [makeotf] substitution without target item does not fail HOT 8
- Pytest Error Encountered During AFDKO Compilation on Arch Linux HOT 6
- [checkoutlinesufo] XMLSyntaxError reading fontinfo.plist of temp UFO font HOT 3
- [makeotf] -r reports all unhinted glyphs individually HOT 1
- [buildmasterotfs] incompatible sources produced HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from afdko.