> 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 ✘


[ns3:~/src/virtuoso-opensource] administrator% magick --version
Version: ImageMagick 7.0.7-22 Q16 x86_64 2018-01-22 http://www.imagemagick.org
Copyright: © 1999-2018 ImageMagick Studio LLC
License: http://www.imagemagick.org/script/license.php
Features: Cipher DPC HDRI Modules 
Delegates (built-in): bzlib freetype jng jpeg ltdl lzma png tiff xml zlib
[ns3:~/src/virtuoso-opensource] administrator% 


Do I need to install pkg-config( and x11?) in order to enable imagemagick in 
Virtuoso?

Thanks guys.

Cameron Knowlton
iGods Internet Marketing Inc.
came...@igods.com
P: 250.382.0226




> On 06-Feb-18, at 7:01 AM, Hugh Williams <hwilli...@openlinksw.com> wrote:
> 
> Hi Cameron,
> 
> 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.
> 
> Best Regards
> Hugh Williams
> Professional Services
> OpenLink Software, Inc.      //              http://www.openlinksw.com/
> Weblog   -- http://www.openlinksw.com/blogs/
> LinkedIn -- http://www.linkedin.com/company/openlink-software/
> Twitter  -- http://twitter.com/OpenLink
> Google+  -- http://plus.google.com/100570109519069333827/
> Facebook -- http://www.facebook.com/OpenLinkSoftware
> Universal Data Access, Integration, and Management Technology Providers
> 
> 
> 
>> On 6 Feb 2018, at 00:34, Cameron Knowlton <camer...@igods.com> wrote:
>> 
>> I'm doing my best to compile Virtuoso Open Source Edition 7.2.5-dev on my OS 
>> X 10.12 server.
>> 
>> I got through the configure fairly well (missing only hslookup, WBXML2, and 
>> ImageMagick... that last one is important to me, but that's a story for 
>> another day).
>> 
>> However, when I attempt the make (or make test), I end up with 2 Errors, 
>> followed by 16 Warnings [which I deduce to be related to the preceding 
>> errors].
>> 
>> In brief, the errors I get on a compile are:
>> 
>> -------------
>> [ns3:~/src/virtuoso-opensource] administrator% sudo make check
>> 
>> 
>> --snip--
>> 
>> 
>> Making check in Wi
>> /Applications/Xcode.app/Contents/Developer/usr/bin/make  check-am
>> /bin/sh ../../bin/libtool.macosx  --tag=CC   --mode=compile clang 
>> -DHAVE_CONFIG_H -I. -I../../libsrc/Dk    -g -Wall   -DPOINTER_64   
>> -I/Users/administrator/src/virtuoso-opensource/libsrc/Xml.new 
>> -I/usr/local/include/openssl/include -DOPENSSL_NO_KRB5      -I../../libsrc 
>> -I../../libsrc/Dk -I../../libsrc/zlib -I. -I../../libsrc/langfunc 
>> -I../../libsrc/plugin -I../../libsrc/Tidy -I../../libsrc/Xml.new 
>> -I../../libsrc/odbcsdk/include -DVAD -DDBP -DBIF_XPER -DOPSYS=\"Darwin\" 
>> -DHOST=\"x86_64-apple-darwin16.7.0\" -arch x86_64 -mmacosx-version-min=10.7 
>> -MT libwi_la-sqlbif.lo -MD -MP -MF .deps/libwi_la-sqlbif.Tpo -c -o 
>> libwi_la-sqlbif.lo `test -f 'sqlbif.c' || echo './'`sqlbif.c
>> clang -DHAVE_CONFIG_H -I. -I../../libsrc/Dk -g -Wall -DPOINTER_64 
>> -I/Users/administrator/src/virtuoso-opensource/libsrc/Xml.new 
>> -I/usr/local/include/openssl/include -DOPENSSL_NO_KRB5 -I../../libsrc 
>> -I../../libsrc/Dk -I../../libsrc/zlib -I. -I../../libsrc/langfunc 
>> -I../../libsrc/plugin -I../../libsrc/Tidy -I../../libsrc/Xml.new 
>> -I../../libsrc/odbcsdk/include -DVAD -DDBP -DBIF_XPER -DOPSYS=\"Darwin\" 
>> -DHOST=\"x86_64-apple-darwin16.7.0\" -arch x86_64 -mmacosx-version-min=10.7 
>> -MT libwi_la-sqlbif.lo -MD -MP -MF .deps/libwi_la-sqlbif.Tpo -c sqlbif.c  
>> -fno-common -DPIC -o .libs/libwi_la-sqlbif.o
>> 
>> sqlbif.c:1144:34: error: no member named 'mp_alloc_file' in 'struct 
>> mem_pool_s'
>>       box_dv_short_string (mp->mp_alloc_file),
>>                            ~~  ^
>> sqlbif.c:1145:22: error: no member named 'mp_alloc_line' in 'struct 
>> mem_pool_s'
>>       box_num (mp->mp_alloc_line),
>>                ~~  ^
>> sqlbif.c:1707:8: warning: unused variable 'n_out' [-Wunused-variable]
>> long n_out = BOX_ELEMENTS (args), inx;
>>      ^
>> sqlbif.c:1707:37: warning: unused variable 'inx' [-Wunused-variable]
>> long n_out = BOX_ELEMENTS (args), inx;
>>                                   ^
>> sqlbif.c:8113:18: warning: implicit declaration of function 'scn3yylex' is 
>> invalid in C99 [-Wimplicit-function-declaration]
>>             lextype = scn3yylex (&yylval, scanner);
>>                       ^
>> sqlbif.c:8214:21: warning: implicit declaration of function 'scn3splityylex' 
>> is invalid in C99 [-Wimplicit-function-declaration]
>>         lextype = scn3splityylex (&yylval, scanner);
>>                   ^
>> sqlbif.c:8271:3: warning: implicit declaration of function 
>> 'scn3splityylex_destroy' is invalid in C99 [-Wimplicit-function-declaration]
>> scn3splityylex_destroy (scanner);
>> ^
>> sqlbif.c:9907:11: warning: incompatible pointer types assigning to 
>> 'id_hash_iterator_t *' (aka 'struct id_hash_iterator_s *') from 'caddr_t' 
>> (aka 'char *') [-Wincompatible-pointer-types]
>>     hit = bif_arg (qst, args, 2, "tlsf_dump");
>>         ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> 
>> 
>> -- snip --
>> 
>> 
>> 16 warnings and 2 errors generated.
>> make[3]: *** [libwi_la-sqlbif.lo] Error 1
>> make[2]: *** [check] Error 2
>> make[1]: *** [check-recursive] Error 1
>> make: *** [check-recursive] Error 1
>> [ns3:~/src/virtuoso-opensource] administrator%
>> 
>> -------------
>> 
>> 
>> I've Googled my way this far, but I'm just darn stuck at this point. Any 
>> tips to help clear up these 2 compile errors? I can't even figure out where 
>> to look at this point.
>> 
>> Any help would be appreciated.
>> 
>> Thanks folks.
>> 
>> 
>> Cameron Knowlton
>> iGods Internet Marketing Inc.
>> camer...@igods.com
>> P: 250.382.0226
>> 
>> 
>> 
>> 
>> 
>> ------------------------------------------------------------------------------
>> 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
> 

------------------------------------------------------------------------------
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

Reply via email to