Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Apr 2004 14:10:11 -0500
From:      Jeremy Messenger <mezz7@cox.net>
To:        freebsd-ports@freebsd.org
Cc:        knu@FreeBSD.org
Subject:   Something wrong with bento, just my port or graphics/ruby-opengl?
Message-ID:  <opr6pwu9ys8ckrg5@smtp.central.cox.net>

next in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?opr6pwu9ys8ckrg5>