I'm new to homebrew and the terminal in general, but I'm enjoying learning. I recently started receiving the following errors when I run brew doctor and haven't been able to find a solution:
Error: Failed to import: php53-chdb
No available formula for php53-chdb
Error: Failed to import: php53-graphdat
No available formula for php53-graphdat
Error: Failed to import: php53-pdflib
No available formula for php53-pdflib
Error: Failed to import: php53-raphf
No available formula for php53-raphf
Error: Failed to import: php53-riak
No available formula for php53-riak
Error: Failed to import: php53-xhp
No available formula for php53-xhp
Error: Failed to import: php54-chdb
No available formula for php54-chdb
Error: Failed to import: php54-graphdat
No available formula for php54-graphdat
Error: Failed to import: php54-pdflib
No available formula for php54-pdflib
Error: Failed to import: php54-raphf
No available formula for php54-raphf
Error: Failed to import: php54-riak
No available formula for php54-riak
Error: Failed to import: php54-xhp
No available formula for php54-xhp
Error: Failed to import: php55-chdb
No available formula for php55-chdb
Error: Failed to import: php55-graphdat
No available formula for php55-graphdat
Error: Failed to import: php55-pdflib
No available formula for php55-pdflib
Error: Failed to import: php55-raphf
No available formula for php55-raphf
Error: Failed to import: php55-riak
No available formula for php55-riak
Error: Failed to import: php55-xhp
No available formula for php55-xhp
Any thoughts?
A simple fix from the homebrew PHP author's git page is:
brew tap --repair
More common issues: https://github.com/josegonzalez/homebrew-php#common-upgrade-issues
Try this:
brew tap josegonzalez/homebrew-php; brew untap josegonzalez/homebrew-php
Related
I'm trying to install R package lgmnet but failed.
the warning message
'
make: /opt/R/arm64/bin/gfortran: No such file or directory
make: *** [coxnet5dpclean.o] Error 1
ERROR: compilation failed for package ‘glmnet’
removing ‘/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/glmnet’
'
I installed gfortran as instructed in https://github.com/fxcoudert/gfortran-for-macOS/releases, but when I try to run the complier it returns error message:
'(base) MacBook-Pro:~ cheng$ gfortran
gfortran: fatal error: no input files
compilation terminated.'
I'm no pro in R or bash, could someone please help or point me to the right posts?
I got this error while trying to compile the HAProxy 2.2 with LUA version 5.3. I'm on trying to do it on CentOS7(arm64).
[root#08d17a479616 haproxy-2.2.22]# make TARGET=linux-glibc USE_PCRE=1 USE_PCRE_JIT=1 USE_OPENSSL=1 USE_ZLIB=1 USE_LINUX_TPROXY=1 USE_REGPARM=1 USE_LUA=1 USE_THREAD=1 USE_TFO=1
CC src/version.o
LD haproxy
/usr/bin/ld: cannot find -latomic
collect2: error: ld returned 1 exit status
More logs;
attempt to open //usr/aarch64-redhat-linux/lib64/libatomic.so failed
attempt to open //usr/aarch64-redhat-linux/lib64/libatomic.a failed
attempt to open //usr/lib64/libatomic.so failed
attempt to open //usr/lib64/libatomic.a failed
attempt to open //usr/local/lib64/libatomic.so failed
attempt to open //usr/local/lib64/libatomic.a failed
attempt to open //lib64/libatomic.so failed
attempt to open //lib64/libatomic.a failed
attempt to open //usr/aarch64-redhat-linux/lib/libatomic.so failed
attempt to open //usr/aarch64-redhat-linux/lib/libatomic.a failed
attempt to open //usr/local/lib/libatomic.so failed
attempt to open //usr/local/lib/libatomic.a failed
attempt to open //lib/libatomic.so failed
attempt to open //lib/libatomic.a failed
attempt to open //usr/lib/libatomic.so failed
attempt to open //usr/lib/libatomic.a failed
ld: cannot find -latomic
[root#08d17a479616 haproxy-2.2.22]#
What I've tried until now is to create a symlink to the libatomic.so with this
ln -s /usr/lib64/libatomic.so.1.2.0 /usr/lib/libatomic.so
And installed the missing GNU library from here with the steps outline in the article.
Install CentOS SCLo RH repository:yum install centos-release-scl-rh
Install devtoolset-7-libatomic-devel rpm package:
# yum install devtoolset-7-libatomic-devel
What should I do to resolve it ?
Fixed by installing this package and it goes through to a new error, which I've outlitned in this question.
New question: New questions
To apply the fix for CentOS7 arm, use this link and the instructions on how to install the package.
Package Link
Install systemd-devel rpm package: yum install systemd-devel
i am building sdk for my am5728 board for that i am following this linkenter link description here
when i tried to run MACHINE=am57xx-evm bitbake arago-base-tisdk-image
i got following error
ERROR: Unable to start bitbake server (None)
ERROR: Server log for this session (/home/jenexpc/tisdk/build/bitbake-cookerdaemon.log):
--- Starting bitbake server pid 44756 at 2022-03-28 14:11:56.538965 ---
ERROR: ParseError at /home/jenexpc/tisdk/sources/meta-ros/meta-ros2-eloquent/conf/ros-distro/include/eloquent/ros-distro.inc:112: unparsed line: 'ROS_BUILD_TYPE:pn-ros-workspace = "ament_cmake"'
any idea how to solve this error.
thank you
I'm having a problem with Building TF Hub from Source. Can Anyone please help me out? I've been following the steps as given in https://github.com/tensorflow/hub/blob/master/tensorflow_hub/pip_package/PIP.md
I've installed bazel 0.24.1.
Error I'm Getting:
ERROR: /home/tf_hub/hub/WORKSPACE:17:1: name 'git_repository' is not defined
ERROR: /home/tf_hub/hub/WORKSPACE:40:1: name 'http_archive' is not defined
ERROR: /home/tf_hub/hub/WORKSPACE:47:1: name 'new_http_archive' is not defined
ERROR: Error evaluating WORKSPACE file
ERROR: error loading package '': Encountered error while reading extension file 'tools/build_defs/repo/http.bzl': no such package '#bazel_tools//tools/build_defs/repo': error loading package 'external': Could not load //external package
ERROR: error loading package '': Encountered error while reading extension file 'tools/build_defs/repo/http.bzl': no such package '#bazel_tools//tools/build_defs/repo': error loading package 'external': Could not load //external package
INFO: Elapsed time: 2.552s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (0 packages loaded)
Bazel Version: 0.24.1
Python Version: 3
Tensorflow Version: 2.0.0a
Commands to Reproduce:
(env)~/tf_hub$ git clone https://github.com/tensorflow/hub
(env)~/tf_hub$ cd hub && bazel build tensorflow_hub/pip_package:build_pip_package
Expected Output: No Error. Build Sucessful
Latest Versions of Bazel Doesn't support git_repository (which is still used by tensorflow_hub), so Uninstalling Bazel 0.24.1 and installing Bazel 0.18.1 worked.
I am not using react-native-config here. Still during react-native run-ios I am getting below error.
:1:10: fatal error: '/Users/anurag/cmg/cmg/cmg_app/ios/build/Build/Products/GeneratedInfoPlistDotEnv.h' file not found
include "/Users/anurag/cmg/cmg/cmg_app/ios/build/Build/Products/GeneratedInfoPlistDotEnv.h"
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
** BUILD FAILED **
The following build commands failed:
Preprocess build/Build/Intermediates.noindex/cmg_app.build/Debug-iphonesimulator/cmg_app.build/Preprocessed-Info.plist cmg_app/Info.plist
(1 failure)
Thanks in Advance