Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:119093 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 19483 invoked from network); 6 Dec 2022 14:30:00 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 6 Dec 2022 14:30:00 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 19CA71804DF for ; Tue, 6 Dec 2022 06:30:00 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,NICE_REPLY_A,RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H2, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS8560 212.227.0.0/16 X-Spam-Virus: No X-Envelope-From: Received: from mout.gmx.net (mout.gmx.net [212.227.15.15]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Tue, 6 Dec 2022 06:29:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.de; s=s31663417; t=1670336997; bh=pQEaDAbZuNS5mrP9WRqx1gC5kijGZXFfU2vVSYdVfo4=; h=X-UI-Sender-Class:Date:Subject:To:References:From:In-Reply-To; b=ssANnMqh5p82kFcipd10EjaOvfgtEy16xiY6Vm6Z6gQamsA4Ntt6A3eRqhIKPbpJV M0NdSmczLZ67G+03ycjKwdNka+jyEqleSyc22pdiqhwjkTpUqlM1Be24CPRFvzozQV iv/uDImZeZfe8uXr3QrzJ10o64DPi+0kXTM1guCNON6O1/2PMInyP2dQ1kxEzMIAff S3dRr4jAMGr2vHiv8juXR1W0poOw06FuSdZ/wRYWZCWwt/pNtkKHlScWP66g13Nos8 yn/YKn0vvcpjncKRYVFbHUFGSB8kiwcngajpMeiciH11T3XatoTXxt1JilqIygK91e At6gxzr8oS+3A== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from [192.168.2.130] ([79.220.80.221]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1N2V0H-1opkrK0oTX-013xO5; Tue, 06 Dec 2022 15:29:57 +0100 Message-ID: Date: Tue, 6 Dec 2022 15:29:56 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.5.1 To: j adams , PHP Internals References: <93d820f0-aa43-3068-ce0e-0211993b20c7@gmx.de> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:gyPwDoHdM4LPs47aqJr5mv4T5ji9viH94KtcGTFrXhm/YJ/idW2 S+5fuB2ULgw8N7huqUg/uLU84vWDaqreDDrReGipIMLqhiPTJkxjXs5Q2kcMIjCdXuRBBiZ rL0u6cadvom1jHVeUsCjNg+bm58PpH8G7s8owx3/PI6G3hd4gezmx+qUzQFOpxSHEcez0WZ I0WJeYw1ct8C0G890KAqA== UI-OutboundReport: notjunk:1;M01:P0:VQnkOQxkrUw=;u2UuEAfrm+EhcGPCf9CucILfO+d u47Tj2P6PLBDB1Phi14OAti/V8Hq3HAAJuSB5+c2dxhT/6N7Q3NlooTMqlKAjcdYhwYIGW46a v6Os80U56M6hXhwx7NL726ogYoU24f1tRhgaIqwqus/66p6Isi07J/T7Tr0fkrvnbMDAiYXXA Ugpau0T4j/90mjabqs+dbHABo+m08Q8aIFNkzXYPvd27uyM4xIacsmy7ebrdyvWWnC1JcCN5K ULmmaV5+Wia961+0pKAKu03uIxCAbFKR4n6uXhYyY1ZGcP0T1JZbwuYshI3SAwCjrO+U1JgxN CxpC7RYw5+rNE/HPjz/no5RCMV3EEtrsqUUhm47bWKB30Tl8mF2/9ZUhajLls62/BvkBMYvdL TyUKZxK3/tamD3H10MT1ygW2w0fo+jBPOjZzPgQK+5lbrlpaQA/VX42qD09m5bsc28H4TE2wj sD1hysWxrbW8KibmGv9hTCjWweULeZ+cmtgb+gseOeBSPvk6DXtoio0pi4T1FxHupHveQvPVB 4ctX+17vQh11YoI1RhkXz0n4mVV0VPdIGzrntoERbFEv6y6ZTVQaKJW9kNwJWL3EAPlJBEXyl OcH5dtTrVPH++0orSRlmndnmMi+gIKz6MpV5qV9GZK5Tersj/+GxiGsxXY+SIuJyQQ3bXjztD S6nl5rJG3Wh38GkVLaivx0Mw6po3rWHBcyK2zGRYIJHMshFpfzS0d8+Mggc125ylzyZ1H4M/C p6DrBP21QvO/ZHdenLzYiPO25FFp6PuY3P6NC7oLqujU8FTeoqtdwWtDqd0vQMFBjdQdDw/hp L5yizy7M4Af4aeQE/NvWgLbqTAP96g/Py8Lx3n1zdPTelvW3pPXn6Q/2SXtOrQe+CBhBq/M5M kRx4OvA+2Hx/DSdGRiWr9PEMS6LQB8/TFuCZ2qHSKZWeSpST2NAjBID9FWBElKrCXfe2Cz8A9 d3J+ew== Subject: Re: PHP support for matrix operations - BLAS, LAPACK. From: cmbecker69@gmx.de ("Christoph M. Becker") On 05.12.2022 at 20:05, j adams wrote: > Christoph, thanks for this tip. > > Unfortunately, pecl refuses to install Tensor either on my Macbook Pro o= r > on my Ubuntu 20 workstation. Both machines complain about being unable t= o > find cblas.h. I ran 'sudo pecl install tensor' which has quite a bit of > output. The problem seems to happen when it attempts to run make: > > running: make > /bin/bash /tmp/pear/temp/pear-build-root7MZ6PH/tensor-3.0.2/libtool > --mode=3Dcompile cc -I. -I/tmp/pear/temp/tensor/ext > -I/tmp/pear/temp/pear-build-root7MZ6PH/tensor-3.0.2/include > -I/tmp/pear/temp/pear-build-root7MZ6PH/tensor-3.0.2/main > -I/tmp/pear/temp/tensor/ext -I/usr/include/php/20210902 > -I/usr/include/php/20210902/main -I/usr/include/php/20210902/TSRM > -I/usr/include/php/20210902/Zend -I/usr/include/php/20210902/ext > -I/usr/include/php/20210902/ext/date/lib -DHAVE_CONFIG_H -g -O2 -O3 > -ffast-math -DZEND_COMPILE_DL_EXT=3D1 -c /tmp/pear/temp/tensor/ext/tenso= r.c > -o tensor.lo -MMD -MF tensor.dep -MT tensor.lo > libtool: compile: cc -I. -I/tmp/pear/temp/tensor/ext > -I/tmp/pear/temp/pear-build-root7MZ6PH/tensor-3.0.2/include > -I/tmp/pear/temp/pear-build-root7MZ6PH/tensor-3.0.2/main > -I/tmp/pear/temp/tensor/ext -I/usr/include/php/20210902 > -I/usr/include/php/20210902/main -I/usr/include/php/20210902/TSRM > -I/usr/include/php/20210902/Zend -I/usr/include/php/20210902/ext > -I/usr/include/php/20210902/ext/date/lib -DHAVE_CONFIG_H -g -O2 -O3 > -ffast-math -DZEND_COMPILE_DL_EXT=3D1 -c /tmp/pear/temp/tensor/ext/tenso= r.c > -MMD -MF tensor.dep -MT tensor.lo -fPIC -DPIC -o .libs/tensor.o > /tmp/pear/temp/tensor/ext/tensor.c:25:10: fatal error: cblas.h: No such > file or directory > 25 | #include "cblas.h" > | ^~~~~~~~~ > compilation terminated. > make: *** [Makefile:208: tensor.lo] Error 1 > ERROR: `make' failed I think you need to install the OpenBLAS dev package[1]. If in doubt, file an issue at the tensor bug tracker[2]. [1] [2] =2D- Christoph M. Becker