LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   ./configure error on Fedora2 (https://www.linuxquestions.org/questions/linux-software-2/configure-error-on-fedora2-212345/)

Zaventh 08-01-2004 10:48 PM

./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

320mb 08-01-2004 11:04 PM

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............

Zaventh 08-02-2004 09:22 AM

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

Komakino 08-02-2004 12:44 PM

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.


All times are GMT -5. The time now is 01:38 PM.