Something wrong with bento, just my port or graphics/ruby-opengl?
Jeremy Messenger
mezz7 at cox.net
Mon Apr 19 12:09:38 PDT 2004
Hello,
I still can't figure out what's wrong with the
x11-toolkits/ruby-gtkglext[1] that can't find the graphics/ruby-opengl
depend. It works perfect on my two -CURRENT machines. One thing that I
noticed is that bento has add '_r' on few ruby stuff. It's one thing that
I don't understand.
See here has 'i386-freebsd4':
====================================
===> ruby18-gtkglext-0.9.1 depends on file:
/usr/local/lib/ruby/site_ruby/1.8/i386-freebsd4/opengl.so - not found
====================================
Then, it will install ruby-opengl and why is ruby-opengl has
'i386-freebsd4_r' in the -I?
====================================
===> Installing for ruby18-gtkglext-0.9.1
===> ruby18-gtkglext-0.9.1 depends on file:
/usr/local/lib/ruby/site_ruby/1.8/i386-freebsd4/gtk2.so - found
===> ruby18-gtkglext-0.9.1 depends on file:
/usr/local/lib/ruby/site_ruby/1.8/i386-freebsd4/opengl.so - not found
[...]
===> Extracting for ruby18_r-opengl-0.32b
>> Checksum OK for ruby/rbogl-0.32b.tgz.
===> ruby18_r-opengl-0.32b depends on file: /usr/local/bin/ruby18_r -
found
[...]
Now Making opengl extend module
cc -fPIC -O -pipe -fPIC -D_THREAD_SAFE -I. -I.
-I/usr/local/lib/ruby/1.8/i386-freebsd4_r
-I/usr/local/lib/ruby/1.8/i386-freebsd4_r -I. -I/usr/X11R6/include
-I/usr/local/include -c glu.c
See that: -I/usr/local/lib/ruby/1.8/i386-freebsd4_r
====================================
Ok, let's take the look at ruby-opengl's build log[2] in bento and it does
add '_r' and install.
====================================
===> Extracting for ruby18_r-opengl-0.32b
>> Checksum OK for ruby/rbogl-0.32b.tgz.
===> ruby18_r-opengl-0.32b depends on file: /usr/local/bin/ruby18_r -
found
===> Patching for ruby18_r-opengl-0.32b
[...]
===> Checking if graphics/ruby-opengl already installed
install -c -p -m 0755 opengl.so
/usr/local/lib/ruby/site_ruby/1.8/i386-freebsd4_r
install -c -p -m 0755 glut.so
/usr/local/lib/ruby/site_ruby/1.8/i386-freebsd4_r
[...]
====================================
See the problem?
/usr/local/lib/ruby/site_ruby/1.8/i386-freebsd4/opengl.so (In bento, my
port is looking for this)
/usr/local/lib/ruby/site_ruby/1.8/i386-freebsd4_r/opengl.so (bento added
'_r' and install)
Any hint? Is my port x11-toolkits/ruby-gtkglext the one who need to be
fix, bento, graphics/ruby-opengl, bsd.ruby.mk or am I blind? My port has:
====================================
RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/gtk2.so:${PORTSDIR}/x11-toolkits/ruby-gtk2
\
${RUBY_SITEARCHLIBDIR}/opengl.so:${PORTSDIR}/graphics/ruby-opengl
====================================
I hope, it's not too messy to read in here so thanks for your time to read.
[1]
http://bento.freebsd.org/errorlogs/i386-4-latest/ruby18-gtkglext-0.9.1.log
[2]
http://bento.freebsd.org/errorlogs/i386-4-latest-logs/ruby18_r-opengl-0.32b.log
Cheers,
Mezz
--
bsdforums.org 's moderator, mezz.
More information about the freebsd-ports
mailing list