From owner-freebsd-questions@FreeBSD.ORG Fri Mar 14 12:53:00 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 33CA2106566B for ; Fri, 14 Mar 2008 12:53:00 +0000 (UTC) (envelope-from aline@riseup.net) Received: from mx1.riseup.net (mx1.riseup.net [204.13.164.18]) by mx1.freebsd.org (Postfix) with ESMTP id 1C13A8FC12 for ; Fri, 14 Mar 2008 12:53:00 +0000 (UTC) (envelope-from aline@riseup.net) Received: from tern.riseup.net (unknown [10.0.1.12]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "tern.riseup.net", Issuer "ipsCA CLASEA1 Certification Authority" (not verified)) by mx1.riseup.net (Postfix) with ESMTP id 67E5D5705EF for ; Fri, 14 Mar 2008 05:52:58 -0700 (PDT) Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: aline@tern.riseup.net) with ESMTP id 3BA5814C263 From: Aline de Freitas To: freebsd-questions@freebsd.org Date: Fri, 14 Mar 2008 09:52:49 -0300 User-Agent: KMail/1.9.7 References: <266882.9012.qm@web50111.mail.re2.yahoo.com> In-Reply-To: <266882.9012.qm@web50111.mail.re2.yahoo.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2747064.aQxzo7Ijml"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200803140952.51722.aline@riseup.net> Subject: Re: Major version binary upgrade 6.3-RELEASE -> 7-RELEASE X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Mar 2008 12:53:00 -0000 --nextPart2747064.aQxzo7Ijml Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Em Friday 14 March 2008 08:22:14 Daniel Demacek escreveu: > Hi, > > in my testing environemnt I've tryied binary upgrade from 6.3-RELEASE -> > 7-RELEASE by following Colin Percival's article at > http://www.daemonology.net/blog/2007-11-11-freebsd-major-version-upgrade.= ht >ml > > I am stuck at the step "portupgrade -f ruby": > > ---> Reinstalling 'ruby-1.8.6.111_1,1' (lang/ruby18) > ---> Building '/usr/ports/lang/ruby18' > =3D=3D=3D> Cleaning for ruby-1.8.6.111_1,1 > =3D=3D=3D> Found saved configuration for ruby-1.8.6,1 > =3D=3D=3D> Extracting for ruby-1.8.6.111_1,1 > =3D> MD5 Checksum OK for ruby/ruby-1.8.6-p111.tar.bz2. > =3D> SHA256 Checksum OK for ruby/ruby-1.8.6-p111.tar.bz2. > /bin/mv /usr/ports/lang/ruby18/work/ruby-1.8.6-p111/ext/dl/h2rb > /usr/ports/lang/ruby18/work/ruby-1.8.6-p111/bin/ =3D=3D=3D> Patching for > ruby-1.8.6.111_1,1 > =3D=3D=3D> Applying FreeBSD patches for ruby-1.8.6.111_1,1 > /usr/bin/sed -i.bak -e 's|-l$pthread_lib|-pthread|g'=20 > /usr/ports/lang/ruby18/work/ruby-1.8.6-p111/configure /bin/rm -rf > /usr/ports/lang/ruby18/work/ruby-1.8.6-p111/ext/Win32API /bin/rm -rf > /usr/ports/lang/ruby18/work/ruby-1.8.6-p111/ext/win32ole /bin/mv > /usr/ports/lang/ruby18/work/ruby-1.8.6-p111/ext/gdbm > /usr/ports/lang/ruby18/work/ /bin/mv > /usr/ports/lang/ruby18/work/ruby-1.8.6-p111/ext/iconv > /usr/ports/lang/ruby18/work/ /bin/mv > /usr/ports/lang/ruby18/work/ruby-1.8.6-p111/ext/tk > /usr/ports/lang/ruby18/work/ =3D=3D=3D> Configuring for ruby-1.8.6.111_1= ,1 > /usr/bin/touch /usr/ports/lang/ruby18/work/ruby-1.8.6-p111/configure > configure: WARNING: you should use --build, --host, --target > checking build system type... i386-portbld-freebsd6 > checking host system type... i386-portbld-freebsd6 > checking target system type... i386-portbld-freebsd6 > checking for i386-portbld-freebsd6-gcc... cc > checking for C compiler default output file name... a.out > checking whether the C compiler works... Bad system call (core dumped) > configure: error: cannot run C compiled programs. > If you meant to cross compile, use `--host'. > See `config.log' for more details. > =3D=3D=3D> Script "configure" failed unexpectedly. > Please report the problem to stas@FreeBSD.org [maintainer] and attach the > "/usr/ports/lang/ruby18/work/ruby-1.8.6-p111/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. > *** Error code 1 > > Stop in /usr/ports/lang/ruby18. > ! lang/ruby18 (ruby-1.8.6.111_1,1) (configure error) > > > > Any suggestions? Thank you. > Dan. > > > > In my experience, when I moved from 6.2 to 7.0 I had to recompile portupgra= de=20 at hand first. To do this you need to recompile portupgrade and all his=20 dependencies by doing 'make install clean' in each one. Yes, ruby is one of= =20 the portupgrade dependencies... And after, with a fresh portupgrade compile= d=20 in the new 7.0 environment, I've done portupgrade -fa. =2D-=20 Aline de Freitas - Chave p=FAblica: ID DE632016 / keys.indymedia.org gpg --keyserver keys.indymedia.org --recv-keys DE632016 --nextPart2747064.aQxzo7Ijml Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.8 (FreeBSD) iEYEABECAAYFAkfadSMACgkQhLRvs95jIBZUjgCeMLWaYfwu+fhY6uHgHWDdsMwP gNwAnjMRFDKsXn6hLyTS6hlBg2Hhn76U =VfuJ -----END PGP SIGNATURE----- --nextPart2747064.aQxzo7Ijml--