Skip to content

Instantly share code, notes, and snippets.

@jnorthrup
Created August 5, 2011 04:10
Show Gist options
  • Save jnorthrup/1126906 to your computer and use it in GitHub Desktop.
Save jnorthrup/1126906 to your computer and use it in GitHub Desktop.
virtuoso config.nice
#!/bin/sh
#
# Created by configure for Virtuoso Open Source Edition 6.1.3
#
# Environment
SHELL="/bin/sh"; export SHELL
/bin/sh "./configure" \
"--with-jdk4=/opt/jdk6/" \
"--with-readline=/usr/lib64/libreadline.so" \
"--with-pthreads" \
"--with-pic" \
"--enable-aio" \
"--enable-wbxml2" \
"--enable-imagemagick" \
"--enable-syncml-vad" \
"--disable-mono" \
"--enable-ruby" \
"--enable-python" \
"--enable-php5=/opt/php5/" \
"--with-iodbc=/opt/iodbc/" \
"--with-layout=opt" \
"$@"
@jnorthrup
Copy link
Author

key feature of this file is that directories for jdk, php, and iodbc must end with '/' or get ignored.

in the binsrc/hosting/php/hosting_php.c mkstemp(NULL,"virt") requires a single param. the module seems to have missed a round of qa

@jnorthrup
Copy link
Author

localhost linux # cat /usr/src/php-5.2.17/config.nice

! /bin/sh

Created by configure

'./configure'
'--prefix=/opt/php-5.2.10'
'--enable-maintainer-zts'
'--enable-embed=shared'
'--with-config-file-path=.'
'--with-tsrm-pthreads'
'--disable-static'
'--disable-cgi'
'--disable-ipv6'
'--without-mysql'
'--without-pear'
'--enable-bcmath=shared'
'--enable-calendar'
'--enable-dbase=shared'
'--enable-dba=shared'
'--enable-dom=shared'
'--enable-exif=shared'
'--enable-ftp=shared'
'--enable-gd-native-ttf'
'--enable-mbstring=shared'
'--enable-pdo'
'--enable-shmop=shared'
'--enable-soap=shared'
'--enable-sockets=shared'
'--enable-sysvmsg=shared'
'--enable-sysvsem=shared'
'--enable-sysvshm=shared'
'--enable-wddx=shared'
'--enable-xmlreader=shared'
'--enable-xmlwriter=shared'
'--with-bz2=shared'
'--with-curl=shared'
'--with-gd=shared'
'--with-iodbc=/opt/iODBC'
'--with-ldap=shared'
'--with-mime-magic=shared'
'--with-openssl=shared'
'--with-pdo-odbc=generic,/opt/iODBC,iodbc,-L/opt/iODBC/lib,-I/opt/iODBC/include'
'--with-sqlite=shared'
'--with-xmlrpc=shared'
'--with-xsl=shared'
'--with-xsl=shared'
'--with-zlib'
"$@"

@jnorthrup
Copy link
Author

localhost database # ../bin/virtuoso-iodbc-javavm_t +foreground

            Thu Aug 04 2011

21:25:35 { Loading plugin 1: Type plain', filewikiv' in /opt/virtuoso-opensource/hosting' 21:25:35 WikiV version 0.6 from OpenLink Software 21:25:35 Support functions for WikiV collaboration tool 21:25:35 SUCCESS plugin 1: loaded from /opt/virtuoso-opensource/hosting/wikiv.so } 21:25:35 { Loading plugin 2: Typeplain', file mediawiki' in/opt/virtuoso-opensource/hosting'
21:25:35 MediaWiki version 0.1 from OpenLink Software
21:25:35 Support functions for MediaWiki collaboration tool
21:25:35 SUCCESS plugin 2: loaded from /opt/virtuoso-opensource/hosting/mediawiki.so }
21:25:35 { Loading plugin 3: Type plain', filecreolewiki' in /opt/virtuoso-opensource/hosting' 21:25:35 CreoleWiki version 0.1 from OpenLink Software 21:25:35 Support functions for CreoleWiki collaboration tool 21:25:35 SUCCESS plugin 3: loaded from /opt/virtuoso-opensource/hosting/creolewiki.so } 21:25:35 { Loading plugin 4: Typeplain', file im' in/opt/virtuoso-opensource/hosting'
21:25:35 IM version 0.6 from OpenLink Software
21:25:35 Support functions for Image Magick 6.6.8
21:25:35 SUCCESS plugin 4: loaded from /opt/virtuoso-opensource/hosting/im.so }
21:25:35 { Loading plugin 5: Type plain', filewbxml2' in /opt/virtuoso-opensource/hosting' 21:25:35 WBXML2 version 0.9 from OpenLink Software 21:25:35 Support functions for WBXML2 0.10.9 Library 21:25:35 SUCCESS plugin 5: loaded from /opt/virtuoso-opensource/hosting/wbxml2.so } 21:25:35 { Loading plugin 6: Typeattach', file libphp5.so' in/opt/virtuoso-opensource/hosting'
21:25:35 SUCCESS plugin 6: loaded from /opt/virtuoso-opensource/hosting/libphp5.so }
21:25:35 { Loading plugin 7: Type Hosting', filehosting_php.so' in `/opt/virtuoso-opensource/hosting'
21:25:35 Hosting version 3127 from OpenLink Software
21:25:35 PHP engine version 5.2.17
21:25:35 SUCCESS plugin 7: loaded from /opt/virtuoso-opensource/hosting/hosting_php.so }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment