From owner-freebsd-ports@FreeBSD.ORG Fri Feb 14 03:24:58 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A6C339B4 for ; Fri, 14 Feb 2014 03:24:58 +0000 (UTC) Received: from nm15-vm2.access.bullet.mail.gq1.yahoo.com (nm15-vm2.access.bullet.mail.gq1.yahoo.com [216.39.63.43]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 615171752 for ; Fri, 14 Feb 2014 03:24:58 +0000 (UTC) Received: from [216.39.60.173] by nm15.access.bullet.mail.gq1.yahoo.com with NNFMP; 14 Feb 2014 03:22:26 -0000 Received: from [216.39.60.160] by tm9.access.bullet.mail.gq1.yahoo.com with NNFMP; 14 Feb 2014 03:22:26 -0000 Received: from [127.0.0.1] by omp1026.access.mail.gq1.yahoo.com with NNFMP; 14 Feb 2014 03:22:26 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 18864.30040.bm@omp1026.access.mail.gq1.yahoo.com Received: (qmail 10879 invoked by uid 60001); 14 Feb 2014 03:22:25 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pacbell.net; s=s1024; t=1392348145; bh=yJuII/xSnYHtKpCA3bkTuy0x3I1lMiDyu4Tf+BiCvqA=; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:Message-ID:Date:From:Reply-To:Subject:To:Cc:MIME-Version:Content-Type; b=XomHw5IiQ1MAvJIaD2+hSV9FWh539CpbSxSP9DB7x/M6m6PD1l2/FVaB2hc2BA3bi6VSu61QetHUtrzQTgyWiXcu1MxB3UfPR8Ndvm/p0dDt+oP108A69S4qKjaxV/xfoGoXIGgyt/KilnGIHp+91ZmiPbm3iccNZ+q/H35ZS00= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=pacbell.net; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:Message-ID:Date:From:Reply-To:Subject:To:Cc:MIME-Version:Content-Type; b=nExbAJffSUkdEA88131zq9LAWfOPX60u17g78+Zzxz0wu9/UcJHQ0urvqoOy74nX6b6+zWKUsgQbiCwCh0ZU6D/JNK3LjQ+I3/EzB2aGEScEGj/fDGk5O4KJw7W5FrlUTHDQRtqRjjX5gnzyyr9tL/qDCdA/++Em1b1JbptMnTo=; X-YMail-OSG: IWNmNTcVM1mb38STNFYeQY0WWum8lLCYMGbQgaRVvV_y9Lk mc5DgNs4zLD79enHP3W8g3CR2JY3.8ahIfWy39czTnLlzvrEfvbcWgTnWZjJ MdRgE0Moe6oOwUK572rommfZjgT7dDu7IVv5tAssNvTXgY0vL6S2dyJIzY8N Ny4T..IGoWW5eP3ZBR.Vq4IgrZGueVjoEfxTpzuvOKZGMb5hMceul902JQ.x YlVtDMfxM2kfHEOCac9JnmCviQ2Z01cvwbD5.sYsV6NfdA_hBQOByQiJi3W8 ORUvmgaNb9SpaQOeZfkmXb4VNjL4o5MgC7rctMP1uloJOg3DcTkDEKK9eDNf DZrnuTStIcMzowgy9b.N9QTCYyt.dj4aVHpwjY8moXzuMaYXSdjYzyRRss8j 5SdXfQ76AHcqOTxqF1z2JE7RP5BfLPX1Go.P3Dp8fU9R8oywB0HDynIs5Aax sxT7.8gA4bSqPZCkbEjb73yVgGOFoass46i4Tl5FmrNik19qLPRSGsj58y_Q 5ciSHx.ih4w0zMLEHsJ.Vz_paqj8NZEvuCZ1jtAwf9hZ7Q2wZ3Pb.1wxXH5M dm8d0qqdtzHgk3BqTwDMuO5f1amqidDp.tKa.c.Jry8Urj2_1JkRCWKs7LeB Pv2iMZfmeBYCxl6IkiSXDXbYYnOeXk6j5KUc_8hVUKzC6R2bWknsHAwusJY_ EpGNyi_8dnaWAnWm6KnEe33TJMR7M4A9_gy_7w6iGW3A0jpnJ.do7rKsTZyl nLsekVNexKs12diaX9qUmvkvhhzPWF4akJwPKcdcd9G5f4yrjgncI1WHiaMk 5EKjkBnBls5OB8GAB7vUwz3P2ON_xJMbLuTHVBVn7aYywr0hY07HC_lg27n4 DL55bnWTnXrgsj6leoLi.A2ozWVJ6pU0Cx11sfS327m8mR82LpgQxwQRfAI7 ISMcW Received: from [67.43.76.165] by web181105.mail.ne1.yahoo.com via HTTP; Thu, 13 Feb 2014 19:22:25 PST X-Rocket-MIMEInfo: 002.001, SGFkIGEgc2ltaWxhciBwcm9ibGVtIG9uIG15IDguNC1SZWxlYXNlIHN5c3RlbS4gQWZ0ZXIgbG9va2luZyBhdCB0aGUgImNvbmZpZy5sb2ciIGZpbGUsIGZpZ3VyZWQgb3V0IGl0IHdhcyBsb29raW5nIGZvciAibGliYm9vc3RfdW5pdF90ZXN0X2ZyYW1ld29ya19nY2M0Mi5zbyIgc28gSSBtYWRlIGEgc29mdCBsaW5rIGluIHRoZSAidXNyL2xvY2FsL2xpYiIgZGlyZWN0b3J5IHdpdGggdGhhdCBuYW1lIHBvaW50aW5nIHRvIHRoZSAibGliYm9vc3RfdW5pdF90ZXN0X2ZyYW1ld29yay5zby4xLjU1LjAiIGZpbGUBMAEBAQE- X-Mailer: YahooMailWebService/0.8.177.636 Message-ID: <1392348145.8286.YahooMailNeo@web181105.mail.ne1.yahoo.com> Date: Thu, 13 Feb 2014 19:22:25 -0800 (PST) From: Robert English Subject: Re: Update for graphics/libopenraw failed To: "freebsd-ports@freebsd.org" MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: Randy Pratt X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: Robert English List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Feb 2014 03:24:58 -0000 Had a similar problem on my 8.4-Release system. After looking at the "config.log" file, figured out it was looking for "libboost_unit_test_framework_gcc42.so" so I made a soft link in the "usr/local/lib" directory with that name pointing to the "libboost_unit_test_framework.so.1.55.0" file. Libopenraw compiled fine after that. Putting this on the server in case someone else has this problem also. Bob On Feb 10, Randy Pratt wrote: >The system is an 8.4-STABLE/i386. > >Excerpt from the entire http://myfreebsd.homeunix.net/libopenraw-0.0.8_5.log : >---------------------------------------------------- >checking boost/test/unit_test.hpp presence... yes >checking for boost/test/unit_test.hpp... yes >checking for the Boost unit_test_framework library... no >configure: error: Could not find the flags to link with Boost unit_test_framework >===> Script "configure" failed unexpectedly. >----------------------------------------------------- > >The libs seem to be there and were were updated: >/usr/local/lib/libboost_unit_test_framework.a >/usr/local/lib/libboost_unit_test_framework.so -> libboost_unit_test_framework.so.1.55.0 >/usr/local/lib/libboost_unit_test_framework.so.1.55.0 >/usr/local/lib/libboost_unit_test_framework.so.5 -> libboost_unit_test_framework.so.1.55.0 > >The entire update log URL is: >http://myfreebsd.homeunix.net/updates/ports/ports-2014.02.09.0606.log > > 8==snipped From owner-freebsd-ports@FreeBSD.ORG Fri Feb 14 04:29:04 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7F342638 for ; Fri, 14 Feb 2014 04:29:04 +0000 (UTC) Received: from mail1.bur200.uecomm.net.au (mail1.bur200.uecomm.net.au [218.185.0.70]) by mx1.freebsd.org (Postfix) with ESMTP id 0B22A1B45 for ; Fri, 14 Feb 2014 04:29:03 +0000 (UTC) Received: from mail.fdrive.com.au (unknown [115.186.196.106]) by mail1.bur200.uecomm.net.au (Postfix) with ESMTP id D5950D4F1 for ; Fri, 14 Feb 2014 15:10:41 +1100 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.fdrive.com.au (Postfix) with ESMTP id 757EBE5E0F for ; Fri, 14 Feb 2014 15:11:32 +1100 (EST) X-Virus-Scanned: amavisd-new at fdrive.com.au Received: from mail.fdrive.com.au ([127.0.0.1]) by localhost (mail.fdrive.com.au [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8C3VO7ru6z4w for ; Fri, 14 Feb 2014 15:11:29 +1100 (EST) Received: from PetersBigBox (ws-pross.vv.fda [192.168.50.199]) by mail.fdrive.com.au (Postfix) with ESMTPS id 74603E62CF for ; Fri, 14 Feb 2014 15:11:29 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by PetersBigBox (Postfix) with ESMTP id DE383192037F for ; Fri, 14 Feb 2014 15:10:08 +1100 (EST) Date: Fri, 14 Feb 2014 15:10:08 +1100 (EST) From: Peter Ross X-X-Sender: petros@PetersBigBox To: freebsd-ports@freebsd.org Subject: Pkg install from release CD using FreeBSD provided repo Message-ID: User-Agent: Alpine 2.02 (DEB 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Feb 2014 04:29:04 -0000 Hi, after having a +1 from a German mailing list and the suggestion to send it to the appropriate mailing list (I think freebsd-ports is the one?) a suggestion for the installation from CD 1. Include a local binary way to install pkg 2. Ask for a proxy server when setting up a new FreeBSD machine (write it in the environment section of pkg.conf as well as setting the http_proxy environment variable) 3. Ask whether you want to use binary packages and write a FreeBSD.conf for the appropriate repository to download from 4. Download the content from the repo at the first pkg command so commands as "pkg search" work immediately. Point 2, 3 and 4 sound quite "trivial", I think, it is more of whether it is the right way to do. For step 1 I provide a "minimal ports tree" with all what's needed to compile pkg. See below for details. I suggest it after my own install experience for FreeBSD 10.0. I am a sysadmin who is using the ports collection for our servers, whoever, this time I wanted to try a binary install for a desktop, I found it too cumbersome, as a novice I would have given up.. Sitting in the office (and behind a firewall and having a proxy) I wanted to setup a new desktop. Shiny new pkg tools - better than apt.. cool! Yes, it works well, much better than the old stuff. Thanks! Okay, do I need ports? No (I think - I want binaries). I just use pkg afterwards. Good. Problem 1: pkg is just the stub.. and wants to get it from a FreeBSD server.. well - stuck (the firewall) Well, I guess "http_proxy=..; export http_proxy" may help - yes, it does. (But I am a sysadmin - what if I do not have this knowledge?) Problem 2: "pkg search perl" - nothing. Google, google.. okay, the announcement and writing a repository configuration. Problem 3: ""pkg search perl" - still no output. pkg repo/upgrade/update/updating.. all: no. Looking at the repo website: Yes, it's there. "pkg install 0verkill" (the first package I see - magic, it downloads the repository content and more, and now "pkg search" and others work! Thay are all problems you can solve. But I do not think they should be the first FreeBSD experience. Another mailing list member had a similar disappointing start with FreeBSD 10. Hence the suggestion above. What do you think? Sorry if I am stirring the pot again.. I found some "mails related to the pkg stub but I did not find something similar to my suggestion. I am happy for any other way that may prevent an experience as I just had. Here my workaround to bootstrap ppkg locally (tested for FreeBSD 9): 1. create_pkg_bootstrap.sh # Creates bootstrap package used by add_packages.sh # Assumes succesful pkg build in ports tree # Parameter: pkg name (pkg-${version}) if [ "X${1}" = "X" ]; then echo "Please specify pkg name (pkg-version)" exit 1 fi cd /usr/ports rm -f /usr/ports/ports-mgmt/pkg/work/.install_done.pkg._usr_local tar -czf /usr/ports/packages/$1.tgz ports-mgmt/pkg Mk \ Templates/BSD.local.dist Tools/scripts/security-check.awk 2. Use the pkg tar ball to install pkg bootstrap_pkg() { echo "Bootstrap pkg" tmp_ports_dir=`mktemp -d /tmp/${APP}.ports.XXXXXX` cd ${tmp_ports_dir} tar -xzvf /usr/ports/packages/pkg*.tgz cd ports-mgmt/pkg make install PORTSDIR=${tmp_ports_dir} echo "Packages installed: " pkg info -a rm -rf ${tmp_ports_dir} } I am pretty sure that may need some polish before it can grace an official installation CD (or there is something better).. but it may be a starting point. Regards Peter