On Fri, Oct 31, 2003, Michael Schloh wrote:
>   Modified files:
>     openpkg-src/openpkg     openpkg.spec
> 
>   Log:
>     Fix build failure when native CPP program is busted or not correctly
>     identified during configure
> 
>   $ cvs diff -u -r1.240 -r1.241 openpkg.spec
>   --- openpkg-src/openpkg/openpkg.spec        31 Oct 2003 09:56:36 -0000      1.240
>   +++ openpkg-src/openpkg/openpkg.spec        31 Oct 2003 16:20:11 -0000      1.241
>   @@ -509,6 +509,7 @@
>            echo 'lt_cv_sys_max_cmd_len=100'
>          ) >config.cache
>          CC="${l_cc}" \
>   +      CXX="${l_cxx}" \
>          CFLAGS="-I`pwd`/../zlib-%{V_zlib}" \
>          CPPFLAGS="-I`pwd`/../zlib-%{V_zlib}" \
>          LDFLAGS="-L`pwd`/../zlib-%{V_zlib}" \
>
Please review, due to possible conflict with our base platform requirements.
We've never stated that a C++ compiler is required, and I'm not sure what
the result is when the above runs on a platform with cc but not c++. I
believe the l_cxx should expand to nothing, so there's no harm done here.

By the way, this change (and that in the curl package) is intended to fix:

  work/curl$ ./configure
  [...]
  checking dependency style of g++... none
  checking how to run the C++ preprocessor... /lib/cpp
  configure: error: C++ preprocessor "/lib/cpp" fails sanity check
  See `config.log' for more details.
  error: Bad exit status from
  /.am/sv0/vol/vol1/e/openpkg/re/release/tmp/dv16-ix86-solaris10/TMP/rpm-tmp.11368
  (%build)

-- 
[EMAIL PROTECTED]
Development Team, Operations Northern Europe
Cable & Wireless Telecommunications Services GmbH

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to