Results 1 to 3 of 3

Thread: No $QTDIR variable, configure error

  1. #1
    Junior Member registered user
    Join Date
    Oct 2005
    Posts
    21

    No $QTDIR variable, configure error

    Hello,
    I request some advice. I have a HDinstall of the Knoppix 4.0 DVD, which is now about 2 weeks old. I am trying to to a configure for "brahms" from source which uses QT3. The configure says error Qt (Qt>3.0.1) headers and libraries not found. However, if I do a dpkg - l |grep qt, I see that I have all the qt3 libraries, including the -dev ones. I found the files in /usr/include/qt3 and /usr/lib/qt3 which should be correct. When I do "echo $QTDIR" there is nothing. I would like to treat the main cause of the problem and not just patch up the symptoms. Fundamentally, QT3 is an important package and should have been set up properly.
    Question1) What is the right way to have the $QTDIR registered
    Question 2)There are some variables for library and include search paths. What are the right names and what should I include with them? Do I also need a PKG_CONFIG_PATH set to something too?

    From another thread (http://www.knoppix.net/forum/viewtop...771&highlight= ), somebody did "export MOC=/usr/share/qt3/bin/moc && configure --with-qt-dir=/usr --with-qt-includes=/usr/include/qt3 -with-qt-libraries=/usr/lib/qt3 --enable-mt ". That thread is dated from 2003 and I don't know what all of it does exactly. What is MOC all about?

    Any advice is greatly appreciated.
    Frank

  2. #2
    Member registered user
    Join Date
    Feb 2005
    Posts
    57
    Have you tried "export QT3DIR=/usr/share/qt3" That directory has ./include and ./plugins simlinks on my system (Knoppix 3.

  3. #3
    Senior Member registered user
    Join Date
    Sep 2006
    Posts
    148
    Quote Originally Posted by fpd
    Have you tried "export QT3DIR=/usr/share/qt3" That directory has ./include and ./plugins simlinks on my system (Knoppix 3.
    Close but no cigar. On Knoppix 5.3.1, I did that... and the ./configure kept complaining about no headers found after using QT3DIR=
    checking for Qt... configure: error: Qt (>= Qt 3.0.2) (headers and libraries) not found. Please check your installation!
    For more details about this problem, look at the end of config.log.
    Then I set it to QTDIR=
    knoppix@gw614ge:~/kdirstat/kdirstat-2.3.3$ QTDIR=/usr/share/qt3
    knoppix@gw614ge:~/kdirstat/kdirstat-2.3.3$ export QTDIR=/usr/share/qt3
    knoppix@gw614ge:~/kdirstat/kdirstat-2.3.3$ ./configure
    checking build system type... i686-pc-linux-gnu
    {...}
    checking for Qt... libraries /usr/share/qt3/lib, headers /usr/share/qt3/include using -mt
    checking if Qt compiles without flags... yes
    checking for moc... /usr/share/qt3/bin/moc
    checking for uic... /usr/share/qt3/bin/uic
    checking whether uic supports -L ... yes
    checking whether uic supports -nounload ... yes
    checking if Qt needs -ljpeg... no
    checking for rpath... yes
    checking for KDE... libraries /usr/lib, headers /usr/include/kde
    checking for KDE paths... defaults
    checking for dcopidl... /usr/bin/dcopidl
    checking for dcopidl2cpp... /usr/bin/dcopidl2cpp
    checking for mcopidl... /usr/bin/mcopidl
    checking for artsc-config... /usr/bin/artsc-config
    checking for kde-config... /usr/bin/kde-config
    checking for meinproc... /usr/bin/meinproc
    checking for special C compiler options needed for large files... no
    checking for _FILE_OFFSET_BITS value needed for large files... 64
    checking for _LARGE_FILES value needed for large files... no
    checking for long long... yes
    checking if doc should be compiled... yes
    checking if kdirstat should be compiled... yes
    checking if po should be compiled... yes
    configure: creating ./config.status
    fast creating ./Makefile
    fast creating doc/Makefile
    fast creating doc/en/Makefile
    fast creating kdirstat/Makefile
    fast creating kdirstat/pics/Makefile
    fast creating po/Makefile
    config.status: creating config.h
    knoppix@gw614ge:~/kdirstat/kdirstat-2.3.3$
    Ok now maybe I can find out what file in the subdir tree I just copied is 4GB... probably a knoppix.iso come to think of it.
    Well more likely... on to the next error.

Similar Threads

  1. configure: error: C compiler cannot create executables ?
    By princeriley in forum General Support
    Replies: 1
    Last Post: 09-10-2008, 06:56 AM
  2. Replies: 1
    Last Post: 11-15-2004, 07:58 PM
  3. proxy environment variable?
    By activeco in forum General Support
    Replies: 2
    Last Post: 09-04-2004, 08:55 PM
  4. wrecked environmental variable found
    By Lex in forum General Support
    Replies: 0
    Last Post: 11-23-2003, 03:57 AM
  5. Variable problem
    By cborrero2000 in forum General Support
    Replies: 1
    Last Post: 10-28-2003, 07:38 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


ASRock B550M Pro SE AM4 DDR4 SATA 6Gb/s 1 PCIe 4.0 x16 Micro ATX Motherboard picture

ASRock B550M Pro SE AM4 DDR4 SATA 6Gb/s 1 PCIe 4.0 x16 Micro ATX Motherboard

$84.99



Asus H81M-C Intel LGA1150 DDR3 Desktop Motherboard MicroATX Socket H3  picture

Asus H81M-C Intel LGA1150 DDR3 Desktop Motherboard MicroATX Socket H3

$23.99



Gigabyte GA-Q170M-D3H-GSM LGA1151 DDR4 Desktop Motherboard with I/O Plate picture

Gigabyte GA-Q170M-D3H-GSM LGA1151 DDR4 Desktop Motherboard with I/O Plate

$49.99



Asus Prime H310M-A R2.0 Intel LGA 1151 DDR4 Desktop Motherboard picture

Asus Prime H310M-A R2.0 Intel LGA 1151 DDR4 Desktop Motherboard

$54.99



Gigabyte Z370P D3 ATX Z370 LGA1151 Motherboard (Support Intel 6/7th 8th 9th) picture

Gigabyte Z370P D3 ATX Z370 LGA1151 Motherboard (Support Intel 6/7th 8th 9th)

$59.99



MSI H81I LGA1150 MINI-ITX DDR3 Desktop Motherboard With I/O Shield  picture

MSI H81I LGA1150 MINI-ITX DDR3 Desktop Motherboard With I/O Shield

$32.99



ASUS H87I-PLUS, LGA 1150, Intel Motherboard w/ IO Shield picture

ASUS H87I-PLUS, LGA 1150, Intel Motherboard w/ IO Shield

$39.00



MSI B450M PRO-VDH MAX AM4 AMD B450 USB3.2 Micro-ATX Motherboard picture

MSI B450M PRO-VDH MAX AM4 AMD B450 USB3.2 Micro-ATX Motherboard

$67.99



MSI PRO B650-P WiFi AMD AM5 DDR5 WiFi 6E ProSeries Motherboard picture

MSI PRO B650-P WiFi AMD AM5 DDR5 WiFi 6E ProSeries Motherboard

$107.30



Gigabyte M-ATX motherboard with Intel Core i3 8100 CPU and 8GB DDR4 RAM picture

Gigabyte M-ATX motherboard with Intel Core i3 8100 CPU and 8GB DDR4 RAM

$84.00