Solved Unable to build adminer

I get the following problems when trying to build databases/adminer:-
Code:
===>  Staging for adminer-4.6.2
===>   adminer-4.6.2 depends on file: /usr/local/include/php/main/php.h - found
===>   adminer-4.6.2 depends on file: /usr/local/lib/php/20180731/session.so - not found
===>   php73-session-7.3.6 depends on file: /usr/local/bin/phpize - found
===>   php73-session-7.3.6 depends on package: autoconf>0 - not found
===>   autoconf-2.69_2 depends on executable: gm4 - not found
===>   m4-1.4.18_1,1 depends on executable: makeinfo - not found
===>   texinfo-6.6_1,1 depends on executable: help2man - found
===>   texinfo-6.6_1,1 depends on package: p5-Locale-libintl>=0 - not found
===>   p5-Locale-libintl-1.31 depends on executable: msgfmt - found
===>   p5-Locale-libintl-1.31 depends on package: perl5>=5.28.r1<5.29 - found
===>   p5-Locale-libintl-1.31 depends on shared library: libintl.so - found (/usr/local/lib/libintl.so)
===>   p5-Locale-libintl-1.31 depends on shared library: libiconv.so - found (/usr/local/lib/libiconv.so)
===>  Configuring for p5-Locale-libintl-1.31
env: /usr/local/bin/perl5.28.2: No such file or directory
*** Error code 127

I have perl 5.28.1 installed. What should I do? Can I add perl 5.28.2 to /etc/make.conf?
 
According to Freshports lang/perl5.28 5.28.2 seems to be available, but when I run pkg install perl5, I'm told
The most recent version of packages are already installed
, but I have 5.28.1.

Also this change to /etc/make.conf made no difference-
DEFAULT_VERSIONS+= php=7.3 perl=5.28.1
 
Are you using the quarterly repositories? Mixing packages and custom built ports always has its pitfalls, but when using a current ports tree, you should at least use the current package repositories as well.

Simple and recommended solution would be to build perl from the ports tree as well.
 
Don't edit that file. Create a /usr/local/etc/pkg/repos/FreeBSD.conf for it. The /etc/pkg/FreeBSD.conf is likely to get overwritten when you update undoing your changes.

Code:
FreeBSD: {
  url: .....
}
This is all it needs to contain. Just the URL as that's the only thing that needs to be overridden.
 
Back
Top