From owner-freebsd-current Tue May 2 17:44: 3 2000 Delivered-To: freebsd-current@freebsd.org Received: from casiopea.cyberpet.cl (casiopea.cyberpet.cl [216.72.178.151]) by hub.freebsd.org (Postfix) with ESMTP id 2ED0B37BC73 for ; Tue, 2 May 2000 17:43:45 -0700 (PDT) (envelope-from diego@cyberpet.cl) Received: from casiopea (casiopea.cyberpet.cl [192.168.1.1]) by casiopea.cyberpet.cl with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2650.21) id J99HJ4GA; Tue, 2 May 2000 20:43:40 -0400 Message-ID: <000801bfb498$a0488880$0101a8c0@cyberpet.cl> From: "Diego" To: "Current@Freebsd.Org" References: Subject: Re: KDE 2-preALPHA Date: Tue, 2 May 2000 20:43:40 -0400 Organization: Cyberpet MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Since I'm interested in this too, and nobody has posted a better way yet, I'll tell you what I did to make it work, in a VERY "dirty way", in -current. Hope somebody posts a better and cleaner way. This is what I did : Use the ports to install QT 2.1, gtk12, gmake, jpeg, png, xpm, tiff, gettext, libungif, uulib, automake & autoconf. That will also install some other things (Mesa, TCL, TK...) we need for KDE, that's OK. Make the following links : ln -s /usr/X11R6/bin/moc2 /usr/X11R6/bin/moc ln -s /usr/X11R6/lib/libgtk12.so.2 /usr/X11R6/lib/libgtk.so ln -s /usr/X11R6/lib/libqt2.so.3 /usr/X11R6/lib/libqt.so ln -s /usr/X11R6/lib/libqt2.so.3 /usr/X11R6/lib/libqt.so.3 ln -s /usr/local/lib/libpng.so.3 /usr/X11R6/lib/libpng.so ln -s /usr/local/lib/libpng.so.3 /usr/X11R6/lib/libpng.so.3 ln -s /usr/X11R6/include/qt2 /usr/X11R6/include/qt ln -s /usr/X11R6/include/gtk12 /usr/X11R6/include/gtk ln -s /usr/X11R6/include/gtk10 /usr/X11R6/include/gtk ln -s /usr/X11R6/bin/gtk12-config /usr/X11R6/bin/gtk-config That will "fool" the software into thinking he's accessing the "old" versions, when in fact it's using the new ones. In case they already exist, rename any "older" versions/dirs of any of those listed above that might conflict when making the links. Run the "./configure" script for KDE using the following options : --with-qt-dir=/usr/X11R6/bin --with-qt-includes=/usr/X11R6/include/qt2 --with-qt-libraries=/usr/X11R6/lib --with-extra-includes=/usr/local/include --with-extra-libs=/usr/local/lib You might want to add some other configuration options, like "--enable-threads", etc. See the "./configure" script for other possible options. Use GMAKE (!very important!) to make/install KDE, NOT the BSD "native" Make. Add "/usr/local/kde/lib/" to your LD_LIBRARY_PATH, e.g., add it to the line "ldconfig_paths=..." in /etc/defaults/rc.conf Add "/usr/local/kde/bin" to your path, e.g. add it to your ".cshrc" file (for example, if you are using the default shell) The order in which you make the KDE parts is important : first make/install "Support", then "KDE-qt-add-on", then "Libs", then "Base". From there on it almost makes no difference in what order you make/install the rest. In a couple of parts during the compilations it will stop with an error saying that "this or that" is not there, or it's bad, etc. I had to remove those dirs and run GMake again... :-( Add a file called ".xinitrc" to you home dir, that says "exec startkde", and Run "xinit". "Disclaimer" : This is by NO MEANS neither a "recommendable" or "clean" way of forcing KDE2-preALPHA to run on -current, it's just what I did, and clearly it's NOT guaranteed to work. ;-) !Good Luck! ----- Original Message ----- From: "VINSON WAYNE HOWARD" To: Sent: Tuesday, May 02, 2000 6:46 PM Subject: KDE 2-preALPHA > Has anyone had any luck with kde 2-preALPHA on -current. I couldn't get > it to recognize QT even after installing the QT snapshot, and ldconfig did > wierd things. When I finally found the libs(via a reboot), I still got > unresolved symbols. > > Any sucess stories, or the location of a binary distribution, would be > great. > > Thanks in advance, > Wayne > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message