Dear Sunita,
Il giovedì 29 gennaio 2009 06:11:24 Sunita Barve ha scritto:
> I am trying to install cds-invenio on Ubuntu 8.10. when I run make command
> I am getting following error. Can someone help me to sort out the error.
>
> intbitset.c:8006: error: expected ')' before '*' token
> intbitset.c:8021: error: expected ')' before '*' token
> intbitset.c:8036: error: expected ')' before '*' token
> intbitset.c:8051: error: expected ')' before '*' token
> intbitset.c:8066: error: expected ')' before '*' token
> intbitset.c:8081: error: expected ')' before '*' token
> intbitset.c:8096: error: expected ')' before '*' token
> intbitset.c:8111: error: expected ')' before '*' token
> intbitset.c:8126: error: expected ')' before '*' token
> intbitset.c:8141: error: expected ')' before '*' token
> intbitset.c:8156: error: expected ')' before '*' token
> error: command 'gcc' failed with exit status 1
> make[3]: *** [all] Error 1
> make[3]: Leaving directory
> `/home/sunita/Desktop/cds-invenio-0.99.1/modules/miscutil/lib'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory
> `/home/sunita/Desktop/cds-invenio-0.99.1/modules/miscutil'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory
> `/home/sunita/Desktop/cds-invenio-0.99.1/modules' make: *** [all-recursive]
> Error 1
the intbitset module of Invenio is a Python extension written in C. For this
reason, in order to be compiled, on Ubuntu, you need to explicitly install
the python-dev package.
$> sudo apt-get install python-dev
If you then retry to run make, the procedure will continue, hopefully with no
other error.
Best regards,
Samuele
--
Samuele Kaplun ** CERN Document Server ** <http://cds.cern.ch/>