Re: Trouble compiling cvm with bglibs

Mikael Fridh <[email protected]> Wed, 06 Jul 2005 10:29:46 +0200
Newsgroups gmane.comp.sysutils.bgware
Organization Ongame e-solutions AB
Message-ID <[email protected]>
Graham Miller wrote:
> Hi all,
> 
> I have had some trouble compiling cvm-0.71 on a CentOS4 box.
> 
> bglibs version bglibs-1.022
> cvm version cvm-0.71
> 
> 1/ It did not compile ./instshow, ./installer, or ./instcheck
> 
> 2/ When I tried to use "make install", it barked about undefined reference to 'outbuf' and various function names related to that (obuf_putf, obuf_putc, obuf_write, obuf_flush).
> 
> 3/ It also barked about undefined reference to string library functions (msg_die, str_copys, str_copy, str_catc, str_cats, wrap_str).

It barks the same on Gnu/Linux!

> I notice that both sets are found in the sub-directories (iobuf, str) of the bglibs install. I checked the Makefile and found the following:
> 
> A/ It did not compile the installers by default.
> 
> B/ The ./load lines for the 3 installer programs did not have a library option on the command line.
> 
> So I adjusted the Makefile (I know it says not to in the file... wants to use 'spac') and it then compiled OK for me.
> 
> The attached patch is what worked for me. I would not recommend anyone use it on a production server until Bruce sanctions the fixes or produces another patch/version.

I'll try it.

-- 
  ___
|K  | Ongame e-solutions AB - www.ongame.com
| /\| Mikael Fridh / Technical Operations
|_\/| tel: +46 18 606 538 / fax: +46 18 694 411