Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

I have Comple Error

General
Koichi
2005-12-08
2013-04-23
  • Koichi
    Koichi
    2005-12-08

    I have this error... how to make it?

    From here ====>
    gcc -M -I. -I../../include  -I/usr/local/bind/include -I../libdk/ -DMAP_REGEX -D
    NEWDB -D_REENTRANT dk-filter.c util.c   >> Makefile
    dk-filter.c:54: paths.h: No such file or directory
    *** Error code 1
    make: Fatal error: Command failed for target `depend'
    Current working directory /usr/local/src/domainkeys/dk-milter-0.3.1/obj.SunOS.5.
    8.sun4/dk-filter
    Making in /usr/local/src/domainkeys/dk-milter-0.3.1/obj.SunOS.5.8.sun4/dk-filter
    gcc -O -I. -I../../include  -I/usr/local/bind/include -I../libdk/ -DMAP_REGEX -D
    NEWDB -D_REENTRANT -DXP_MT  -c  dk-filter.c
    dk-filter.c:54: paths.h: No such file or directory
    *** Error code 1
    make: Fatal error: Command failed for target `dk-filter.o'
    Current working directory /usr/local/src/domainkeys/dk-milter-0.3.1/obj.SunOS.5.
    8.sun4/dk-filter
    *** Error code 1
    make: Fatal error: Command failed for target `all'
    <=====to here

    The error is correct! ther is no the file name paths.h any where....in the dir and tar file....

     
    • The Solaris build on a 5.8 machine for me also defines a compile-time macro SOLARIS, which is how the build decides whether or not to look for <paths.h> when compiling.  For some reason your system isn't defining it, such as:

      gcc -O -I.   -I../../include  -I../libar/  -DSOLARIS=20800 -DNETINET6 -DUSE_ARLIB   -D_REENTRANT -DXP_MT   -c -o dk.o dk.c