Good day!
Yes, I get tons of warnings, mostly about functions that Apple wants to
deprecate. I suspect we'll need more and more macports/homebrew components with
the next OS X version.
You went one beyond me by specifying -m64, which I believe is implied, and -O2.
I guess I should try that, too!
I went for configure --with-readline because isql is unusable without it.
(Maybe --with-editline would have been closer to darwin? I did not bother to
compare since the first one worked.)
Otherwise, virtuoso works as well as I expect it to (i.e. does not exhibit bugs
I cannot reproduce on linux), so I stopped tweaking.
Best,
Marc-Antoine
Le 2014-07-05 à 11:05, Pascal Heus <pascal.h...@mtna.us> a écrit :
> Marc-Antoine:
> Your post inspire me to try compiling on my Mac as well and it seem to work
> fine. I have XCode and did a clean install of macports (as documented at
> https://trac.macports.org/wiki/Migration).
> I do however get tons of warnings in the process, just wondering is this is
> to be expected.
> I basically run the build sequence as follows:
> ./autogen.sh
> CFLAGS="-O2 -m64"
> export CFLAGS
> ./configure
> make
> and then run
> sudo make install
> to deploy.
> Curious to know which CFLAGS and other options you would recommend setting?
> Much appreciated.
> *P
>
>
>
>
> On 7/4/14, 1:23 PM, Marc-Antoine Parent wrote:
>> Good day!
>> I do not have the answer to your question, but as a data point I do
>> routinely compile virtuoso on my mac (10.9.3) and do not have this problem.
>> I notice that you have three flags that I do not: "-arch i386 -arch x86_64
>> -mmacosx-version-min=10.7".
>> Those probably come from environment variables, as your configure was bare.
>> (I have MACOSX_DEPLOYMENT_TARGET=10.9 )
>> The fact that you compile in both 32 and 64 bits may be relevant, since the
>> error seems to pertain to int vs int32 definitions.
>> I hope this gives you some pointers. Best,
>> Marc-Antoine Parent
>>
>> Le 2014-07-03 à 16:51, Bruno Carvalho <bment...@gmail.com> a écrit :
>>
>>> I am having problems compiling the source code (git clone) in my MacOs.
>>>
>>> All dependencies are ok.
>>>
>>> The error (after ./configure and at make):
>>>
>>> /Applications/Xcode.app/Contents/Developer/usr/bin/make all-am
>>>
>>> /bin/sh ../../bin/libtool.macosx --tag=CC --mode=compile gcc
>>> -DHAVE_CONFIG_H -I. -I../../libsrc/Dk -fno-strict-aliasing -O2 -Wall
>>> -DNDEBUG -DPOINTER_64 -I/usr/local/virtuoso-opensource/libsrc/Xml.new
>>> -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-darwin13.2.0\" -O -arch
>>> i386 -arch x86_64 -mmacosx-version-min=10.7 -MT libwi_la-auxfiles.lo -MD
>>> -MP -MF .deps/libwi_la-auxfiles.Tpo -c -o libwi_la-auxfiles.lo `test -f
>>> 'auxfiles.c' || echo './'`auxfiles.c
>>>
>>> gcc -DHAVE_CONFIG_H -I. -I../../libsrc/Dk -fno-strict-aliasing -O2 -Wall
>>> -DNDEBUG -DPOINTER_64 -I/usr/local/virtuoso-opensource/libsrc/Xml.new
>>> -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-darwin13.2.0\" -O -arch
>>> i386 -arch x86_64 -mmacosx-version-min=10.7 -MT libwi_la-auxfiles.lo -MD
>>> -MP -MF .deps/libwi_la-auxfiles.Tpo -c auxfiles.c -fno-common
>>> -DPIC -o .libs/libwi_la-auxfiles.o
>>>
>>> auxfiles.c:75:7: error: redefinition of 'cp_unremap_quota' with a different
>>> type: 'long' vs 'int'
>>>
>>> int32 cp_unremap_quota;
>>>
>>> ^
>>>
>>> ./wifn.h:1293:12: note: previous definition is here
>>>
>>> extern int cp_unremap_quota;
>>>
>>> ^
>>>
>>> auxfiles.c:76:7: error: redefinition of 'cp_unremap_quota_is_set' with a
>>> different type: 'long' vs 'int'
>>>
>>> int32 cp_unremap_quota_is_set;
>>>
>>> ^
>>>
>>> ./wifn.h:1294:17: note: previous definition is here
>>>
>>> extern int cp_unremap_quota_is_set;
>>>
>>> ^
>>>
>>> 2 errors generated.
>>>
>>> make[3]: *** [libwi_la-auxfiles.lo] Error 1
>>>
>>> make[2]: *** [all] Error 2
>>>
>>> make[1]: *** [all-recursive] Error 1
>>>
>>> make: *** [all-recursive] Error 1
>>>
>>> Thanks in advance,
>>>
>>> ------------------------------------------------------------------------------
>>> Open source business process management suite built on Java and Eclipse
>>> Turn processes into business applications with Bonita BPM Community Edition
>>> Quickly connect people, data, and systems into organized workflows
>>> Winner of BOSSIE, CODIE, OW2 and Gartner awards
>>> http://p.sf.net/sfu/Bonitasoft_______________________________________________
>>> Virtuoso-users mailing list
>>> Virtuoso-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/virtuoso-users
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Open source business process management suite built on Java and Eclipse
>> Turn processes into business applications with Bonita BPM Community Edition
>> Quickly connect people, data, and systems into organized workflows
>> Winner of BOSSIE, CODIE, OW2 and Gartner awards
>> http://p.sf.net/sfu/Bonitasoft
>>
>>
>> _______________________________________________
>> Virtuoso-users mailing list
>> Virtuoso-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/virtuoso-users
>
------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
Virtuoso-users mailing list
Virtuoso-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtuoso-users