POV-Ray : Newsgroups : povray.unix : Make fails on install Server Time: 14 Dec 2018 10:09:42 GMT
  Make fails on install (Message 1 to 10 of 11)  
Goto Latest 10 Messages Next 1 Messages >>>
From: Drew
Subject: Make fails on install
Date: 2 May 2015 23:50:01
Message: <web.5545629db6bce7c2475a5d060@news.povray.org>
The configure step works but then 'make' fails.

make: *** No targets specified and no makefile found.  Stop.

Could someone tell me how to fix this...


thank you.


Post a reply to this message

From: clipka
Subject: Re: Make fails on install
Date: 3 May 2015 07:25:35
Message: <5545cd6f@news.povray.org>
Am 03.05.2015 um 01:49 schrieb Drew:
>
> The configure step works but then 'make' fails.
>
> make: *** No targets specified and no makefile found.  Stop.

That actually sounds like the configure step did /not/ work (but for 
some reason failed to make that fact known to you).

> Could someone tell me how to fix this...

We'd need more information.

What version of POV-Ray are you trying to build?
Did you run the unix/prebuild.sh script?
What information did the ./configure script spit out?
What directory are you trying to run "make" from?

Further down the road we might also need to know what Linux distribution 
and version you are running.


Post a reply to this message

From: Drew
Subject: Re: Make fails on install
Date: 3 May 2015 12:30:00
Message: <web.554614893b25c163475a5d060@news.povray.org>
Thanks so much!

> What version of POV-Ray are you trying to build?
3.7

> Did you run the unix/prebuild.sh script?
YES

> What information did the ./configure script spit out?

===============================================================================
Configure POV-Ray version 3.7.0
===============================================================================

This is an unofficial version compiled by:
 Andrew <app### [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
/home/sogal/povray-3.7/povray-3.7-stable/unix/config/missing: Unknown
`--is-lightweight' option
Try `/home/sogal/povray-3.7/povray-3.7-stable/unix/config/missing --help' for
more information
configure: WARNING: 'missing' script is too old or missing
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... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for stdlib.h... (cached) yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking whether the g++ compiler works... yes
checking how to run the C++ preprocessor... g++ -E
checking for C++ compiler vendor... gnu
checking for g++ version... 4.8
checking for ranlib... ranlib

Libraries
---------
checking whether to link with cygwin DLL... no
checking whether to enable static linking... no
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking for boostlib >= 1.37... yes
checking whether the Boost::Thread library is available... yes
checking whether the boost thread library is usable... no
configure: error: in `/home/sogal/povray-3.7/povray-3.7-stable':
configure: error: cannot link with the boost thread library
See `config.log' for more details
sogal@sogal-HP-ENVY-15-Notebook-PC:~/povray-3.7/povray-3.7-stable$


> What directory are you trying to run "make" from?
The 'povray' directory - one up from unix

> Further down the road we might also need to know what Linux distribution
> and version you are running.

Ubuntu 14.04


Post a reply to this message

From: clipka
Subject: Re: Make fails on install
Date: 3 May 2015 13:08:47
Message: <55461ddf@news.povray.org>
Am 03.05.2015 um 14:28 schrieb Drew:
>
> Thanks so much!
>
>> What version of POV-Ray are you trying to build?
> 3.7

Which one? The official 3.7.0 stable? The most recent developer head 
(3.7.1-alpha.something)?

>> Did you run the unix/prebuild.sh script?
> YES

No need to shout; just gathering information right now.

>> What information did the ./configure script spit out?
>
> ===============================================================================
> Configure POV-Ray version 3.7.0
> ===============================================================================
>...
> /home/sogal/povray-3.7/povray-3.7-stable/unix/config/missing: Unknown
> `--is-lightweight' option
> Try `/home/sogal/povray-3.7/povray-3.7-stable/unix/config/missing --help' for
> more information
> configure: WARNING: 'missing' script is too old or missing
>...
> checking for boostlib >= 1.37... yes
> checking whether the Boost::Thread library is available... yes
> checking whether the boost thread library is usable... no
> configure: error: in `/home/sogal/povray-3.7/povray-3.7-stable':
> configure: error: cannot link with the boost thread library
> See `config.log' for more details
>...

Well, to me that look like the configure step does /not/ work, so it's 
no surprise that make also fails.

>> Further down the road we might also need to know what Linux distribution
>> and version you are running.
>
> Ubuntu 14.04

You might want to have a look at the thread "Unable to compile under 
Ubuntu 14.04" in this very newsgroup, started by Hadmut Danisch on 
2014-03-22; it discusses the exact same problems you are experiencing.

To sum up that thread, Ubuntu 14.04 comes with a comparatively new 
version of automake that introcuded a breaking change, causing POV-Ray 
3.7.0 stable's build process to fail.
To work around this, after running unix/prebuild.sh, run

     automake --add-missing

then run the ./configure script as usual.
This should eliminate the first warning you get, and /may/ also solve 
the boost error.


If the boost error persists, try running the ./configure script with the 
options

     LIBS="-lboost_system -lboost_thread"


Alternatively, you may try the "master" branch of POV-Ray, in which 
those issues should be fixed by now.


Post a reply to this message

From: Drew
Subject: Re: Make fails on install
Date: 3 May 2015 14:20:01
Message: <web.55462d7c3b25c163475a5d060@news.povray.org>
Thanks, I tried that, and also the directions at:
https://ubuntu4questions.wordpress.com/2015/01/13/how-do-i-install-the-ray-tracing-application-pov-ray-on-12-04/

Does that not load the master instead of the branch?
Still new to all of this, so not very clear on how to use github.

sogal@sogal-HP-ENVY-15-Notebook-PC:~$ cd povray
sogal@sogal-HP-ENVY-15-Notebook-PC:~/povray$ cd unix
sogal@sogal-HP-ENVY-15-Notebook-PC:~/povray/unix$ ./prebuild.sh
Detected autoconf 2.69
Detected automake 1.14.1
Create ../AUTHORS
Create ../ChangeLog
Create ../configure.ac
Create ../COPYING
Create ../NEWS
Create ../README
Create ../VERSION
Create ../povray.1
Create ../povray.conf
Create ../scripts/
Create ../ini/
Create ../include/
Create ../scenes/
Create ../INSTALL
Create ../icons/file_inc_classic_48.png
Create ../icons/file_pov_crystal_64.png
Create ../icons/file_pov_slick_16.png
Create ../icons/file_pov_classic_16.png
Create ../icons/file_inc_crystal_32.png
Create ../icons/file_pov_classic_32.png
Create ../icons/file_pov_classic_48.png
Create ../icons/file_pov_classic_64.png
Create ../icons/file_inc_crystal_64.png
Create ../icons/file_pov_crystal_16.png
Create ../icons/file_inc_slick_64.png
Create ../icons/file_inc_crystal_48.png
Create ../icons/file_inc_slick_16.png
Create ../icons/file_inc_classic_32.png
Create ../icons/povray_64.png
Create ../icons/povray_32.png
Create ../icons/file_pov_slick_48.png
Create ../icons/file_inc_slick_48.png
Create ../icons/file_inc_crystal_16.png
Create ../icons/file_inc_slick_32.png
Create ../icons/povray_16.png
Create ../icons/file_inc_classic_16.png
Create ../icons/file_inc_classic_64.png
Create ../icons/file_pov_slick_32.png
Create ../icons/povray_48.png
Create ../icons/file_pov_slick_64.png
Create ../icons/file_pov_crystal_48.png
Create ../icons/file_pov_crystal_32.png
Create ../doc/html
Create ./Makefile.am
Create ../kde_install.sh
Create ../povray.ini.in
Create ../Makefile.am
Create ../bootstrap
Create ../source/Makefile.am
Removing ../libraries/boost/boost
Create ../vfe/Makefile.am
Run ../bootstrap
+ rm -f config.log config.status
+ aclocal -I .
+ autoheader --warnings=all
+ automake --add-missing --warnings=all
configure.ac:185: installing 'unix/config/compile'
configure.ac:166: installing 'unix/config/config.guess'
configure.ac:166: installing 'unix/config/config.sub'
configure.ac:169: installing 'unix/config/install-sh'
configure.ac:169: installing 'unix/config/missing'
/usr/share/automake-1.14/am/library.am: warning: 'libpovray.a': linking
libraries using a non-POSIX
/usr/share/automake-1.14/am/library.am: archiver requires 'AM_PROG_AR' in
'configure.ac'
source/Makefile.am:32:   while processing library 'libpovray.a'
source/Makefile.am: installing 'unix/config/depcomp'
/usr/share/automake-1.14/am/library.am: warning: 'libvfe.a': linking libraries
using a non-POSIX
/usr/share/automake-1.14/am/library.am: archiver requires 'AM_PROG_AR' in
'configure.ac'
vfe/Makefile.am:32:   while processing library 'libvfe.a'
+ autoconf --warnings=all
configure.ac:295: warning: The macro `AC_LANG_SAVE' is obsolete.
configure.ac:295: You should run autoupdate.
.../../lib/autoconf/lang.m4:125: AC_LANG_SAVE is expanded from...
unix/config/acx_pthread.m4:78: ACX_PTHREAD is expanded from...
configure.ac:295: the top level
configure.ac:295: warning: The macro `AC_LANG_C' is obsolete.
configure.ac:295: You should run autoupdate.
.../../lib/autoconf/c.m4:72: AC_LANG_C is expanded from...
unix/config/acx_pthread.m4:78: ACX_PTHREAD is expanded from...
configure.ac:295: the top level
configure.ac:295: warning: The macro `AC_TRY_LINK' is obsolete.
configure.ac:295: You should run autoupdate.
.../../lib/autoconf/general.m4:2687: AC_TRY_LINK is expanded from...
unix/config/acx_pthread.m4:78: ACX_PTHREAD is expanded from...
configure.ac:295: the top level
configure.ac:295: warning: The macro `AC_LANG_RESTORE' is obsolete.
configure.ac:295: You should run autoupdate.
.../../lib/autoconf/lang.m4:134: AC_LANG_RESTORE is expanded from...
unix/config/acx_pthread.m4:78: ACX_PTHREAD is expanded from...
configure.ac:295: the top level
+ cat ./configure
+ sed -e s,configure.gnu  --help=recursive,& --srcdir=$ac_srcdir,g -e s,\(cd
\)\($ac_\)\(pop\)*\(dir\),\1"\2\3\4",g -e
s,$am_aux_dir/missing,\\"$am_aux_dir\\"/missing,g
+ mv -f ./configure.tmp ./configure
+ chmod +x ./configure
+ rm -f -r ./autom4te.cache
sogal@sogal-HP-ENVY-15-Notebook-PC:~/povray/unix$ cd ..
sogal@sogal-HP-ENVY-15-Notebook-PC:~/povray$ ./configure COMPILED_BY="Andrew
<app### [at] gmailcom>"

===============================================================================
Configure POV-Ray version 3.7.1-alpha.8032017
===============================================================================

This is an unofficial version compiled by:
 Andrew <app### [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... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for stdlib.h... (cached) yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking whether the g++ compiler works... yes
checking how to run the C++ preprocessor... g++ -E
checking for C++ compiler vendor... gnu
checking for g++ version... 4.8
checking for ranlib... ranlib

Libraries
---------
checking whether to link with cygwin DLL... no
checking whether to enable static linking... no
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking for boostlib >= 1.38... yes
checking whether the Boost::Thread library is available... yes
configure: error: Could not find a version of the library!


Post a reply to this message

From: Le Forgeron
Subject: Re: Make fails on install
Date: 3 May 2015 14:57:14
Message: <5546374a$1@news.povray.org>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Le 03/05/2015 16:15, Drew a écrit :
> ./configure COMPILED_BY="Andrew <app### [at] gmailcom>"

Try again, adding LIBS="..." as suggested by C.Lipka :

./configure COMPILED_BY="Andrew <app### [at] gmailcom>"
LIBS="lboost_system -lboost_thread"

(single line command)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iJwEAQEIAAYFAlVGN0kACgkQhKAm8mTpkW3e/gQAqvZUClNecDoW3+438Mb+PbxH
90Bfot+Hp+FpRMrByeekYvsNbpJ9R89tA3JXOPHmZ+eWKOZ89hBgp/akHrmlEB1a
dqripLFFsrykfK4bW3mIMVj2kn1zmdHoJQaB1yiuUwoAy2VNgnYWPVbbHMcuhsNR
IhlOwX9ZGRtbWJRAkQs=
=iDam
-----END PGP SIGNATURE-----


Post a reply to this message

From: Drew
Subject: Re: Make fails on install
Date: 3 May 2015 15:25:01
Message: <web.55463d573b25c163475a5d060@news.povray.org>
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


Post a reply to this message

From: Ger
Subject: Re: Make fails on install
Date: 3 May 2015 18: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

From: clipka
Subject: Re: Make fails on install
Date: 3 May 2015 19:01:32
Message: <5546708c@news.povray.org>
Am 03.05.2015 um 16:15 schrieb Drew:
>
> Thanks, I tried that, and also the directions at:
>
https://ubuntu4questions.wordpress.com/2015/01/13/how-do-i-install-the-ray-tracing-application-pov-ray-on-12-04/
>
> Does that not load the master instead of the branch?

It does indeed, as demonstrated by the output of ./configure:

> ===============================================================================
> Configure POV-Ray version 3.7.1-alpha.8032017
> ===============================================================================

If you really want to get the 3.7.0 stable (which carries the official 
label "v3.7.0.0" in the git repository) in this manner, you'll need to 
issue an additional git command:

     git clone https://github.com/POV-Ray/povray.git
     git checkout v3.7.0.0

However, this really isn't the recommended way to get the POV-Ray source 
code, as it actually copies the entire git repository (i.e. each and 
every version) to your local computer, which is probably not what most 
people want.

While you can also use the git command to get a snapshot of any 
particular version of POV-Ray, my personal recommendation would be to 
just download an archive of the desired version from the github website, 
extract it into an empty directory, and commence with the prebuild step 
from there.

At the time of writing, the following links should take you directly to 
the download of for the 3.7.0 stable and the latest version from the 
master branch, respectively:

     https://github.com/POV-Ray/povray/archive/v3.7.0.0.tar.gz
     https://github.com/POV-Ray/povray/archive/master.tar.gz


Post a reply to this message

From: Bald Eagle
Subject: Re: Make fails on install
Date: 3 May 2015 19:40:00
Message: <web.554678eb3b25c1635e7df57c0@news.povray.org>
if you go to the directory with the config.log file and
'cat config.log'
what does the log file say?

> 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


Post a reply to this message

Goto Latest 10 Messages Next 1 Messages >>>

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