Hi, I'm looking forward to beginning to use virtuoso and have just checked out 5.0.1 from cvs and compiled it on an intel mac. Unfortunately I ran into a few problems which might trip other people up:
1. You might like to update the wiki to say to use -mmacosx-version-min=10.4. It's in the README but I expect most people would follow the web page. 2. Rendezvous support seems to be missing the necessary client headers or otherwise it doesn't mention a missing dependency anywhere that I could see. 3. I ran into trouble compiling the perl hosting directory: Making all in perl make all-am /bin/sh ../../../bin/libtool.macosx --mode=link gcc -g -O2 -s -o hosting_perl.la -rpath /usr/local/lib -module -avoid-version -export-dynamic -L/usr/local/lib /System/Library/Perl/5.8.6/darwin-thread-multi-2level/auto/DynaLoader/DynaLoader.a -L/System/Library/Perl/5.8.6/darwin-thread-multi-2level/CORE -lperl -ldl -lm -lc hosting_perl_la-hosting_perl.lo hosting_perl_la-virt_handler.lo /System/Library/Perl/5.8.6/darwin-thread-multi-2level/auto/DynaLoader/DynaLoader.a -lm *** Warning: Linking the shared library hosting_perl.la against the *** static library /System/Library/Perl/5.8.6/darwin-thread-multi-2level/auto/DynaLoader/DynaLoader.a is not portable! rm -fr .libs/hosting_perl.a .libs/hosting_perl.so gcc -bundle -undefined dynamic_lookup -o .libs/hosting_perl.so .libs/hosting_perl_la-hosting_perl.o .libs/hosting_perl_la-virt_handler.o -L/usr/local/lib -L/System/Library/Perl/5.8.6/darwin-thread-multi-2level/CORE -lperl -ldl -lc /System/Library/Perl/5.8.6/darwin-thread-multi-2level/auto/DynaLoader/DynaLoader.a -lm ar cru .libs/hosting_perl.a /System/Library/Perl/5.8.6/darwin-thread-multi-2level/auto/DynaLoader/DynaLoader.a /System/Library/Perl/5.8.6/darwin-thread-multi-2level/auto/DynaLoader/DynaLoader.a hosting_perl_la-hosting_perl.o hosting_perl_la-virt_handler.o /System/Library/Perl/5.8.6/darwin-thread-multi-2level/auto/DynaLoader/DynaLoader.a /System/Library/Perl/5.8.6/darwin-thread-multi-2level/auto/DynaLoader/DynaLoader.a ranlib: archive member: .libs/hosting_perl.a(DynaLoader.a) fat file for cputype (7) cpusubtype (3) is not an object file (bad magic number) ar: internal ranlib command failed The output of the perl link flags: perl -MExtUtils::Embed -e ldopts -L/usr/local/lib /System/Library/Perl/5.8.6/darwin-thread-multi-2level/auto/DynaLoader/DynaLoader.a -L/System/Library/Perl/5.8.6/darwin-thread-multi-2level/CORE -lperl -ldl -lm -lc However DynaLoader.a is a universal binary: file /System/Library/Perl/5.8.6/darwin-thread-multi-2level/auto/DynaLoader/DynaLoader.a /System/Library/Perl/5.8.6/darwin-thread-multi-2level/auto/DynaLoader/DynaLoader.a: Mach-O universal binary with 2 architectures /System/Library/Perl/5.8.6/darwin-thread-multi-2level/auto/DynaLoader/DynaLoader.a (for architecture i386): current ar archive /System/Library/Perl/5.8.6/darwin-thread-multi-2level/auto/DynaLoader/DynaLoader.a (for architecture ppc): current ar archive And so this causes trouble for ranlib and ar. GNU libtool seems to unpack such files automatically in some cases, but not when the absolute path to the archive is specified it seems. Changing the link flags to use -static, -L and -l seems to fix things: Index: configure.in =================================================================== RCS file: /cvsroot/virtuoso/virtuoso-opensource/configure.in,v retrieving revision 1.98 diff -u -r1.98 configure.in --- configure.in 31 May 2007 12:28:17 -0000 1.98 +++ configure.in 3 Jun 2007 00:29:43 -0000 @@ -1254,7 +1254,8 @@ AM_CONDITIONAL(WITH_PERL, test "x$PERL" != "x" -a "x$with_perl" != "xno") if test "x$PERL" != "x" -a "x$with_perl" != "xno" ; then - PERL_LDFLAGS=`$PERL -MExtUtils::Embed -e ldopts` + PERL_LDFLAGS=`$PERL -MExtUtils::Embed -e ldopts | \ + $PERL -pe 's/(\/\S+)\/(\S+?)\.a/-L$1 -static -l$2 -shared/g'` PERL_CFLAGS=`$PERL -MExtUtils::Embed -e ccopts` fi AC_SUBST(PERL_CFLAGS) Just for the record this is the configuration I used; it compiled and checks ok but I haven't used it in anger yet: CFLAGS="-O -mmacosx-version-min=10.3 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc" export CFLAGS ./autogen.sh ./configure \ --disable-static \ --disable-dependency-tracking \ --enable-php5 \ --enable-imagemagick \ --enable-perl \ --enable-python \ --with-pthreads \ --with-readline make && make check Kind regards, James