Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 06 Mar 2003 09:42:44 -0500
From:      "Michael A. Smith" <msmith@code-fu.com>
To:        questions@freebsd.org
Subject:   problem making port databases/ruby-bdb1
Message-ID:  <3E675E64.9000508@code-fu.com>

next in thread | raw e-mail | index | archive | help
I'm having a problem on two machines (an Athlon and an Alpha each 
running 4.8-PRE) with the ruby-bdb1 port (req'd by portupgrade). I cvsup 
my ports tree every night (and run "portsdb -uU").

While upgrading each box, I deinstalled the ruby-bdb1 port and have 
tried to re-make it (by running "make install clean" as root from the 
ruby-bdb1 directory). Here's the result of the build:

--->  Installing 'ruby-bdb1-0.1.8' from a port (databases/ruby-bdb1)
--->  Building '/usr/ports/databases/ruby-bdb1'
===>  Cleaning for ruby-1.8.0.p2
===>  Cleaning for ruby-rdoc-0.0.0.b2
===>  Cleaning for ruby-bdb1-0.1.8
===>  Extracting for ruby-bdb1-0.1.8
 >> Checksum OK for ruby/bdb1-0.1.8.tar.gz.
===>  Patching for ruby-bdb1-0.1.8
===>  Configuring for ruby-bdb1-0.1.8
===>   ruby-bdb1-0.1.8 depends on file: /usr/local/bin/ruby - found
===>   ruby-bdb1-0.1.8 depends on file: /usr/local/bin/rdoc - found
===>  Running extconf.rb to configure
extconf.rb: Entering directory `src'
checking for dbopen()... yes
creating Makefile
extconf.rb: Leaving directory `src'
===>  Building for ruby-bdb1-0.1.8
cc -fPIC -O -pipe -march=k6 -fPIC -I. 
-I/usr/local/lib/ruby/1.8/i386-freebsd4 
-I/usr/local/lib/ruby/1.8/i386-freebsd4 -I. -DHAVE_DBOPEN 
-I/usr/local/include -c bdb1.c
cc -fPIC -O -pipe -march=k6 -fPIC -I. 
-I/usr/local/lib/ruby/1.8/i386-freebsd4 
-I/usr/local/lib/ruby/1.8/i386-freebsd4 -I. -DHAVE_DBOPEN 
-I/usr/local/include -c recnum.c
cc -fPIC -O -pipe -march=k6 -fPIC -I. 
-I/usr/local/lib/ruby/1.8/i386-freebsd4 
-I/usr/local/lib/ruby/1.8/i386-freebsd4 -I. -DHAVE_DBOPEN 
-I/usr/local/include -c delegate.c
cc -shared -rdynamic -L/usr/local/lib -Wl,-soname,bdb1.so 
-L"/usr/local/lib" -L"/usr/local/lib" -o bdb1.so bdb1.o recnum.o 
delegate.o  -lruby  -lcrypt -lm  -lc
cd /usr/ports/databases/ruby-bdb1/work/bdb1-0.1.8; /usr/bin/env 
SHELL=/bin/sh PORTOBJFORMAT=elf PREFIX=/usr/local LOCALBASE=/usr/local 
X11BASE=/usr/X11R6 MOTIFLIB="-L/usr/X11R6/lib -lXm -lXp" 
LIBDIR="/usr/lib" CFLAGS="-O -pipe -march=k6" CXXFLAGS=" -O -pipe 
-march=k6" MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -c -s -o 
root -g wheel -m 555"  BSD_INSTALL_SCRIPT="install -c -o root -g wheel 
-m 555"  BSD_INSTALL_DATA="install -c -o root -g wheel -m 444" 
BSD_INSTALL_MAN="install -c -o root -g wheel -m 444" make -f Makefile  rdoc
/usr/local/bin/rdoc:2:in `require': No such file to load -- rdoc/rdoc 
(LoadError)
	from /usr/local/bin/rdoc:2
*** Error code 1 (ignored)
--->  Installing the new version via the port
===>  Installing for ruby-bdb1-0.1.8
===>   ruby-bdb1-0.1.8 depends on file: /usr/local/bin/ruby - found
===>   Generating temporary packing list
/bin/mkdir -p /usr/local/share/examples/ruby/bdb1/
/bin/cp -R /usr/ports/databases/ruby-bdb1/work/bdb1-0.1.8/examples/* 
/usr/local/share/examples/ruby/bdb1/
/bin/mkdir -p /usr/local/share/doc/ruby/bdb1
/bin/cp -R /usr/ports/databases/ruby-bdb1/work/bdb1-0.1.8/Changes 
/usr/local/share/doc/ruby/bdb1/
/bin/cp -R /usr/ports/databases/ruby-bdb1/work/bdb1-0.1.8/README.en 
/usr/local/share/doc/ruby/bdb1/
/bin/cp -R /usr/ports/databases/ruby-bdb1/work/bdb1-0.1.8/bdb1.html 
/usr/local/share/doc/ruby/bdb1/
/bin/cp -R /usr/ports/databases/ruby-bdb1/work/bdb1-0.1.8/bdb1.rd 
/usr/local/share/doc/ruby/bdb1/
/bin/cp -R /usr/ports/databases/ruby-bdb1/work/bdb1-0.1.8/docs/*.html 
/usr/local/share/doc/ruby/bdb1/
/bin/cp -R /usr/ports/databases/ruby-bdb1/work/bdb1-0.1.8/docs/*.rd 
/usr/local/share/doc/ruby/bdb1/
/bin/cp -R /usr/ports/databases/ruby-bdb1/work/bdb1-0.1.8/docs/doc 
/usr/local/share/doc/ruby/bdb1/
cp: /usr/ports/databases/ruby-bdb1/work/bdb1-0.1.8/docs/doc: No such 
file or directory
*** Error code 1

Stop in /usr/ports/databases/ruby-bdb1.
*** Error code 1

Stop in /usr/ports/databases/ruby-bdb1.
	! databases/ruby-bdb1	(install error)



Am I missing something obvious? The ruby-rdoc is installed.

Thanks!

-- 
Michael A. Smith <msmith@code-fu.com>
Programmer at Large



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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