Giter Club home page Giter Club logo

Comments (10)

paarandika avatar paarandika commented on July 3, 2024 3

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.

SimonAM avatar SimonAM commented on July 3, 2024 3

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.

paarandika avatar paarandika commented on July 3, 2024

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.

anthrotype avatar anthrotype commented on July 3, 2024

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.

anthrotype avatar anthrotype commented on July 3, 2024

@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.

paarandika avatar paarandika commented on July 3, 2024

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.

anthrotype avatar anthrotype commented on July 3, 2024

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.

paarandika avatar paarandika commented on July 3, 2024

No I'm trying the prepackaged version

from afdko.

anthrotype avatar anthrotype commented on July 3, 2024

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.

pathumego avatar pathumego commented on July 3, 2024

@anthrotype @paarandika Thanks!

from afdko.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.