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" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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 [EMAIL PROTECTED]
> with "unsubscribe freebsd-current" in the body of the message
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message