[Visual-devel] Re: building visual
Status: Alpha
Brought to you by:
lettoz
From: Thomas H. <Tho...@we...> - 2003-03-29 21:48:47
|
On Friday 28 March 2003 14:53, you wrote: Hi, > > I find your project interesting (Visual) and I decided to play around with > it. Would you help me to get started with it? I would, if I could. But when this reply took some time, this is because I first tried to update my system (SuSE 7.2) to gcc 3.2. Sorry, but after having done this, I cannot reproduce any of your problems. > > I encountered following problems when I tried to build it. > Here's what I did: > $ ./configure > Makefile.am: required file `./depcomp' not found > make: *** [Makefile.in] Error 1 My autoconf doesn't seem to require this. I found that some software packages I built from source came with a script named ./depcomp. On the first glance, this hell script may be idependent of the respective project. Please try to copy it from some other source package > > Then I tried "make all" and it went further until it stopped when compiling > allen_b.cc with following message: > > In file included from ../base.h:24, > from ../plcdrv.h:26, > > from allen_b.cc:26: > ../persist.h:106: ISO C++ forbids declaration of `map' with no type > ../persist.h:106: template-id `map<std::string, BaseObject*(*)()>' used as > a declarator > ../persist.h:106: parse error before `;' token > > I'm using GCC 3.2. I fetched myself gcc 3.2 as it comes with SuSE's 8.1. As I do not want to overwrite/uninstall gcc-2.95 , I set up some symlinks to be able to switch between compiler versions changing a single symlink. While doing this, I once got this error message, but I have not been able to reproduce it. Please check version and headers of your libstdc++. Mine is know: filename: libstdc++.5.0.0.so while the package was named: libstdc++-3.2-44.i586.rpm and I can tell that visual compiled and executed ok (at first glance). I only got warnings about a deprecated header file (iostream.h). As you did not report this, if you do not get it, your C++ header files may be out of date. I did NOT try to compile with gcc 3.2 and older libdstdc++ headers. > I tried to make changes in Makefile.am but then I wasn't able to even start > building. make clean; ./configure; make all procedure always ended with > that ./depcomp error. Ok, when Makefile.am is more recent, make tries to remake the Makefile first. So if you want to do changes manually, change Makefile instead. Good luck Thomas |