Opened 12 years ago

Closed 12 years ago

#36148 closed defect (wontfix)

okular: Poppler must be installed with +qt4 and +quartz variants

Reported by: ellis@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc: NicosPavlov
Port: okular

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

--->  Computing dependencies for kde4-kile
--->  Dependencies to be installed: okular texlive-basic texlive-bin libzzip xmlto coreutils findutils fop t1lib texlive-common xorg-libXaw groff netpbm psutils xorg-libXmu xpm xorg-libXp xorg-printproto texlive-documentation-base texlive-latex
--->  Configuring okular
Error: org.macports.configure for port okular returned: Poppler must be installed with +qt4 and +quartz variants
Error: Failed to install okular
Please see the log file for port okular for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_okular/okular/main.log
Error: The following dependencies were not installed: okular texlive-basic texlive-bin libzzip xmlto coreutils findutils fop t1lib texlive-common xorg-libXaw groff netpbm psutils xorg-libXmu xpm xorg-libXp xorg-printproto texlive-documentation-base texlive-latex
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port kde4-kile failed

It looks like poppler needs to be altered to work. with Okular (and therefore Kile)

Attachments (1)

main.log (668.5 KB) - added by amadeus24 12 years ago.

Download all attachments as: .zip

Change History (11)

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: nicos@… added
Description: modified (diff)
Port: okular added
Resolution: invalid
Status: newclosed
Summary: Kile won't installokular: Poppler must be installed with +qt4 and +quartz variants

The error message seems pretty clear: "Poppler must be installed with +qt4 and +quartz variants". Please install poppler with those variants to fix the problem.

comment:2 Changed 12 years ago by ellis@…

When I tell ports to install kile, why isn't the dependency resolution figuring out the need to use +qt4 or +quartz and instead installing poppler without either of these options?

comment:3 Changed 12 years ago by mf2k (Frank Schima)

Because thats #126.

Changed 12 years ago by amadeus24

Attachment: main.log added

comment:4 Changed 12 years ago by amadeus24

Resolution: invalid
Status: closedreopened

I installed poppler with +qt4 and +quartz variants, but receiving same message.
Cleaned all ports and tried again to install okular. Port still complain about poppler which should be installed with +qt4 and +quartz variants. Attached my main.log.

comment:5 Changed 12 years ago by NicosPavlov

Resolution: invalid
Status: reopenedclosed

The installed version is *not* poppler +qt4 +quartz. In the main.log file, it is noted:

poppler 0.20.5_0 exists in the ports tree
poppler 0.20.5_0 is the latest installed
poppler 0.20.5_0 is active

while it should be:

poppler 0.20.5_0 exists in the ports tree
poppler 0.20.5_0 +qt4+quartz is the latest installed
poppler 0.20.5_0 +qt4+quartz is active

The install therefore stops as before since the port is not installed with proper variants. This should be seen also when running

port installed poppler
Last edited 12 years ago by NicosPavlov (previous) (diff)

comment:6 Changed 12 years ago by sbode@…

Resolution: invalid
Status: closedreopened

Hi folks, i get actually the same error at Lion with the actual macports 2.1.3:

"Error: org.macports.configure for port okular returned: Poppler must be installed with +qt4 and +quartz variants Error: Failed to install okular Please see the log file for port okular for details:

/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_okular/okular/main.log

Error: The following dependencies were not installed: okular texlive texlive-basic texlive-bin libzzip t1lib texlive-common xorg-libXaw xorg-libXmu xorg-libXp xorg-printproto texlive-documentation-base texlive-bin-extra detex dvipng latexdiff p5.12-algorithm-diff 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 psutils t1utils 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 kde4-kile failed"

Why cant macports resolve the needed dependencies ?

Greetings sbo

comment:7 in reply to:  6 Changed 12 years ago by larryv (Lawrence Velázquez)

Resolution: invalid
Status: reopenedclosed

Replying to sbode@…:

Why cant macports resolve the needed dependencies ?

When MacPorts encounters the poppler error, it stops processing dependencies. Please run

sudo port clean okular
sudo port install poppler +qt4 +quartz
sudo port install okular

comment:8 Changed 12 years ago by sbode@…

hmm, i used a clean and fresh installation of macports, so i have a problem with this stati "invalid" ... this is a error in my opinion because macports cant resolve in this case dependencies like apt. So i suggest this ERROR should be fixed.

comment:9 in reply to:  8 Changed 12 years ago by larryv (Lawrence Velázquez)

Resolution: invalid
Status: closedreopened

Replying to sbode@…:

hmm, i used a clean and fresh installation of macports, so i have a problem with this stati "invalid" ... this is a error in my opinion because macports cant resolve in this case dependencies like apt. So i suggest this ERROR should be fixed.

MacPorts can resolve dependencies just fine. What it can’t do is resolve dependencies on variants. (Last time I checked, apt does not have anything analogous to variants.) Ticket #126 is one of our oldest tickets, and I frankly don’t think it will ever be fixed, which is why I closed it after 10 years.

I’ll change the resolution to something more appropriate, if you’d like.

comment:10 Changed 12 years ago by larryv (Lawrence Velázquez)

Resolution: wontfix
Status: reopenedclosed
Note: See TracTickets for help on using tickets.