Its-Satyajit / phpv

PHPV simplifies PHP version management on Arch Linux-based systems like Manjaro, EndeavourOS, Garuda Linux, and ArcoLinux. Install, update, or switch PHP versions effortlessly with PHPV's intuitive commands. Designed for developers who value simplicity and efficiency, PHPV ensures smooth PHP development environments without the hassle.
MIT License
8 stars 2 forks source link

Error in trying to install any version #1

Closed jco-jlabs closed 2 months ago

jco-jlabs commented 2 months ago

phpv -i 74

FYI: Conjuring PHP version 74 from https://aur.archlinux.org/php74.git... *poof!*
Cloning into '/home/user/src/php74'...
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint:   git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint:   git branch -m <name>
remote: Enumerating objects: 167, done.
remote: Counting objects: 100% (167/167), done.
remote: Compressing objects: 100% (85/85), done.
remote: Total 167 (delta 91), reused 146 (delta 81), pack-reused 0 (from 0)
Receiving objects: 100% (167/167), 63.45 KiB | 184.00 KiB/s, done.
Resolving deltas: 100% (91/91), done.
FYI: Mixing potions to build and install PHP version 74...
FYI: This may take a while... Gather 'round, wizards!
==> Making package: php74 7.4.33-9 (Tuesday, 20 August, 2024 11:21:19 PM)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Installing missing dependencies...
[sudo] password for user:
:: There are 6 providers available for smtp-forwarder:
:: Repository extra
   1) dma  2) exim  3) msmtp-mta  4) nullmailer  5) opensmtpd  6) postfix

Enter a number (default=1):
error: target not found: c-client
:: There are 6 providers available for smtp-forwarder:
:: Repository extra
   1) dma  2) exim  3) msmtp-mta  4) nullmailer  5) opensmtpd  6) postfix

Enter a number (default=1):
==> ERROR: 'pacman' failed to install missing dependencies.
==> Missing dependencies:
  -> patchelf
  -> smtp-forwarder
  -> apache
  -> openssl-1.1
  -> postgresql-libs
  -> unixodbc
  -> libfbclient
  -> freetds
  -> aspell
  -> libvoikko
  -> hspell
  -> hunspell
  -> nuspell
  -> aspell
  -> net-snmp
  -> c-client
  -> smtp-forwarder
==> ERROR: Could not resolve all dependencies.
Oops... Failed the incantation to build or install PHP version 74. Did someone mispronounce 'makepkg'?

Machine: Linux arch 6.10.5-arch1-1 #1 SMP PREEMPT_DYNAMIC Thu, 15 Aug 2024 00:25:30 +0000 x86_64 GNU/Linux

Its-Satyajit commented 2 months ago

@jco-jlabs, You need to manually install the missing dependencies that makepkg was unable to resolve. You can do this by running:

sudo pacman -S --needed patchelf apache openssl-1.1 postgresql-libs unixodbc firebird freetds aspell libvoikko hspell hunspell nuspell net-snmp postfix

For c-client, Pre-built Binary binary.

For Installing From source

yay -S --needed c-client

Sorry for the late response!