[Cooker] mkttfdir segfaults

2002-01-29 Thread SI Reasoning

I tried running mkttfdir and it segfaulted

=
SI Reasoning
[EMAIL PROTECTED]
There never was a good war or a bad peace.
Benjamin Franklin

__
Do You Yahoo!?
Great stuff seeking new owners in Yahoo! Auctions! 
http://auctions.yahoo.com




Re: [Cooker] mkttfdir segfaults

2002-01-29 Thread Daouda LO

SI Reasoning [EMAIL PROTECTED] writes:

 I tried running mkttfdir and it segfaulted

WORKS FOR ME (tm)
In what case does it segfault?

[daouda@touba daouda]$ mkttfdir -h
Usage: /usr/X11R6/bin/mkttfdir [-dheo] [-inum] [directory-name...]
-d: dump fonts.dir screen instead of fonts.dir file
-h: show this help
-e: force ISO8859-1 encoding (for wrong header fonts)
-j: force JISX 0208, JISX 0201 and ISO8859-1  encoding
(for wrong header fonts)
-o: add -o- fonts for each font
-i num: value for auto-italic option (default 0.2)
[daouda@touba daouda]$ rpm -qf `which mkttfdir`
perlftlib-1.2-14mdk
[daouda@touba daouda]$





Re: [Cooker] mkttfdir segfaults

2002-01-29 Thread SI Reasoning

I was attempting to fix the font issue in Abiword. So
I created links to fonts in the /usr/share/fonts/ttf
directories (western and decoratives) and stored the
links in the /usr/share/AbiSuite/fonts directory. When
I tried to run mkttfdir, it segfaulted.
$ rpm -qf `which mkttfdir`
perlftlib-1.2-14mdk

--- Daouda LO [EMAIL PROTECTED] wrote:
 SI Reasoning [EMAIL PROTECTED] writes:
 
  I tried running mkttfdir and it segfaulted
 
 WORKS FOR ME (tm)
 In what case does it segfault?
 
 [daouda@touba daouda]$ mkttfdir -h
 Usage: /usr/X11R6/bin/mkttfdir [-dheo] [-inum]
 [directory-name...]
 -d: dump fonts.dir screen instead of fonts.dir
 file
 -h: show this help
 -e: force ISO8859-1 encoding (for wrong header
 fonts)
 -j: force JISX 0208, JISX 0201 and ISO8859-1 
 encoding
 (for wrong header fonts)
 -o: add -o- fonts for each font
 -i num: value for auto-italic option (default
 0.2)
 [daouda@touba daouda]$ rpm -qf `which mkttfdir`
 perlftlib-1.2-14mdk
 [daouda@touba daouda]$
 
 


=
SI Reasoning
[EMAIL PROTECTED]
There never was a good war or a bad peace.
Benjamin Franklin

__
Do You Yahoo!?
Great stuff seeking new owners in Yahoo! Auctions! 
http://auctions.yahoo.com




Re: [Cooker] mkttfdir segfaults

2002-01-29 Thread Daouda LO

SI Reasoning [EMAIL PROTECTED] writes:

 I was attempting to fix the font issue in Abiword. So
 I created links to fonts in the /usr/share/fonts/ttf
 directories (western and decoratives) and stored the
 links in the /usr/share/AbiSuite/fonts directory. 

Just tried to reproduce with no luck. 
I can't get the segfault.
Edit the /usr/X11R6/bin/mkttfdir file and append a -w to
#!/usr/bin/perl (first line) to have more error ouputs.





Re: [Cooker] mkttfdir segfaults

2002-01-29 Thread SI Reasoning

Thanks, Here are the error messages I get:

[root@sidell fonts]# mkttfdir
/usr/X11R6/bin/mkttfdir: di : command not found
/usr/X11R6/bin/mkttfdir: ds 00 \: command not found
/usr/X11R6/bin/mkttfdir: ig 00 : command not found
/usr/X11R6/bin/mkttfdir: =: command not found
/usr/X11R6/bin/mkttfdir: use: command not found
/usr/X11R6/bin/mkttfdir: require: command not found
/usr/X11R6/bin/mkttfdir: line 38: syntax error near
unexpected token `Getopts('dhejoi:')'
/usr/X11R6/bin/mkttfdir: line 38:
`Getopts('dhejoi:');'
[root@sidell fonts]#

--- Daouda LO [EMAIL PROTECTED] wrote:
 SI Reasoning [EMAIL PROTECTED] writes:
 
  I was attempting to fix the font issue in Abiword.
 So
  I created links to fonts in the
 /usr/share/fonts/ttf
  directories (western and decoratives) and stored
 the
  links in the /usr/share/AbiSuite/fonts directory. 
 
 Just tried to reproduce with no luck. 
 I can't get the segfault.
 Edit the /usr/X11R6/bin/mkttfdir file and append a
 -w to
 #!/usr/bin/perl (first line) to have more error
 ouputs.
 
 


=
SI Reasoning
[EMAIL PROTECTED]
There never was a good war or a bad peace.
Benjamin Franklin

__
Do You Yahoo!?
Great stuff seeking new owners in Yahoo! Auctions! 
http://auctions.yahoo.com




Re: [Cooker] mkttfdir segfaults

2002-01-29 Thread Daouda LO

SI Reasoning [EMAIL PROTECTED] writes:

 Thanks, Here are the error messages I get:
 
 [root@sidell fonts]# mkttfdir
 /usr/X11R6/bin/mkttfdir: di : command not found
 /usr/X11R6/bin/mkttfdir: ds 00 \: command not found
 /usr/X11R6/bin/mkttfdir: ig 00 : command not found
 /usr/X11R6/bin/mkttfdir: =: command not found
 /usr/X11R6/bin/mkttfdir: use: command not found
 /usr/X11R6/bin/mkttfdir: require: command not found
 /usr/X11R6/bin/mkttfdir: line 38: syntax error near
 unexpected token `Getopts('dhejoi:')'
 /usr/X11R6/bin/mkttfdir: line 38:
 `Getopts('dhejoi:');'
 [root@sidell fonts]#

Your shebang is not interpreted, i don't know why :(

The following command should work.

[daouda@touba daouda]$ perl `which mkttfdir`
[daouda@touba daouda]$