poppler-qt in the home directory, how can Frescobaldi find it?

35 views
Skip to first unread message

Federico Bruni

unread,
Oct 28, 2011, 8:06:33 PM10/28/11
to Frescobaldi support
Hi,

the subject is quite self-explanatory.
(I'm talking about Frescobaldi 2)

I have a limitation: I'm not allowed to install Frescobaldi on the main
system (it's not my pc).
I know that I don't need to install it, but I must install poppler-qt
somewhere, right?

If I install poppler in the home and run frescobaldi, then Frescobaldi
can't find it.

I've read through
http://docs.python.org/install/index.html#alternate-installation and
made some tries, but it didn't work.

I installed python-poppler using this command:

python setup.py install --home=~


Then I tried installing Frescobaldi, in 4 different ways:

python setup.py install --home=~
python setup.py install --home=~ --install-libs=~/lib

python setup.py install --prefix=~
python setup.py install --prefix=~ --install-libs=~/lib


I even tried using virtualenv and installed both packages without any
option, but I get the same error when I launch Frescobaldi:

Traceback (most recent call last):
File "/home/fede/python_fresco/bin/frescobaldi", line 3, in <module>
import frescobaldi_app.main
ImportError: No module named frescobaldi_app.main

Please help, I need this information within tomorrow.
Thanks!

Federico

Federico Bruni

unread,
Oct 29, 2011, 4:13:51 AM10/29/11
to Frescobaldi support

It seems that virtualenv installation is working now.
I forgot to clean the build dir in poppler source, a build I made outside virtualenv.

Wilbert Berendsen

unread,
Oct 29, 2011, 4:12:13 PM10/29/11
to fresc...@googlegroups.com
Op Sat, 29 Oct 2011 10:13:51 +0200
Federico Bruni <fede...@gmail.com> schreef:

> It seems that virtualenv installation is working now.
> I forgot to clean the build dir in poppler source, a build I made
> outside virtualenv.

Great!

You can put popplerqt4.so anywhere where Python will find it.
I think even just copying the popplerqt4.so right in frescobaldi_app/
will work.

--
Wilbert Berendsen
(http://www.wilbertberendsen.nl)

Reply all
Reply to author
Forward
0 new messages