WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: (SOLVED) can't find limits.h  (Read 6847 times)

Offline awyea

  • Newbie
  • *
  • Posts: 3
(SOLVED) can't find limits.h
« on: April 19, 2012, 05:28:26 PM »
i'm trying to install yenc and this is the result

tc@box:~/Downloads/yenc-0.3$ python setup.py build
running build
running build_py
running build_ext
building '_yenc' extension
gcc -pthread -fno-strict-aliasing -march=i486 -mtune=i686 -O3 -pipe -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/local/include/python2.7 -c src/_yenc.c -o build/temp.linux-i686-2.7/src/_yenc.o -O2 -g
In file included from /tmp/tcloop/gcc/usr/local/bin/../lib/gcc/i686-pc-linux-gnu/4.6.1/include-fixed/syslimits.h:7:0,
                 from /tmp/tcloop/gcc/usr/local/bin/../lib/gcc/i686-pc-linux-gnu/4.6.1/include-fixed/limits.h:34,
                 from /usr/local/include/python2.7/Python.h:19,
                 from src/_yenc.h:28,
                 from src/_yenc.c:26:
/tmp/tcloop/gcc/usr/local/bin/../lib/gcc/i686-pc-linux-gnu/4.6.1/include-fixed/limits.h:169:61: fatal error: limits.h: No such file or directory
compilation terminated.
error: command 'gcc' failed with exit status 1

the only info i can find on the web is that i dont have the headers installed, which i do. also locate can't find limits.h anywhere. thanks for anyhelp
« Last Edit: April 19, 2012, 06:21:10 PM by awyea »

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11576
Re: can't find limits.h
« Reply #1 on: April 19, 2012, 05:52:36 PM »
Hi awyea
Did you install the   compiletc   extension? It should be part of that.

Offline awyea

  • Newbie
  • *
  • Posts: 3
Re: can't find limits.h
« Reply #2 on: April 19, 2012, 06:20:41 PM »
thanks so much that was it  ;D