GUILLON Gabriel [2006-06-02, 13:29:33]:
> Hi!
> I try to make a bacula ports for openbsd, as I didn't find one.
> I made a (preliminary) Makefile, but 'make' complain that:
> 
> checking for /usr/bin/g++... (cached) c++
> configure: error: Unable to find C++ compiler
> 
> When I compile 'by hand' (out of ports stuff) it works.
> Seeing config.log, it seems that something is not defining __cplusplus..
> 
> What's wrong?

i think this is caused by this construct in the configure script.

if test ! -e $CXX; then
   { { echo "$as_me:$LINENO: error: Unable to find C++ compiler" >&5

we set CXX=c++ by default, so configure picks up this environment variable,
and then tests for existence of this path, but it is not an absolute path.
looks like this script may need some patching.

steven

Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm

Reply via email to