[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Groff] new automake system
From: |
Bertrand Garrigues |
Subject: |
Re: [Groff] new automake system |
Date: |
Thu, 25 Sep 2014 01:13:19 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
Hi Ulrich,
On Wed, Sep 24 2014 at 10:52:39 PM, Ulrich Lauther <address@hidden> wrote:
> I did the bootstrapping as described and then 'make dist' to generate a
> groff-1.22.2.tar.gz.
> I expanded this file at some other place, went into the new groff-1.22.2
> directory and typed
> ./configure --prefix=/home/<user>/groff_test
> make
> make install
>
> Now whe I type 'groff_test/bin/groff -v
>
> I get :
> GNU groff version 1.22.2
> Copyright (C) 2013 Free Software Foundation, Inc.
> .
> .
> called subprograms:
>
> groff_test/bin/groff: can't find `DESC' file
> groff_test/bin/groff:fatal error: invalid device `ps'
>
> However,
> ls -l groff_test/share/groff/1.22.2/font/devps/DESC
> gives me
> -rw-r--r-- 1 privat privat 189 Sep 24 22:12
> groff_test/share/groff/1.22.2/font/devps/DESC
>
> Probably I did something utterly silly, but no idea what.
>
> Please help a poor struggler!
Hm ... I see no obvious mistake in your commands, and could not
reproduce the problem. I have no idea of what's going on. Could you
please apply the attached patch to trace the error we have when
attempting to open the DESC file ?
Regards,
--
Bertrand Garrigues
diff --git a/src/libs/libgroff/searchpath.cpp b/src/libs/libgroff/searchpath.cpp
index 105dfdf..7101ec6 100644
--- a/src/libs/libgroff/searchpath.cpp
+++ b/src/libs/libgroff/searchpath.cpp
@@ -20,6 +20,7 @@ along with this program. If not, see
<http://www.gnu.org/licenses/>. */
#include "lib.h"
+#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
#include <errno.h>
@@ -134,6 +135,9 @@ FILE *search_path::open_file(const char *name, char **pathp)
a_delete path;
return fp;
}
+ else {
+ fprintf (stderr, "Failed to open %s: %s\n", path, strerror(errno));
+ }
a_delete path;
if (*end == '\0')
break;
- Re: [Groff] new automake system, Bertrand Garrigues, 2014/09/07
- Re: [Groff] new automake system, Werner LEMBERG, 2014/09/08
- Re: [Groff] new automake system, Bertrand Garrigues, 2014/09/21
- Re: [Groff] new automake system, Ulrich Lauther, 2014/09/24
- Re: [Groff] new automake system,
Bertrand Garrigues <=
- Re: [Groff] new automake system, Ulrich Lauther, 2014/09/25
- Re: [Groff] new automake system, Bertrand Garrigues, 2014/09/26
- Re: [Groff] new automake system, Ulrich Lauther, 2014/09/26
- Re: [Groff] new automake system, Bertrand Garrigues, 2014/09/26
- Re: [Groff] new automake system, Ulrich Lauther, 2014/09/26
- Re: [Groff] new automake system, Bertrand Garrigues, 2014/09/26
- Message not available
- Re: [Groff] new automake system, Bernd Warken, 2014/09/21
- Re: [Groff] new automake system, Bertrand Garrigues, 2014/09/22
- Re: [Groff] new automake system, Bernd Warken, 2014/09/22
- Re: [Groff] new automake system, Bertrand Garrigues, 2014/09/22