Thread: [Quantity-devel] installation error (cvs-version)
Brought to you by:
berndspeiser
|
From: Kai L. <kai...@un...> - 2006-04-24 09:00:06
|
Helle Bernd, today, I've done a new checkout of the quantity CVS tree in order to compile the experiment hierarchy of EChem++. Below you find the error message that occured during compilation of the quantity lib. Regards, Kai g++ -DPACKAGE_NAME=3D\"\" -DPACKAGE_TARNAME=3D\"\" -DPACKAGE_VERSION=3D\= "\" -DPACKAGE_STRING=3D\"\" -DPACKAGE_BUGREPORT=3D\"\" -DPACKAGE=3D\"Quantiti= es\" -DVERSION=3D\"1.2\" -DSTDC_HEADERS=3D1 -DHAVE_SYS_TYPES_H=3D1 -DHAVE_SYS_STAT_H=3D1 -DHAVE_STDLIB_H=3D1 -DHAVE_STRING_H=3D1 -DHAVE_MEMO= RY_H=3D1 -DHAVE_STRINGS_H=3D1 -DHAVE_INTTYPES_H=3D1 -DHAVE_STDINT_H=3D1 -DHAVE_UNISTD_H=3D1 -DHAVE_DLFCN_H=3D1 -I. -I. -I.. -I/usr/include/loki -I/home/kl/software/src/quantity/BSUtilities -Wall -Werror -W -pedantic -MT libGeneralQuantities_la-Digital.lo -MD -MP -MF .deps/libGeneralQuantities_la-Digital.Tpo -c Digital.cc -fPIC -DPIC -o .libs/libGeneralQuantities_la-Digital.o /usr/include/loki/Functor.h: In copy constructor ` Loki::Private::FunctorImplBase<R, ThreadingModel>::FunctorImplBase(con= st Loki::Private::FunctorImplBase<R, ThreadingModel>&) [with R =3D quantity::DedimReturn<quantity::Quantity<quantity::digital::Dimension, quantity::digital::Unit, quantity::digital::Units, quantity::digital::Unity, bool>, quantity::digital::Unity>, ThreadingModel =3D Loki::SingleThrea= ded]': /usr/include/loki/Functor.h:917: instantiated from `Loki::FunctorHandler<ParentFunctor, Fun>* Loki::FunctorHandler<ParentFunctor, Fun>::DoClone() const [with ParentFunctor =3D Loki::Functor<quantity::DedimReturn<quantity::Quantity<quantity::digital:= :Dimension, quantity::digital::Unit, quantity::digital::Units, quantity::digital::Unity, bool>, quantity::digital::Unity>, Loki::Typelist<Loki::Tuple<Loki::Typelist<Loki::EmptyType, Loki::NullType= > >, Loki::NullType>, Loki::SingleThreaded>, Fun =3D quantity::DedimReturn<quantity::Quantity<quantity::digital::Dimension, quantity::digital::Unit, quantity::digital::Units, quantity::digital::Unity, bool>, quantity::digital::Unity> (*)(Loki::Tuple<Loki::Typelist<Loki::EmptyType, Loki::NullType> >)]' /usr/include/loki/Functor.h:68: instantiated from here /usr/include/loki/Functor.h:61: warning: base class `class Loki::SmallObject<Loki::SingleThreaded, 4096, 256, 4, Loki::LongevityLifetime::DieAsSmallObjectParent>' should be explicitly initialized in the copy constructor make[2]: *** [libGeneralQuantities_la-Digital.lo] Fehler 1 make[2]: Leaving directory `/home/kl/software/src/quantity/Quantities/GeneralQuantities' make[1]: *** [install-recursive] Fehler 1 --=20 http://echempp.sourceforge.net Kai Ludwig Institut f=FCr Organische Chemie Auf der Morgenstelle 18 72076 T=FCbingen Mail: kai...@un... |
|
From: Bernd S. <ber...@un...> - 2006-04-24 09:20:18
|
Kai Ludwig wrote: Kai, here is what I wrote on Jan 14, 2006 in an e-mail to the Quantity devel list: Dear quantity develop members, I will upload to cvs in a minute a new version of the Quantity library code, which has some important improvements for future work. Unfortunately, I had to do quite a bit of changes, when starting to use the most recent Loki library (v. 0.1.3). So, if you download and install the most recent version, please make sure you have installed the most recent Loki library. Have fun Bernd Maybe I should have sent this to the quantity users list as well, sorry ... But the problem is also somewhere else, see the following mail to the EChem++ devel list on Feb 23, 2006: Hi, I have just downloaded and installed on echem9 the most rcent version of the loki library (cvs version). It has been installed in parallel to the previous (stable) version 0.1.3. Th enew headers and the library are available through the same paths as the previous ones, which have been moved to /usr/lib/libloki-0.1.3 and /usr/include/loki-0.1.3. I needed the new version due to a bug which has been fixed upon my request. The cvs version of EChem++ should not be influenced by this. Once I upload the Experiment hierarchy you might need to use the new loki lib also on your local machines. Best regards Bernd So ---------------------> please download a recent cvs-Version of Loki to get rid of this warning. Regards Bernd > g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" > -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Quantities\" > -DVERSION=\"1.2\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 > -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 > -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 > -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I.. -I/usr/include/loki > -I/home/kl/software/src/quantity/BSUtilities -Wall -Werror -W -pedantic > -MT libGeneralQuantities_la-Digital.lo -MD -MP -MF > .deps/libGeneralQuantities_la-Digital.Tpo -c Digital.cc -fPIC -DPIC -o > .libs/libGeneralQuantities_la-Digital.o > /usr/include/loki/Functor.h: In copy constructor ` > Loki::Private::FunctorImplBase<R, ThreadingModel>::FunctorImplBase(const > Loki::Private::FunctorImplBase<R, ThreadingModel>&) [with R = > quantity::DedimReturn<quantity::Quantity<quantity::digital::Dimension, > quantity::digital::Unit, quantity::digital::Units, > quantity::digital::Unity, > bool>, quantity::digital::Unity>, ThreadingModel = Loki::SingleThreaded]': > /usr/include/loki/Functor.h:917: instantiated from > `Loki::FunctorHandler<ParentFunctor, Fun>* > Loki::FunctorHandler<ParentFunctor, Fun>::DoClone() const [with > ParentFunctor = > Loki::Functor<quantity::DedimReturn<quantity::Quantity<quantity::digital::Dimension, > quantity::digital::Unit, quantity::digital::Units, > quantity::digital::Unity, bool>, quantity::digital::Unity>, > Loki::Typelist<Loki::Tuple<Loki::Typelist<Loki::EmptyType, Loki::NullType> > >>, Loki::NullType>, Loki::SingleThreaded>, Fun = > > quantity::DedimReturn<quantity::Quantity<quantity::digital::Dimension, > quantity::digital::Unit, quantity::digital::Units, > quantity::digital::Unity, bool>, quantity::digital::Unity> > (*)(Loki::Tuple<Loki::Typelist<Loki::EmptyType, Loki::NullType> >)]' > /usr/include/loki/Functor.h:68: instantiated from here > /usr/include/loki/Functor.h:61: warning: base class `class > Loki::SmallObject<Loki::SingleThreaded, 4096, 256, 4, > Loki::LongevityLifetime::DieAsSmallObjectParent>' should be explicitly > initialized in the copy constructor > make[2]: *** [libGeneralQuantities_la-Digital.lo] Fehler 1 > make[2]: Leaving directory > `/home/kl/software/src/quantity/Quantities/GeneralQuantities' > make[1]: *** [install-recursive] Fehler 1 > > -- ======================================================================= Bernd Speiser Institut f"ur Organische Chemie Auf der Morgenstelle 18 D-72076 T"ubingen Germany phone: +49-7071-2976205 (office) +49-7071-2976242 (laboratory) fax: +49-7071-295518 e-mail: ber...@un... Internet: http://www.uni-tuebingen.de/speiser ======================================================================= |
|
From: Kai L. <kai...@un...> - 2006-04-24 12:30:44
|
Thank you Bernd, > So ---------------------> please download a recent cvs-Version of Loki > to get rid of this warning. now, there is a new Loki release 0.1.4 available. It seems to work well. However, for the installation of the lokilib.a with g++ a patch was necessary (reported in one of the mailing lists): One must add #include <stdint.h> in loki's SmartPtr.h (e.g. at line 42) Regards Kai --=20 http://echempp.sourceforge.net Kai Ludwig Institut f=FCr Organische Chemie Auf der Morgenstelle 18 72076 T=FCbingen Mail: kai...@un... |
|
From: <ber...@t-...> - 2006-04-24 16:29:31
|
Kai Ludwig wrote: > Thank you Bernd, > > >>So ---------------------> please download a recent cvs-Version of Loki >>to get rid of this warning. > > > now, there is a new Loki release 0.1.4 available. > It seems to work well. However, for the > installation of the lokilib.a with g++ > a patch was necessary (reported in one > of the mailing lists): One must add > > #include <stdint.h> > > in loki's SmartPtr.h (e.g. at line 42) > > Regards > Kai > > > All right - seems to work. Has been installed on echem9 also. Bernd -- ======================================================================= Bernd Speiser Institut f"ur Organische Chemie Auf der Morgenstelle 18 D-72076 T"ubingen Germany phone: +49-7071-2976205 (office) +49-7071-2976242 (laboratory) fax: +49-7071-295518 e-mail: ber...@un... Internet: http://www.uni-tuebingen.de/speiser ======================================================================= |