Install unicode gem in ruby1.8.7

Hi there,

I don’t understand why the gem install of unicode goes wrong.

I am working on opensuse12.1 32b, here’s the output:

gem install unicode --remote
Building native extensions. This could take a while…
ERROR: Error installing unicode:
ERROR: Failed to build gem native extension.

    /usr/bin/ruby extconf.rb

creating Makefile

make
Makefile:119: *** target pattern contains no `%’. Stop.

Gem files will remain installed in
/home/dom/:/usr/lib/ruby/gems/1.8/gems/gems/unicode-0.4.2 for
inspection.
Results logged to
/home/dom/:/usr/lib/ruby/gems/1.8/gems/gems/unicode-0.4.2/./gem_make.out

Thanks for your insights.

Dominique N. [2012-04-02 12:36]:

Makefile:119: *** target pattern contains no `%'. Stop.

Gem files will remain installed in
/home/dom/:/usr/lib/ruby/gems/1.8/gems/gems/unicode-0.4.2 for
inspection.
the error is caused by the colon in your gem’s path. see:

http://www.gnu.org/software/make/manual/html_node/Error-Messages.html
http://www.gnu.org/software/make/manual/html_node/Static-Usage.html

the question now is, how did the colon get there? can you post the
output of gem env for starters?

cheers
jens

Jens W. wrote in post #1054599:

Dominique N. [2012-04-02 12:36]:

Makefile:119: *** target pattern contains no `%'. Stop.

Gem files will remain installed in
/home/dom/:/usr/lib/ruby/gems/1.8/gems/gems/unicode-0.4.2 for
inspection.
the error is caused by the colon in your gem’s path. see:

http://www.gnu.org/software/make/manual/html_node/Error-Messages.html
http://www.gnu.org/software/make/manual/html_node/Static-Usage.html

the question now is, how did the colon get there? can you post the
output of gem env for starters?

cheers
jens

Thanks for answer,

Actually I set GEM_HOME in my .bashrc for gem1.8. When I installed
ruby1.9 things messed up between 1.8 & 1.9 dirs. I just experienced
problems.

Just had to remove the GEM_HOME & ruby1.9 & reinstall. Things work fine
again

Cheers
Dominique