Bug 693935 - Building project for android.
Summary: Building project for android.
Status: RESOLVED INVALID
Alias: None
Product: MuPDF
Classification: Unclassified
Component: mupdf (show other bugs)
Version: master
Hardware: PC Windows 7
: P4 major
Assignee: Tor Andersson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-26 10:03 UTC by johnmart.aguilar
Modified: 2013-04-26 10:36 UTC (History)
2 users (show)

See Also:
Customer:
Word Size: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.