POV-Ray : Newsgroups : povray.unix : C compiler cannot create executables : C compiler cannot create executables Server Time
27 Nov 2021 21:53:38 EST (-0500)
  C compiler cannot create executables  
From: Cousin Ricky
Date: 6 Sep 2021 18:35:00
Message: <web.6136964b11a53c9a60e0cc3d949c357d@news.povray.org>
I just got a new computer, and due to library incompatibilities, I have to
recompile all my POV 3.7 and up executables.  The configure stage halts with
this message:

----------[BEGIN MESSAGE]----------
===============================================================================
Configure POV-Ray version 3.8.0-beta.2
===============================================================================

This is an unofficial version compiled by:
 Richard Callwood III <REDACTED>
The POV-Ray Team(tm) is not responsible for supporting this version.

Environment
-----------
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether $C_INCLUDE_PATH contains the "." path... no
checking whether $CPLUS_INCLUDE_PATH contains the "." path... no
checking whether make supports the include directive... yes (GNU style)
checking for gcc... gcc
checking whether the C compiler works... no
configure: error: in `/home/ricky/povray/povunix-v3.8.0-beta.2-src':
configure: error: C compiler cannot create executables
See `config.log' for more details
-----------[END MESSAGE]-----------

The relevant parts of config.log appear to be these:

----------[BEGIN LOG EXCERPTS]----------
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by POV-Ray configure 3.8.0-beta.2, which was
generated by GNU Autoconf 2.69.  Invocation command line was

  $ ./configure COMPILED_BY=Richard Callwood III <REDACTED> LIBS=-lboost_system
-lboost_thread

## --------- ##
## Platform. ##
## --------- ##

hostname = localhost.localdomain
uname -m = x86_64
uname -r = 5.3.18-59.19-default
uname -s = Linux
uname -v = #1 SMP Tue Aug 3 14:11:23 UTC 2021 (055c4fd)

/usr/bin/uname -p = x86_64
/bin/uname -X     = unknown

/bin/arch              = x86_64
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /home/ricky/bin
PATH: /usr/local/bin
PATH: /usr/bin
PATH: /bin

....

configure:5179: $? = 1
configure:5199: checking whether the C compiler works
configure:5221: gcc    conftest.c -lboost_system -lboost_thread >&5
/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: cannot
find -lboost_system
/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: cannot
find -lboost_thread
collect2: error: ld returned 1 exit status
configure:5225: $? = 1
configure:5263: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "POV-Ray"
| #define PACKAGE_TARNAME "povray"
| #define PACKAGE_VERSION "3.8.0-beta.2"
| #define PACKAGE_STRING "POV-Ray 3.8.0-beta.2"
| #define PACKAGE_BUGREPORT "uni### [at] povrayorg"
| #define PACKAGE_URL ""
| #define VERSION_BASE "3.8"
| #define BUILT_BY "Richard Callwood III <REDACTED>"
| #define PACKAGE "povray"
| #define VERSION "3.8.0-beta.2"
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:5268: error: in `/home/ricky/povray/povunix-v3.8.0-beta.2-src':
configure:5270: error: C compiler cannot create executables
See `config.log' for more details

....
-----------[END LOG EXCERPTS]-----------

Checks for Boost and the compilers yield:

----------[BEGIN SESSION]----------
ricky@localhost:~/povray/povray-3.7.1-rc.1> type gcc
gcc is /usr/bin/gcc
ricky@localhost:~/povray/povray-3.7.1-rc.1> type g++
g++ is /usr/bin/g++
ricky@localhost:~/povray/povray-3.7.1-rc.1> /sbin/ldconfig -p | grep
boost_system | cut -d\> -f2
 /usr/lib64/libboost_system.so.1.66.0
-----------[END SESSION]-----------

According to YaST, libboost_system and libboost_thread are installed.

My system details are:
  OS: openSUSE Leap 15.3
  PC: Lenovo Ideapad Slim 7
  CPU: Intel Core i7

Does anyone know what the problem is here?


Post a reply to this message

Copyright 2003-2021 Persistence of Vision Raytracer Pty. Ltd.