473,327 Members | 2,055 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,327 software developers and data experts.

Pystemmer 1.0.1 installation problem in Linux

Dear all,

I am a newbie to Python community. For my project, I tried to install
Pystemmer 1.0.1 (http://snowball.tartarus.org/wrappers/
PyStemmer-1.0.1.tar.gz) on my linux ubuntu 7.10 machine but
unsuccessful. It produced the following error:

running install
running build
running build_ext
building 'Stemmer' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O2 -Wall -Wstrict-
prototypes -fPIC -Isrc -Ilibstemmer_c/include -I/usr/include/python2.5
-c libstemmer_c/src_c/stem_ISO_8859_1_danish.c -o build/temp.linux-
i686-2.5/libstemmer_c/src_c/stem_ISO_8859_1_danish.o
In file included from /usr/lib/gcc/i486-linux-gnu/4.1.3/include/
syslimits.h:7,
from /usr/lib/gcc/i486-linux-gnu/4.1.3/include/
limits.h:11,
from libstemmer_c/src_c/../runtime/header.h:2,
from libstemmer_c/src_c/stem_ISO_8859_1_danish.c:4:
/usr/lib/gcc/i486-linux-gnu/4.1.3/include/limits.h:122:61: error:
limits.h: No such file or directory
error: command 'gcc' failed with exit status 1

Did anyone experience this before?

Any comment/suggestion is highly appreciated.

Thank you.

Best regards,

Supheakmungkol
Mar 27 '08 #1
7 2574
Hello Supheakmungkol,
I am a newbie to Python community. For my project, I tried to install
Pystemmer 1.0.1 (http://snowball.tartarus.org/wrappers/
PyStemmer-1.0.1.tar.gz) on my linux ubuntu 7.10 machine but
unsuccessful. It produced the following error:

running install
running build
running build_ext
building 'Stemmer' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O2 -Wall -Wstrict-
prototypes -fPIC -Isrc -Ilibstemmer_c/include -I/usr/include/python2.5
-c libstemmer_c/src_c/stem_ISO_8859_1_danish.c -o build/temp.linux-
i686-2.5/libstemmer_c/src_c/stem_ISO_8859_1_danish.o
In file included from /usr/lib/gcc/i486-linux-gnu/4.1.3/include/
syslimits.h:7,
* * * * * * * * *from /usr/lib/gcc/i486-linux-gnu/4.1.3/include/
limits.h:11,
* * * * * * * * *from libstemmer_c/src_c/../runtime/header.h:2,
* * * * * * * * *from libstemmer_c/src_c/stem_ISO_8859_1_danish.c:4:
/usr/lib/gcc/i486-linux-gnu/4.1.3/include/limits.h:122:61: error:
limits.h: No such file or directory
error: command 'gcc' failed with exit status 1

Did anyone experience this before?
Nope, compiles out of the box for me on 7.1 (IIRC easy_install worked
for it as well).
Any comment/suggestion is highly appreciated.
Do you have limits.h on your system?
Did you install the python2.5-dev package?

HTH,
--
Miki <mi*********@gmail.com>
http://pythonwise.blogspot.com
Mar 27 '08 #2
On Mar 27, 8:40 am, mungkol <supheakmungkol.sa...@gmail.comwrote:
Dear all,

I am a newbie to Python community. For my project, I tried to install
Pystemmer 1.0.1 (http://snowball.tartarus.org/wrappers/
PyStemmer-1.0.1.tar.gz) on my linux ubuntu 7.10 machine but
unsuccessful. It produced the following error:

running install
running build
running build_ext
building 'Stemmer' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O2 -Wall -Wstrict-
prototypes -fPIC -Isrc -Ilibstemmer_c/include -I/usr/include/python2.5
-c libstemmer_c/src_c/stem_ISO_8859_1_danish.c -o build/temp.linux-
i686-2.5/libstemmer_c/src_c/stem_ISO_8859_1_danish.o
In file included from /usr/lib/gcc/i486-linux-gnu/4.1.3/include/
syslimits.h:7,
from /usr/lib/gcc/i486-linux-gnu/4.1.3/include/
limits.h:11,
from libstemmer_c/src_c/../runtime/header.h:2,
from libstemmer_c/src_c/stem_ISO_8859_1_danish.c:4:
/usr/lib/gcc/i486-linux-gnu/4.1.3/include/limits.h:122:61: error:
limits.h: No such file or directory
error: command 'gcc' failed with exit status 1

Did anyone experience this before?

Any comment/suggestion is highly appreciated.

Thank you.

Best regards,

Supheakmungkol
This is a system configuration issue, not a Python issue: you seem to
be missing a header file. First, make sure it exists ( /usr/lib/gcc/
i486-linux-gnu/4.1.3/include/limits.h ) and that you have permission
to read it. If it's there, just sudo chmod a+r it and see if that
helps. Also try installing Ubuntu's standard essential build tools
( sudo apt-get update && sudo apt-get install build-essential ) and
see if that helps
Mar 27 '08 #3
Hi,

Can anyone help me out?

Thanks,
Praveena.
Mar 27 '08 #4
En Thu, 27 Mar 2008 15:24:05 -0300, Praveena Boppudi (c)
<pb******@vmware.comescribió:
Can anyone help me out?
What is "the project screen"?
Do you want your development session using any IDE? Your running program?
What platform? OS? Console or graphical application?
Why using Python?

--
Gabriel Genellina

Mar 27 '08 #5
mungkol wrote:
Dear all,

I am a newbie to Python community. For my project, I tried to install
Pystemmer 1.0.1 (http://snowball.tartarus.org/wrappers/
PyStemmer-1.0.1.tar.gz) on my linux ubuntu 7.10 machine but
unsuccessful. It produced the following error:
you need to install the "build-essential" pacakge group on Ubuntu so that
you can compile programs.

apt-get install build-essential
limits.h: No such file or directory
This is probably /usr/include/linux/limits.h part of the kernel headers.
--
damjan
Mar 27 '08 #6
"Praveena Boppudi (c)" <pb******@vmware.comwrites:
Can anyone help me out?
Probably, but your chances improve by starting a *new* thread to
discuss your new question, instead of replying to an existing thread.

--
\ "Pinky, are you pondering what I'm pondering?" "I think so, |
`\ Brain, but Zero Mostel times anything will still give you Zero |
_o__) Mostel." -- _Pinky and The Brain_ |
Ben Finney
Mar 27 '08 #7
On Mar 28, 6:06 am, Damjan <gdam...@gmail.comwrote:
mungkol wrote:
Dear all,
I am a newbie to Python community. For my project, I tried to install
Pystemmer 1.0.1 (http://snowball.tartarus.org/wrappers/
PyStemmer-1.0.1.tar.gz) on my linux ubuntu 7.10 machine but
unsuccessful. It produced the following error:

you need to install the "build-essential" pacakge group on Ubuntu so that
you can compile programs.

apt-get install build-essential
limits.h: No such file or directory

This is probably /usr/include/linux/limits.h part of the kernel headers.

--
damjan
Dear all,

Thank you so much. It works out when I install the "build-essential"
package as suggested.

I appreciate your help very much.

Regards,

Supheakmungkol
Mar 28 '08 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: kent sin | last post by:
I urgently need a binary version of pystemmer. I am using python 2.3 and windows 2000. I have try to download the free MSVC toolkit. But don't known how to do it myself. I just found a guide...
1
by: TF | last post by:
Hi, Thanks in advance. I have been trying to install 9i EE on RH Linux 9 with kernels version 2.4.20-20.9bigmem and smp. Following all the installation instructions from Oracle, the...
0
by: Chris Moy | last post by:
SEND-PR: -*- send-pr -*- SEND-PR: Lines starting with `SEND-PR' will be removed automatically, as SEND-PR: will all comments (text enclosed in `<' and `>'). SEND-PR: From: moyc To:...
0
by: Murphy | last post by:
I am currently migrating a db from SQL Server & MySQL and ? (front end yet to be decided upon) As I familiarise myself with MySQL populating tables etc can be quite clumbersome. After reading the...
1
by: srihari | last post by:
Hai, I am trying to install IBM DB2 8.1 on Red Hat linux 8.0. My machine is Intel XEON 64bit. The installation went well except for the creation of tools catalog. When I tried to install the tools...
1
by: gassara | last post by:
salut ; Nous sommes un groupe d'etudiant de l'INSAT de la Tunisie.Notre filiere est Génie Logiciel, nous réalisons un Mini projet concernant la configuration et l'administration de DB2 (V...
3
by: Photubias | last post by:
On 1 machine the installation works perfectly with one of the first installations screens being the one with the Typical installation taking 520-590MB. (http://users.telenet.be/vibbe/db2-fine.JPG)...
0
by: gandalf | last post by:
I am trying to install oracle 9i on debian. The oracle 9i linux installation manual provides a checklist of pre-installation changes that have to be made to linux before installing oracle. I am...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.