Bacula-users

Re: [Bacula-users] compilation failure on OpenIndiana

2012-10-02 07:18:54
Subject: Re: [Bacula-users] compilation failure on OpenIndiana
From: Boris Epstein <borepstein AT gmail DOT com>
To: Geert Stappers <Geert.Stappers AT vanadgroup DOT com>
Date: Tue, 2 Oct 2012 07:15:57 -0400


On Tue, Oct 2, 2012 at 2:17 AM, Geert Stappers <Geert.Stappers AT vanadgroup DOT com> wrote:
Op 20121001 om 17:59 schreef Boris Epstein:
> Hello all,
>
> I've got an OpenIndiana machine (SunOS 5.11) on which I am trying to compile
> Bacula 5.2.12 with Postgres support. As I go along it fails at the following
> juncture:
>
> *** Error code 1
> The following command caused the error:
> /usr/bin/g++   -c -fno-strict-aliasing -fno-exceptions -fno-rtti  -I. -I..  -g
> -O2 -Wall -fno-strict-aliasing -fno-exceptions -fno-rtti conio.c
> make: Fatal error: Command failed for target `conio.o'
> Current working directory /home/bepstein/soft/bacula/bacula-5.2.12/src/console
>
>
>   ====== Error in /home/bepstein/soft/bacula/bacula-5.2.12/src/console ======
>
>
> *** Error code 1
> The following command caused the error:
> for I in src scripts src/lib src/findlib src/filed   src/console src/plugins/fd
> src/cats src/dird src/stored src/tools manpages; \
>   do (cd $I; echo "==>Entering directory `pwd`"; \
>       make DESTDIR= all || (echo ""; echo ""; echo "  ====== Error in `pwd` ===
> ==="; \
>                     echo ""; echo ""; exit 1;)); \
> done
> make: Fatal error: Command failed for target `all'
>
> Any idea why this happens or how to fix it?

Not at once for me.
My approach would be

   cd /home/bepstein/soft/bacula/bacula-5.2.12/src/console
   /usr/bin/g++   -c -fno-strict-aliasing -fno-exceptions -fno-rtti  -I. -I.. \
     -g -O2 -Wall -fno-strict-aliasing -fno-exceptions -fno-rtti conio.c

The idea is to get information why 'g++' fails, going beyond / behind / deeper
then only getting an error from 'make'

Hope this helps.


Cheers
Geert Stappers
--
http://www.vanadcimplicity.com/
------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Thanks.

I was thinking along the same lines. All I got was some message about repetitive function definitions - none of them anything I could recognize or easily make sense of.

Boris.
------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users