7 May 2003 23:10
RE: Trying to build Quanta...
Ralf Habacker <Ralf.Habacker <at> freenet.de>
2003-05-07 21:10:56 GMT
2003-05-07 21:10:56 GMT
> Hi everyone, > > I'm trying to build Quanta (a KDE web development tool) on top of Cygwin > with the new KDE3.1.1beta packages, with a little trouble. I'm pretty > sure I've got the correct paths for ./configure because it's stopped > complaining about include problems (the only flag I'm currently providing > is a --with-qt-dir=/usr/kde3, a link I'm pointing to my current KDE 3 > installation), but I get this on the console: > > checking for Qt... configure: error: Qt (>= Qt 3.0.3) (library qt-mt) not > found. Please check your installation! > see below > I've looked in the directory where the library would be, and all I see is > this: > > George <at> rikku /cygdrive/c/Program Files/KDE3.1/lib > $ ls -al libqt* > -
rwx------+ 1 George None 122 Mar 10 20:13 libqt-mt.dll.lnk > - rwx------+ 1 George None 613 Dec 16 08:23 libqt-mt.prl Hmmh, under cygwin this should look like lrwxrwxrwx 1 habacker Jeder 122 Mar 10 20:13 libqt-mt.dll -> ../bin/cygqt-mt-3.dll -rw-rw- rw- 1 habacker Jeder 613 Dec 16 08:23 libqt-mt.prl lrwxrwxrwx 1 habacker Jeder 118 Mar 10 20:13 libqui.dll -> ../bin/cygqui-1.dll It seems the symbolic link is broken. It may be good to recreate it. Use the following command. $ cd /cygdrive/c/Program Files/KDE3.1/lib $ ln -fs ../bin/cygqt-mt-3.dll libqt-mt.dll $ ln -fs ../bin/cygqui-1.dll libqui.dll BTW: you can make your live a little simplier with removing the /cygdrive prefix, so you can access the windows drives easier with /c/.. and not with /cygdrive/c/... $ mount -c / > So, am I missing something blatantly obvious? I've been reading for a > while the different list archives, but I admit that some of the > information seemed cryptic to me, so I could not determine if it was > useful to my situation. > > Thanks for any help you can provide, this is one of the last things I need > to do to be able to use KDE for most everything I do on my Windows machine > (and get rid of Dreamweaver, PITA that it has been these last few weeks). > George > Okay, let's talk about some basics: 1. Cygwin is installed in a directory tree starting probably at c:\cygwin or c:\Program Files\cygwin or whatever you have choosen on the first cygwin installing. /opt/kde3 is the cygwin's path for the kde installation, so you should choose the KDE installation directory like c:\cygwin\opt\kde3, which is the default for the setup. Doing so you can --with-qt-dir=/opt/kde3. This should work now. 2. You have installed KDE3 as I see on /cygdrive/c/Program Files/KDE3.1. This is the base dir in which the qt library lives, which could be ses --with-qt-dir="/cygdrive/c/Program Files/KDE3.1" Unfortunally the build system does not like spaces in path names, so this may fail. you have two choices. A. install the kde release into the path stated in 1. or B. use the cygwin mount table support. In short because of internal needs the kde installation directory is accessable under /opt/kde3. For further informations see the Release Notes (README.TXT) in the KDE 3.1 release: "- cygwin mount table use This installation adds an entry to the cygwin mount table from the current installation path to /opt/kde3 to ensure propper dynamic loading of dll's regardless of the true installation path. <snip> You can verify propper operation with the cygwin "mount" command. See the following example: $ mount c:\Programme\cygwin\bin on /usr/bin type system (binmode) c:\Programme\cygwin\lib on /usr/lib type system (binmode) !! c:\Programme\KDE3.1 on /opt/kde3 type system (binmode) !! c:\Programme\cygwin on / type system (binmode)" This means, you can use --with-qt-dir=/opt/kde3. This should work. PS: If your project builds shared libraries, you should install the libtool patch (libtool.. file) from http://cygwin.kde.org/snapshots . This speedups dll creating. Cheers Ralf