[cvsnt] Re: cvsnt on AIX

Hans Horn hannes at 2horns.com
Fri Apr 2 18:52:01 BST 2004


Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.


Now that I've installed VisualAge C++ vi , I get much further, precisely up
to the following :

xlC_r -DHAVE_CONFIG_H -I. -I. -I.. -I../src  -I../lib    -g -c -o cvslockd.o
`test -f 'cvslockd.cpp' || echo './'`cvslockd.cpp
"cvslockd.cpp", line 42.21: 1540-0215 (S) The wrong number of arguments have
been specified for "getopt_long()".
make[2]: *** [cvslockd.o] Error 1
make[2]: Leaving directory `/archive/home/hans/cvsnt-2.0.36/lockservice'

After wasting two days, I've finally come to the conclusion that I MUST use
GNU compilers and libraries,
as getopt is a GNU thing.
Could that fact be a little bit more explicit on the linux installation page
(http://www.cvsnt.org/wiki/InstallationLinux), please?!

So I went ahead and installed gcc (v3.3.2) and started over with configure,
make, ...!

This is as far as I got :
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../src  -I../lib -I../src   -g -O2 -c -o
cvsgui_process.o `test -f 'cvsgui_process.cpp' || echo
'./'`cvsgui_process.cpp
In file included from
/usr/local/include/c++/3.3.2/powerpc-ibm-aix5.1.0.0/bits/c++io.h:35,
                 from /usr/local/include/c++/3.3.2/bits/fpos.h:44,
                 from /usr/local/include/c++/3.3.2/iosfwd:49,
                 from /usr/local/include/c++/3.3.2/bits/stl_algobase.h:70,
                 from /usr/local/include/c++/3.3.2/stack:66,
                 from cvsgui_process.cpp:53:
/usr/local/include/c++/3.3.2/cstdio:108: error: `fgetpos' not declared
/usr/local/include/c++/3.3.2/cstdio:110: error: `fopen' not declared
/usr/local/include/c++/3.3.2/cstdio:115: error: `freopen' not declared
/usr/local/include/c++/3.3.2/cstdio:118: error: `fsetpos' not declared

Oops! Is there a particular version of gcc required?

Thx,
Hans

"Tony Hoyle" <tmh at nodomain.org> wrote in message
news:kjtn60tk0rhr31e3a1uase8fgsuc36dhbc at 4ax.com...
> On Wed, 31 Mar 2004 14:04:21 -0800, "Hans Horn" <hannes at 2horns.com>
> wrote:
>
> >Dear group,
> >
> >I'm trying to build cvsnt on AIX, and I'm having e few hickups!
> >
> >Configure chooses 'cc' as the c compiler, which barfs on the c++ style
> >comments here and there.
> >Adding the appropriate compiler flag (-qcpluscmt) to configure.status and
> >re-running the latter fixes that.
>
> There is c++ code in cvsnt, so you'll need at least a compiler that
> can handle that.  Better to install gcc.
>
> >not found.
> >"cvsgui_process.cpp", line 54.10: 1540-0836 (S) The #include file
<vector>
> >is not found.
> >"cvsgui_process.cpp", line 55.10: 1540-0836 (S) The #include file
> ><algorithm> is not found.
> >
> >Where do those offending includes live (if they exist at all) under AIX?
> >
> If you don't have these you probably don't have a working c++
> compiler, as they should be in /usr/include.
>
> Tony
>





More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook