POV-Ray : Newsgroups : povray.unix : Trying to build on OpenSuse 13.1 : Re: Trying to build on OpenSuse 13.1 Server Time
20 Apr 2024 08:48:00 EDT (-0400)
  Re: Trying to build on OpenSuse 13.1  
From: Ger
Date: 26 Sep 2014 16:01:17
Message: <5425c60d$1@news.povray.org>
Warp wrote:

> I recently upgraded top OpenSuse 13.1, and my old build of povray isn't
> working anymore (something about a missing .so), so I decided to build
> the latest version.
> 
> I didn't have autoconf nor automake installed, and prebuild.sh gave
> proper messages about them, so I installed them. However, now I'm getting
> a lot of messages like:
> 
> configure.ac:302: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call
> detected in body
> 
> /usr/share/automake-1.13/am/library.am: warning: 'libpovray.a': linking
> libraries using a non-POSIX /usr/share/automake-1.13/am/library.am:
> archiver requires 'AM_PROG_AR' in 'configure.ac'
> source/Makefile.am:32:   while processing library 'libpovray.a'
> 
> configure.ac:295: warning: The macro `AC_LANG_SAVE' is obsolete.
> configure.ac:295: warning: The macro `AC_LANG_C' is obsolete.
> configure.ac:295: warning: The macro `AC_TRY_LINK' is obsolete.
> configure.ac:295: warning: The macro `AC_LANG_RESTORE' is obsolete.
> 
> In the end, no 'configure' script appeared. I don't really know what
> causes this.
> 
# 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="Your Name <email.com>" --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


HTH
-- 

Ger


Post a reply to this message

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