Upgrade ruby 1.8 to 1.9 failed

Stanislav Sedov stas at FreeBSD.org
Wed Aug 24 01:35:22 UTC 2011

On Tue, 23 Aug 2011 13:36:34 +0300
Anton <gnixua at gmail.com> mentioned:

> Upgrade to the latest version failed:
> # portmaster -o lang/ruby19 lang/ruby18
> .............
> ............
> compiling zlib
> cc -shared -o ../../.ext/i386-freebsd8/zlib.so zlib.o -L. -L../.. -L.  
> -rdynamic -Wl,-soname,../../.ext/i386-freebsd8/zlib.so  -Wl,-R 
> -Wl,/usr/local/lib -L/usr/local/lib -lruby19 -lz  -lcrypt -lm 
> -L/usr/local/lib  -rpath=/usr/lib:/usr/local/lib -pthread  -lc
> making ruby19
> make: don't know how to make NO_DEPENDS. Stop
> *** Error code 2

This is most likely due to the bug in the ruby build system we need to fix.
It seems it tries to run the inernal make with the same argument the port
make has been called with.

For now, you can either work around this by building and installing ruby 1.9
manually (via make install), or just keep 1.8 which we returned to as default
ruby for now due to a big list of problems we didn't anticipated.

Sorry for the inconveniencies!

Stanislav Sedov

()  ascii ribbon campaign - against html e-mail 
/\  www.asciiribbon.org   - against proprietary attachments

More information about the freebsd-ports mailing list