readjpg.c:34: jpeglib.h: No such file or directory
make[2]: *** [readjpg.o] Error 1
make[2]: Leaving directory `/download/transfig.3.1.2/fig2dev/dev'
make[1]: *** [dev/libtransfig.a] Error 2
make[1]: Leaving directory `/download/transfig.3.1.2/fig2dev'
making all in ./transfig...
make[1]: Entering directory `/download/transfig.3.1.2/transfig'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/download/transfig.3.1.2/transfig'
I'm running Linux 1.2.13. Any help would be greatly appreciated.
-------------------------------------
| Roland Roth |
| Massco - Magnetics Assembly Company |
-------------------------------------
> Been trying to fix the "fig2dev not found?" message I get when I
> try to export (from xfig) to ps format for a long time. I have
> tried many, many times to get the fig2dev package to compile with
> no success. I just went and got jpeg5b (which compiled fine) and
> the transfig package from ftp.x.org. The compile dies at the
> fig2dev portion with the following messages:
>
> readjpg.c:34: jpeglib.h: No such file or directory
> make[2]: *** [readjpg.o] Error 1
> make[2]: Leaving directory `/download/transfig.3.1.2/fig2dev/dev'
> make[1]: *** [dev/libtransfig.a] Error 2
> make[1]: Leaving directory `/download/transfig.3.1.2/fig2dev'
> making all in ./transfig...
> make[1]: Entering directory `/download/transfig.3.1.2/transfig'
> make[1]: Nothing to be done for `all'.
> make[1]: Leaving directory `/download/transfig.3.1.2/transfig'
The first line is the start (and hopefully the solution) of the
problem. It means that there is a source code file named readjpg.c
(the .c on the end means a C language source file) which is looking
for another file called jpeglib.h; if you look on line 34 of the C
source code file you should see mention of the latter file. The
latter file, BTW, is another C source code file, more specifically,
a header file (hence the tail, ".h").
I don't know what the problem is that you're having, but basically
the C compiler/linker isn't finding the header file. Perhaps the
file was deleted, renamed, or moved somewhere else. Maybe it
didn't get gunzipped due to corruption. Point is, you've got to
find that file and put it in the right subdirectory, most likely
one "next" to or below the one which readjpg.c is in; the name of
this subdirectory (by convention) is "include".
It might be simpler just to start the installation over from the
initial gunzip step.
Good luck with this,
Ken
-------------------------------------------------------------
Ken Fisler
bc...@Cleveland.Freenet.Edu
-------------------------------------------------------------