[<<] [<] Page 1 of 1 [>] [>>] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Problems compiling newscache on FreeBSD4.7
From: "Booker" ####@####.#### Date: 16 Dec 2002 22:38:11 -0000 Message-Id: <006801c2a552$de454c60$c17f4140@lava.net> I need help on figuring out what my problem is with compiling on FreeBSD4.7. I have tried to compile from FreeBSD ports and from the newscache src. I grabbed the source and tried to compile it, NewsCache-1.1.7.tar.gz. It says I need socket++ so I grabbed socket++-1.12.7.tar.gz. I'm having problems compiling socket++. Below is the problems I am encountering. bash-2.05a$ ./autogen libtoolize... aclocal... autoheader... 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. configure.in:29: warning: do not use m4_patsubst: use patsubst or m4_bpatsubst configure.in:185: warning: do not use m4_regexp: use regexp or m4_bregexp autoheader: `socket++/config.h.in' is created automake... automake: configure.in: installing `./install-sh' automake: configure.in: installing `./mkinstalldirs' automake: configure.in: installing `./missing' doc/Makefile.am:1: installing `doc/texinfo.tex' automake: configure.in: installing `./depcomp' autoconf... Next run ./configure Next run make =============================================== bash-2.05a$ ./configure checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... no checking for mawk... no checking for nawk... nawk checking whether make sets ${MAKE}... yes checking whether make sets ${MAKE}... (cached) yes checking for gcc... gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for style of include used by make... GNU checking dependency style of gcc... gcc checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc checking build system type... i386-unknown-freebsdelf4.7 checking host system type... i386-unknown-freebsdelf4.7 checking for ranlib... ranlib checking for ld used by GCC... /usr/libexec/elf/ld checking if the linker (/usr/libexec/elf/ld) is GNU ld... yes checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes loading cache /dev/null within ltconfig ltconfig: you must specify a host type if you use `--no-verify' Try `ltconfig --help' for more information. configure: error: libtool configure failed =============================================== Here is the output I get when doing a sudo make install from FreeBSD ports: ===> Building for newscache-0.99.22 gmake all-recursive gmake[1]: Entering directory `/usr/ports/news/newscache/work/NewsCache' Making all in md5lib gmake[2]: Entering directory `/usr/ports/news/newscache/work/NewsCache/md5lib' cd .. \ && CONFIG_FILES=md5lib/Makefile CONFIG_HEADERS= /bin/sh ./config.status config.status: creating md5lib/Makefile config.status: executing default-1 commands gmake[2]: Leaving directory `/usr/ports/news/newscache/work/NewsCache/md5lib' gmake[2]: Entering directory `/usr/ports/news/newscache/work/NewsCache/md5lib' source='md5.cc' object='md5.o' libtool=no \ depfile='.deps/md5.Po' tmpdepfile='.deps/md5.TPo' \ depmode=none /usr/local/bin/bash ../depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I.. -Wall -Wall -O -pipe -g -g -Wno-unused -c -o md5.o `test -f md5.cc || echo './'`md5.cc ../depcomp: ../depcomp: No such file or directory gmake[2]: *** [md5.o] Error 127 gmake[2]: Leaving directory `/usr/ports/news/newscache/work/NewsCache/md5lib' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/news/newscache/work/NewsCache' gmake: *** [all] Error 2 *** Error code 2 Stop in /usr/ports/news/newscache | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Re: Problems compiling newscache on FreeBSD4.7
From: Tilman Linneweh ####@####.#### Date: 16 Dec 2002 23:35:26 -0000 Message-Id: <20021217002828.5761eb21.arved@FreeBSD.org> Hi Booker, * "Booker" ####@####.#### [Mon, 16 Dec 2002 12:31:24 -1000]: > I need help on figuring out what my problem is with compiling on > FreeBSD4.7. I have tried to compile from FreeBSD ports and from the > newscache src. > > I grabbed the source and tried to compile it, NewsCache-1.1.7.tar.gz. > It says I need socket++ so I grabbed socket++-1.12.7.tar.gz. I'm having > problems compiling socket++. Below is the problems I am encountering. I already updated the net/libsocket++ port. Can you try that? It should build. At least it built for me and the package cluster :). > loading cache /dev/null within ltconfig > ltconfig: you must specify a host type if you use `--no-verify' > Try `ltconfig --help' for more information. > configure: error: libtool configure failed Do you have the libtool-port installed? I have no idea what this is about, it builds fine on my -STABLE with the port. > Here is the output I get when doing a sudo make install from FreeBSD > ports: > > ===> Building for newscache-0.99.22 > gmake all-recursive > gmake[1]: Entering directory `/usr/ports/news/newscache/work/NewsCache' > Making all in md5lib > gmake[2]: Entering directory > `/usr/ports/news/newscache/work/NewsCache/md5lib' > cd .. \ > && CONFIG_FILES=md5lib/Makefile CONFIG_HEADERS= /bin/sh > ./config.status > config.status: creating md5lib/Makefile > config.status: executing default-1 commands > gmake[2]: Leaving directory > `/usr/ports/news/newscache/work/NewsCache/md5lib' > gmake[2]: Entering directory > `/usr/ports/news/newscache/work/NewsCache/md5lib' > source='md5.cc' object='md5.o' libtool=no \ > depfile='.deps/md5.Po' tmpdepfile='.deps/md5.TPo' \ > depmode=none /usr/local/bin/bash ../depcomp \ > g++ -DHAVE_CONFIG_H -I. -I. -I.. -Wall -Wall -O -pipe -g -g > -Wno-unused -c -o md5.o `test -f md5.cc || echo './'`md5.cc > ../depcomp: ../depcomp: No such file or directory The error above can be solved by stepping into work/newscache../ and doing automake --add-missing. It is not needed on my STABLE and the package cluster, so I have no idea why you are facing this problem. I haven't updated the newscache port yet, because we ran into ports freeze, and i was not able to do enuff testing, but i have an updated version, i can send to you, if you manage to compile the libsocket++ port. If you can't get neither the newscache port, nor the libsocket++ port to compile mail me, and i can provide binary packages for STABLE. regards tilman [Content type application/pgp-signature not shown. Download] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
RE: Problems compiling newscache on FreeBSD4.7
From: "Booker" ####@####.#### Date: 17 Dec 2002 00:55:30 -0000 Message-Id: <008001c2a566$0d8e1de0$c17f4140@lava.net> > -----Original Message----- > From: Tilman Linneweh Thanks for some tips. I didn't have net/libsocket++ so I went and installed that. That compiled and seem to install properly. I have libtool-1.3.4_2 installed via ports. Now for newscache. I'm trying compile either the verison via freebsd's ports or the latest src. For the ported version in news/newscache I tried what you recommended and I got: bash-2.05a$ cd NewsCache/ bash-2.05a$ automake --add-missing Can't call method "close" on an undefined value at /usr/local/bin/automake line 7751. bash-2.05a$ pwd /usr/ports/news/newscache/work/NewsCache For the latest src that I also tried to compile : http://www.hstraub.at/linux/downloads/src/NewsCache-1.1.7.tar.gz now its complaining that it can't find libsocket++ but I just installed it via the ports. checking for socket++/sockinet.h... no configure: error: Headers for library libsocket++ not found bash-2.05a$ Anything else I should look for? | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
RE: Problems compiling newscache on FreeBSD4.7
From: "Booker" ####@####.#### Date: 17 Dec 2002 21:48:12 -0000 Message-Id: <00a501c2a615$0a386fb0$c17f4140@lava.net> > -----Original Message----- > From: Tilman Linneweh ####@####.#### > > Here is the output I get when doing a sudo make install from FreeBSD > > ports: > > > > ===> Building for newscache-0.99.22 > > gmake all-recursive > > gmake[1]: Entering directory > `/usr/ports/news/newscache/work/NewsCache' > > Making all in md5lib > > gmake[2]: Entering directory > > `/usr/ports/news/newscache/work/NewsCache/md5lib' > > cd .. \ > > && CONFIG_FILES=md5lib/Makefile CONFIG_HEADERS= /bin/sh > > ./config.status > > config.status: creating md5lib/Makefile > > config.status: executing default-1 commands > > gmake[2]: Leaving directory > > `/usr/ports/news/newscache/work/NewsCache/md5lib' > > gmake[2]: Entering directory > > `/usr/ports/news/newscache/work/NewsCache/md5lib' > > source='md5.cc' object='md5.o' libtool=no \ > > depfile='.deps/md5.Po' tmpdepfile='.deps/md5.TPo' \ > > depmode=none /usr/local/bin/bash ../depcomp \ > > g++ -DHAVE_CONFIG_H -I. -I. -I.. -Wall -Wall -O -pipe -g -g > > -Wno-unused -c -o md5.o `test -f md5.cc || echo './'`md5.cc > > ../depcomp: ../depcomp: No such file or directory > > The error above can be solved by stepping into work/newscache../ and > doing automake --add-missing. It is not needed on my STABLE and the > package cluster, so I have no idea why you are facing this problem. > Hmm are there any differences in -STABLE and the RELENG_4_7 track? I only cvsup my src tree to RELENG_4_7 at the moment. Don't want to be too bleeding edge. Maybe that's something else that could shed some light? | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Re: Problems compiling newscache on FreeBSD4.7
From: Tilman Linneweh ####@####.#### Date: 18 Dec 2002 09:20:20 -0000 Message-Id: <200212181014.01993.arved@FreeBSD.org> * Booker [Dienstag, 17. Dezember 2002 22:41] : > > > Making all in md5lib > > > gmake[2]: Entering directory > > > `/usr/ports/news/newscache/work/NewsCache/md5lib' > > > cd .. \ > > > && CONFIG_FILES=md5lib/Makefile CONFIG_HEADERS= /bin/sh > > > ./config.status > > > config.status: creating md5lib/Makefile > > > config.status: executing default-1 commands > > > gmake[2]: Leaving directory > > > `/usr/ports/news/newscache/work/NewsCache/md5lib' > > > gmake[2]: Entering directory > > > `/usr/ports/news/newscache/work/NewsCache/md5lib' > > > source='md5.cc' object='md5.o' libtool=no \ > > > depfile='.deps/md5.Po' tmpdepfile='.deps/md5.TPo' \ > > > depmode=none /usr/local/bin/bash ../depcomp \ > > > g++ -DHAVE_CONFIG_H -I. -I. -I.. -Wall -Wall -O -pipe -g -g > > > -Wno-unused -c -o md5.o `test -f md5.cc || echo './'`md5.cc > > > ../depcomp: ../depcomp: No such file or directory > > > > The error above can be solved by stepping into work/newscache../ and > > doing automake --add-missing. It is not needed on my STABLE and the > > package cluster, so I have no idea why you are facing this problem. > > Hmm are there any differences in -STABLE and the RELENG_4_7 track? I > only cvsup my src tree to RELENG_4_7 at the moment. Don't want to be > too bleeding edge. Maybe that's something else that could shed some > light? None that would apply in this case. But you should track the port repository. There have been some changes to auoconf/automake recently. regards tilman | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
RE: Problems compiling newscache on FreeBSD4.7
From: "Booker" ####@####.#### Date: 18 Dec 2002 21:23:54 -0000 Message-Id: <00a101c2a6da$ce832de0$c17f4140@lava.net> Thanks for the help. I normally cvsup my ports tree once a week. But for the hell of it I tried doing a make reinstall of both automake and autoconf and they look like they haven't changed for a while. In any case I look forward to when you get 1.1.7 updated in the ports tree and I'll deal with it then on the 4.7 box. I have .99 working on another box (4.6.2) so I'll just work with that for now. Thanks, Booker > -----Original Message----- > From: Tilman Linneweh ####@####.#### > Sent: Tuesday, December 17, 2002 11:14 PM > To: ####@####.#### > Cc: ####@####.#### > Subject: Re: Problems compiling newscache on FreeBSD4.7 > > > * Booker [Dienstag, 17. Dezember 2002 22:41] : > > > > Making all in md5lib > None that would apply in this case. > But you should track the port repository. There have been > some changes to > auoconf/automake recently. > > regards > tilman | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Re: Problems compiling newscache on FreeBSD4.7
From: Tilman Linneweh ####@####.#### Date: 18 Dec 2002 22:16:20 -0000 Message-Id: <20021218230918.63a44c87.tilman@arved.de> * "Booker" ####@####.#### [Mon, 16 Dec 2002 14:48:45 -1000]: > Now for newscache. I'm trying compile either the verison via freebsd's > ports or the latest src. > > For the ported version in news/newscache I tried what you recommended > and I got: > > bash-2.05a$ cd NewsCache/ > bash-2.05a$ automake --add-missing > Can't call method "close" on an undefined value at > /usr/local/bin/automake line 7751. > bash-2.05a$ pwd > /usr/ports/news/newscache/work/NewsCache You are getting all kinds of strange errors..Really no idea. Good news for you, I was able to reproduce the missing ./depcomp problem on one of my machines. I'll commit a patch to the port soon (or update to the new version). If you haven't made a binary package on your other machine, I have also made a binary package for you: pkg_add http://people.freebsd.org/newscache-0.99.22.tgz > For the latest src that I also tried to compile : > http://www.hstraub.at/linux/downloads/src/NewsCache-1.1.7.tar.gz > now its complaining that it can't find libsocket++ but I just installed > it via the ports. Thats normal behaviour. If you try to install not from ports, /usr/local is not in the search path of the compiler. You can set CPPFLAGS and LDFLAGS via environment variables. regards tilman [Content type application/pgp-signature not shown. Download] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Re: Problems compiling newscache on FreeBSD4.7
From: Herbert Straub ####@####.#### Date: 18 Dec 2002 22:21:44 -0000 Message-Id: <3E00F31C.4040704@aon.at> Booker wrote: >In any case I look forward to when you get 1.1.7 updated in the ports >tree and I'll deal with it then on the 4.7 box. I have .99 working on >another box (4.6.2) so I'll just work with that for now. > > > The main point of NewsCache 1.1 is the compatibility with g++ >= 3.0 (The first error messages come from RedHat Users). For example the fstream.attach() function is not longer available. On the other hand, i had enhenced the error logging (if compiled with --enable-debug) and the Error Classes. Now it should be easier to find errors. Realy new functions starts with NewsCache 1.2. Herbert | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
[<<] [<] Page 1 of 1 [>] [>>] |