From owner-freebsd-ports  Wed Feb 13 12: 3:29 2002
Delivered-To: freebsd-ports@freebsd.org
Received: from energyhq.homeip.net (213-97-200-73.uc.nombres.ttd.es [213.97.200.73])
	by hub.freebsd.org (Postfix) with ESMTP
	id 30A4737B405; Wed, 13 Feb 2002 12:03:23 -0800 (PST)
Received: by energyhq.homeip.net (Postfix, from userid 1001)
	id C36053FC43; Wed, 13 Feb 2002 21:03:24 +0100 (CET)
Date: Wed, 13 Feb 2002 21:03:24 +0100
From: Miguel Mendez <flynn@energyhq.homeip.net>
To: Ben Stroeken <ben.stroeken@home.nl>
Cc: "freebsd-questions@FreeBSD.ORG" <freebsd-questions@FreeBSD.ORG>,
	freebsd-ports@FreeBSD.ORG
Subject: Re: KDevelop
Message-ID: <20020213210324.A61777@energyhq.homeip.net>
References: <3C66C3CB.C5707303@home.nl> <3C6AC4C5.90BFBB94@home.nl>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-md5;
	protocol="application/pgp-signature"; boundary="17pEHd4RhPHOinZp"
Content-Disposition: inline
User-Agent: Mutt/1.2.5.1i
In-Reply-To: <3C6AC4C5.90BFBB94@home.nl>; from ben.stroeken@home.nl on Wed, Feb 13, 2002 at 08:55:49PM +0100
Sender: owner-freebsd-ports@FreeBSD.ORG
Precedence: bulk
List-ID: <freebsd-ports.FreeBSD.ORG>
List-Archive: <http://docs.freebsd.org/mail/> (Web Archive)
List-Help: <mailto:majordomo@FreeBSD.ORG?subject=help> (List Instructions)
List-Subscribe: <mailto:majordomo@FreeBSD.ORG?subject=subscribe%20freebsd-ports>
List-Unsubscribe: <mailto:majordomo@FreeBSD.ORG?subject=unsubscribe%20freebsd-ports>
X-Loop: FreeBSD.org


--17pEHd4RhPHOinZp
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Feb 13, 2002 at 08:55:49PM +0100, Ben Stroeken wrote:

Hi Ben,

> After digging into the config.log file the configure script appears to be
> fail
> at the following command: /usr/libexec/elf/ld: cannot find -lqt
>=20
> After looking into the man ld, this means that a libqt.a file will be
> loaded.


The configure scripts generated by KDevelop do not work on FreeBSD out
of the box and need to be patched before you run them from the Build
command in KDevelop:

	perl -pi -e 's@lqt@lqt2@g' configure
	perl -pi -e 's@moc@moc2@g' configure

Then you can keep working from inside KDevelop.

> I already updated to qt-2.3.1_1, which still gives the same problem.

What happens is that FreeBSD ports system allows you to keep two
versions of the same library, so, while many programs assume that Qt
version 2.x is libqt.so ,it's name is libqt2.so in FreeBSD

Cheers,
--=20
        Miguel Mendez - flynn@energyhq.homeip.net
        GPG Public Key :: http://energyhq.homeip.net/files/pubkey.txt
        EnergyHQ :: http://www.energyhq.tk
        FreeBSD - The power to serve!

--17pEHd4RhPHOinZp
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (FreeBSD)
Comment: For info see http://www.gnupg.org

iD8DBQE8asaLnLctrNyFFPERAmDLAJwMM3IsYI2rbVTMVrNkl0TtAcafmwCfTGqk
EdRkyddUhSpqvRxXs+pNZ04=
=/9Jg
-----END PGP SIGNATURE-----

--17pEHd4RhPHOinZp--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message