[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bayonne-devel]commonc++
From: |
David Sugar |
Subject: |
Re: [Bayonne-devel]commonc++ |
Date: |
Thu, 5 Dec 2002 09:45:42 -0500 (EST) |
autoconf only checks the aclocal directory for the prefix it itself is
installed in. Hence, it only checks /usr/share/aclocal, and never checks
/usr/local/share/aclocal, at least on a typical GNU system where autoconf
is installed under /usr. I always felt autoconf should check both,
especially if installed as /usr, since many packages are built and install
as /usr/local. You need to move the /usr/local/share/aclocal/ost_check.m4
to /usr/share/aclocal, and everything should be fine, or configure and
install Common C++ with --prefix=/usr.
On 29 Nov 2002, Fred Leeflang wrote:
> I just checked out commoncpp2 from CVS. Should I have
> address@hidden:/cvsroot/commoncpp
> and then cvs co commoncpp2?
>
> commoncpp2 compiles without a problem if I do it the above way,
> yet ccaudio still complaints:
> ./configure: line 5727: syntax error near unexpected token `$REQUIRES'
> ./configure: line 5727: `OST_CCXX2_VERSION($REQUIRES)'
>
> I have Debian unstable, gcc version 2.95.4 20011002 (Debian prerelease)
> kernel 2.4.19
>
> I noticed a /usr/local/share/aclocal/ost_check.m4 gets installed
>
> I have the ccgnu2-config script
>
>
> On Fri, 2002-11-29 at 14:12, Federico Montesino Pouzols wrote:
>
> > What is your common c++ version, compiler, system config.,
> > etc? Anyway, I think that line can be safely removed. However, it is
> > strange that only that line makes the compiler complain, since
> > equivalent statements are used in the same file as well as in other
> > files.
> >
> > On Fri, Nov 29, 2002 at 01:57:11PM -0800, Fred Leeflang wrote:
> > > Commenting out line 572, a result of freddy77's 'merge' fixes the
> > > compile problem.
> > >
> > > On Fri, 2002-11-29 at 13:35, Fred Leeflang wrote:
> > >
> > > > Just checked out commoncpp from CVS, ran reconfig, configure and make:
> > > >
> > > > address@hidden:~/commoncpp$ make
> > > > Making all in src
> > > > make[1]: Entering directory `/home/fredl/commoncpp/src'
> > > > /bin/sh ../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I.
> > > > -I../src -I/usr/include/libxml2/libxml -I/usr/include/libxml2
> > > > -I../src -g -O2 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -c
> > > > inaddr.cpp
> > > > rm -f .libs/inaddr.lo
> > > > c++ -DHAVE_CONFIG_H -I. -I. -I. -I../src -I/usr/include/libxml2/libxml
> > > > -I/usr/include/libxml2 -I../src -g -O2 -D_GNU_SOURCE -D_REENTRANT
> > > > -D_THREAD_SAFE -Wp,-MD,.deps/inaddr.pp -c inaddr.cpp -fPIC -DPIC -o
> > > > .libs/inaddr.lo
> > > > In file included from inaddr.cpp:46:
> > > > socket.h:572: type specifier omitted for parameter
> > > > socket.h:572: parse error before `)'
> > > > make[1]: *** [inaddr.lo] Error 1
> > > > make[1]: Leaving directory `/home/fredl/commoncpp/src'
> > > > make: *** [all-recursive] Error 1
> > > >
> > > >
> > > > --
> > > > Fred Leeflang <address@hidden>
> > >
> > > --
> > > Fred Leeflang <address@hidden>
> > >
>
>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Bayonne-devel]commonc++,
David Sugar <=