Re: [Boost-bugs] [Boost C++ Libraries] #502: Problem running configure for unsupported platform

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #502: Problem running configure for unsupported platform
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2007-07-11 15:17:53


#502: Problem running configure for unsupported platform
-------------------------------+--------------------------------------------
  Reporter: dkixk | Owner: johnmaddock
      Type: Support Requests | Status: assigned
 Milestone: | Component: Building Boost
   Version: None | Severity: Showstopper
Resolution: None | Keywords:
-------------------------------+--------------------------------------------
Changes (by grafik):

  * severity: => Showstopper
  * reporter: nobody => dkixk

Old description:

> {{{
> I'm trying to build Boost for HP NonStop system using a
> cross compiler running on cygwin. I'm just starting
> out trying to run ".../boost/libs/config/configure" to
> generate an initial confg header. This is failing on
> the attempt to simply compile an empty "main"
>
> configure: failed program was:
> | /* confdefs.h. */
> |
> | #define PACKAGE_NAME ""
> | #define PACKAGE_TARNAME ""
> | #define PACKAGE_VERSION ""
> | #define PACKAGE_STRING ""
> | #define PACKAGE_BUGREPORT ""
> | /* end confdefs.h. */
> |
> | int
> | main ()
> | {
> |
> | ;
> | return 0;
> | }
>
> If I manually create such a file and compile it with
> the following line, I find the following:
>
> DKICK1_at_IL27-7496 /usr/local/boost_1_33_0/libs/config
> $ ls
> config.htm config.log configure duff.cc index.html
> test tools
>
> DKICK1_at_IL27-7496 /usr/local/boost_1_33_0/libs/config
> $ cat duff.cc
> int
> main ()
> {
>
> ;
> return 0;
> }
>
> DKICK1_at_IL27-7496 /usr/local/boost_1_33_0/libs/config
> $ /usr/local/compaq-etk-nse/G06.24/bin/c89.exe
> -Wversion3 -Winspect -Wsaveabend
> -Wrefalign=2 -Wfieldalign=auto -Wnolist -Wverbose -WC
> -Wrunnamed -Whighpin=off
> -Wnld="-allow_missing_libs -libname
> $APPL1.CSSLIB.NLIBRARY -libvol $APPL1.CSSL
> IB" -Wsystype=guardian duff.cc
> c89 args: C:\Program Files\Compaq
> ETK-NSE\G06.24\bin\c89.exe -Wversion3 -Winspec
> t -Wsaveabend -Wrefalign=2 -Wfieldalign=auto -Wnolist
> -Wverbose -WC -Wrunnamed -
> Whighpin=off -Wnld=-allow_missing_libs -libname
> .CSSLIB.NLIBRARY -libvol .CSSLIB
> -Wsystype=guardian duff.cc
> C:\Program Files\Compaq ETK-NSE\G06.24\cmplr\cfe.dll loaded
> C:\Program Files\Compaq ETK-NSE\G06.24\cmplr\uopt.dll
> loaded
> C:\Program Files\Compaq ETK-NSE\G06.24\cmplr\ugen.dll
> loaded
> C:\Program Files\Compaq ETK-NSE\G06.24\cmplr\as1.dll loaded
>
> c89: running C:\Program Files\Compaq
> ETK-NSE\G06.24\cmplr\cfe.dll -ZtG -ZR2 -Zg0
> -ZSD:\Profiles\DKICK1\LOCALS~1\Temp\t216328.T
> -ZUD:\Profiles\DKICK1\LOCALS~1\Te
> mp\t316328.B -D__cplusplus -a -ZnA -a -C -Zz
> -IC:\Program Files\Compaq ETK-NSE\G
> 06.24\include\ duff.cc
>
> c89: running C:\Program Files\Compaq
> ETK-NSE\G06.24\cmplr\ugen.dll D:\Profiles\D
> KICK1\LOCALS~1\Temp\t316328.B -o
> D:\Profiles\DKICK1\LOCALS~1\Temp\ugen216328.G -
> t D:\Profiles\DKICK1\LOCALS~1\Temp\t216328.T -temp
> D:\Profiles\DKICK1\LOCALS~1\T
> emp\ugen316328.t -EB -g0 -O1 -G 8
>
> c89: running C:\Program Files\Compaq
> ETK-NSE\G06.24\cmplr\as1.dll D:\Profiles\DK
> ICK1\LOCALS~1\Temp\ugen216328.G -o duff.o -t
> D:\Profiles\DKICK1\LOCALS~1\Temp\t2
> 16328.T -Olimit 2500 -EB -g0 -O1 -elf -G 8
> C:\Program Files\Compaq ETK-NSE\G06.24\cmplr\nld.dll loaded
>
> c89: running C:\Program Files\Compaq
> ETK-NSE\G06.24\cmplr\nld.dll -allow_missing
> _libs -libname .CSSLIB.NLIBRARY -libvol .CSSLIB -o
> a.out -elf -set systype guard
> ian -set highpin off -set highrequestor off -set
> inspect on -set runnamed on -se
> t saveabend on C:\Program Files\Compaq
> ETK-NSE\G06.24\lib\crtlmain.o C:\Program
> Files\Compaq ETK-NSE\G06.24\lib\cppinit3.o duff.o -L
> C:\Program Files\Compaq ETK
> -NSE\G06.24\lib\ -lstl -obey C:\Program Files\Compaq
> ETK-NSE\G06.24\lib\libc.obe
> y
> c89.exe: Exiting with status 0; 0 error(s).
>
> DKICK1_at_IL27-7496 /usr/local/boost_1_33_0/libs/config
> $ ls
> a.out config.htm config.log configure duff.cc
> index.html test tools
>
> DKICK1_at_IL27-7496 /usr/local/boost_1_33_0/libs/config
> $
>
> However, if I try the following:
>
> DKICK1_at_IL27-7496 /usr/local/boost_1_33_0/libs/config
> $ sh ./configure
> CXX=/usr/local/compaq-etk-nse/G06.24/bin/c89
> CXXFLAGS='-Wversi
> on3 -Winspect -Wsaveabend -Wrefalign=2
> -Wfieldalign=auto -Wnolist -Wverbose -WC
> ' LDFLAGS='-Wrunnamed -Whighpin=off
> -Wnld="-allow_missing_libs -libname \$APPL1
> .CSSLIB.NLIBRARY -libvol $APPL1.CSSLIB" -Wsystype=guardian'
>
> I get the attached config.log.
>
> I'm sure that the problem has something to do with
> quoting/expansion/etc. I've tried variations on the
> theme, including exporting these environment variables
> instead of passing them on the command line, but I
> can't seem to find the right combination of quotes and
> escapes to get configure to do what I want it to do.
> Any help?
>
> BTW, the option to get this compiler to dump the
> version is '-Wversion'.
>
> $ /usr/local/compaq-etk-nse/G06.24/bin/c89.exe -Wversion
> @(#) $Version: T8164G09_01MAR2004_c89_05MAR2004_WIN32V_
> $c89.exe: error: No input file.
>
> I'm not sure how to get configure to use this option
> correctly, though.
> }}}

New description:

 {{{
 I'm trying to build Boost for HP NonStop system using a
 cross compiler running on cygwin. I'm just starting
 out trying to run ".../boost/libs/config/configure" to
 generate an initial confg header. This is failing on
 the attempt to simply compile an empty "main"

 configure: failed program was:
 | /* confdefs.h. */
 |
 | #define PACKAGE_NAME ""
 | #define PACKAGE_TARNAME ""
 | #define PACKAGE_VERSION ""
 | #define PACKAGE_STRING ""
 | #define PACKAGE_BUGREPORT ""
 | /* end confdefs.h. */
 |
 | int
 | main ()
 | {
 |
 | ;
 | return 0;
 | }

 If I manually create such a file and compile it with
 the following line, I find the following:

 DKICK1_at_IL27-7496 /usr/local/boost_1_33_0/libs/config
 $ ls
 config.htm config.log configure duff.cc index.html
  test tools

 DKICK1_at_IL27-7496 /usr/local/boost_1_33_0/libs/config
 $ cat duff.cc
 int
 main ()
 {

    ;
    return 0;
 }

 DKICK1_at_IL27-7496 /usr/local/boost_1_33_0/libs/config
 $ /usr/local/compaq-etk-nse/G06.24/bin/c89.exe
 -Wversion3 -Winspect -Wsaveabend
  -Wrefalign=2 -Wfieldalign=auto -Wnolist -Wverbose -WC
 -Wrunnamed -Whighpin=off
  -Wnld="-allow_missing_libs -libname
 $APPL1.CSSLIB.NLIBRARY -libvol $APPL1.CSSL
 IB" -Wsystype=guardian duff.cc
 c89 args: C:\Program Files\Compaq
 ETK-NSE\G06.24\bin\c89.exe -Wversion3 -Winspec
 t -Wsaveabend -Wrefalign=2 -Wfieldalign=auto -Wnolist
 -Wverbose -WC -Wrunnamed -
 Whighpin=off -Wnld=-allow_missing_libs -libname
 .CSSLIB.NLIBRARY -libvol .CSSLIB
  -Wsystype=guardian duff.cc
 C:\Program Files\Compaq ETK-NSE\G06.24\cmplr\cfe.dll loaded
 C:\Program Files\Compaq ETK-NSE\G06.24\cmplr\uopt.dll
 loaded
 C:\Program Files\Compaq ETK-NSE\G06.24\cmplr\ugen.dll
 loaded
 C:\Program Files\Compaq ETK-NSE\G06.24\cmplr\as1.dll loaded

 c89: running C:\Program Files\Compaq
 ETK-NSE\G06.24\cmplr\cfe.dll -ZtG -ZR2 -Zg0
  -ZSD:\Profiles\DKICK1\LOCALS~1\Temp\t216328.T
 -ZUD:\Profiles\DKICK1\LOCALS~1\Te
 mp\t316328.B -D__cplusplus -a -ZnA -a -C -Zz
 -IC:\Program Files\Compaq ETK-NSE\G
 06.24\include\ duff.cc

 c89: running C:\Program Files\Compaq
 ETK-NSE\G06.24\cmplr\ugen.dll D:\Profiles\D
 KICK1\LOCALS~1\Temp\t316328.B -o
 D:\Profiles\DKICK1\LOCALS~1\Temp\ugen216328.G -
 t D:\Profiles\DKICK1\LOCALS~1\Temp\t216328.T -temp
 D:\Profiles\DKICK1\LOCALS~1\T
 emp\ugen316328.t -EB -g0 -O1 -G 8

 c89: running C:\Program Files\Compaq
 ETK-NSE\G06.24\cmplr\as1.dll D:\Profiles\DK
 ICK1\LOCALS~1\Temp\ugen216328.G -o duff.o -t
 D:\Profiles\DKICK1\LOCALS~1\Temp\t2
 16328.T -Olimit 2500 -EB -g0 -O1 -elf -G 8
 C:\Program Files\Compaq ETK-NSE\G06.24\cmplr\nld.dll loaded

 c89: running C:\Program Files\Compaq
 ETK-NSE\G06.24\cmplr\nld.dll -allow_missing
 _libs -libname .CSSLIB.NLIBRARY -libvol .CSSLIB -o
 a.out -elf -set systype guard
 ian -set highpin off -set highrequestor off -set
 inspect on -set runnamed on -se
 t saveabend on C:\Program Files\Compaq
 ETK-NSE\G06.24\lib\crtlmain.o C:\Program
 Files\Compaq ETK-NSE\G06.24\lib\cppinit3.o duff.o -L
 C:\Program Files\Compaq ETK
 -NSE\G06.24\lib\ -lstl -obey C:\Program Files\Compaq
 ETK-NSE\G06.24\lib\libc.obe
 y
 c89.exe: Exiting with status 0; 0 error(s).

 DKICK1_at_IL27-7496 /usr/local/boost_1_33_0/libs/config
 $ ls
 a.out config.htm config.log configure duff.cc
 index.html test tools

 DKICK1_at_IL27-7496 /usr/local/boost_1_33_0/libs/config
 $

 However, if I try the following:

 DKICK1_at_IL27-7496 /usr/local/boost_1_33_0/libs/config
 $ sh ./configure
 CXX=/usr/local/compaq-etk-nse/G06.24/bin/c89
 CXXFLAGS='-Wversi
 on3 -Winspect -Wsaveabend -Wrefalign=2
 -Wfieldalign=auto -Wnolist -Wverbose -WC
 ' LDFLAGS='-Wrunnamed -Whighpin=off
 -Wnld="-allow_missing_libs -libname \$APPL1
 .CSSLIB.NLIBRARY -libvol $APPL1.CSSLIB" -Wsystype=guardian'

 I get the attached config.log.

 I'm sure that the problem has something to do with
 quoting/expansion/etc. I've tried variations on the
 theme, including exporting these environment variables
 instead of passing them on the command line, but I
 can't seem to find the right combination of quotes and
 escapes to get configure to do what I want it to do.
 Any help?

 BTW, the option to get this compiler to dump the
 version is '-Wversion'.

 $ /usr/local/compaq-etk-nse/G06.24/bin/c89.exe -Wversion
 @(#) $Version: T8164G09_01MAR2004_c89_05MAR2004_WIN32V_
 $c89.exe: error: No input file.

 I'm not sure how to get configure to use this option
 correctly, though.
 }}}

--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/502#comment:2>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.


This archive was generated by hypermail 2.1.7 : 2017-02-16 18:49:56 UTC