POV-Ray : Newsgroups : povray.unix : Make fails on install : Re: Make fails on install Server Time
25 May 2024 19:42:50 EDT (-0400)
  Re: Make fails on install  
From: Ger
Date: 3 May 2015 14:48:41
Message: <55466d89@news.povray.org>
Drew wrote:

> 
> 
> sogal@sogal-HP-ENVY-15-Notebook-PC:~/povray$ ./configure
> COMPILED_BY="Andrew <applefan190 [at] gmailcom>" LIBS="lboost_system
> -lboost_thread"
> 
> ===============================================================================
> Configure POV-Ray version 3.7.1-alpha.8032017
> ===============================================================================
> 
> This is an unofficial version compiled by:
>  Andrew <applefan190 [at] gmailcom>
> The POV-Ray Team(tm) is not responsible for supporting this version.
> 
> Environment
> -----------
> checking build system type... x86_64-unknown-linux-gnu
> checking host system type... x86_64-unknown-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... /bin/mkdir -p
> checking for gawk... no
> checking for mawk... mawk
> 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
> 
> Programs
> --------
> checking for gcc... gcc
> checking whether the C compiler works... no
> configure: error: in `/home/sogal/povray':
> configure: error: C compiler cannot create executables
> See `config.log' for more details


Have you tried this script?

You'll have to adjust it for your system of course but on opensuse it runs like a
charme


//-----------------------------------------------------------
# filename install_povray.sh

# install script for Povray 3.7 master
# this script must be run by root

# First we need to install a bunch of libs that make
# life a whole lot easier when using/compiling Povray

zypper in -l -y automake
zypper in -l -y autoconf
zypper in -l -y boost-devel
zypper in -l -y make
zypper in -l -y gcc
zypper in -l -y gcc-c++
zypper in -l -y libjpeg8-devel
zypper in -l -y openexr-devel
zypper in -l -y openexr
zypper in -l -y libpng12-devel
zypper in -l -y libtiff-devel
zypper in -l -y libSDL-devel
zypper in -l -y libSDL2-devel
zypper in -l -y libXpm-devel
zypper in -l -y libXpm-tools
zypper in -l -y libICE-devel
zypper in -l -y libSM-devel

#prepair for unix (linux) compilation
cd /home/ger/Downloads/povray-master/unix/

# and run the prebuild script
./prebuild.sh

# run configure with the appropriate options
cd /home/ger/Downloads/povray-master
./configure COMPILED_BY="Pietje Puk <p.p### [at] gmailcom>"
--with-boost-thread=boost_thread-mt LIBS="-lboost_system -lboost_thread"


# and now for the heavy lifting part . . .
# Make and install povray

make clean  
make install



# all done
//-----------------------------------------------------------

-- 

Ger


Post a reply to this message

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