From: Roger F. <fe...@bi...> - 2001-10-23 10:09:40
|
On 23 Oct 2001, Terje Kvernes wrote: > first of all, this installation is being done under Suse 7.1, with > all dependencies met. I've googled, search the archives and read the > faq, but the installation still breaks. 'rpm -v --rebuild > visual-2001.10.15-3.src.rpm' ends up with the following error: > > g++ -g -I. -I./CXX/Include -I/usr/include/python2.1 -I/usr/include/python2.1/Numeric `gtk-config --cflags gtk gthread` -w -c -o cvisual.o cvisual.cpp > cvisual.cpp:26: parse error before `return' > cvisual.cpp:26: stray '\' in program > cvisual.cpp:75: stray '\' in program [etc] > > I looked at the define on line 26, which is: > > #define CALLF(what) Object what(const Tuple& args, const Dict& kwargs) { \ > return ::what(args,kwargs); \ > } > I think I have seen this before. As I recall, it indicates that the source file has some character *after* that '\' (possibly as a result of having MS line endings (\x0a0d) rather than unix (\x0a)). A global search and replace should cure the problem. Roger. -- Roger Fearick Dept. of Physics University of Cape Town |