[egenix-users] compiling egenix-mx-experimental-0.8.0 on Solaris 8

Page, Bill Bill.Page at drdc-rddc.gc.ca
Tue Dec 2 13:41:30 CET 2003


Hello,

I am trying to compile and install mxTidy so that I
can then install Epoz 0.7.1 for use under Plone.
I am using

  gcc version 3.2.2

on Solaris 8.

The egenix-mx-base-2.0.5 package installs with
no problem using

  cd egenix-mx-base-2.0.5
  python setup.py install

but

  cd egenix-mx-experimental-0.8.0
  python setup.py install

Gives the following error:

building extension "mx.Number.mxNumber.mxNumber" (required)
checking for optional libraries
gcc -g -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/local/include/python2.1
-I/usr
/local/include -c _configtest.c -o _configtest.o
_configtest.c:1:17: gmp.h: No such file or directory
_configtest.c:2:18: mpfr.h: No such file or directory
failure.
removing: _configtest.c _configtest.o
could not find optional library 'mpfr' -- omitting it
building 'mx.Number.mxNumber.mxNumber' extension
gcc -g -O2 -Wall -Wstrict-prototypes -fPIC -Imx/Number/mxNumber
-I/usr/local/inc
lude/python2.1 -I/usr/local/include -c mx/Number/mxNumber/mxNumber.c -o
build/te
mp.solaris-2.8-sun4u-2.1/mx/Number/mxNumber/mxNumber/mxNumber.o
In file included from mx/Number/mxNumber/mxNumber.c:23:
mx/Number/mxNumber/mxNumber.h:32:17: gmp.h: No such file or directory
In file included from mx/Number/mxNumber/mxNumber.c:23:
mx/Number/mxNumber/mxNumber.h:47: parse error before "mpz_t"
mx/Number/mxNumber/mxNumber.h:47: warning: no semicolon at end of struct or
unio
n
mx/Number/mxNumber/mxNumber.h:52: parse error before '}' token

...

Apparently I am missing (or the include path is incorrect)
for gmp.h (part of the gnu math package?).

Is this a prerequisit for mxTidy? Could there be anything
else I am missing?

Thanks.

Bill Page.



More information about the egenix-users mailing list