CVS compile failed

Mikhail Ramendik <[email protected]>
Newsgroups gmane.mail.mahogany.user
Message-ID <[email protected]>
Hello,

I am trying to compile the CVS version (I pulled it with "cvs co M" a 
couple of hours ago).

I have gcc 3.2.2, python 2.2.2, and wxWidgets yesterday CVS.

The make fails with the following tail:

/usr/bin/swig -I.src/../include/interface 
-I/home/misha/source/mahogany/m-cvs/M/include -I/usr/include/python2.2 
-DNO_IDEA -DNO_DSA -DOPENSSL_NO_KRB5 
-I/usr/local/lib/wx/include/gtk2-ansi-release-2.5 
-I/usr/local/include/wx-2.5 -DGTK_NO_CHECK_CASTS -D__WXGTK__ 
-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES 
-I/home/misha/source/mahogany/m-cvs/M/lib/imap/c-client 
-I/home/misha/source/mahogany/m-cvs/M/lib/compface 
-I/home/misha/source/mahogany/m-cvs/M/src/wx/vcard -c++ -python -shadow 
-c -o Python/HeaderInfo.cpp .src/../include/interface/HeaderInfo.i && 
sed -e 's/Python\.h/MPython.h/' -e '/^#define SWIG_\(\w\+\) 
\+SWIG_Python_\1/d' -e '/^#define SWIG_\w\+(.*\\$/,/^ 
\+SWIG_Python_\w\+(/d' -e 's/SWIG_Python_/SWIG_/g' Python/HeaderInfo.cpp 
 > Python/HeaderInfo.cpp.new && mv Python/HeaderInfo.cpp.new 
Python/HeaderInfo.cpp
Generating wrappers for Python
..src/../include/interface/swigcmn.i : Line 44. Syntax error in input.
..src/../include/interface/swigcmn.i : Line 49. Syntax error in input.
..src/../include/interface/swigcmn.i : Line 52. Syntax error in input.
..src/../include/interface/swigcmn.i : Line 53. Syntax error in input.
..src/../include/interface/swigcmn.i : Line 60. Syntax error in input.
..src/../include/interface/HeaderInfo.i : Line 21. Syntax error in input.
..src/../include/interface/HeaderInfo.i : Line 23.  Missing semicolon. 
Reached end of input.
make[1]: *** [Python/HeaderInfo.o] Error 1
make[1]: Exiting directory `/home/misha/source/mahogany/m-cvs/M/src'
make: *** [all] Error 2

Is there anything I can do to fix this, except disabling python (which I 
don't want to do) ?

Yours, Mikhail Ramendik



-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.