[MacPorts] #38762: poppler: error: The pkg-config script could not be found or is too old.

MacPorts noreply at macports.org
Fri Apr 12 06:36:12 PDT 2013


#38762: poppler: error: The pkg-config script could not be found or is too old.
------------------------------------+--------------------------------
  Reporter:  precioso.p.gabrillo@…  |      Owner:  macports-tickets@…
      Type:  defect                 |     Status:  new
  Priority:  Normal                 |  Milestone:
 Component:  ports                  |    Version:  2.1.3
Resolution:                         |   Keywords:
      Port:  poppler pkgconfig      |
------------------------------------+--------------------------------

Comment (by precioso.p.gabrillo@…):

 Got as far as octave install but ran into another problem.  This is what I
 did:
 {{{
 sudo port -f deactivate pkgconfig
 Password:
 --->  Deactivating pkgconfig @0.28_0
 --->  Cleaning pkgconfig

 sudo port activate pkgconfig
 --->  Computing dependencies for pkgconfig
 --->  Activating pkgconfig @0.28_0
 --->  Cleaning pkgconfig
 }}}

 then:
 {{{
 echo $PATH
 /opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin:/usr/local/git/bin:/usr/X11/bin

 stat /opt/local/bin/pkg-config
 stat: /opt/local/bin/pkg-config: stat: No such file or directory

 which -a pkg-config  <---- returned prompt, no return
 }}}

 I then type the following:

 {{{
 sudo port selfupdate
 sudo port clean octave
 sudo port clean <the list of dependencies I tried to install firts>
 sudo port install <those same list of dependencies>
 }}}

 It seems activating pckconfig may have done the trick as it ran past
 poppler.  However, a lot of warnings were listed at the end but the final
 statement showed:
 {{{
 --->  Updating database of binaries: 100.0%
 --->  Scanning binaries for linking errors: 100.0%
 --->  No broken files found.
 }}}

 I then use the installation instruction from the wiki:
 sudo port install octave-devel +atlas+docs

 and got this last part of the error:

 {{{
 Error: org.macports.build for port metis returned: command execution
 failed
 Please see the log file for port metis for details:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_metis/metis/main.log
 Error: Unable to upgrade port: 1
 Error: Unable to execute port: upgrade metis failed
 }}}


 I will try to attach 2 files: from the screen dump at the end of the
 dependency installation and the metis main.log.

-- 
Ticket URL: <https://trac.macports.org/ticket/38762#comment:13>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list