epitron / redmine_ultraviolet

Advanced syntax highlighting for Redmine source code repositories (using Ultraviolet, which is based on Textmate syntax files).
Other
60 stars 20 forks source link

I can not install it on Windows xp #15

Open archonwang opened 12 years ago

archonwang commented 12 years ago

Hi,

I tried to install it on Windows XP

unfortunately, when I use cammand line

gem install oniguruma

it appears an error.

+++++++++++++++++++++++++++++++++++++++++++

Temporarily enhancing PATH to include DevKit... Building native extensions. This could take a while... ERROR: Error installing oniguruma: ERROR: Failed to build gem native extension.

    C:/Ruby187/bin/ruby.exe extconf.rb

checking for main() in -lonig... no creating Makefile

make gcc -I. -I. -IC:/Ruby187/lib/ruby/1.8/i386-mingw32 -I. -Wall -c oregexp.c oregexp.c: 2 : 23: fatal error: oniguruma.h: No such file or directory compilation terminated. make: *\ [oregexp.o] Error 1

Gem files will remain installed in C:/Ruby187/lib/ruby/gems/1.8/gems/oniguruma-1.1.0 for inspection.

Results logged to C:/Ruby187/lib/ruby/gems/1.8/gems/oniguruma-1.1.0/ext/gem_make.out

+++++++++++++++++++++++++++++++++++++++++++

could anyone help me? Thanks.

This is my environment information as follows: Redmine 1.3.0.stable (MySQL) Ruby version 1.8.7 (i386-mingw32) RubyGems version 1.7.2 Rack version 1.1 Rails version 2.3.14 Active Record version 2.3.14 Active Resource version 2.3.14 Action Mailer version 2.3.14 Active Support version 2.3.14 Application root E:/redmine-1.3 Environment production Database adapter mysql Database schema version 20111018172707

archonwang commented 12 years ago

aha

it's crazy. I did it .

so, you should do it first. just like this. https://gist.github.com/772895

Thanks so much.