PDA

View Full Version : make xconfig does not work



Samnsparky
12th August 2007, 05:15 AM
When I try to do make xconfig I get:
CHECK qt
*
* Unable to find the QT3 installation. Please make sure that
* the QT3 development package is correctly installed and
* either install pkg-config or set the QTDIR environment
* variable to the correct location.
*
make[1]: *** No rule to make target `scripts/kconfig/.tmp_qtcheck', needed by `scripts/kconfig/qconf.o'. Stop.
make: *** [xconfig] Error 2

Here is my rpm -qa | grep qt:

qt4-4.3.0-9.fc7.1
pinentry-qt-0.7.2-14.fc7
qt4-x11-4.3.0-9.fc7.1
dbus-qt-0.70-1.fc7
poppler-qt-0.5.4-7.fc7
avahi-qt3-0.6.17-1.fc7
qt-3.3.8-4.fc7
scim-qtimm-0.9.4-7.fc7

Here is my rpm -qa | grep gcc:

gcc-4.1.2-12
libgcc-4.1.2-12
gcc-c++-4.1.2-12


Your help is appreciated,
Sam

Wayne
12th August 2007, 06:21 AM
Probably wants you to:

yum install qt-devel

Wayne

Samnsparky
12th August 2007, 09:12 PM
Thanks, however, now I get this:

[root@localhost linux-2.6.22.2]# make xconfig
HOSTLD scripts/kconfig/qconf
/usr/bin/ld: cannot find -lXi
collect2: ld returned 1 exit status
make[1]: *** [scripts/kconfig/qconf] Error 1
make: *** [xconfig] Error 2

Samnsparky
12th August 2007, 09:40 PM
Just so you know when I try make menuconfig I get this lovely output:

In file included from scripts/kconfig/lxdialog/checklist.c:24:
scripts/kconfig/lxdialog/dialog.h:32:20: error: curses.h: No such file or direct
ory
In file included from scripts/kconfig/lxdialog/checklist.c:24:
scripts/kconfig/lxdialog/dialog.h:97: error: expected specifier-qualifier-list b
efore ‘chtype’
scripts/kconfig/lxdialog/dialog.h:187: error: expected ‘)’ before ‘*’ token
scripts/kconfig/lxdialog/dialog.h:194: error: expected ‘)’ before ‘*’ token
scripts/kconfig/lxdialog/dialog.h:196: error: expected ‘)’ before ‘*’ token
scripts/kconfig/lxdialog/dialog.h:197: error: expected ‘)’ before ‘*’ token
scripts/kconfig/lxdialog/dialog.h:198: error: expected ‘)’ before ‘*’ token
scripts/kconfig/lxdialog/dialog.h:199: error: expected ‘)’ before ‘*’ token
scripts/kconfig/lxdialog/dialog.h:201: error: expected ‘)’ before ‘*’ token
scripts/kconfig/lxdialog/checklist.c:31: error: expected ‘)’ before ‘*’ token
scripts/kconfig/lxdialog/checklist.c:59: error: expected ‘)’ before ‘*’ token
scripts/kconfig/lxdialog/checklist.c:95: error: expected ‘)’ before ‘*’ token
scripts/kconfig/lxdialog/checklist.c: In function ‘dialog_checklist’:
scripts/kconfig/lxdialog/checklist.c:116: error: ‘WINDOW’ undeclared (first use
in this function)
scripts/kconfig/lxdialog/checklist.c:116: error: (Each undeclared identifier is
reported only once
scripts/kconfig/lxdialog/checklist.c:116: error: for each function it appears in
.)
scripts/kconfig/lxdialog/checklist.c:116: error: ‘dialog’ undeclared (first use
in this function)
scripts/kconfig/lxdialog/checklist.c:116: error: ‘list’ undeclared (first use in
this function)
scripts/kconfig/lxdialog/checklist.c:116: warning: left-hand operand of comma ex
pression has no effect
scripts/kconfig/lxdialog/checklist.c:129: warning: implicit declaration of funct
ion ‘getmaxy’
scripts/kconfig/lxdialog/checklist.c:129: error: ‘stdscr’ undeclared (first use
in this function)
scripts/kconfig/lxdialog/checklist.c:130: error: ‘KEY_MAX’ undeclared (first use
in this function)
scripts/kconfig/lxdialog/checklist.c:131: warning: implicit declaration of funct
ion ‘getmaxx’
scripts/kconfig/lxdialog/checklist.c:137: error: ‘COLS’ undeclared (first use in
this function)
scripts/kconfig/lxdialog/checklist.c:138: error: ‘LINES’ undeclared (first use i
n this function)
scripts/kconfig/lxdialog/checklist.c:140: warning: implicit declaration of funct
ion ‘draw_shadow’
scripts/kconfig/lxdialog/checklist.c:142: warning: implicit declaration of funct
ion ‘newwin’
scripts/kconfig/lxdialog/checklist.c:143: warning: implicit declaration of funct
ion ‘keypad’
scripts/kconfig/lxdialog/checklist.c:143: error: ‘TRUE’ undeclared (first use in
this function)
scripts/kconfig/lxdialog/checklist.c:145: warning: implicit declaration of funct
ion ‘draw_box’
scripts/kconfig/lxdialog/checklist.c:146: error: ‘struct dialog_color’ has no me
mber named ‘atr’
scripts/kconfig/lxdialog/checklist.c:146: error: ‘struct dialog_color’ has no me
mber named ‘atr’
scripts/kconfig/lxdialog/checklist.c:147: warning: implicit declaration of funct
ion ‘wattrset’
scripts/kconfig/lxdialog/checklist.c:147: error: ‘struct dialog_color’ has no me
mber named ‘atr’
scripts/kconfig/lxdialog/checklist.c:148: warning: implicit declaration of funct
ion ‘mvwaddch’
scripts/kconfig/lxdialog/checklist.c:150: warning: implicit declaration of funct
ion ‘waddch’
scripts/kconfig/lxdialog/checklist.c:151: error: ‘struct dialog_color’ has no me
mber named ‘atr’
scripts/kconfig/lxdialog/checklist.c:154: warning: implicit declaration of funct
ion ‘print_title’
scripts/kconfig/lxdialog/checklist.c:156: error: ‘struct dialog_color’ has no me
mber named ‘atr’
scripts/kconfig/lxdialog/checklist.c:157: warning: implicit declaration of funct
ion ‘print_autowrap’
scripts/kconfig/lxdialog/checklist.c:164: warning: implicit declaration of funct
ion ‘subwin’
scripts/kconfig/lxdialog/checklist.c:171: error: ‘struct dialog_color’ has no me
mber named ‘atr’
scripts/kconfig/lxdialog/checklist.c:171: error: ‘struct dialog_color’ has no me
mber named ‘atr’
scripts/kconfig/lxdialog/checklist.c:189: warning: implicit declaration of funct
ion ‘print_item’
scripts/kconfig/lxdialog/checklist.c:192: warning: implicit declaration of funct
ion ‘print_arrows’
scripts/kconfig/lxdialog/checklist.c:195: warning: implicit declaration of funct
ion ‘print_buttons’
scripts/kconfig/lxdialog/checklist.c:197: warning: implicit declaration of funct
ion ‘wnoutrefresh’
scripts/kconfig/lxdialog/checklist.c:199: warning: implicit declaration of funct
ion ‘doupdate’
scripts/kconfig/lxdialog/checklist.c:202: warning: implicit declaration of funct
ion ‘wgetch’
scripts/kconfig/lxdialog/checklist.c:210: error: ‘KEY_UP’ undeclared (first use
in this function)
scripts/kconfig/lxdialog/checklist.c:210: error: ‘KEY_DOWN’ undeclared (first us e in this function)
scripts/kconfig/lxdialog/checklist.c:220: error: ‘FALSE’ undeclared (first use i n this function)
scripts/kconfig/lxdialog/checklist.c:221: warning: implicit declaration of funct ion ‘scrollok’
scripts/kconfig/lxdialog/checklist.c:222: warning: implicit declaration of funct ion ‘wscrl’
scripts/kconfig/lxdialog/checklist.c:232: warning: implicit declaration of funct ion ‘wrefresh’
scripts/kconfig/lxdialog/checklist.c:293: warning: implicit declaration of funct ion ‘delwin’
scripts/kconfig/lxdialog/checklist.c:297: error: ‘KEY_LEFT’ undeclared (first us e in this function)
scripts/kconfig/lxdialog/checklist.c:298: error: ‘KEY_RIGHT’ undeclared (first u se in this function)
scripts/kconfig/lxdialog/checklist.c:310: warning: implicit declaration of funct ion ‘on_key_esc’
scripts/kconfig/lxdialog/checklist.c:312: error: ‘KEY_RESIZE’ undeclared (first use in this function)
make[1]: *** [scripts/kconfig/lxdialog/checklist.o] Error 1
make: *** [menuconfig] Error 2

Samnsparky
12th August 2007, 09:49 PM
I got it... For menuconfig I needed ncurses-devel.

Thanks,
Sam