Help with ./configure

I am trying to install PDFedit however after un-zipping and running configure at the end i get this

message:checking whether we want to prepare pdfedit-core-dev package… no
checking whether we want to build PDFedit gui… yes
configure: error: QTDIR environment variable must be set

Can someone help

jimt123 wrote:

>
> I am trying to install PDFedit however after un-zipping and running
> configure at the end i get this
>
>
> message:checking whether we want to prepare pdfedit-core-dev package…
> no
> checking whether we want to build PDFedit gui… yes
> configure: error: QTDIR environment variable must be set
>
>
> Can someone help
>
Look at the spec file for the rpm which is for openSUSE to see what special
settings you need to configure and compile it
https://build.opensuse.org/package/files?package=pdfedit&project=KDE%3AKDE3
just click on the pdfedit.spec link on that page.


PC: oS 11.3 64 bit | Intel Core2 Quad Q8300@2.50GHz | KDE 4.6.3 | GeForce
9600 GT | 4GB Ram
Eee PC 1201n: oS 11.4 64 bit | Intel Atom 330@1.60GHz | KDE 4.6.0 | nVidia
ION | 3GB Ram

On Sat, 11 Jun 2011 20:36:03 +0000, jimt123 wrote:

> I am trying to install PDFedit however after un-zipping and running
> configure at the end i get this
>
>
> message:checking whether we want to prepare pdfedit-core-dev package…
> no
> checking whether we want to build PDFedit gui… yes configure: error:
> QTDIR environment variable must be set
>
>
> Can someone help

Why not just install it from the repos? There should be no need to
compile it or build it, just go to the console prompt and type:

sudo zypper in pdfedit

I show it in the Packman repository, so you might need to add that using
YaST’s repository manager.

Jim

Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

Thanks, but I learn about about linux when I try it this way, I found what I was looking for in the README file (which I should have first) and its all in there.

Cheers

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I’d probably ask in the Programming/Scripting forum but otherwise somehow
you’ll need to figure out what the QTDIR is and then set it before running
…/configure so the first step is to know what it is. QT is for KDE, so
are you using KDE? You may need some kde*-devel package to get something
to automatically set that, or you may just need to use a configure
parameter like --with-qtdir=/path/to/your/qtdir, though even then you need
to know which directory to point to. The responses to this other forum
post seemed to provide some interesting information:

http://lists.debian.org/debian-qt-kde/2006/04/msg00033.html

Good luck.

On 06/11/2011 02:36 PM, jimt123 wrote:
>
> I am trying to install PDFedit however after un-zipping and running
> configure at the end i get this
>
>
> message:checking whether we want to prepare pdfedit-core-dev package…
> no
> checking whether we want to build PDFedit gui… yes
> configure: error: QTDIR environment variable must be set
>
>
> Can someone help
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.15 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJN89jBAAoJEF+XTK08PnB5WXoQAM48YOTlXxnnNTihHc8Wsb8P
wiGtbHisARvMMcUxMeDrXn/m6jyB4HKGZPXz1Oj3ERIqkhe3PUfVBw9Bh8C17noZ
a4x4P9IHQFkCJguHsk+RKfOYfYlJmvYHvKz+7ocCVCw/QXyX7VCL7WaFHGB5LxUq
m+s1rDwi6BvkufpNudYBqmagFb08+sOXcWH9A44roW66gX6hpzi6iwNJ4s91+BJy
aw34PQA5A3QysmEUGe4Gtg5vWmifnxFZWoUdBbw4GtPhzfU+CO0uHR2bw3mW9xvs
CMpPIG7U2S08qacqWeu2D2Hpl4k3GQupk1XjB0zwBcJvThMBuPiKnG81jI+T/X0E
nlM8en/+01BZuiYGWm359UxOcxagF7+zIwLt7+H/IfvuZBQWxDNfBHsG9p0gaSeC
hMCZc7LjAqZwdrNyiFP4K3mhH4im8ZRmvNixWKUzAKcMP/MTCOpMz4VRIDXZh6Nb
55JUrSz2dUbkbnnyv1Gfz8iz3igYJs4wLlEcl2uLNRDjMhptZctKlLTqQlZKoHK3
PJxLjDvPTiS9H574v9YW1xPrCWkGf2dgprIawgWt/w+uvO9KlEkjV/gDXesNKsn+
VWKJrKri0qGnqJKpjP7kKU2Fvd3JitN43+sY4EtwMFp6HoZfvc5GZf9y7I+76kBY
UWTOdWI6TwM6+U8/10Nj
=4Ufh
-----END PGP SIGNATURE-----