Opened 11 years ago

Last modified 11 years ago

#38762 closed defect

poppler: error: The pkg-config script could not be found or is too old. — at Version 3

Reported by: precioso.p.gabrillo@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.3
Keywords: Cc:
Port: poppler pkgconfig

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Trying to install octave by following the wiki instructions:

sudo port install octave-devel +atlas+docs

had errors so after querying the forum, found recommendations to install dependencies first:

sudo port clean octave
sudo port install {dependencies listed from the log...}

then ran into this error that cannot find a solution:

Error: org.macports.configure for port poppler returned: configure failure: command execution failed
Error: Failed to install poppler
Please see the log file for port poppler for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_poppler/poppler/main.log
Error: The following dependencies were not installed: texlive-basic texlive-bin poppler xorg-libXp texlive-documentation-base texlive-bin-extra dvipng latexmk texlive-latex pdfjam texlive-latex-recommended pgf texlive-context texlive-fonts-recommended texlive-math-extra texlive-metapost texlive-xetex texlive-generic-recommended texlive-documentation-english texlive-fontutils lcdf-typetools ps2eps texlive-lang-czechslovak texlive-lang-dutch texlive-lang-english texlive-lang-french texlive-lang-german texlive-lang-italian texlive-lang-polish texlive-lang-portuguese texlive-lang-spanish texlive-luatex
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port texlive failed

attach is the log. Using Mac OSX 10.6.8 with XCode 3.2.6

Change History (4)

Changed 11 years ago by precioso.p.gabrillo@…

Attachment: main.log added

comment:1 Changed 11 years ago by cooljeanius (Eric Gallager)

This is actually an issue with poppler, not octave. The relevant part of the log is:

:info:configure checking for LIBCURL... no
:info:configure configure: error: in `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_poppler/poppler/work/poppler-0.22.2':
:info:configure configure: error: The pkg-config script could not be found or is too old.  Make sure it
:info:configure is in your PATH or set the PKG_CONFIG environment variable to the full
:info:configure path to pkg-config.
:info:configure 
:info:configure Alternatively, you may set the environment variables LIBCURL_CFLAGS
:info:configure and LIBCURL_LIBS to avoid the need to call pkg-config.
:info:configure See the pkg-config man page for more details.
:info:configure 
:info:configure To get pkg-config, see <http://pkg-config.freedesktop.org/>.
:info:configure See `config.log' for more details
:info:configure Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_poppler/poppler/work/poppler-0.22.2" && ./configure --prefix=/opt/local --disable-introspection --disable-poppler-qt4 --disable-gtk-test --disable-silent-rules --enable-xpdf-headers --enable-zlib --enable-libcurl --enable-poppler-glib --mandir=/opt/local/share/man --x-includes=/opt/local/include --x-libraries=/opt/local/lib 

What does port installed curl return for you? How about port installed pkgconfig?

comment:2 in reply to:  1 Changed 11 years ago by precioso.p.gabrillo@…

Replying to egall@…:

What does port installed curl return for you? How about port installed pkgconfig?

Hi,

This is the info:

The following ports are currently installed:
  curl @7.29.0_1+ssl (active)
The following ports are currently installed:
  pkgconfig @0.28_0 (active)

thanks.

Last edited 11 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:3 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Summary: octave @3.2.4, Revision 11 (math, science) Error: Failed to install popplerpoppler: error: The pkg-config script could not be found or is too old.

Please use WikiFormatting.

Note: See TracTickets for help on using tickets.