Changed the subject again. On 5/27/07, Lefteris Dimitroulakis <[EMAIL PROTECTED]> wrote: > Στις Sunday 27 May 2007 18:37:01 ο/η Dan Nicholson έγραψε: > > On 5/27/07, Dan Nicholson <[EMAIL PROTECTED]> wrote: > > > On 5/21/07, Lefteris Dimitroulakis <[EMAIL PROTECTED]> wrote: > > > > DOXYGEN --with-doxywizard > > > > fails because apparently is unable to locate > > > > headers in /usr/include/qt, so I gave it a slight push with > > > > sed -i 's|../../src|../../src:/usr/include/qt|' \ > > > > addon/doxywizard/doxywizard.pro.in > > > > > > I'm looking at this now. > > > > I didn't have this problem. My qt build is slightly different from the > > BLFS way, but it looked like doxygen added -I$QTDIR/include/qt3. That > > found the headers for me. Could you show me the error you get? > > Here it is: > ............................................. > env > TMAKEPATH=/usr/src/doxygen-1.5.2/tmake/lib/linux-g++ /usr/bin/perl > /usr/src/doxygen-1.5.2/tmake/bin/tmake > doxywizard.pro >Makefile.doxywizard > /usr/bin/make -f Makefile.doxywizard QTDIR=/usr all > make[3]: Entering directory `/usr/src/doxygen-1.5.2/addon/doxywizard' > g++ -c -pipe -Wall -W -fno-exceptions -O2 -DNO_DEBUG -I../../src > -I/usr/include -o > obj/doxywizard.o doxywizard.cpp > doxywizard.cpp:1:20: error: qlabel.h: No such file or directory
Aha. The path -I/usr/include comes from addon/doxywizard/Makefile.doxywizard. It is -I$(QTDIR)/include. In our Qt /usr install, this translates to /usr/include. In that case, the headers are in $(QTDIR)/include/qt. However, if you do the /opt style Qt install, then the headers are in $(QTDIR)/include. This is what's expected, I think, since Qt wants to install to its own directory. I've been building qt a little different following the style I saw in Paldo. http://www.paldo.org/paldo/specs/qt-3.xml In this case, QTDIR is defined as /usr/share/qt3 and symlinks are made in that directory to point to the bin, include, and lib directories. $ echo $QTDIR /usr/share/qt3 $ ls -l $QTDIR total 16 lrwxrwxrwx 1 root root 9 2007-05-27 08:22 bin -> ../../bin lrwxrwxrwx 1 root root 17 2007-05-27 08:22 include -> ../../include/qt3 lrwxrwxrwx 1 root root 9 2007-05-27 08:22 lib -> ../../lib drwxr-xr-x 62 root root 4096 2007-05-27 08:22 mkspecs drwxr-xr-x 2 root root 4096 2007-05-27 08:22 phrasebooks drwxr-xr-x 2 root root 4096 2007-05-27 08:22 templates drwxr-xr-x 2 root root 4096 2007-05-27 08:22 translations $ ls $QTDIR/include jri.h qgrpbox.h qregion.h jri_md.h qguardedptr.h qrtlcodec.h ... Notice that the include symlink points to include/qt3 (it would be include/qt in our case). I suggest that we do the same in BLFS. The changes would be to add the symlinks and change the configuration to "export QTDIR=/usr/share/qt". -- Dan -- http://linuxfromscratch.org/mailman/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
