Great idea, but still no go compiling Virtuoso with ImageMagick.
I did succeed at swapping out the ImageMagick to version 6 (thank for that
suggestion!):
[ns3:~/src/virtuoso-opensource] administrator% brew info imagemagick@6
imagemagick@6: stable 6.9.9-34 (bottled) [keg-only]
Tools and libraries to manipulate images in many formats
https://www.imagemagick.org/
/usr/local/Cellar/imagemagick@6/6.9.9-34 (1,472 files, 22.8MB)
Poured from bottle on 2018-02-16 at 09:06:30
From:
https://github.com/Homebrew/homebrew-core/blob/master/Formula/imagemag...@6.rb
==> Dependencies
Build: pkg-config ✔
Required: libtool ✔, xz ✔
Recommended: jpeg ✔, libpng ✔, libtiff ✔, freetype ✔
Optional: fontconfig ✘, little-cms ✘, little-cms2 ✘, libwmf ✘, librsvg ✘,
liblqr ✘, openexr ✘, ghostscript ✘, webp ✘, openjpeg ✘, fftw ✘, pango ✘, perl ✘
I adjusted my config.nice file as needed:
#!/bin/sh
#
# Created by configure for Virtuoso Open Source Edition (Column Store) 7.2.5-dev
#
# Environment
SHELL="/bin/sh"; export SHELL
CFLAGS="-O -arch x86_64 -mmacosx-version-min=10.7"; export CFLAGS
LDFLAGS="-g"; export LDFLAGS
CC="clang"; export CC
/bin/sh "./configure" \
"--enable-maintainer-mode" \
"--enable-openssl=/usr/local/include/openssl" \
"--enable-openldap" \
"--disable-python" \
"--with-layout=openlink" \
"--with-xml-prefix=/usr" \
"--prefix=/usr/local/vos-7" \
"--enable-imagemagick=/usr/local/Cellar/imagemagick\@6/6.9.9-34" \
"--with-readline" \
"--with-jdk4_2=/System/Library/Frameworks/JavaVM.framework/Versions/Current" \
"LDFLAGS=-g" \
"CFLAGS=-O -arch x86_64 -mmacosx-version-min=10.7" \
"CC=clang" \
"--enable-ods-vad" \
"--enable-fct-vad" \
"$@"
But my configure still errors out on the ImageMagick plugin:
[ns3:~/src/virtuoso-opensource] administrator% sudo ./config.nice
<snip>
configure: WARNING: The hslookup plugin will not be build
checking for pkg-config... /usr/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for IM... no
checking for Wand-config... notfound
configure: WARNING: The ImageMagick plugin will not be build
Realistically, it's gdlib that I need immediately, as my PHP code uses a gdlib
charting system; I'm not sure if that will kick in under OS X 10.12, we'll have
to see. Last time I tried using opensource Virtuoso, I needed to recompile PHP,
and that failed miserably.
One step at a time.
Thanks for your help, Patrick.
Cameron Knowlton
iGods Internet Marketing Inc.
came...@igods.com
P: 250.382.0226
> On 16-Feb-18, at 8:05 AM, Patrick van Kleef <pkl...@openlinksw.com> wrote:
>
> Hi Cameron,
>>> On 06-Feb-18, at 7:01 AM, Hugh Williams <hwilli...@openlinksw.com> wrote:
>>>> In your config.nice file do you add the “--with-debug” configure option,
>>>> as we find the error you report occurs when it is enabled, which
>>>> development need to look into. In the meantime please remove the
>>>> --with-debug option, which is not require for a default build, and rerun
>>>> config.nice and then run "make clean" followed by “make" to recompile
>>>> without the option enabled.
>>
>>
>> You're awesome, Hugh!
>>
>> I got much further during the couple of next make clean/make calls... all
>> the way through the intended tests to completion, although 6 tests failed.
>> But, I did another make, and then it ran fine. The make install also ran
>> cleanly.
>>
>> Thank you!
>>
>> This was my final config.nice file:
>>
>> #!/bin/sh
>> #
>> # Created by configure for Virtuoso Open Source Edition (Column Store)
>> 7.2.5-dev
>> #
>>
>> # Environment
>> SHELL="/bin/sh"; export SHELL
>> CFLAGS="-O -arch x86_64 -mmacosx-version-min=10.7"; export CFLAGS
>> LDFLAGS="-g"; export LDFLAGS
>> CC="clang"; export CC
>>
>> /bin/sh "./configure" \
>> "--enable-maintainer-mode" \
>> "--enable-openssl=/usr/local/include/openssl" \
>> "--enable-openldap" \
>> "--disable-python" \
>> "--with-layout=openlink" \
>> "--with-xml-prefix=/usr" \
>> "--prefix=/usr/local/vos-7" \
>> "--enable-imagemagick=/usr/local/Cellar/imagemagick/7.0.7-22" \
>> "--with-readline" \
>> "--with-jdk4_2=/System/Library/Frameworks/JavaVM.framework/Versions/Current"
>> \
>> "LDFLAGS=-g" \
>> "CFLAGS=-O -arch x86_64 -mmacosx-version-min=10.7" \
>> "CC=clang" \
>> "--enable-ods-vad" \
>> "--enable-fct-vad" \
>> "$@"
>>
>>
>> Incidentally, the enable-imagemagick seems to fail during config.nice:
>>
>>
>> [ns3:~/src/virtuoso-opensource] administrator% sudo ./config.nice
>> <snip>
>> checking ImageMagick library usability... bad. Check config.log for details
>> configure: WARNING: The ImageMagick plugin will not be build
>>
>>
>>
>> I did install imagemagick via brew, and verified its location and access
>> from the command line:
>>
>>
>> [ns3:~/src/virtuoso-opensource] administrator% brew info imagemagick
>> imagemagick: stable 7.0.7-22 (bottled), HEAD
>> Tools and libraries to manipulate images in many formats
>> https://www.imagemagick.org/
>> /usr/local/Cellar/imagemagick/7.0.7-22 (1,527 files, 23.3MB) *
>> Poured from bottle on 2018-02-05 at 11:36:07
>> From:
>> https://github.com/Homebrew/homebrew-core/blob/master/Formula/imagemagick.rb
>> ==> Dependencies
>> Build: pkg-config ✘
>> Required: libtool ✔, xz ✔
>> Recommended: jpeg ✔, libpng ✔, libtiff ✔, freetype ✔
>> Optional: fontconfig ✘, little-cms ✘, little-cms2 ✘, libwmf ✘, librsvg ✘,
>> liblqr ✘, openexr ✘, ghostscript ✘, webp ✘, openjpeg ✘, fftw ✘, pango ✘,
>> perl ✘
>> ==> Requirements
>> Optional: x11 ✘
>
>
> Our current ImageMagick plugin in virtuoso is written against version
> ImageMagick 6.x and you have installed 7.0.7 which has a different API which
> likely is the cause of the problem.
>
> Fortunately brew also has a recipe to install the older version of
> imagemagick:
>
> $ brew uninstall imagemagick
> $ brew install imagemagick@6
>
> then you should be able to use:
>
> ./configure
> …...
> —with-imagemagick=/usr/local/Cellar/imagemagick\@6/6.9.9-34
>
>
>
>
> Patrick
> ---
> Patrick van Kleef
> Program Manager
> OpenLink Software
>
> http://www.openlinksw.com/
> http://twitter.com/openlink/
>
> Patrick
> ---
> Patrick van Kleef
> Program Manager
> OpenLink Software
>
> http://www.openlinksw.com/
> http://twitter.com/openlink/
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Virtuoso-users mailing list
Virtuoso-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtuoso-users