Re: [orbitcpp-list] build issues
Status: Beta
Brought to you by:
philipd
From: Sam C. <sc...@bi...> - 2002-02-25 22:13:03
|
Brian Craft <bc...@th...> wrote: > I'm having a number of problems with the build. I'm building from cvs, si= nce it > has a spec file. >=20 > o Generating autoconf/automake/libtool files. Is there a doc anywhere on > this? They don't seem to be decending into the compiler directory > correctly, and so I end up having to manually run half a dozen commands > to get the build off the ground. >=20 > o After running all the above, "make dist" fails to work because standard > files (like AUTHORS) are missing in the compiler directory, as well as= =20 > CosNaming-cpp-common.hh, and perhaps others. Seems to be the same probl= em > as above. There is a script provided, called "autogen.sh", which will run automake, autoconf and friends correctly. This should solve both of the above problems. > o The changelog in the .spec file is broken such that rpm refuses to atte= mpt a > build. I've forgotten most of what I used to know about RPM, so I can't help you with this. Braden may be able to provide more help, since he's worked on the .spec file in the past. You could just nuke the changelog to get it to build. > o There's an unchecked (by configure or rpm) dependency on <sstream>, whi= ch=20 > appears to be supported only by recent gcc. I think this is supposed to > be handled by checking HAVE_STD_IOSTREAM and typedef'ing ostrstream to > ostringstream. The stringstream is only used in one place, to convert an integer into a string, so the dependency could be removed with very little trouble. > o The template partial specialization in orbitcpp_sequence.hh also seems = to > only work with recent gcc, though older versions reportedly support par= tial > specialization. I'm not sure what the problem is. I've been building with GCC 2.95 and 3.0, which both work fine. GCC has historically had many many problems with templates. However, templates are a C++ black art that I don't fully understand, and I don't even know what partial specialization is, so I can't help with this either. Are you unable to use a recent GCC for some reason? --=20 Sam "Eddie" Couter | mailto:sc...@bi... Debian Developer | mailto:ed...@de... | jabber:sa...@ja... OpenPGP fingerprint: A46B 9BB5 3148 7BEA 1F05 5BD5 8530 03AE DE89 C75C |