Opened 13 years ago

Closed 13 years ago

#32784 closed defect (worksforme)

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

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

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

I'm trying to install kde4-kile on a system OS X Lion 10.7.2. Everything seems to be going fine until it gets to ocular, when I get the message that

--->  Configuring okular
Error: Target org.macports.configure returned: Poppler must be installed with +qt4 and +quartz variants

I have tried to go back and install poppler with these variants with no success.

Any help would be appreciated.

Change History (9)

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

Description: modified (diff)
Port: okular added; kde4-kile removed
Summary: kde4-kile fails to install because of problem installing ocularokular: Poppler must be installed with +qt4 and +quartz variants

Please show output of the commands:

port installed poppler
sudo port clean okular
sudo port install okular

On my system the first command results in:

The following ports are currently installed:
  poppler @0.18.2_0+qt4+quartz+universal (active)

(the "+universal" part doesn't matter) and I am able to build okular successfully.

comment:2 Changed 13 years ago by NicosPavlov

Cc: nicos@… added

Cc Me!

comment:3 Changed 13 years ago by eps222@…

I have this same problem. If you have any suggestions to fix this, that would be a great help. Here are the outputs I get from the three commands you asked about:

port installed poppler

The following ports are currently installed:

poppler @0.18.2_0 (active)

sudo port clean okular

---> Cleaning okular

sudo port install okular

---> Computing dependencies for okular ---> Fetching archive for okular ---> Attempting to fetch okular-4.7.4_1.darwin_10.x86_64.tgz from http://packages.macports.org/okular ---> Fetching okular ---> Verifying checksum(s) for okular ---> Extracting okular ---> Configuring okular Error: Target org.macports.configure returned: Poppler must be installed with +qt4 and +quartz variants Log for okular is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_okular/okular/main.log Error: Status 1 encountered during processing. To report a bug, see <http://guide.macports.org/#project.tickets>

comment:4 in reply to:  3 Changed 13 years ago by wroberts@…

Replying to eps222@…:

I have this same problem. If you have any suggestions to fix this, that would be a great help. Here are the outputs I get from the three commands you asked about:

port installed poppler

The following ports are currently installed:

poppler @0.18.2_0 (active)

sudo port clean okular

---> Cleaning okular

sudo port install okular

---> Computing dependencies for okular ---> Fetching archive for okular ---> Attempting to fetch okular-4.7.4_1.darwin_10.x86_64.tgz from http://packages.macports.org/okular ---> Fetching okular ---> Verifying checksum(s) for okular ---> Extracting okular ---> Configuring okular Error: Target org.macports.configure returned: Poppler must be installed with +qt4 and +quartz variants Log for okular is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_okular/okular/main.log Error: Status 1 encountered during processing. To report a bug, see <http://guide.macports.org/#project.tickets>

I followed the suggestions in the first reply. First run

port installed poppler

to see what version of poppler is installed. If it doesn't give you

The following ports are currently installed:

poppler @0.18.2_0+qt4+quartz+universal (active)

or at least the +qt4+quartz part, you will need to reinstall it:

sudo port clean poppler

sudo port install poppler +qt4 +quartz

If this works, then okular should install without any problem.

I hope that helps.

W.

comment:5 Changed 13 years ago by eps222@…

I'll give it a shot - thanks so much for writing back so quickly!

comment:6 Changed 13 years ago by eps222@…

I'm sorry to bother you again with this, but I'm still having trouble - but now it's new trouble. The solution that you posted did fix the problem with +qt4 and +quartz. So that's great, and thank you again! But now I have another problem: when I try to launch okular, it doesn't work. What I get is this:

1:~ user$ okular -bash: okular: command not found

At first I thought that this was linked to something I had done wrong with the qt4 and quartz thing. But then I uninstalled everything (program plus dependencies), I put in the special variants for poppler, and then I reinstalled everything (program plus dependencies). But I keep geting the problem that I pasted above. I suspect that I'm doing something really basic that's wrong - like, maybe I don't know the right way to launch programs. I'd appreciate any help you can offer. Thanks so much again!

comment:7 Changed 13 years ago by wroberts@…

On my system, okular gets installed as an app in the /Applications/MacPorts/KDE4 directory. Try

locate okular

or use the spotlight to search for it. If it is an app, you have to click on it (or double click) to launch it.

Some of the ported software are installed this way (somewhere in /Applications), others are installed in /opt/local/bin.

Hope that helps.

comment:8 Changed 13 years ago by eps222@…

Yes, that does it - thanks!

comment:9 Changed 13 years ago by NicosPavlov

Resolution: worksforme
Status: newclosed

Closing the ticket as it is not a Portfile defect.

Note: See TracTickets for help on using tickets.