[<<] [<] Page 1 of 1 [>] [>>] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Compile issues with RH9
From: shad ####@####.#### Date: 19 Oct 2003 05:33:39 -0000 Message-Id: <3F922AC1.1000705@shartley.net> Reporting some compiling errors for stable NewsCache-0.99.22p1 Noted that the NewsCache-1.1.12 didn't even have make scripts RPM newscache-0.99.22p1-1.i386.rpm seemed to install ok System: AMD 550 Mem 192312k RedHat 9 Shrike Linux 2.4.21 i586 i586 i386 GNU/Linux libgcc-3.2.2-5 gcc-c++-3.2.2-5 compat-gcc-7.3-2.96.118 compat-gcc-c++-7.3-2.96.118 gcc-3.2.2-5 Compile log for NewsCache-0.99.22p1: ./config [STDOUT] creating cache ./config.cache checking for a BSD compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... yes checking for working aclocal... found checking for working autoconf... found checking for working automake... found checking for working autoheader... found checking for working makeinfo... missing checking for gcc... gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking for c++... c++ checking whether the C++ compiler (c++ -Wall ) works... yes checking whether the C++ compiler (c++ -Wall ) is a cross-compiler... no checking whether we are using GNU C++... yes checking whether c++ accepts -g... yes checking for ranlib... ranlib checking for a BSD compatible install... /usr/bin/install -c checking whether make sets ${MAKE}... (cached) yes checking whether find accepts -printf... yes checking whether c++ handles exceptions... yes checking for socket in -lsocket... no checking for gethostbyname in -lnsl... yes checking for crypt in -lcrypt... yes checking for hosts_ctl in -lwrap... yes checking how to run the C++ preprocessor... c++ -E checking for ANSI C header files... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for fcntl.h... yes checking for limits.h... yes checking for shadow.h... yes checking for sys/file.h... yes checking for syslog.h... yes checking for unistd.h... yes checking for tcpd.h... yes checking for pid_t... yes checking for size_t... yes checking whether time.h and sys/time.h may both be included... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for tm_zone in struct tm... yes checking for unistd.h... (cached) yes checking for getpagesize... yes checking for working mmap... no checking return type of signal handlers... void checking for gethostname... yes checking for gettimeofday... yes checking for mkdir... yes checking for select... yes checking for setpriority... yes checking for socket... yes checking for strerror... yes checking for strstr... yes checking for strtol... yes checking for syslog... yes checking for sigaction... yes checking argument 3 of accept... unsigned int* updating cache ./config.cache creating ./config.status creating Makefile creating md5lib/Makefile creating NVClasses-0.9.1/Makefile creating NServer-0.9.1/Makefile creating NServer-0.9.1/checks/Makefile creating src/Makefile creating src/accesslog creating src/cachestat creating src/hostlog creating src/hoststat creating man/Makefile creating doc/Makefile creating etc/Makefile creating etc/NewsCache.init creating config.h ./make WARNING: Using auxiliary files such as acconfig.h', config.h.bot' WARNING: and config.h.top', to define templates for config.h.in' WARNING: is deprecated and discouraged. WARNING: Using the third argument of AC_DEFINE' and WARNING: AC_DEFINE_UNQUOTED' allows to define a template without WARNING: acconfig.h': WARNING: AC_DEFINE([NEED_MAIN], 1, WARNING: [Define if a function main' is needed.]) WARNING: More sophisticated templates can also be produced, see the WARNING: documentation. In file included from /usr/include/c++/3.2.2/backward/fstream.h:31, from Logger.h:4, from Logger.cc:10: /usr/include/c++/3.2.2/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <sstream> instead of the deprecated header <strstream.h>. To disable this warning use -Wno-deprecated. In file included from Logger.cc:10: Logger.h:104: parse error before &' token Logger.h:104: Logger& operator<<(...)' must have an argument of class or enumerated type Logger.h:104: Logger& operator<<(...)' must take exactly two arguments Logger.cc:152: parse error before &' token Logger.cc:153: Logger& operator<<(...)' must have an argument of class or enumerated type Logger.cc:153: Logger& operator<<(...)' must take exactly two arguments Logger.cc: In function Logger& operator<<(...)': Logger.cc:154: string' undeclared (first use this function) Logger.cc:154: (Each undeclared identifier is reported only once for each function it appears in.) Logger.cc:154: parse error before (' token Logger.cc:155: l' undeclared (first use this function) Logger.cc:155: s2' undeclared (first use this function) make[2]: *** [Logger.o] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all-recursive-am] Error 2 cd . && autoheader cd . \ && CONFIG_FILES= CONFIG_HEADERS=config.h \ /bin/sh ./config.status creating config.h make all-recursive make[1]: Entering directory `/work/NewsCache-0.99.22p1' Making all in md5lib make[2]: Entering directory `/work/NewsCache-0.99.22p1/md5lib' c++ -DHAVE_CONFIG_H -I. -I. -I.. -Wall -g -Wno-unused -c md5.cc c++ -DHAVE_CONFIG_H -I. -I. -I.. -Wall -g -Wno-unused -c md5crypt.cc rm -f libmd5.a ar cru libmd5.a md5.o md5crypt.o ranlib libmd5.a make[2]: Leaving directory `/work/NewsCache-0.99.22p1/md5lib' Making all in NVClasses-0.9.1 make[2]: Entering directory `/work/NewsCache-0.99.22p1/NVClasses-0.9.1' c++ -DHAVE_CONFIG_H -I. -I. -I.. -Wall -g -c Logger.cc make[2]: Leaving directory `/work/NewsCache-0.99.22p1/NVClasses-0.9.1' make[1]: Leaving directory `/work/NewsCache-0.99.22p1' | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Compile issues with RH9
From: shad ####@####.#### Date: 19 Oct 2003 05:27:26 -0000 Message-Id: <3F92294F.2040003@shartley.net> Reporting some compiling errors for stable NewsCache-0.99.22p1 Noted that the NewsCache-1.1.12 didn't even have make scripts RPM newscache-0.99.22p1-1.i386.rpm seemed to install ok System: AMD 550 Mem 192312k RedHat 9 Shrike Linux 2.4.21 i586 i586 i386 GNU/Linux libgcc-3.2.2-5 gcc-c++-3.2.2-5 compat-gcc-7.3-2.96.118 compat-gcc-c++-7.3-2.96.118 gcc-3.2.2-5 Compile log for NewsCache-0.99.22p1: ./config [STDOUT] creating cache ./config.cache checking for a BSD compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... yes checking for working aclocal... found checking for working autoconf... found checking for working automake... found checking for working autoheader... found checking for working makeinfo... missing checking for gcc... gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking for c++... c++ checking whether the C++ compiler (c++ -Wall ) works... yes checking whether the C++ compiler (c++ -Wall ) is a cross-compiler... no checking whether we are using GNU C++... yes checking whether c++ accepts -g... yes checking for ranlib... ranlib checking for a BSD compatible install... /usr/bin/install -c checking whether make sets ${MAKE}... (cached) yes checking whether find accepts -printf... yes checking whether c++ handles exceptions... yes checking for socket in -lsocket... no checking for gethostbyname in -lnsl... yes checking for crypt in -lcrypt... yes checking for hosts_ctl in -lwrap... yes checking how to run the C++ preprocessor... c++ -E checking for ANSI C header files... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for fcntl.h... yes checking for limits.h... yes checking for shadow.h... yes checking for sys/file.h... yes checking for syslog.h... yes checking for unistd.h... yes checking for tcpd.h... yes checking for pid_t... yes checking for size_t... yes checking whether time.h and sys/time.h may both be included... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for tm_zone in struct tm... yes checking for unistd.h... (cached) yes checking for getpagesize... yes checking for working mmap... no checking return type of signal handlers... void checking for gethostname... yes checking for gettimeofday... yes checking for mkdir... yes checking for select... yes checking for setpriority... yes checking for socket... yes checking for strerror... yes checking for strstr... yes checking for strtol... yes checking for syslog... yes checking for sigaction... yes checking argument 3 of accept... unsigned int* updating cache ./config.cache creating ./config.status creating Makefile creating md5lib/Makefile creating NVClasses-0.9.1/Makefile creating NServer-0.9.1/Makefile creating NServer-0.9.1/checks/Makefile creating src/Makefile creating src/accesslog creating src/cachestat creating src/hostlog creating src/hoststat creating man/Makefile creating doc/Makefile creating etc/Makefile creating etc/NewsCache.init creating config.h ./make WARNING: Using auxiliary files such as acconfig.h', config.h.bot' WARNING: and config.h.top', to define templates for config.h.in' WARNING: is deprecated and discouraged. WARNING: Using the third argument of AC_DEFINE' and WARNING: AC_DEFINE_UNQUOTED' allows to define a template without WARNING: acconfig.h': WARNING: AC_DEFINE([NEED_MAIN], 1, WARNING: [Define if a function main' is needed.]) WARNING: More sophisticated templates can also be produced, see the WARNING: documentation. In file included from /usr/include/c++/3.2.2/backward/fstream.h:31, from Logger.h:4, from Logger.cc:10: /usr/include/c++/3.2.2/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <sstream> instead of the deprecated header <strstream.h>. To disable this warning use -Wno-deprecated. In file included from Logger.cc:10: Logger.h:104: parse error before &' token Logger.h:104: Logger& operator<<(...)' must have an argument of class or enumerated type Logger.h:104: Logger& operator<<(...)' must take exactly two arguments Logger.cc:152: parse error before &' token Logger.cc:153: Logger& operator<<(...)' must have an argument of class or enumerated type Logger.cc:153: Logger& operator<<(...)' must take exactly two arguments Logger.cc: In function Logger& operator<<(...)': Logger.cc:154: string' undeclared (first use this function) Logger.cc:154: (Each undeclared identifier is reported only once for each function it appears in.) Logger.cc:154: parse error before (' token Logger.cc:155: l' undeclared (first use this function) Logger.cc:155: s2' undeclared (first use this function) make[2]: *** [Logger.o] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all-recursive-am] Error 2 cd . && autoheader cd . \ && CONFIG_FILES= CONFIG_HEADERS=config.h \ /bin/sh ./config.status creating config.h make all-recursive make[1]: Entering directory `/work/NewsCache-0.99.22p1' Making all in md5lib make[2]: Entering directory `/work/NewsCache-0.99.22p1/md5lib' c++ -DHAVE_CONFIG_H -I. -I. -I.. -Wall -g -Wno-unused -c md5.cc c++ -DHAVE_CONFIG_H -I. -I. -I.. -Wall -g -Wno-unused -c md5crypt.cc rm -f libmd5.a ar cru libmd5.a md5.o md5crypt.o ranlib libmd5.a make[2]: Leaving directory `/work/NewsCache-0.99.22p1/md5lib' Making all in NVClasses-0.9.1 make[2]: Entering directory `/work/NewsCache-0.99.22p1/NVClasses-0.9.1' c++ -DHAVE_CONFIG_H -I. -I. -I.. -Wall -g -c Logger.cc make[2]: Leaving directory `/work/NewsCache-0.99.22p1/NVClasses-0.9.1' make[1]: Leaving directory `/work/NewsCache-0.99.22p1' | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Re: Compile issues with RH9
From: Tilman Linneweh ####@####.#### Date: 19 Oct 2003 16:06:04 -0000 Message-Id: <1066581701.744.6.camel@sauna.arved.de> Hi, On Sun, 2003-10-19 at 08:10, shad wrote: > Reporting some compiling errors for stable NewsCache-0.99.22p1 > Noted that the NewsCache-1.1.12 didn't even have make scripts I would suggest, to follow up here, why you couldn't generate the configure. But, I would like to point out, that I would also favor the tarball shipping with a pre-generated configure script, since the auto-tools are developer tools and not users tools. > RPM newscache-0.99.22p1-1.i386.rpm seemed to install ok It would be interesting, how RedHat fixed newscache 0.99 to compile with gcc3.x or if they compiled this rpm with gcc 2.9x. > gcc-c++-3.2.2-5 One of the main goals for newscache 1.x was that it compiles with gcc 3.x. regards tilman | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
AW: Compile issues with RH9
From: Straub Herbert ####@####.#### Date: 20 Oct 2003 07:17:28 -0000 Message-Id: <3365692EA1026A498A5DB41801AE2DB5CCE2B3@xcwrk2.xund.magwien.gv.at> Hallo, ad Makefile: Please read the INSTALL Instructions: o) Build socket++ and install (see INSTALL) o) Build NewsCache (this example ist valid for Debian Systems): $./autogen $./configure --prefix=/usr --sysconfdir=/etc $make $su $make install You need also the following Tilman patch: http://www.hstraub.at/linux/downloads/src/NewsCache-1.1.12-patch-Article.cc. gz ad newscache-0.99.22p1-1.i386.rpm The executable is linked against: ldd /usr/sbin/NewsCache libcrypt.so.1 => /lib/libcrypt.so.1 (0x40021000) libnsl.so.1 => /lib/libnsl.so.1 (0x4004f000) libstdc++-libc6.2-2.so.3 => /usr/lib/libstdc++-libc6.2-2.so.3 (0x40064000) libm.so.6 => /lib/i686/libm.so.6 (0x400a7000) libc.so.6 => /lib/i686/libc.so.6 (0x42000000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000) and the libstdc++ version rpm -qf /usr/lib/libstdc++-libc6.2-2.so.3 libstdc++-2.96-113 is used. With the actual g++ version shipped with RedHat 9.0 (3.3) you are not able to compile the old NewsCache 0.99.*, because the C++ Standard has changed. See: http://members.aon.at/hstraub/linux/newscache/porting-howto.html Announcement: In the following days, I will release 1.1.90 with reworked authentication and authorization model with pam support: http://www.kernel.org/pub/linux/libs/pam/modules.html -----Ursprüngliche Nachricht----- Von: Tilman Linneweh ####@####.#### Gesendet: Sonntag, 19. Oktober 2003 18:42 An: shad Cc: ####@####.#### Betreff: Re: Compile issues with RH9 Hi, On Sun, 2003-10-19 at 08:10, shad wrote: > Reporting some compiling errors for stable NewsCache-0.99.22p1 Noted > that the NewsCache-1.1.12 didn't even have make scripts I would suggest, to follow up here, why you couldn't generate the configure. But, I would like to point out, that I would also favor the tarball shipping with a pre-generated configure script, since the auto-tools are developer tools and not users tools. > RPM newscache-0.99.22p1-1.i386.rpm seemed to install ok It would be interesting, how RedHat fixed newscache 0.99 to compile with gcc3.x or if they compiled this rpm with gcc 2.9x. > gcc-c++-3.2.2-5 One of the main goals for newscache 1.x was that it compiles with gcc 3.x. regards tilman | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
[<<] [<] Page 1 of 1 [>] [>>] |