POV-Ray : Newsgroups : povray.macintosh : Pov-ray 3.8 or 3.7.1 Command Line for Macintosh : Re: Pov-ray 3.8 or 3.7.1 Command Line for Macintosh Server Time: 20 Jun 2019 19:05:58 GMT
  Re: Pov-ray 3.8 or 3.7.1 Command Line for Macintosh  
From: Jake
Date: 21 Feb 2019 04:00:00
clipka <ano### [at] anonymousorg> wrote:
> Am 19.02.2019 um 07:03 schrieb Jake:
> > I've been trying to install pov-ray from the command line for my Macintosh (High
> > Sierra 10.13.6)
>
> Is that "_install from_ the command line" or "install to _run from_ the
> command line"?

I'm attempting to run from the command line, but it seems to do so I'll also
need to install from the command line.

>
> Tests are currently run with Mac OS X 10.13.3, Apple LLVM version 9.1.0
> (clang-902.0.39.2) amd XCode 9.4.1.

I'm running Mac OS X 10.13.6, Apple LLVM version 10.0.0 and XCode 10.1

> On the test system we do not need to install any extra packages, except
> for homebrew `freetype` for the semi-experimental v3.8.0-x.freetype
> versions.

For the freetype install you suggested I was able to get prebuild.sh to run
fine; I then tried the following compile options which ran through the ./compile
program:

../configure COMPILED_BY=Jake --disable-dependency-tracking --without-libsdl
--without-x --with-libfreetype=/usr/local/Cellar/freetype/2.9.1

This produced the following error:

checking for pkg-config... no
checking for OpenEXR's pkg-config... not found
configure: WARNING: all program features using the OpenEXR library are disabled
checking whether to use the FreeType library... yes
checking for pkg-config... no
checking for FreeType's include path... ./configure: line 11406: pkg-config:
command not found
checking for library containing FT_Init_FreeType... no
configure: error: cannot find a suitable FreeType library

I also tried removing the /2.9.1 and /freetype/2.9.1 parts of the above
../compile line after encountering the above error but I still received the same
error. I'm not sure why this is occuring as 'brew info freetype' gives the
install path as /usr/local/Cellar/freetype/2.9.1 and if I don't specify a path
to freetype I still encounter the above error.

> I recommend you try this version (download the source code package):
>
> https://github.com/POV-Ray/povray/releases/tag/v3.8.0-alpha.10013324
>
> and let us know what (if any) problems you encounter, so that we can
> improve on our build process. The v3.7.0.8 homebrew formula may hold
> some relevant secrets:

As for this version, I can run the same configure command as above without the
freetype flag and the configure program runs with no issues; however, running
'make check' produces the following error:

/Applications/Xcode.app/Contents/Developer/usr/bin/make  all-recursive
Making all in source
g++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I..  -I../unix/povconfig -I..
-I../platform/unix -I../platform/x86 -I../unix -I../vfe -I../vfe/unix -pthread
-I/usr/local/include  -pipe -Wno-multichar -Wno-write-strings
-fno-enforce-eh-specs -Wno-non-template-friend -s -O3 -ffast-math -march=native
-pthread -c -o backend/bounding/boundingtask.o backend/bounding/boundingtask.cpp
g++: warning: couldn’t understand kern.osversion ‘17.7.0
<stdin>:1:11: warning: section "__textcoal_nt" is deprecated
        .section __TEXT,__textcoal_nt,coalesced,pure_instructions
                 ^      ~~~~~~~~~~~~~
<stdin>:1:11: note: change section name to "__text"
        .section __TEXT,__textcoal_nt,coalesced,pure_instructions
                 ^      ~~~~~~~~~~~~~
<stdin>:152:11: warning: section "__textcoal_nt" is deprecated
        .section __TEXT,__textcoal_nt,coalesced,pure_instructions

This is followed by many more similar <stdin> warnings and then:

g++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I..  -I../unix/povconfig -I..
-I../platform/unix -I../platform/x86 -I../unix -I../vfe -I../vfe/unix -pthread
-I/usr/local/include  -pipe -Wno-multichar -Wno-write-strings
-fno-enforce-eh-specs -Wno-non-template-friend -s -O3 -ffast-math -march=native
-pthread -c -o backend/control/benchmark.o backend/control/benchmark.cpp
g++: warning: couldn’t understand kern.osversion ‘17.7.0

This then loops for too many times for me to count before eventually failing to
install.

If you have any ideas as to what could fix this I'd greatly appreciate it.

Thanks again for your help


Post a reply to this message

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