[Date Index][Thread Index]
[Date Prev][Date Next][Thread Prev][Thread Next]
Re: gfont installation problem
- From: Denis Barbier <nospam@thanx>
- Date: Tue, 13 Apr 1999 17:24:31 +0200 (PMT)
On Tue, 13 Apr 1999, Stephan Petersen wrote:
> Hi there,
>
> I downloaded gfont (V1.0.2) and tried to install it, but ./configure
> aborts with:
>
> checking for Perl language... expr: syntax error
> built v5.004_04
> configure: error: required program perl'' not found
Hi Stephan,
Go under gfont-1.0.2 and type
patch -p1 < the_name_of_the_patch_below
Denis
--- gfont-1.0.2/configure Tue Sep 16 11:30:35 1997
+++ gfont-1.0.2/configure Fri Dec 18 13:19:55 1998
@@ -805,7 +805,7 @@
for perl in perl5 perl miniperl; do
if test -x "$dir/$perl"; then
perl="$dir/$perl"
- version=`$perl -v | grep version | sed -e 's/.* version //' -e 's/ with.*//'`
+ version=`$perl -v | grep version | sed -e 's/.* version //' -e 's/_.*//'`
versionnum="`echo $version | sed -e 's/\.//g' -e 's/_//g'`"
versionnum=`expr $versionnum - $c`
echo "$versionnum $version $perl" >>$TMPFILE
--- gfont-1.0.2/gfont_mkgdf_all Fri Sep 5 21:21:52 1997
+++ gfont-1.0.2/gfont_mkgdf_all Tue Dec 29 12:13:14 1998
@@ -1,5 +1,5 @@
-#!/sw/bin/perl
-eval 'exec /sw/bin/perl -S $0 ${1+"$@"}'
+#!/usr/bin/perl
+eval 'exec /usr/bin/perl -S $0 ${1+"$@"}'
if $running_under_some_shell;
##
## mkgdf_pre -- Pregenerate GdF Files from Fontmap
@@ -12,10 +12,10 @@
use vars qw($mkgdf $fontmap $gdfdir $tmpgdfdir);
use vars qw(@FONT, $font);
-$mkgdf = "/sw/pkg/gfont/lib/exec/gfont_mkgdf";
-$fontmap = "/sw/pkg/gfont/lib/etc/Fontmap";
-$gdfdir = "/sw/pkg/gfont/lib/gdf";
-$tmpgdfdir = "/sw/var/gfont/";
+$mkgdf = "/usr/lib/gfont/exec/gfont_mkgdf";
+$fontmap = "/usr/lib/gfont/etc/Fontmap";
+$gdfdir = "/usr/lib/gfont/gdf";
+$tmpgdfdir = "/usr/lib/gfont/gdf";
sub system {
my ($cmd) = @_;
______________________________________________________________________
Website META Language (WML) www.engelschall.com/sw/wml/
Official Support Mailing List sw-wml@engelschall.com
Automated List Manager majordomo@engelschall.com