[omniORB] omniORB compilation problems with Mandrake 10.1

Michael Dussere dussere at labri.fr
Wed Jan 12 13:44:59 GMT 2005


I think you must install the rpm "python-devel" in which are the header 
files.

Michael

agbernardino at up.edu.ph wrote:
> Hi. I had no problems installing omniORB on Mandrake 10.  I upgraded to 10.1 and
> I got the message below after doing a make..  Python2.3 is located in /usr/bin/
> and I tried configuring with the PYTHON=/usr/bin/ option.  Python2.3 has its
> library files in /usr/lib/python2.3  Also, I can't seem to find a Python.h in
> my system.  Please advise.
> 
> making export in ./src...
> make[1]: Entering directory `/usr/share/omniORB-4.0.5/build/src'
> making export in src/tool...
> make[2]: Entering directory `/usr/share/omniORB-4.0.5/build/src/tool'
> making export in src/tool/omkdepend...
> make[3]: Entering directory `/usr/share/omniORB-4.0.5/build/src/tool/omkdepend'
> File omkdepend hasn't changed.
> make[3]: Leaving directory `/usr/share/omniORB-4.0.5/build/src/tool/omkdepend'
> making export in src/tool/omniidl...
> make[3]: Entering directory `/usr/share/omniORB-4.0.5/build/src/tool/omniidl'
> making export in src/tool/omniidl/cxx...
> make[4]: Entering directory
> `/usr/share/omniORB-4.0.5/build/src/tool/omniidl/cxx'
> making export in src/tool/omniidl/cxxs/cccp...
> make[5]: Entering directory
> `/usr/share/omniORB-4.0.5/build/src/tool/omniidl/cxx/cccp'
> File omnicpp hasn't changed.
> make[5]: Leaving directory
> `/usr/share/omniORB-4.0.5/build/src/tool/omniidl/cxx/cccp'
> g++ -c -O2 -Wall -Wno-unused -fexceptions -DIDLMODULE_VERSION="\"0x2420\""
> -I/usr/include -DPYTHON_INCLUDE="<python2.3/Python.h>" -fPIC -I.
> -I../../../../../src/tool/omniidl/cxx -I../../../../include
> -I../../../../../include -D__OSVERSION__=2 -D__linux__ -D__x86__ -o idlpython.o
> ../../../../../src/tool/omniidl/cxx/idlpython.cc
> ../../../../../src/tool/omniidl/cxx/idlpython.cc:178:26: python2.3/Python.h: No
> such file or directory
> ../../../../../src/tool/omniidl/cxx/idlpython.cc:194:6: #error "omniidl requires
> Python 1.5.2 or higher"
> ../../../../../src/tool/omniidl/cxx/idlpython.cc:261: error: ISO C++ forbids
> declaration of `PyObject' with no type
> ../../../../../src/tool/omniidl/cxx/idlpython.cc:261: error: expected `;' before
> '*' token
> ../../../../../src/tool/omniidl/cxx/idlpython.cc:263: error: expected `;' before
> "static"
> ...
> ...
> ...
> 
> 
> _______________________________________________
> omniORB-list mailing list
> omniORB-list at omniorb-support.com
> http://www.omniorb-support.com/mailman/listinfo/omniorb-list



More information about the omniORB-list mailing list