POV-Ray : Newsgroups : povray.unix : 3.6.1 won't compile for me on OSX Server Time
25 Dec 2024 01:18:28 EST (-0500)
  3.6.1 won't compile for me on OSX (Message 1 to 10 of 32)  
Goto Latest 10 Messages Next 10 Messages >>>
From: Miguel
Subject: 3.6.1 won't compile for me on OSX
Date: 22 Nov 2004 15:05:01
Message: <web.41a2452e3a58523fecfae2860@news.povray.org>
I originally posted this to the macintosh forum but was told to post here in
unix-land ...

I would like to run povray from the command line on OSX. I installed the
Macintosh  version of povray, but it apparently does not include
command-line access.

I downloaded the 3.6.1 sources.

I ran:

../configure COMPILED_BY="Miguel <mig### [at] jmolorg>"

And got:
[snip]
checking for g++... g++
checking for C++ compiler default output... configure: error: C++ compiler
cannot create executables
See 'config.log' for more details.

config.log shows many environment settings ... not sure which ones you want.
The last line is

configure: exit 77


My OSX version is 10.3.3 with *no* updates.

Thorsten (mac### [at] povrayorg) says that the unix version is known to
compile on OSX.

Q: What other data can I provide?

Thanks,
Miguel


Post a reply to this message

From: Christoph Hormann
Subject: Re: 3.6.1 won't compile for me on OSX
Date: 22 Nov 2004 15:40:02
Message: <cntinp$77d$1@chho.imagico.de>
Miguel wrote:
> I originally posted this to the macintosh forum but was told to post here in
> unix-land ...
> 
> I would like to run povray from the command line on OSX. I installed the
> Macintosh  version of povray, but it apparently does not include
> command-line access.
> 
> I downloaded the 3.6.1 sources.
> 
> I ran:
> 
> ../configure COMPILED_BY="Miguel <mig### [at] jmolorg>"
> 
> And got:
> [snip]
> checking for g++... g++
> checking for C++ compiler default output... configure: error: C++ compiler
> cannot create executables
> See 'config.log' for more details.
> 
> config.log shows many environment settings ... not sure which ones you want.
> The last line is
> 
> configure: exit 77
> 
> 
> My OSX version is 10.3.3 with *no* updates.
> 
> Thorsten (mac### [at] povrayorg) says that the unix version is known to
> compile on OSX.

You of course need to have a correctly installed gcc.

> Q: What other data can I provide?

The config.log would be important.

Christoph

-- 
POV-Ray tutorials, include files, Sim-POV,
HCR-Edit and more: http://www.tu-bs.de/~y0013390/
Last updated 23 Sep. 2004 _____./\/^>_*_<^\/\.______


Post a reply to this message

From: Miguel
Subject: Re: 3.6.1 won't compile for me on OSX
Date: 22 Nov 2004 16:35:00
Message: <web.41a25afe1d86abe7ecfae2860@news.povray.org>
> You of course need to have a correctly installed gcc.

trutta:~/povray-3.6.1 mth$ gcc --version
gcc (GCC) 3.1 20020420 (prerelease)
Copyright (C) 2002 Free Software Foundation, Inc.


However, to date I have not done any c/c++ development on this system, so it
may indeed be missing some tools.

> > Q: What other data can I provide?
>
> The config.log would be important.

In my original posting I tried to express concern that the config.log was
too large to post ... but here you go:

trutta:~/povray-3.6.1 mth$ cat config.log
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.6.1, which was
generated by GNU Autoconf 2.57.  Invocation command line was

  $ ./configure COMPILED_BY=Miguel <mig### [at] jmolorg>

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

hostname = trutta.local
uname -m = Power Macintosh
uname -r = 7.3.1
uname -s = Darwin
uname -v = Darwin Kernel Version 7.3.1: Mon Mar 22 21:48:41 PST 2004;
root:xnu/xnu-517.4.12.obj~2/RELEASE_PPC

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

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
hostinfo               = Mach kernel version:
         Darwin Kernel Version 7.3.1:
Mon Mar 22 21:48:41 PST 2004; root:xnu/xnu-517.4.12.obj~2/RELEASE_PPC


Kernel configured for a single processor only.
1 processor is physically available.
Processor type: ppc7450 (PowerPC 7450)
Processor active: 0
Primary memory available: 512.00 megabytes.
Default processor set: 71 tasks, 168 threads, 1 processors
Load average: 1.69, Mach factor: 0.50
unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /bin
PATH: /sbin
PATH: /usr/bin
PATH: /usr/sbin
PATH: //Library/Java/Home/bin
PATH: //Library/Ant/Home/bin


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

configure:1698: result:
===============================================================================
Configure POV-Ray version 3.6.1
===============================================================================

This is an unofficial version compiled by:
 Miguel <mig### [at] jmolorg>
The POV-Ray Team(tm) is not responsible for supporting this version.
configure:1719: result:
Environment
-----------
configure:1730: checking build system type
configure:1748: result: powerpc-apple-darwin7.3.1
configure:1756: checking host system type
configure:1770: result: powerpc-apple-darwin7.3.1
configure:1792: checking for a BSD-compatible install
configure:1846: result: /usr/bin/install -c
configure:1857: checking whether build environment is sane
configure:1900: result: yes
configure:1933: checking for gawk
configure:1962: result: no
configure:1933: checking for mawk
configure:1962: result: no
configure:1933: checking for nawk
configure:1962: result: no
configure:1933: checking for awk
configure:1949: found /usr/bin/awk
configure:1959: result: awk
configure:1969: checking whether make sets $(MAKE)
configure:1989: result: yes
configure:2153: checking whether to enable maintainer-specific portions of
Makefiles
configure:2162: result: no
configure:2184: echo pov_check_path_regexp = [=:]*.:* > /dev/null
configure:2187: $? = 0
configure:2194: echo pov_check_path_old    =  > /dev/null
configure:2197: $? = 0
configure:2200: echo pov_check_path_new    =  > /dev/null
configure:2203: $? = 0
configure:2206: checking whether $C_INCLUDE_PATH contains the "." path
configure:2217: result: no
configure:2228: echo pov_check_path_regexp = [=:]*.:* > /dev/null
configure:2231: $? = 0
configure:2238: echo pov_check_path_old    =  > /dev/null
configure:2241: $? = 0
configure:2244: echo pov_check_path_new    =  > /dev/null
configure:2247: $? = 0
configure:2250: checking whether $CPLUS_INCLUDE_PATH contains the "." path
configure:2261: result: no
configure:2272: result:
Programs
--------
configure:2280: checking for egrep
configure:2290: result: grep -E
configure:2307: checking for style of include used by make
configure:2335: result: GNU
configure:2415: checking for g++
configure:2431: found /usr/bin/g++
configure:2441: result: g++
configure:2457: checking for C++ compiler version
configure:2460: g++ --version </dev/null >&5
g++ (GCC) 3.1 20020420 (prerelease)
Copyright (C) 2002 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:2463: $? = 0
configure:2465: g++ -v </dev/null >&5
Reading specs from /usr/libexec/gcc/darwin/ppc/3.1/specs
Thread model: posix
Apple Computer, Inc. GCC version 1175, based on gcc version 3.1 20020420
(prerelease)
configure:2468: $? = 0
configure:2470: g++ -V </dev/null >&5
g++: argument to `-V' missing

configure:2473: $? = 1
configure:2497: checking for C++ compiler default output
configure:2500: g++    conftest.cc  >&5
ld: can't locate file for: -lcrt1.o
configure:2503: $? = 1
configure: failed program was:
| #line 2476 "configure"
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "POV-Ray"
| #define PACKAGE_TARNAME "povray"
| #define PACKAGE_VERSION "3.6.1"
| #define PACKAGE_STRING "POV-Ray 3.6.1"
| #define PACKAGE_BUGREPORT "pov### [at] freefr"
| #define VERSION_BASE "3.6"
| #define DISTRIBUTION_MESSAGE_2 " Miguel <miguel@jmol.org>"
| #define PACKAGE "povray"
| #define VERSION "3.6.1"
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:2542: error: C++ compiler cannot create executables
See `config.log' for more details.

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=powerpc-apple-darwin7.3.1
ac_cv_build_alias=powerpc-apple-darwin7.3.1
ac_cv_env_C99_COMPATIBLE_RADIOSITY_set=
ac_cv_env_C99_COMPATIBLE_RADIOSITY_value=
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_COMPILED_BY_set=set
ac_cv_env_COMPILED_BY_value='Miguel <miguel@jmol.org>'
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_host=powerpc-apple-darwin7.3.1
ac_cv_host_alias=powerpc-apple-darwin7.3.1
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AWK=awk
ac_cv_prog_ac_ct_CXX=g++
ac_cv_prog_egrep='grep -E'
ac_cv_prog_make_make_set=yes

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} /Users/mth/povray-3.6.1/config/missing --run aclocal-1.7'
AMDEPBACKSLASH=''
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='${SHELL} /Users/mth/povray-3.6.1/config/missing --run tar'
AUTOCONF='${SHELL} /Users/mth/povray-3.6.1/config/missing --run autoconf'
AUTOHEADER='${SHELL} /Users/mth/povray-3.6.1/config/missing --run
autoheader'
AUTOMAKE='${SHELL} /Users/mth/povray-3.6.1/config/missing --run
automake-1.7'
AWK='awk'
C99_COMPATIBLE_RADIOSITY=''
CC=''
CCDEPMODE=''
CFLAGS=''
COMPILED_BY='Miguel <mig### [at] jmolorg>'
CPLUS_INCLUDE_PATH=''
CPP=''
CPPFLAGS=''
CXX='g++'
CXXCPP=''
CXXDEPMODE=''
CXXFLAGS=''
CYGPATH_W='echo'
C_INCLUDE_PATH=''
DEFS=''
DEPDIR='.deps'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='grep -E'
EXEEXT=''
INCJPEG=''
INCPNG=''
INCTIFF=''
INCZ=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
LDFLAGS=''
LIBJPEG=''
LIBOBJS=''
LIBPNG=''
LIBS=''
LIBTIFF=''
LIBZ=''
LTLIBOBJS=''
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='${SHELL} /Users/mth/povray-3.6.1/config/missing --run makeinfo'
OBJEXT=''
PACKAGE='povray'
PACKAGE_BUGREPORT='pov### [at] freefr'
PACKAGE_NAME='POV-Ray'
PACKAGE_STRING='POV-Ray 3.6.1'
PACKAGE_TARNAME='povray'
PACKAGE_VERSION='3.6.1'
PATH_SEPARATOR=':'
POVLIBS=''
POVLIBSCLEAN=''
RANLIB=''
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
VERSION='3.6.1'
VERSION_BASE='3.6'
X_CFLAGS=''
X_EXTRA_LIBS=''
X_LIBS=''
X_PRE_LIBS=''
ac_ct_CC=''
ac_ct_CXX='g++'
ac_ct_RANLIB=''
ac_ct_STRIP=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE=''
am__fastdepCXX_TRUE=''
am__include='include'
am__leading_dot='.'
am__quote=''
bindir='${exec_prefix}/bin'
build='powerpc-apple-darwin7.3.1'
build_alias=''
build_cpu='powerpc'
build_os='darwin7.3.1'
build_vendor='apple'
datadir='${prefix}/share'
exec_prefix='NONE'
host='powerpc-apple-darwin7.3.1'
host_alias=''
host_cpu='powerpc'
host_os='darwin7.3.1'
host_vendor='apple'
includedir='${prefix}/include'
infodir='${prefix}/info'
install_sh='/Users/mth/povray-3.6.1/config/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
oldincludedir='/usr/include'
prefix='NONE'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
subdirs=''
sysconfdir='${prefix}/etc'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define DISTRIBUTION_MESSAGE_2 " Miguel <miguel@jmol.org>"
#define PACKAGE "povray"
#define PACKAGE_BUGREPORT "pov### [at] freefr"
#define PACKAGE_NAME "POV-Ray"
#define PACKAGE_STRING "POV-Ray 3.6.1"
#define PACKAGE_TARNAME "povray"
#define PACKAGE_VERSION "3.6.1"
#define VERSION "3.6.1"
#define VERSION_BASE "3.6"

configure: exit 77
trutta:~/povray-3.6.1 mth$


Post a reply to this message

From: Thorsten Froehlich
Subject: Re: 3.6.1 won't compile for me on OSX
Date: 22 Nov 2004 16:57:39
Message: <41a260d3$1@news.povray.org>
In article <web.41a25afe1d86abe7ecfae2860@news.povray.org> , "Miguel" 
<mig### [at] jmolorg> wrote:

> trutta:~/povray-3.6.1 mth$ gcc --version
> gcc (GCC) 3.1 20020420 (prerelease)
> Copyright (C) 2002 Free Software Foundation, Inc.
>

> hostname = trutta.local
> uname -m = Power Macintosh
> uname -r = 7.3.1
> uname -s = Darwin
> uname -v = Darwin Kernel Version 7.3.1: Mon Mar 22 21:48:41 PST 2004;
> root:xnu/xnu-517.4.12.obj~2/RELEASE_PPC

You are using Mac OS X 10.3 but did not install the Mac OS X 10.3 developer
tools.  I suppose you once installed the developer tools (with Mac OS X
10.2) and then upgrade4d to Mac OS X 10.3 or you simply installed an
outdated copy of the Mac OS X 10.2 developer tools on Mac OS X 10.3.  You
absolutely require (unless you are a very advanced user with very good
knowledge of the system internals) the Mac OS X 10.3 developer tools if you
wish to compile applications on Mac OS X 10.3.  The Mac OS X 10.3 developer
tools are included with Mac OS X 10.3 on a separate CD that came together
with the operating system CDs.
    Thorsten


____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trfde

Visit POV-Ray on the web: http://mac.povray.org


Post a reply to this message

From: Mark Ulrich
Subject: Re: 3.6.1 won't compile for me on OSX
Date: 22 Nov 2004 17:05:01
Message: <web.41a261d91d86abe7fb21162f0@news.povray.org>
Hi,

if I remember right, you will need a package called "binutils".


distribution.

Greets, Mark


Post a reply to this message

From: Christoph Hormann
Subject: Re: 3.6.1 won't compile for me on OSX
Date: 22 Nov 2004 17:05:02
Message: <cntnh2$85s$1@chho.imagico.de>
Miguel wrote:
> configure:2497: checking for C++ compiler default output
> configure:2500: g++    conftest.cc  >&5
> ld: can't locate file for: -lcrt1.o

That to me clearly indicates that gcc is not installed properly.  You 
can probably not compile any C++ program on that machine with gcc.

Christoph

-- 
POV-Ray tutorials, include files, Sim-POV,
HCR-Edit and more: http://www.tu-bs.de/~y0013390/
Last updated 23 Sep. 2004 _____./\/^>_*_<^\/\.______


Post a reply to this message

From: Thorsten Froehlich
Subject: Re: 3.6.1 won't compile for me on OSX
Date: 22 Nov 2004 17:14:03
Message: <41a264ab$1@news.povray.org>
In article <web.41a261d91d86abe7fb21162f0@news.povray.org> , "Mark Ulrich"
<nomail@nomail> wrote:

>
> if I remember right, you will need a package called "binutils".
>

> distribution.

No, that is plain wrong.  Mac OS X is not Linux and packages are not managed
in a manner as cumbersome as they are on most Linux distributions.  Apple
provides a proper installer for the development tools with every copy of Mac
OS X.

The FSF gcc package will not and cannot work as expected on Mac OS X at all
as the gcc provided by Apple is not identical to the official FSF gcc branch
because Apple headers expect very advanced Objective C support in the
compiler that has been waiting to be approved to be part of the official FSF
gcc for many years (a very long story).  And there are many other very
important differences that require very intimate knowledge of the system to
work around (it can be done, yes).

    Thorsten

____________________________________________________
Thorsten Froehlich
e-mail: mac### [at] povrayorg

I am a member of the POV-Ray Team.
Visit POV-Ray on the web: http://mac.povray.org


Post a reply to this message

From: popov
Subject: Re: 3.6.1 won't compile for me on OSX
Date: 3 Feb 2005 10:40:00
Message: <web.420245011d86abe7e0309d820@news.povray.org>
"Miguel" <mig### [at] jmolorg> wrote:
> I originally posted this to the macintosh forum but was told to post here in
> unix-land ...
>
> I would like to run povray from the command line on OSX. I installed the
> Macintosh  version of povray, but it apparently does not include
> command-line access.
>
> I downloaded the 3.6.1 sources.
>
> I ran:
>
> ../configure COMPILED_BY="Miguel <mig### [at] jmolorg>"
>
> And got:
> [snip]
> checking for g++... g++
> checking for C++ compiler default output... configure: error: C++ compiler
> cannot create executables
> See 'config.log' for more details.
>
> config.log shows many environment settings ... not sure which ones you want.
> The last line is
>
> configure: exit 77
>
>
> My OSX version is 10.3.3 with *no* updates.
>
> Thorsten (mac### [at] povrayorg) says that the unix version is known to
> compile on OSX.
>
> Q: What other data can I provide?
>
> Thanks,
> Miguel

Hi,

You can get this error if a compilation flag for your compiler is not
specified correctly.

For example: If you want to turn on all warnings in gcc
.../configure CXXFLAGS="-Wal" COMPILED_BY="me"

gives: 'C++ compiler cannot create executables'

The correct syntax for this would be:
.../configure CXXFLAGS="-Wall" COMPILED_BY="me"

and configure runs ok.

Note: It is a good practice to turn on all warnings (-Wall) for the gcc

Hope this helps


Post a reply to this message

From: Thorsten Froehlich
Subject: Re: 3.6.1 won't compile for me on OSX
Date: 3 Feb 2005 10:47:32
Message: <42024794$1@news.povray.org>
popov wrote:
> You can get this error if a compilation flag for your compiler is not
> specified correctly.

This answer is plain wrong:  Correct answers were given in this thread long 
before you replied.  Please read the thread you are replying to first before 
you post a clearly wrong answer.

	Thorsten


Post a reply to this message

From: popov
Subject: Re: 3.6.1 won't compile for me on OSX
Date: 3 Feb 2005 11:05:02
Message: <web.42024ba21d86abe7e0309d820@news.povray.org>
Thorsten Froehlich <tho### [at] trfde> wrote:
> popov wrote:
> > You can get this error if a compilation flag for your compiler is not
> > specified correctly.
>
> This answer is plain wrong:  Correct answers were given in this thread long
> before you replied.  Please read the thread you are replying to first before
> you post a clearly wrong answer.
>
>  Thorsten

Did you try it?
What did you get?


Post a reply to this message

Goto Latest 10 Messages Next 10 Messages >>>

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