From: Christian L P. <pe...@co...> - 2003-04-11 11:51:57
|
Justin, Jason: Okay, I got configure's dependencies satisftied. (or should I say you guys did) For the record I used the following to get myself started on Red Hat 9. Xerces C++ : * Download a binary from http://xml.apache.org/xerces-c/index.html * Untar it in /usr/local glib-2.0 : * Stock RPM's from RedHat glib2 and glib2-devel libsigc++ : * Download a tar ball from http://libsigc.sourceforge.net/stable.shtml * rpmbuild -ta [tar ball] config4gnu : * Check out code from http://config4gnu.sf.net * ./autogen.sh * ./configure --with-xerces-c-root=/usr/local/xerces-c-LINUX-c++-2_2_0/ (NOTE: configure was smart enough to disable the gtk client compliation) * make A couple things to note : * autogen complained about not having ltmain.sh, I ignored it. - aclocal.m4:883: required file `./ltmain.sh' not found * make was looking for ../../libtool, I copied my /usr/bin into the root dir for config4gnu * I got the following compilation error : g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"config4gnu\" -DVERSION=\"0.1.8\" -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/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/sigc++-1.2/include -I/usr/include/sigc++-1.2 -I/usr/local/xerces-c-LINUX-c++-2_2_0//include -DPERLEXT_PATH=\"/usr/local/lib/config4gnu/perl\" -DPARSERS_PATH=\"/usr/local/libexec\" -DPARSERS_DEF_PATH=\"/usr/local/share/config4gnu/parsers\" -DSYSCONF_PATH=\"/usr/local/etc\" -DCLASS_PATH=\"/usr/local/share/config4gnu/classes\" -DFORMS_PATH=\"/usr/local/share/config4gnu/forms\" -DSCHEMAS_PATH=\"/usr/local/share/config4gnu/schemas\" -g -O2 -c VirtualXMLBackendObject.cc -MT VirtualXMLBackendObject.lo -MD -MP -MF .deps/VirtualXMLBackendObject.TPlo -fPIC -DPIC -o .libs/VirtualXMLBackendObject.lo VirtualXMLBackendObject.cc: In static member function `static void Cfg::VirtualXMLBackendObject::run_parser(CfgObject*)': VirtualXMLBackendObject.cc:84: `cout' undeclared in namespace `std' VirtualXMLBackendObject.cc:84: `endl' undeclared in namespace `std' VirtualXMLBackendObject.cc:85: `cout' undeclared in namespace `std' VirtualXMLBackendObject.cc:85: `endl' undeclared in namespace `std' VirtualXMLBackendObject.cc:86: `cout' undeclared in namespace `std' VirtualXMLBackendObject.cc:86: `endl' undeclared in namespace `std' VirtualXMLBackendObject.cc: In member function `virtual void Cfg::VirtualXMLBackendObject::save()': VirtualXMLBackendObject.cc:232: `cout' undeclared in namespace `std' VirtualXMLBackendObject.cc:232: `endl' undeclared in namespace `std' make[2]: *** [VirtualXMLBackendObject.lo] Error 1 make[2]: Leaving directory `/home/pearcec/config4gnu/src/libconfig4gnu' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/pearcec/config4gnu/src' make: *** [all-recursive] Error 1 Maybe this is clear for you what I did wrong? I am going to poke around with it a little bit. One thing of note. I noticed you didn't have any license or header information in the src file. Still trying to download Gentoo. Christian -- Christian Pearce www.commnav.com On Thu, 10 Apr 2003 22:17:15 -0400, Justin Yackoski wrote: > > Christian, > > Jason and I have updated our library so that you should now be able to compile it without glibmm. You'll still need libsigc++-1.2 and glib-2.0, but hopefully you've already got those installed. Let us know if you have any trouble. > > Justin > > -- > SkiingYAC > Custom Solutions > http://www.SkiingYAC.com > > > ------------------------------------------------------- > This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger > for complex code. Debugging C/C++ programs can leave you feeling lost and > disoriented. TotalView can help you find your way. Available on major UNIX > and Linux platforms. Try it free. www.etnus.com > _______________________________________________ > Config4gnu-developer mailing list > Con...@li... > https://lists.sourceforge.net/lists/listinfo/config4gnu-developer > |