From owner-freebsd-questions@freebsd.org Thu Apr 21 15:11:11 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A5A16B150D4 for ; Thu, 21 Apr 2016 15:11:11 +0000 (UTC) (envelope-from wodfer@gmail.com) Received: from mail-wm0-x22a.google.com (mail-wm0-x22a.google.com [IPv6:2a00:1450:400c:c09::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3FF161C69 for ; Thu, 21 Apr 2016 15:11:11 +0000 (UTC) (envelope-from wodfer@gmail.com) Received: by mail-wm0-x22a.google.com with SMTP id n3so138433525wmn.0 for ; Thu, 21 Apr 2016 08:11:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to; bh=O/W21/Skv5+VchLYvex0U0eTqwdie53tRcqpou1PZtQ=; b=uQMPBbBWsslLa/5so2C/NZl/fGuP24WH9l3tDV4ZfTNM0hRW5l5nfJ+WxUF3Z9YBZR +xPncBeD8gURS/if558XNyA15tdh3Edwrrm6S2CNhaxb7W2U/1J+CANo2ad34s7lgM4L RY/s2hQIcLVfAZdBQt0ToLlmx5/Tmc1plIplh7BIhDTTGP4gIji6b9vfVsllUzwOsBU0 gCqHLMHX6k3oTXQx+Qsh/k/+4QqE0i8tNe7jG/5Qkm3966j0vkejwKiASbZMf4W+vunV 5VOyIN/IbCbVUnAngHBdd/aMlV4Uu2mIBTR7DYbtapIJn81sw5Ns6DBOQRKvMPHfWF2U pQbQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to; bh=O/W21/Skv5+VchLYvex0U0eTqwdie53tRcqpou1PZtQ=; b=BwBgXEI7cg2yJISU1eLQrxrsYTcmVC5561DvIVEF8pr5RlPMzNLLcvfktO2FxXjNoY IiR6dwnD9YzJG/ZS4IS65LmgkKyRF1TGlbOh+PSlcLhGBLtvdTOVnT5yDW3y1NdKXddg mBo+ZWeU45IPARugeaVjRJDD0pWhHVt+i4cjySkhTxcSKxCI6KeBZhI3TLzYLN1bgUQz 9+IyrTuQ89aobkudAj7yXhQpspaflcxKRK+XtSQbbsUEU3bWnUgr1gBibVzNaKebn/HF BSSUwHIU/E3UnO8f1sF623IScQFogzAd0Wb3zqWP9gKFZ3wL/xfuwTMEy8tO+mtBF+pD Ubiw== X-Gm-Message-State: AOPr4FVASM1KnbtBuUirdYuFimL4J6DaYHWlJUx337mHrahsBhIxiYYWqo0X5tug0cNi+DBMH32WpsZxio456A== MIME-Version: 1.0 X-Received: by 10.194.104.135 with SMTP id ge7mr14967268wjb.15.1461251469790; Thu, 21 Apr 2016 08:11:09 -0700 (PDT) Received: by 10.28.107.143 with HTTP; Thu, 21 Apr 2016 08:11:09 -0700 (PDT) In-Reply-To: <5718EAAF.5050604@FreeBSD.org> References: <5718EAAF.5050604@FreeBSD.org> Date: Thu, 21 Apr 2016 17:11:09 +0200 Message-ID: Subject: Re: php7 and pecl-pdflib fails From: Andy Wodfer To: freebsd-questions Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.21 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Apr 2016 15:11:11 -0000 Thanks Matthew! That fixed it. I never export to PDF anyways so this is perfect. Thanks for your help! Best, Andy On Thu, Apr 21, 2016 at 4:58 PM, Matthew Seaman wrote: > On 2016/04/21 15:21, Andy Wodfer wrote: > > Hi, > > I recently upgraded to 10.3 REL on a test server. I'm trying to install > all > > the latest versions for Apache, mysql, php and so on. > > > > php7 is installed and works perfectly with apache. However, I couldn't > > install the extension pecl-pdflib from the php7 extensions port, it fails > > with the message doesn't supprt php7. > > > > ===> phpMyAdmin-4.6.0 depends on file: > > /usr/local/lib/php/20151012/openssl.so - found > > ===> Returning to build of phpMyAdmin-4.6.0 > > ===> phpMyAdmin-4.6.0 depends on file: > /usr/local/lib/php/20151012/pdf.so > > - not found > > ===> pecl-pdflib-3.0.4 cannot be installed: doesn't work with lang/php70 > > port (doesn't support PHP 70). > > *** Error code 1 > > > > Stop. > > make[2]: stopped in /usr/ports/print/pecl-pdflib > > *** Error code 1 > > > > Stop. > > make[1]: stopped in /usr/ports/databases/phpmyadmin > > *** Error code 1 > > > > Stop. > > make: stopped in /usr/ports/databases/phpmyadmin > > > > Does this mean I can't install phpmyadmin for now or is there a way > around > > this? pecl-pdflib hasn't been updated for a couple of years it seems.. > > > > Anyone? > > I believe phpMyAdmin itself is compatible with php7 -- but I haven't > personally tested that. Even though I'm the maintainer for phpMyAdmin, > I don't use it that often nowadays: most of my database needs are served > by postgresql at the moment. > > pecl-pdflib as you have found out is not compatible with php7. You > should be able to get phpMyAdmin to install by turning off the PDF > option. (typing: 'make config' in ${PORTSDIR}/databases/phpmyadmin is > one way to do that.) > > In fact, all that option setting does is tell the packaging system that > PMA does or doesn't depend on the PDF modules used by PHP. You get > exactly the same content for the PMA application either way and it will > autodetect the lack of a PDF module and adjust accordingly. Without PDF > support you can't export your DB schema as a nicely formatted PDF > document. AFAIR that's pretty much all the effect of not having it. > > Cheers, > > Matthew > > > >