Bug 693935

Summary: Building project for android.
Product: MuPDF Reporter: johnmart.aguilar
Component: mupdfAssignee: Tor Andersson <tor.andersson>
Status: RESOLVED INVALID    
Severity: major CC: johnmart.aguilar, robin.watts
Priority: P4    
Version: master   
Hardware: PC   
OS: Windows 7   
Customer: Word Size: ---

Description johnmart.aguilar 2013-04-26 10:03:13 UTC
Hi,

After I clone the project ( clone git://git.ghostscript.com/mupdf.git ) and updated the submodule. Whenever I type "make generate" command on cygwin it always contain this error.

$ make generate
process_begin: CreateProcess(NULL, pkg-config --cflags x11 xext, ...) failed.
process_begin: CreateProcess(NULL, pkg-config --libs x11 xext, ...) failed.
    MKDIR build/debug
    CC build/debug/cmapdump.o
/usr/bin/sh: cc: command not found
make: *** [build/debug/cmapdump.o] Error 127


I'm using GNU Make 3.81, cygwin (latest version) and NDK version r8e.


Thanks
Comment 1 Robin Watts 2013-04-26 10:36:48 UTC
(In reply to comment #0)
> $ make generate
> process_begin: CreateProcess(NULL, pkg-config --cflags x11 xext, ...) failed.
> process_begin: CreateProcess(NULL, pkg-config --libs x11 xext, ...) failed.
>     MKDIR build/debug
>     CC build/debug/cmapdump.o
> /usr/bin/sh: cc: command not found
> make: *** [build/debug/cmapdump.o] Error 127

That indicates that no c compiler can be found.
 
> I'm using GNU Make 3.81, cygwin (latest version) and NDK version r8e.

You need to rerun the cygwin setup, and in the list of packages, tell it to include a C compiler.