[gs-bugs] [Bug 690290] New: make failes not finding paper.h
bugs.ghostscript.com-bugzilla-daemon at ghostscript.com
bugs.ghostscript.com-bugzilla-daemon at ghostscript.com
Sat Feb 14 06:59:06 PST 2009
http://bugs.ghostscript.com/show_bug.cgi?id=690290
Summary: make failes not finding paper.h
Product: Ghostscript
Version: 8.64
Platform: PC
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P4
Component: Build Process
AssignedTo: ralph.giles at artifex.com
ReportedBy: dennisveatch at bellsouth.net
QAContact: gs-bugs at ghostscript.com
gcc -Wall -Wstrict-prototypes -Wundef -Wmissing-declarations
-Wmissing-prototypes -Wwrite-strings -Wno-strict-aliasing
-Wdeclaration-after-statement -fno-builtin -fno-common -DHAVE_STDINT_H
-DGX_COLOR_INDEX_TYPE="unsigned long int" -O2 -march=x86-64 -pipe -fPIC
-DUSE_LIBPAPER -I./base -o ./obj/genarch ./base/genarch.c
./obj/genarch ./obj/arch.h
gcc -DHAVE_MKSTEMP -DHAVE_HYPOT -DHAVE_FILE64 -DHAVE_MKSTEMP64 -DHAVE_FONTCONFIG
-O2 -Wall -Wstrict-prototypes -Wundef -Wmissing-declarations
-Wmissing-prototypes -Wwrite-strings -Wno-strict-aliasing
-Wdeclaration-after-statement -fno-builtin -fno-common -DHAVE_STDINT_H
-DGX_COLOR_INDEX_TYPE="unsigned long int" -O2 -march=x86-64 -pipe -fPIC
-DUSE_LIBPAPER -I./obj -I./base -o ./obj/gp_getnv.o -c ./base/gp_getnv.c
gcc -DHAVE_MKSTEMP -DHAVE_HYPOT -DHAVE_FILE64 -DHAVE_MKSTEMP64 -DHAVE_FONTCONFIG
-O2 -Wall -Wstrict-prototypes -Wundef -Wmissing-declarations
-Wmissing-prototypes -Wwrite-strings -Wno-strict-aliasing
-Wdeclaration-after-statement -fno-builtin -fno-common -DHAVE_STDINT_H
-DGX_COLOR_INDEX_TYPE="unsigned long int" -O2 -march=x86-64 -pipe -fPIC
-DUSE_LIBPAPER -I./obj -I./base -o ./obj/gp_upapr.o -c ./base/gp_upapr.c
./base/gp_upapr.c:18:19: error: paper.h: No such file or directory
./base/gp_upapr.c: In function 'gp_defaultpapersize':
./base/gp_upapr.c:32: warning: implicit declaration of function 'systempapername'
./base/gp_upapr.c:32: warning: initialization makes pointer from integer without
a cast
make: *** [obj/gp_upapr.o] Error 1
Creating /var/log/lunar/compile/ghostscript-8.64.bz2
The problem when using --with-libpaper, configure looks for paper.h in
/usr/inclue/paper. However, libpaper installs the header in
/usr/include/libpaper. I changed the -lpaper to -llibpaper in configure to solve
this and the configure/make/make install went fine.
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.
More information about the gs-bugs
mailing list