Compiling espgs-7.07.1 on FreeBSD--5.2.1 (lpeglib.h error)

Vincent newsposting1 at crel.us
Thu May 27 00:16:04 PDT 2004


When I try to compile espgs-7.07.1 on FreeBSD-5.2.1-RELEASE I get the
following error.

gcc   -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations
-Wmissing-prototypes -Wcast-qual -Wwrite-strings -fno-builtin -fno-common 
-DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\"
-DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_DIRENT_H=1
-DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
-DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
-DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ERRNO_H=1 -DHAVE_FCNTL_H=1
-DHAVE_LIMITS_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
-DHAVE_STRINGS_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_PARAM_H=1
-DHAVE_SYS_TIME_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_UNISTD_H=1
-DHAVE_STRUCT_STAT_ST_BLOCKS=1 -DHAVE_ST_BLOCKS=1 -DTIME_WITH_SYS_TIME=1
-DHAVE_LIBM=1 -DHAVE_PNG_H=1 -DHAVE_LIBPNG_PNG_H=1 -DHAVE_UNISTD_H=1
-Dvfork=fork -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=0 -DRETSIGTYPE=void  -I./obj
-I./src  -o ./obj/sdctc.o -c ./src/sdctc.c
In file included from src/sdctc.c:20:
obj/jpeglib_.h:1:21: jpeglib.h: No such file or directory
In file included from src/sdctc.c:24:
src/sdct.h:61: error: field `err' has incomplete type
src/sdct.h:73: error: field `err' has incomplete type
src/sdct.h:75: error: field `cinfo' has incomplete type
src/sdct.h:76: error: field `destination' has incomplete type
src/sdct.h:87: error: field `err' has incomplete type
src/sdct.h:90: error: field `dinfo' has incomplete type
src/sdct.h:91: error: field `source' has incomplete type
make: *** [obj/sdctc.o] Error 1


cups-1.1.20 compiled fine and is installed but I am trying to get the
rest of the printing system working.

jpeg-6b_1 is installed in /usr/local.  /usr/local/include/jpeglib.h is
there where it is is supposed to be.

gimp-print-4.2.6 compiled fine and is installed.

I configured with the following commands:

export LDFLAGS="-L/usr/local/lib"
export CPPFLAGS="-I/usr/local/include"
./configure --prefix=/usr --mandir=/usr/share/man

I also tried adding --includedir=/usr/local/include to the configure
options but it did not make any difference.


Help would be apprecieated.

Regards,
Vincent







More information about the cups mailing list