LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-22-2009, 09:47 PM   #1
lyrica45
LQ Newbie
 
Registered: Feb 2009
Posts: 4

Rep: Reputation: 0
Need help installing NAFE - Not Another Font Editor, in Ubuntu


http://nafe.sourceforge.net/

I'm trying to install this program on the latest Ubuntu.

I've extracted the tar and tried 'make all', but the commands txt2psf and psf2txt don't work after that. It looked like it worked, but I have no way to run anything. After installing, 'txt2psf file1 file2' still won't work. It says psf2txt is an unknown command or something.

'./configure' doesn't do anything and 'install' doesn't do anything. Can someone do it and walk me through this?
 
Old 02-23-2009, 07:15 AM   #2
maroonbaboon
Senior Member
 
Registered: Aug 2003
Location: Sydney
Distribution: debian
Posts: 1,495

Rep: Reputation: 48
First, I guess you have checked there is no pre-built package. This could save you a lot of trouble, especially if the package has complex dependencies.

Otherwise, after successfully running 'make', you need to run 'make install' as root. Or since this is Ubuntu, maybe just 'sudo make install'. Typically this copies the necessary files to /usr/local/bin and /usr/local/lib. If /usr/local/bin is listed in your PATH variable (run 'echo $PATH', to see) the commands should then work.

Alternatively you try just cd'ing to the directory containing txt2psf and running it as ./txt2psf file1 file2.
 
Old 02-23-2009, 09:24 AM   #3
gergely89
Member
 
Registered: Feb 2009
Posts: 100

Rep: Reputation: 21
The nafe tarball does not have a configuration file, so it would be rather surprising if ./configure would have some result. The purpose of ./configure would be the creation of a Makefile. Nafe provides it's own Makefile - a very simple one, actually. 'make all' and 'make' have the same effect, because the 'all' branch is the first and default one.

Making nafe gives a few warnings about implicit declaration, but otherwise it compiles the binaries.

The Makefile does NOT have any 'install' branch, so you will have to copy the two binaries to /usr/bin or /usr/local/bin by yourself (needs root privileges to do so).

To run the executables within the build directory type ./psf2txt or ./txt2psf
a simple psf2txt or txt2psf will not do, for valid system security reasons on UNIX systems.

linux

Last edited by gergely89; 02-27-2009 at 10:47 PM.
 
  


Reply

Tags
ubuntu



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mpeg editor on ubuntu barrythai Ubuntu 6 03-08-2007 06:17 PM
How to change editor font for Xmanager 1.3.9? kranti Linux - Newbie 0 10-22-2005 06:02 AM
TTF Font editor for linux Ross Clement Linux - Software 2 08-14-2005 02:51 PM
font editor? shadowlurker Linux - Software 1 06-04-2004 02:20 PM
Any Font editor out there ? infernal Linux - General 0 12-22-2001 07:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:45 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration