LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-01-2004, 10:48 PM   #1
Zaventh
LQ Newbie
 
Registered: Jul 2004
Posts: 15

Rep: Reputation: 0
./configure error on Fedora2


I am trying to install Qt/X11 Free 3.3.2. Upon running the "configure" command, I get the following:

Quote:
[root@localhost qt-x11-free-3.3.2]# ./configure

WARNING: /usr/X11R6/lib/libGLU.so is threaded!
The Qt OpenGL module requires Qt to be configured with -thread.


This is the Qt/X11 Free Edition.

You are licensed to use this software under the terms of either
the Q Public License (QPL) or the GNU General Public License (GPL).

Type 'Q' to view the Q Public License.
Type 'G' to view the GNU General Public License.
Type 'yes' to accept this license offer.
Type 'no' to decline this license offer.

Do you accept the terms of either license? yes

Creating qmake. Please wait...
g++ -c -o qglobal.o -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac -I/home/jeff/qt-x11-free-3.3.2/include/qmake -I/home/jeff/qt-x11-free-3.3.2/include -I/home/jeff/qt-x11-free-3.3.2/include -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS -I/home/jeff/qt-x11-free-3.3.2/mkspecs/linux-g++ -DHAVE_QCONFIG_CPP /home/jeff/qt-x11-free-3.3.2/src/tools/qglobal.cpp
In file included from /usr/include/signal.h:326,
from /home/jeff/qt-x11-free-3.3.2/mkspecs/linux-g++/qplatformdefs.h:40,
from /home/jeff/qt-x11-free-3.3.2/src/tools/qglobal.cpp:38:
/usr/include/bits/sigcontext.h:28:29: asm/sigcontext.h: No such file or directory
In file included from /usr/include/sys/ioctl.h:27,
from /home/jeff/qt-x11-free-3.3.2/mkspecs/linux-g++/qplatformdefs.h:44,
from /home/jeff/qt-x11-free-3.3.2/src/tools/qglobal.cpp:38:
/usr/include/bits/ioctls.h:24:24: asm/ioctls.h: No such file or directory
In file included from /usr/include/sys/ioctl.h:30,
from /home/jeff/qt-x11-free-3.3.2/mkspecs/linux-g++/qplatformdefs.h:44,
from /home/jeff/qt-x11-free-3.3.2/src/tools/qglobal.cpp:38:
/usr/include/bits/ioctl-types.h:25:24: asm/ioctls.h: No such file or directory
In file included from /usr/include/sys/socket.h:35,
from /home/jeff/qt-x11-free-3.3.2/mkspecs/linux-g++/qplatformdefs.h:48,
from /home/jeff/qt-x11-free-3.3.2/src/tools/qglobal.cpp:38:
/usr/include/bits/socket.h:305:24: asm/socket.h: No such file or directory
In file included from /usr/include/sys/param.h:24,
from /usr/include/arpa/nameser.h:56,
from /home/jeff/qt-x11-free-3.3.2/mkspecs/linux-g++/qplatformdefs.h:58,
from /home/jeff/qt-x11-free-3.3.2/src/tools/qglobal.cpp:38:
/usr/include/linux/param.h:4:23: asm/param.h: No such file or directory
gmake: *** [qglobal.o] Error 1
qmake failed to build. Aborting.
[root@localhost qt-x11-free-3.3.2]#
Forgive my newbieness. I've looked around a bit and found problems similar to but exactly like mine but the resolutions varied so I wanted to make sure... I am running Fedora Core 2 with the latest kernel (2.6.6) and I have the kernel-sources package installed..

Z
 
Old 08-01-2004, 11:04 PM   #2
320mb
Senior Member
 
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 48
Code:
In file included from /usr/include/sys/param.h:24,
from /usr/include/arpa/nameser.h:56,
from /home/jeff/qt-x11-free-3.3.2/mkspecs/linux-g++/qplatformdefs.h:58,
from /home/jeff/qt-x11-free-3.3.2/src/tools/qglobal.cpp:38:
/usr/include/linux/param.h:4:23: asm/param.h: No such file or directory
gmake: *** [qglobal.o] Error 1
qmake failed to build. Aborting.
[root@localhost qt-x11-free-3.3.2]#
look in the /usr/include/sys/ for the param.h file and copy it to.........
/usr/include/linux/ and
/usr/include/asm/ directories............the compiler found this file in /usr/include/sys/ but not in the other two......so find it and copy it
to the others and see if it works............

Last edited by 320mb; 08-01-2004 at 11:06 PM.
 
Old 08-02-2004, 09:22 AM   #3
Zaventh
LQ Newbie
 
Registered: Jul 2004
Posts: 15

Original Poster
Rep: Reputation: 0
I think I figured out what happened...

I installed the kernel-source package when I was running 2.6.5 and apparently 2.6.6 is a bit different. I downloaded the source for my kernel from kernel.org. My question now is how do I update the links to point to the 2.6.6 source instead of the old on? /usr/include/asm is a link to /usr/src/<kernel_old>/include/asm (which didn't exist btw). I need to change this and I imagine other such links... any direction would be great.

Z
 
Old 08-02-2004, 12:44 PM   #4
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 55
Just create a new symlnk:
Code:
ln -sf /usr/include/asm to /usr/src/<kernel version>/include/asm
Though I'm not sure if you're supposed to use those symlinks...anyway, try it.

Also, you should be running:
Code:
./configure -thread
to create the multi-threaded version of the Qt library.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
server-error-internal-error with CUPS "Configure Printer" fskmh Slackware 6 06-05-2013 01:51 PM
./configure ERROR Lier Linux - Software 6 03-15-2005 06:15 PM
ardour wont configure: configure: error: C preprocessor "/lib/cpp" fails sanity check disciple061 Linux - Software 4 01-22-2005 12:35 PM
configure: error: when trying to install / configure new software ? met tomfer007 Linux - Software 1 07-25-2004 03:52 PM
error in ./configure chrismiceli Linux - General 3 08-04-2002 04:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:34 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration