On 18.05.2020 09:36, Marc Lobelle wrote:
Hello,

I tried to recompile fig2dev on a freshly installed OI-hipster2020.04 and ./configure failed. Can one of you suggest me what to do ?

Thanks


Marc

the installed gcc is pkg://localhostoih/sfe/developer/gcc

system/header is also installed

ml@spitfire:/opt/fig2dev-3.2.6a# ./configure
checking for a BSD-compatible install... /usr/gnu/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/gnu/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for gcc... gcc
checking whether the C compiler works... no
configure: error: in `/opt/fig2dev-3.2.6a':
configure: error: C compiler cannot create executables
See `config.log' for more details
ml@spitfire:/opt/fig2dev-3.2.6a# cat config.log
...


## ----------- ##
## Core tests. ##
## ----------- ##

configure:2324: checking for a BSD-compatible install
configure:2392: result: /usr/gnu/bin/install -c
configure:2403: checking whether build environment is sane
configure:2458: result: yes
configure:2609: checking for a thread-safe mkdir -p
configure:2648: result: /usr/gnu/bin/mkdir -p
configure:2655: checking for gawk
configure:2671: found /usr/bin/gawk
configure:2682: result: gawk
configure:2693: checking whether make sets $(MAKE)
configure:2715: result: yes
configure:2744: checking whether make supports nested variables
configure:2761: result: yes
configure:2963: checking for gcc
configure:2979: found /usr/gnu/bin/gcc
configure:2990: result: gcc
configure:3219: checking for C compiler version
configure:3228: gcc --version >&5
gcc (GCC) 7.5.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:3239: $? = 0
configure:3228: gcc -v >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/gcc-sfe/7/lib/gcc/i386-pc-solaris2.11/7.5.0/lto-wrapper
Target: i386-pc-solaris2.11
Configured with: ../gcc-7.5.0/configure --prefix=/usr/gcc-sfe/7 --libdir=/usr/gcc-sfe/7/lib --libexecdir=/usr/gcc-sfe/7/lib --mandir=/usr/gcc-sfe/7/share/man --infodir=/usr/gcc-sfe/7/info --with-build-time-tools=/usr/sfw --with-as=/usr/sfw/bin/gas --with-gnu-as --with-ld=/usr/bin/ld --without-gnu-ld --enable-languages=c,c++,fortran,objc --enable-shared --disable-static --enable-decimal-float --with-gmp=/usr/gnu --with-mpfr=/usr/gnu --with-mpc=/usr/gnu --disable-bootstrap --disable-nls --without-libiconv-prefix --enable-plugins --enable-initfini-array --disable-libitm --enable-frame-pointer
Thread model: posix
gcc version 7.5.0 (GCC)
configure:3239: $? = 0
configure:3228: gcc -V >&5
gcc: error: unrecognized command line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:3239: $? = 1
configure:3228: gcc -qversion >&5
gcc: error: unrecognized command line option '-qversion'; did you mean '--version'?
gcc: fatal error: no input files
compilation terminated.
configure:3239: $? = 1
configure:3259: checking whether the C compiler works
configure:3281: gcc    conftest.c  >&5
gcc: error trying to exec 'as': execvp: No such file or directory
configure:3285: $? = 1
configure:3323: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "fig2dev"
| #define PACKAGE_TARNAME "fig2dev"
| #define PACKAGE_VERSION "3.2.6a"
| #define PACKAGE_STRING "fig2dev 3.2.6a"
| #define PACKAGE_BUGREPORT "thomas.loi...@tuwien.ac.at"
| #define PACKAGE_URL "https://sourceforge.net/projects/mcj";
| #define PACKAGE "fig2dev"
| #define VERSION "3.2.6a"
| /* end confdefs.h.  */
|
...


_______________________________________________
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss

Hi, I would focus on this error:

gcc: error trying to exec 'as': execvp: No such file or directory

Seems like you are missing assembler... On my system I have:
:; pkg list developer/as
NAME (PUBLISHER) VERSION IFO developer/as 0.5.11-2020.0.1.0 i--


Regards.

--
Predrag Zečević
Technical Support Analyst
2e Systems GmbH

tel: +49 - 6196 - 95058 - 15
mob: +49 - 174 - 3109288
fax: +49 - 6196 - 95058 - 94
e-mail: predrag.zece...@2e-systems.com

headquarter: 2e Systems GmbH, Koenigsteiner Str. 107, 65812 Bad Soden am Taunus, Germany
registration: Amtsgericht Koenigstein (Germany), HRB 7303
managing director: Phil Douglas

http://www.2e-systems.com/ - Making your business fly!

_______________________________________________
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss

Reply via email to