[MacPorts] #57527: postgresql11 build fails when +llvm is specified but no default llvm is selected

MacPorts noreply at macports.org
Tue Nov 6 14:33:40 UTC 2018


#57527: postgresql11 build fails when +llvm is specified but no default llvm is
selected
---------------------+--------------------------
 Reporter:  tgyurci  |      Owner:  (none)
     Type:  defect   |     Status:  new
 Priority:  Normal   |  Milestone:
Component:  ports    |    Version:  2.5.4
 Keywords:           |       Port:  postgresql11
---------------------+--------------------------
 It checks for the llvm-config command, but that command is not exist by
 default:

 {{{
 $ port installed llvm-6.0
 The following ports are currently installed:
   llvm-6.0 @6.0.1_0 (active)

 $ port select --show llvm
 The currently selected version for 'llvm' is 'none'.

 $ sudo port -v install postgresql11 +llvm
 ...
 checking for llvm-config... no
 checking for llvm-config-7... no
 checking for llvm-config-6.0... no
 checking for llvm-config-5.0... no
 checking for llvm-config-4.0... no
 checking for llvm-config-3.9... no
 configure: error: llvm-config not found, but required when compiling
 --with-llvm, specify with LLVM_CONFIG=
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/57527>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list