Skip to content

Unable to install rugged under Windows 7 #43

@mliebelt

Description

@mliebelt

I have tried the last few hours to install rugged under windows 7 but failed. Here is the setup:

  • ruby.exe is in the path

  • DevKit is installed and found

  • When I run gem install rugged it fails with the following output:

    C:\apps\ruby\libgit2\build>gem install rugged
    Temporarily enhancing PATH to include DevKit...
    Building native extensions.  This could take a while...
    ERROR:  Error installing rugged:
        ERROR: Failed to build gem native extension.
    ...
    Could not create Makefile due to some reason, probably lack of
    necessary libraries and/or headers.  Check the mkmf.log file for more
    details.  You may need configuration options.
    

In the mentioned mkmf.log, I find the following lines at the end:

"make -f Makefile.embed"
cc -g -I. -Isrc -Iinclude -Ideps/http-parser -Ideps/zlib -DNO_VIZ -DSTDC -DNO_GZIP -D_FILE_OFFSET_BITS=64 -Wall -                Wextra -fPIC -O2   -c -o src/blob.o src/blob.c
make: cc: Command not found
make: *** [src/blob.o] Error 127

What Do I have to do / to install to fix that error for me?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions