From patchwork Tue Feb 21 12:51:34 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Petri Savolainen X-Patchwork-Id: 94271 Delivered-To: patch@linaro.org Received: by 10.140.20.99 with SMTP id 90csp426290qgi; Tue, 21 Feb 2017 04:52:22 -0800 (PST) X-Received: by 10.233.220.134 with SMTP id q128mr23368385qkf.220.1487681542287; Tue, 21 Feb 2017 04:52:22 -0800 (PST) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id n14si15018885qtn.205.2017.02.21.04.52.22; Tue, 21 Feb 2017 04:52:22 -0800 (PST) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) client-ip=54.225.227.206; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 009C760C90; Tue, 21 Feb 2017 12:52:21 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAD_ENC_HEADER,BAYES_00, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id 0E1D960D75; Tue, 21 Feb 2017 12:51:50 +0000 (UTC) X-Original-To: lng-odp@lists.linaro.org Delivered-To: lng-odp@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 719D160C0D; Tue, 21 Feb 2017 12:51:47 +0000 (UTC) Received: from EUR02-VE1-obe.outbound.protection.outlook.com (mail-eopbgr20123.outbound.protection.outlook.com [40.107.2.123]) by lists.linaro.org (Postfix) with ESMTPS id 76BC260A02 for ; Tue, 21 Feb 2017 12:51:45 +0000 (UTC) Received: from AM3PR07CA0031.eurprd07.prod.outlook.com (10.141.45.159) by HE1PR0701MB1739.eurprd07.prod.outlook.com (10.167.246.137) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.933.7; Tue, 21 Feb 2017 12:51:43 +0000 Received: from AM5EUR03FT060.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e08::208) by AM3PR07CA0031.outlook.office365.com (2a01:111:e400:882c::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.933.7 via Frontend Transport; Tue, 21 Feb 2017 12:51:43 +0000 Received-SPF: SoftFail (protection.outlook.com: domain of transitioning linaro.org discourages use of 131.228.2.35 as permitted sender) Received: from hybrid2.ext.net.nokia.com (131.228.2.35) by AM5EUR03FT060.mail.protection.outlook.com (10.152.16.160) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.919.10 via Frontend Transport; Tue, 21 Feb 2017 12:51:43 +0000 Received: from fihe3nok1348.nsn-intra.net (10.158.36.136) by fihe3nok1346.nsn-intra.net (10.158.36.134) with Microsoft SMTP Server (TLS) id 15.1.466.34; Tue, 21 Feb 2017 14:51:41 +0200 Received: from mailrelay.int.nokia.com (10.130.128.30) by fihe3nok1348.nsn-intra.net (10.158.36.136) with Microsoft SMTP Server (TLS) id 15.1.466.34 via Frontend Transport; Tue, 21 Feb 2017 14:51:41 +0200 Received: from fihe3nok0735.emea.nsn-net.net (localhost [127.0.0.1]) by fihe3nok0735.emea.nsn-net.net (8.14.9/8.14.5) with ESMTP id v1LCpYoP019273 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Tue, 21 Feb 2017 14:51:34 +0200 Received: from 10.144.19.15 ([10.144.104.219]) by fihe3nok0735.emea.nsn-net.net (8.14.9/8.14.5) with ESMTP id v1LCpYWf019264 (version=TLSv1/SSLv3 cipher=AES128-SHA256 bits=128 verify=NOT) for ; Tue, 21 Feb 2017 14:51:34 +0200 X-HPESVCS-Source-Ip: 10.144.104.219 From: Petri Savolainen To: Date: Tue, 21 Feb 2017 14:51:34 +0200 Message-ID: <1487681494-15621-3-git-send-email-petri.savolainen@linaro.org> X-Mailer: git-send-email 2.8.1 In-Reply-To: <1487681494-15621-1-git-send-email-petri.savolainen@linaro.org> References: <1487681494-15621-1-git-send-email-petri.savolainen@linaro.org> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:131.228.2.35; IPV:NLI; CTRY:FI; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(7916002)(39450400003)(39840400002)(39860400002)(39850400002)(39410400002)(2980300002)(189002)(199003)(53936002)(110136004)(92566002)(33646002)(36756003)(38730400002)(189998001)(97736004)(50986999)(356003)(76176999)(305945005)(50226002)(86362001)(5660300001)(8936002)(81166006)(450100001)(8676002)(81156014)(15650500001)(22756006)(47776003)(68736007)(2950100002)(6916009)(626004)(2351001)(2906002)(105596002)(106466001)(77096006)(48376002)(5003940100001)(50466002); DIR:OUT; SFP:1102; SCL:1; SRVR:HE1PR0701MB1739; H:hybrid2.ext.net.nokia.com; FPR:; SPF:SoftFail; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; AM5EUR03FT060; 1:rh3VTYWHtYCJqhC62XP1b8YpaUpVJFayU5kyJzJNM4LPf0kBCNYahJpDtQYYtBF3sV+cHPWte8BWEirU0EHd6aVEJm2X3PUWt1+EAVWpizEumQytOtN0SuMCCREA7vRXP/h7RfhTblx9gOkufxLqXMyjT7In+5KDD77ylUJOWlFtYrvWzvgG8V9MK2OCSjROLAM88SXOaSncQo0o0W4meNLUzKYkzXKkAHGLFCYsrmyhdIbA8+HEiXBGiRN11fhRl9EZOktPnSAkGGs8rB8uMlW2u9H4mXSnBNPk/i1HvAPXEwTo1aear5rJpmOhOChPPQkhVHwSzwSvWHr4D2gR1uwyyc/pbKKhDWU4QQH0CzfdU0cyF7LSU66EEH4VmQbDuawpyozpdFLstLGVO023ZYc6UZypwMkcMLt5yirlF67txciOiPM3KckjDlt12EZSEQdnY+N6miwgBuYI9VqwGw== X-MS-Office365-Filtering-Correlation-Id: c5095020-e103-481f-f4b9-08d45a586310 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001); SRVR:HE1PR0701MB1739; X-Microsoft-Exchange-Diagnostics: 1; HE1PR0701MB1739; 3:qI42FeoY3qEwDrZEeYzFoKStEYYNWDv6vsx4I8OND7rDRu1b0aYX92b3ZmxCGlC7F6q/13Lu9jsvwFa/M8yIRhGZbEitStqtxNCIVz0uy4ZWfnrrmqfDth9bJyV6MdJxieVjQk9oHl+VZ1a3+K8f/KrcZW+woYWLN3F603/cSo5ZrQ8Wq+FaQK0EmwL7pE35tuQP5xv1QxYWlCxNOGpvxbT0byOZbMCrQ7ZwnyfyeND70Fe0xXYlfCC+zF2SDRKgpCdlan2oO9MENulCG3rdBdSpeAvSE9AYqeWiT6X0nAxUk8v4geVeXBhcY3uYaTRFp1N90ZyEsQ+WcDHc4ksJ4sSmuGQ4k7G127ztWcX0uF8oQcl9JwVCpXnQ2qP2gbg3; 25:ckphaTZeY0EU+HoNsvAz0mz6UMV2hez8Jrdf9/W8H55sKSqMYMURCIy7pVd+aW2bBB0QVN6w1MqwHRgd2Kd2PyfaZBGZcTxIaRYUO8x75PY/7SdIgqyRexcn3rQ6/33ZJrd+LxDmpY8/3aHZF571ApEpoiGD6WwQNwj9fUfZsah7Yoly2gJkCBfaSmd8gmVt/PMsGevt2WswTTM6Ygl4J7fQSZDhssvxelFqmVTLP55sMJyQSsJUddD0WT/PQEmkYMh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w1F4OUr8Ebz78ikg5MO51dKRDCJxdyeYjpeGG8NMNqqDMM6X49xy/4Oqiy9pBmAdYs6nn6zau1IisNyIy5M2iWPeHDu6ZcI8rkrKmK7RfTv3KlUo= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040375)(601004)(2401047)(13016025)(8121501046)(5005006)(13018025)(3002001)(10201501046)(6055026)(6041248)(20161123558025)(20161123560025)(20161123562025)(20161123564025)(20161123555025)(6072148); SRVR:HE1PR0701MB1739; BCL:0; PCL:0; RULEID:; SRVR:HE1PR0701MB1739; X-Microsoft-Exchange-Diagnostics: 1; HE1PR0701MB1739; 4:i8nv1q96MTCqdxOwNrvsBAquAvRNZEn7s2wRp4NBRPN+OEC5ilXSVbZuH1fgQxRw6E43snh8tY+yFlG9cmHBnebwOrqtOZEs4gSCWZmpY5TM0tSjZfBSBaUf8euzRVzHh6kQk0HCfT7rsu1cB/CoFUtB6FT0GYPBt7oDPYDck9gAkqOJV+jTX72/ndOzW7i000kaS/x3fdsbFTV7kRHkwWGX2s8lAYH1QydRKXKmz0LzhXvGXPjtvrs8w+7u653099Od5OXO3TjUJnn8o1mcz+80OIa9Xh5/iADNNifKMm22KvRuJdsPBdwdKDIaN3/A25vU15y1Qgh4VO08aNxYyfz3K8vopkQ5FHLXz9ku5DlgoLwP1/vqyhpNwIif318iiTTNTN546/omgT8Lc+FLjsW5HB2Ugr+2talT+Fzy1L4OcAwXr5F6mUsn+ZRRVYkq2w3Jz6NO/JOVWHrlthM0MWI1dzvbN9FtQe64dOkOuuL9+yLNIt2YZGG7V97/IIGsiYYWCOe7EnEKNYNZyS6Bnc/BMUDNfDvE56/9TLqcFkN6bmQY3qzwfvqoEVa5mpEXWmBhB/T9p5zsa86gjQj7s84e+SO/SboPFkjWDqdHglCGEWb4e50LTNimkIBRK/rJfK+E4Vnt54NJOt5FeJu5X6nGXuFjnG0FF7FC++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mPj6eadp6vrYrBikZOF5M9+44GrXDDWpF5XBJ+VnymiamKDLzyJfabnVMSk/SkY5iyUFJtLR99Ntnqdw1nVTlr41C1/5AW128R0EvkslEDlGXZ24FxsJ3GSGROXqUFk3ckM4= X-Microsoft-Exchange-Diagnostics: 1; HE1PR0701MB1739; 6:n9TKLKBgpVeq0yLYXjUBODvikV/klCgAWlMu14dYGSgXsMxVUhnyZhAzhQHv/JeD0ffEh1o6m2LyXrJHKlt+T7Ke40ZaW8rX6+QWRMg+LjDEyAzNAkHwzARav3l4qDb7MsrxUUdqQNU7rEpb3KiQlEM6lWjhj280vV0l/VI4daiM4tXtuQQ7VhKit3aGC/r9lACSLFH4qyQoiR4B9AgLESLdn+7CN3RMUFRtTyw7o+i2YRG1PdeBs2KANWlI8Yj6fBB6GojiORIFid2ZIU7yZPU45fESTQD7HoyGF84CyTFLP3WlunmkIS+thbrM7rfHSMeb4DiNYZuiWd33P/hmPPk703Qw/3tHhS4e0zXi5WuBvvRR+7pfSWInIhD+FHgHJFD9yGjTxx0Zg+NLuxkYQWwbO6ez5H+bvDFejHVF9IQ=; 5:l+Z8tWJDFUri+g+tyi/G5pn4OGjiQf8D/rif5bmqvmmaPhop4II7KNUwV/IC2IA6lQBewBBYCdaxW7mvkZwowly4rPdQ1AX6YhZDdeF76YfRw8pmHs46sjJPa4dUhpeLrux6ePUtK1Bpt2Q+5Nzjyg==; 24:vjAv+FGACuErZ77sp6jzSxhKbDUJiuuFlPn/hBU9w1f3FfvApwaYq1l9EDDFX0U4aI+kiREWO1GZKx8QGlNGLlefm5TaaOYM6Lbw6sfy1io= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; HE1PR0701MB1739; 7:A5Lxa40tbzlOT9olVRiWAF3zE9fTf8bJkFoEdC5IxeijHZ9vW/HKpm1RhcmRWW1kQrF83/NbRpmvLlugiQgZgsKXVDhGIWt8qsZx6sKVHZNsqG8en/9LVODZSed6+reBoA3Kt10HEWAbfBEu9z01dqf7wXZfAcC118tI4ByJSn0AM7iTpspmhMLaF0+CiMjMKPQiHzauciHN2dIxpfv0exyJ+yjAKtT2aID6qai14dKQ0FkUEYigjXvLPX5o4/CZeTCBf/cezX/a/qDwAQie2P4elMETKe8zwCz+ENScpWTfBridhqhgxbIb9BXIKBfMQl3S9+iOH7+6D2x/1vSGCw== X-OriginatorOrg: nokia.onmicrosoft.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Feb 2017 12:51:43.0978 (UTC) X-MS-Exchange-CrossTenant-Id: 5d471751-9675-428d-917b-70f44f9630b0 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5d471751-9675-428d-917b-70f44f9630b0; Ip=[131.228.2.35]; Helo=[hybrid2.ext.net.nokia.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0701MB1739 Subject: [lng-odp] [PATCH 3/3] linux-gen: dependencies: update cunit install instructions X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "The OpenDataPlane \(ODP\) List" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" Add missing commands and update instructions for installing into default location for 'make distcheck'. Signed-off-by: Petri Savolainen --- DEPENDENCIES | 23 ++++++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) -- 2.8.1 diff --git a/DEPENDENCIES b/DEPENDENCIES index 574859c..6b69bd9 100644 --- a/DEPENDENCIES +++ b/DEPENDENCIES @@ -215,8 +215,22 @@ Prerequisites for building the OpenDataPlane (ODP) API tar -jxf *.bz2 cd CUnit* ./bootstrap + + # Install CUnit into the default location (/usr/local). This is needed for + # 'make distcheck'. + ./configure + make + sudo make install + + # ... OR ... Install CUnit into user defined location. The same path is + # used in step 4.4 --with-cunit-path=/home/ + ./configure --prefix=/home/ + make make install - #In Step 4.4 use --with-cunit-path=/home/${USER}/CUnitHome + + # Also (in Ubuntu at least) run ldconfig to update shared lib cache or + # reboot, before trying to run e.g. 'make distcheck'. + sudo ldconfig 4.3 Cross compile of Cunit @@ -227,8 +241,11 @@ Prerequisites for building the OpenDataPlane (ODP) API 4.4 Using Cunit with ODP $ Add the configuration option to the regular configuration options - ./configure --enable-cunit #if cunit is in the PATH - ./configure --with-cunit-path=DIR #only if you need a path to Cunit libs and headers + # Use the default path ... + ./configure --enable-cunit + + # ... OR the user defined path. + ./configure --with-cunit-path=/home/ 5.0 Documentation Images & Doxygen