Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

QT 3.2.0 Compilation Issues on Slack 9.0

0 views
Skip to first unread message

Charles

unread,
Aug 18, 2003, 6:26:24 PM8/18/03
to
Did mostly a basic install of Slack 9.0, no XFree, no QT, just the
requirements plus a few basic extras I didn't want to compile. Installed
XFree 4.3.0, and downloaded the QT 3.2.0, however, for some reason one of
my paths must be set incorrectly and I just can't figure out how to correct
it... When looking for includes.. here's an excerpt of one of the error
messages:

/usr/lib/gcc-lib/i386-slackware-linux/3.2.2/include/limits.h:132:74:
limits.h: No such file or directory
In file included from /usr/local/qt/include/qtextstrem.h:44,
In file included from /usr/local/qt/include/qtl.h:43,
In file included from /usr/local/qt/include/qvaluelist.h:42,
In file included from /usr/local/qt/include/qstringlist.h:42,
from project.h:39
from project.cpp:36:

Goes on to be unable to find the includes for stdio, types and a few others
before the ./configure quits from errors... Doing a find limits.h, etc
finds those files in the directories it pointed to above... So I'm rather
confused.. I've compared and recompared the directory above to the one it
gives me with I use find... and they are identical... Any help?

Dave Uhring

unread,
Aug 18, 2003, 6:58:33 PM8/18/03
to
On Mon, 18 Aug 2003 22:26:24 +0000, Charles wrote:

> Did mostly a basic install of Slack 9.0, no XFree, no QT, just the
> requirements plus a few basic extras I didn't want to compile. Installed
> XFree 4.3.0, and downloaded the QT 3.2.0, however, for some reason one of
> my paths must be set incorrectly and I just can't figure out how to correct
> it... When looking for includes.. here's an excerpt of one of the error
> messages:
>
> /usr/lib/gcc-lib/i386-slackware-linux/3.2.2/include/limits.h:132:74:
> limits.h: No such file or directory

This is what is written at the error location:

#ifdef _GCC_NEXT_LIMITS_H
#include_next <limits.h> /* recurse down to the real one */
#endif

<limits.h> should probably be interpreted as /usr/include/limits.h

Does that file exist?

Charles

unread,
Aug 18, 2003, 7:11:52 PM8/18/03
to
> This is what is written at the error location:
>
> #ifdef _GCC_NEXT_LIMITS_H
> #include_next <limits.h> /* recurse down to the real
> one */ #endif
>
> <limits.h> should probably be interpreted as /usr/include/limits.h
>
> Does that file exist?
>
>

/usr/include/limits.h does not exist, however...
/usr/include/linux/limits.h

Charles

unread,
Aug 18, 2003, 7:15:41 PM8/18/03
to
As a side note, not all of the includes exist in /usr/include/linux...
stdio.h does not for example, it exists only in the /usr/lib/gcc-lib/i386-
slackware-linux/3.2.2/include/stdio.h

Dave Uhring

unread,
Aug 18, 2003, 7:19:02 PM8/18/03
to

[include]# cd /usr/include
[include]# ls -l limits.h
-rw-r--r-- 1 root root 4550 May 20 20:44 limits.h

[packages]# grep "limits.h" *
glibc-2.3.1-i386-4:usr/include/limits.h

You do have that package installed?

Dave Uhring

unread,
Aug 18, 2003, 7:37:44 PM8/18/03
to

You have failed to install glibc-2.3.1-i386-4

You have also failed to make config|menuconfig|xconfig in /usr/src/linux.


Charles

unread,
Aug 18, 2003, 8:28:21 PM8/18/03
to
LOL yea.. The moment I read your reply I realized I forgot to install
glibc... thanks :)

David

unread,
Aug 18, 2003, 8:33:07 PM8/18/03
to

There is a limits.h in both the gcc and kernel-headers packages.

--
Confucius: He who play in root, eventually kill tree.
Registered with The Linux Counter. http://counter.li.org/
Slackware 9.0 Kernel 2.4.21 i686 (GCC) 3.3
Uptime: 1 day, 17:34, 1 user, load average: 1.21, 1.22, 1.24

0 new messages