importing fonts

nathan r. hruby yellowdog-general@lists.terrasoftsolutions.com
Fri May 9 08:17:01 2003


On Fri, 9 May 2003, Joe Villari wrote:

> How did you get fondu installed and working?
> 
> Using the source code:
> 
> [root@localhost fondu]# configure
> bash: configure: command not found
> 
> [root@localhost fondu]# ls
> config.guess  fondu.c                     Makefile.in    tobin.1
> config.sub    fondu.sourceforge.net.html  Makefile.Mac   tomacbinary.c
> configure     frombin.1                   Makefile.unix  ufond.1
> configure.in  frommacbinary.c             README         ufondbdf.c
> crctab.c      install-sh                  readnfnt.c     ufond.c
> dfont2res.1   LICENSE                     res2data.c     ufond.h
> dfont2res.c   MacFiles.h                  showfond.1     ufondpfb.c
> fondu.1       macfonts.h
> 

That would be "./configure", not "configure"  the script is in the current
directory (known as "./") , which is not in your $PATH environment
variable - so as far as the shell knows, there is no "configure" command
in any of the places it knows abaout.  

./ should never be part of the $PATH as it could be a major security 
issue.

> Using rpm -i I didnot receive any errors:
> 
> [root@localhost joev]# rpm -i fondu-030428-1.src.rpm
> [root@localhost joev]#
> 
> Now I get:
> 
> [root@localhost joev]# fondu
> bash: fondu: command not found
> 
> Any Ideas?
> 

You installed a source RPM, wich means that it installed uncompiled 
sources into various places in /usr/src/rpm/.  

There are a bunch of things you can do to build those sources, but you 
should probably try this for easyness:

# Get the rpmbuild package so we can build scr.rpm's
apt-get install rpmbuild

# Build the fondu package make sure that command completes fully before 
# doing the next command
rpmbuild --rebuild /path/to/fondu-030428-1.src.rpm

# Install our newly build fondu pacakge
rpm -Ivh /usr/src/rpm/RPMS/ppc/fondu-030428-1.ppc.rpm

-n
-- 
----------------------------------------
nathan hruby <nathan@drama.uga.edu>
computer services specialist  
uga drama & theatre                        
reality is a moving target
----------------------------------------