From: Sven R. <rei...@ma...> - 2002-11-04 17:59:26
|
On Mon, 4 Nov 2002, Rohith Rajagopal wrote: > Hi, > Ran into a some problems while attempting to compile on sol 2.8 with= gcc=20 > 3.2. > 1. Lots of warnings about files not ending with a newline: Don't know i= f=20 > this is due to some problem with my WinCVS settings or the transfer via= ftp=20 > from windows to the sol server or a genuine compile warning. =20 This is genuine. VC++ by default adds a line like # endif // myfile_h_include at the end of the file, w/o a newline. I added newlines to some of the=20 files, but not all of them. When you run into that, feel free to change=20 it. > BTW, do you=20 > know of any solaris client for CVS? Even a command line one will do, si= nce I=20 > can write lisp code to make xemacs interface with it. Try which cvs which ssh If both are there, just export CVS_RSH=3Dssh and then use cvs as usual. If not they should be available in source code= ,=20 e.g., from the FSF. Usually, xemacs has a built-in interface to it; not=20 sure how to make it work w/ ssh though. =20 > 2. One error about a looser throw in=20 > DynamicLibraryManagerException::~DynamicLibraryManagerException than it= s=20 > base class - which I fixed by adding a throw() at the end of the class.= What=20 > does the throw() at the end of a function say anyway? Just that it thro= ws=20 > exceptions? Actually, it says that it doesn't throw any exceptions. A subclass can't=20 throw more exceptions than the parent class, and=20 std::exception::~exception() doesn't throw any. Hence, our destructor=20 can't neither. In general, throw(ex1, ex2, .., exn) says that it throws=20 only the exceptions given in the list, which in our case is empty. I thought I changed that (since it compiles for me). =20 > 3. Why does the make install step attempt to install cppunit in=20 > /usr/local/lib? In the server I am working on, I don't have permissions= to=20 > do that. Is it easy to modify the install script and the rest of the=20 > codebase to install to and use cppunit from a different location, maybe= via=20 > a environment variable? Call configure as ./configure --prefix=3D<home> where <home> is your home directory. Then make install. This puts=20 everything in $(HOME)/lib, $(HOME)/include, etc. I think that=20 --prefix=3D$(HOME) doesn't work, so write out the full path. Sven. > Thanks, > Rohith. >=20 > >From: Sven Reichard <rei...@ma...> > >To: Rohith Rajagopal <man...@ho...> > >Subject: Re: [Cpptool-develop] Hi > >Date: Mon, 4 Nov 2002 11:42:33 -0500 (EST) > > > >On Mon, 4 Nov 2002, Rohith Rajagopal wrote: > > > > > Hi Sven, > > > >I added you to the developers. > > > Thank you. > > > >Try to get access to the CVS repository via > > > >SSH, get the rfta module, and compile it in your favorite environm= ent. > > > Yes, I was able to access it using WinCVS. And I've downloaded = the=20 > >rest > > > of the modules as well. I'll try and compile it on sol2.8 with the = g++=20 > >3.2 > > > compiler. Since you've already compiled it in Linux, hopefully I wo= n't=20 > >run > > > into too many problems with this. > > > BTW, what are the rest of the modules? CppRefactory and cpptool= =20 > >modules, > > > I mean. Should I be downloading those too? > > > >These were previous attempts. Just get rfta. Then go to deplibs/cppuni= t, > >configure and make install (unless you already have CppUnit 1.9.10 > >installed). You also need the boost library (just the header files; we= use > >some of their template classes). Then a ./configure; make check in the > >main directory should work. >=20 >=20 > _________________________________________________________________ > Surf the Web without missing calls!=A0Get MSN Broadband. =20 > http://resourcecenter.msn.com/access/plans/freeactivation.asp >=20 >=20 >=20 > ------------------------------------------------------- > This SF.net email is sponsored by: ApacheCon, November 18-21 in > Las Vegas (supported by COMDEX), the only Apache event to be > fully supported by the ASF. http://www.apachecon.com > _______________________________________________ > Cpptool-develop mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cpptool-develop >=20 --=20 Sven Reichard Dept. of Math. Sci. University of Delaware rei...@ma... |