Date: Tue, 16 Jan 2007 19:22:59 +0100 From: Torfinn Ingolfsen <torfinn.ingolfsen@broadpark.no> To: freebsd-ppc@freebsd.org Subject: trouble compiling Ruby Message-ID: <20070116192259.09c62cc8.torfinn.ingolfsen@broadpark.no>
index | next in thread | raw e-mail
Hello, I'm having trouble compiling runy on FreeBSD/ppc: Script started on Tue Jan 16 09:20:59 2007 root@kg-g4# uname -a FreeBSD kg-g4.kg4.no 7.0-CURRENT-200701 FreeBSD 7.0-CURRENT-200701 #0: Sun Jan 7 15:57:16 UTC 2007 root@xserve.pn.xcllnt.net:/usr/obj/usr/src/sys/GENERIC powerpc root@kg-g4# cd /usr/ports/lang/ruby18 root@kg-g4# make clean ===> Cleaning for ruby-1.8.5.12,1 root@kg-g4# make ===> Vulnerability check disabled, database not found ===> Found saved configuration for ruby+oniguruma-1.8.5.12,1 ===> Extracting for ruby-1.8.5.12,1 => MD5 Checksum OK for ruby/ruby-1.8.5-p12.tar.gz. => SHA256 Checksum OK for ruby/ruby-1.8.5-p12.tar.gz. /bin/mv /usr/ports/lang/ruby18/work/ruby-1.8.5-p12/ext/dl/h2rb /usr/ports/lang/ruby18/work/ruby-1.8.5-p1 2/bin/ ===> Patching for ruby-1.8.5.12,1 ===> Applying FreeBSD patches for ruby-1.8.5.12,1 /usr/bin/sed -i.bak -e 's|-l$pthread_lib|-pthread|g' /usr/ports/lang/ruby18/work/ruby-1.8.5-p12/configu re /bin/rm -rf /usr/ports/lang/ruby18/work/ruby-1.8.5-p12/ext/Win32API /bin/rm -rf /usr/ports/lang/ruby18/work/ruby-1.8.5-p12/ext/win32ole /bin/mv /usr/ports/lang/ruby18/work/ruby-1.8.5-p12/ext/gdbm /usr/ports/lang/ruby18/work/ /bin/mv /usr/ports/lang/ruby18/work/ruby-1.8.5-p12/ext/iconv /usr/ports/lang/ruby18/work/ /bin/mv /usr/ports/lang/ruby18/work/ruby-1.8.5-p12/ext/tk /usr/ports/lang/ruby18/work/ ===> Configuring for ruby-1.8.5.12,1 /usr/bin/touch /usr/ports/lang/ruby18/work/ruby-1.8.5-p12/configure configure: WARNING: you should use --build, --host, --target checking build system type... powerpc-portbld-freebsd7 checking host system type... powerpc-portbld-freebsd7 checking target system type... powerpc-portbld-freebsd7 checking for powerpc-portbld-freebsd7-gcc... cc checking for C compiler default output file name... a.out checking whether the C compiler works... configure: error: cannot run C compiled programs. If you meant to cross compile, use `--host'. See `config.log' for more details. ===> Script "configure" failed unexpectedly. Please report the problem to stas@FreeBSD.org [maintainer] and attach the "/usr/ports/lang/ruby18/work/ruby-1.8.5-p12/config.log" including the output of the failure of your make command. Also, it might be a good idea to provide an overview of all packages installed on your system (e.g. an `ls /var/db/pkg`). *** Error code 1 Stop in /usr/ports/lang/ruby18. root@kg-g4# root@kg-g4# Script done on Tue Jan 16 18:28:02 2007 Also, Ruby (the installed version) crashes: root@kg-g4# pkg_info | grep ruby ruby-1.8.5,1 An object-oriented interpreted scripting language ruby18-bdb-0.5.9_2 Ruby interface to Sleepycat's Berkeley DB revision 2 or lat root@kg-g4# ruby --version Illegal instruction (core dumped) Has anyone else seen this? I have already upgraded some other ports: root@kg-g4# ls -lt /var/db/pkg | more total 4664 drwxr-xr-x 2 root wheel 512 Jan 16 02:39 startup-notification-0.8_3 drwxr-xr-x 2 root wheel 512 Jan 16 02:38 fontconfig-2.3.2_6,1 drwxr-xr-x 2 root wheel 512 Jan 16 02:38 freetype2-2.2.1_1 drwxr-xr-x 2 root wheel 512 Jan 16 02:38 libdrm-2.0.2 drwxr-xr-x 2 root wheel 512 Jan 16 02:38 pkg-config-0.21 drwxr-xr-x 2 root wheel 512 Jan 16 02:38 xorg-libraries-6.9.0 drwxr-xr-x 2 root wheel 512 Jan 16 02:38 expat-2.0.0_1 drwxr-xr-x 2 root wheel 512 Jan 16 02:34 hicolor-icon-theme-0.9_2 drwxr-xr-x 2 root wheel 512 Jan 16 02:30 libxml2-2.6.26 drwxr-xr-x 2 root wheel 512 Jan 16 02:28 libiconv-1.9.2_2 drwxr-xr-x 2 root wheel 512 Jan 16 02:08 cairo-1.2.6_1 drwxr-xr-x 2 root wheel 512 Jan 16 02:08 glitz-0.5.6 drwxr-xr-x 2 root wheel 512 Jan 16 02:06 png-1.2.14 drwxr-xr-x 2 root wheel 512 Jan 16 01:45 dbh-4.5.0 drwxr-xr-x 2 root wheel 512 Jan 16 01:40 intltool-0.35.4 drwxr-xr-x 2 root wheel 512 Jan 16 01:39 p5-XML-Parser-2.34_2 drwxr-xr-x 2 root wheel 512 Jan 16 01:39 perl-5.8.8 drwxr-xr-x 2 root wheel 512 Jan 16 01:00 xorg-6.9.0 drwxr-xr-x 2 root wheel 512 Jan 16 01:00 xorg-nestserver-6.9.0_1 drwxr-xr-x 2 root wheel 512 Jan 16 01:00 xorg-printserver-6.9.0_2 drwxr-xr-x 2 root wheel 512 Jan 16 01:00 xorg-server-6.9.0_5 drwxr-xr-x 2 root wheel 512 Jan 16 01:00 xorg-vfbserver-6.9.0_2 drwxr-xr-x 2 root wheel 512 Jan 16 01:00 xorg-fonts-truetype-6.9.0 drwxr-xr-x 2 root wheel 512 Jan 16 01:00 xorg-fonts-type1-6.9.0 drwxr-xr-x 2 root wheel 512 Jan 16 01:00 xorg-clients-6.9.0_3 drwxr-xr-x 2 root wheel 512 Jan 16 00:56 bitstream-vera-1.10_2 drwxr-xr-x 2 root wheel 512 Jan 16 00:56 xorg-fontserver-6.9.0_1 drwxr-xr-x 2 root wheel 512 Jan 16 00:56 xterm-223 drwxr-xr-x 2 root wheel 512 Jan 16 00:56 xorg-documents-6.9.0 drwxr-xr-x 2 root wheel 512 Jan 16 00:56 xorg-fonts-100dpi-6.9.0_1 drwxr-xr-x 2 root wheel 512 Jan 16 00:56 xorg-fonts-75dpi-6.9.0_1 drwxr-xr-x 2 root wheel 512 Jan 16 00:56 libXft-2.1.7_1 drwxr-xr-x 2 root wheel 512 Jan 16 00:56 xorg-fonts-cyrillic-6.9.0_1 drwxr-xr-x 2 root wheel 512 Jan 16 00:56 xorg-fonts-encodings-6.9.0_1 drwxr-xr-x 2 root wheel 512 Jan 16 00:56 xorg-fonts-miscbitmaps-6.9.0_1 drwxr-xr-x 2 root wheel 512 Jan 16 00:56 xorg-manpages-6.9.0 drwxr-xr-x 2 root wheel 512 Jan 15 20:55 tiff-3.8.2_1 drwxr-xr-x 2 root wheel 512 Jan 15 20:53 jpeg-6b_4 drwxr-xr-x 2 root wheel 512 Jan 15 18:59 gmake-3.81_1 drwxr-xr-x 2 root wheel 512 Jan 15 18:47 db41-4.1.25_4 drwxr-xr-x 2 root wheel 512 Jan 15 17:55 portmanager-0.4.1_7 drwxr-xr-x 2 root wheel 512 Jan 15 01:35 bsdstats-5.3_1 Any hints on how to debug this? -- Regards, Torfinn Ingolfsen, Norwayhome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070116192259.09c62cc8.torfinn.ingolfsen>
