Checking if user bernd is licensed to run /Applications/MATLAB_R2007b/bin/matlab ... Generated MATLAB test script: >>#!/usr/bin/perl -w use strict; use CGI qw/-no_xhtml/; my $CGI = CGI->new(); print $CGI->header(-type => 'text/plain'), my $MATLAB_EXEC = '/Applications/MATLAB_R2007b/bin/matlab'; my $MATLAB_EXEC_FLAGS = '-nodisplay -nojvm'; # try to run MATLAB print `$MATLAB_EXEC $MATLAB_EXEC_FLAGS -r quit`; # Display final environment variables, arguments, and other diagnostic # information about MATLAB. MATLAB is not run print `$MATLAB_EXEC $MATLAB_EXEC_FLAGS -n`; 1; << Writing script to src/perl2/matlab_test_script.pl trying to run src/perl2/matlab_test_script.pl via command line ... [SUCCESS] Output From Matlab: 'Content-Type: text/plain; charset=ISO-8859-1 /Applications/MATLAB_R2007b/bin/matlab[?1h= < M A T L A B > Copyright 1984-2007 The MathWorks, Inc. Version 7.5.0.338 (R2007b) August 9, 2007 To get started, type one of these: helpwin, helpdesk, or demo. For product information, visit www.mathworks.com. [?1l>------------------------------------------------------------------------ -> (.matlab7rc.sh) sourced from directory (DIR = $MATLAB/bin) -> DIR = /Applications/MATLAB_R2007b/bin ------------------------------------------------------------------------ a = argument e = environment r = rcfile s = script ------------------------------------------------------------------------ -> r MATLAB = /Applications/MATLAB_R2007b -> LM_LICENSE_FILE = (variable not defined) -> MLM_LICENSE_FILE = (variable not defined) -> r AUTOMOUNT_MAP = /private -> -> s DISPLAY = -> r ARCH = maci -> s TOOLBOX = /Applications/MATLAB_R2007b/toolbox -> r XAPPLRESDIR = /Applications/MATLAB_R2007b/X11/app-defaults -> r XKEYSYMDB = /Applications/MATLAB_R2007b/X11/app-defaults/XKeysymDB -> e MAX_OPEN_FILES = 256 -> s _JVM_THREADS_TYPE = -> e MATLAB_JAVA = -> s MATLAB_MEM_MGR = -> s MATLAB_DEBUG = -> s LD_LIBRARY_PATH = -> a arglist = -nodisplay -nojvm -> e SHELL = /bin/tcsh -> e PATH = /usr/local/bin/:/bin:/sbin:/usr/bin:/usr/sbin -> s MATLABPATH = (initial version) /Applications/MATLAB_R2007b/toolbox/local -> $MATLAB/bin/maci/MATLAB.app/Contents/MacOS/MATLAB shared library information - |----------------------------------------------------------------------- | /Applications/MATLAB_R2007b/bin/maci/MATLAB.app/Contents/MacOS/MATLAB: | @loader_path/libut.dylib (compatibility version 0.0.0, current version 0.0.0) | @loader_path/libmx.dylib (compatibility version 0.0.0, current version 0.0.0) | @loader_path/libmwmpath.dylib (compatibility version 0.0.0, current version 0.0.0) | @loader_path/libmwservices.dylib (compatibility version 0.0.0, current version 0.0.0) | @loader_path/libmwjmi.dylib (compatibility version 0.0.0, current version 0.0.0) | @loader_path/libmwbridge.dylib (compatibility version 0.0.0, current version 0.0.0) | @loader_path/libmwmcr.dylib (compatibility version 0.0.0, current version 0.0.0) | @loader_path/libmwm_dispatcher.dylib (compatibility version 0.0.0, current version 0.0.0) | @loader_path/libmwm_interpreter.dylib (compatibility version 0.0.0, current version 0.0.0) | /usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.4.0) | /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0) | /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 88.3.3) |----------------------------------------------------------------------- -> $MATLAB/toolbox/local/pathdef.m - |----------------------------------------------------------------------- | function p = pathdef | %PATHDEF Search path defaults. | % PATHDEF returns a string that can be used as input to MATLABPATH | % in order to set the path. | | | % Copyright 1984-2007 The MathWorks, Inc. | % $Revision: 1.4.2.2 $ $Date: 2007/06/07 14:45:14 $ | | | % DO NOT MODIFY THIS FILE. IT IS AN AUTOGENERATED FILE. | % EDITING MAY CAUSE THE FILE TO BECOME UNREADABLE TO | % THE PATHTOOL AND THE INSTALLER. | | p = [... | %%% BEGIN ENTRIES %%% | matlabroot,'/toolbox/matlab/general:', ... | matlabroot,'/toolbox/matlab/ops:', ... | matlabroot,'/toolbox/matlab/lang:', ... | matlabroot,'/toolbox/matlab/elmat:', ... | matlabroot,'/toolbox/matlab/elfun:', ... | matlabroot,'/toolbox/matlab/specfun:', ... | matlabroot,'/toolbox/matlab/matfun:', ... | matlabroot,'/toolbox/matlab/datafun:', ... | matlabroot,'/toolbox/matlab/polyfun:', ... | matlabroot,'/toolbox/matlab/funfun:', ... | matlabroot,'/toolbox/matlab/sparfun:', ... | matlabroot,'/toolbox/matlab/scribe:', ... | matlabroot,'/toolbox/matlab/graph2d:', ... | matlabroot,'/toolbox/matlab/graph3d:', ... | matlabroot,'/toolbox/matlab/specgraph:', ... | matlabroot,'/toolbox/matlab/graphics:', ... | matlabroot,'/toolbox/matlab/uitools:', ... | matlabroot,'/toolbox/matlab/strfun:', ... | matlabroot,'/toolbox/matlab/imagesci:', ... | matlabroot,'/toolbox/matlab/iofun:', ... | matlabroot,'/toolbox/matlab/audiovideo:', ... | matlabroot,'/toolbox/matlab/timefun:', ... | matlabroot,'/toolbox/matlab/datatypes:', ... | matlabroot,'/toolbox/matlab/verctrl:', ... | matlabroot,'/toolbox/matlab/codetools:', ... | matlabroot,'/toolbox/matlab/helptools:', ... | matlabroot,'/toolbox/matlab/demos:', ... | matlabroot,'/toolbox/matlab/timeseries:', ... | matlabroot,'/toolbox/matlab/hds:', ... | matlabroot,'/toolbox/matlab/guide:', ... | matlabroot,'/toolbox/matlab/plottools:', ... | matlabroot,'/toolbox/local:', ... | matlabroot,'/toolbox/shared/controllib:', ... | matlabroot,'/toolbox/bioinfo/bioinfo:', ... | matlabroot,'/toolbox/bioinfo/biolearning:', ... | matlabroot,'/toolbox/bioinfo/microarray:', ... | matlabroot,'/toolbox/bioinfo/mass_spec:', ... | matlabroot,'/toolbox/bioinfo/proteins:', ... | matlabroot,'/toolbox/bioinfo/biomatrices:', ... | matlabroot,'/toolbox/bioinfo/biodemos:', ... | matlabroot,'/toolbox/bioinfo/graphtheory:', ... | matlabroot,'/toolbox/compiler:', ... | matlabroot,'/toolbox/finance/finance:', ... | matlabroot,'/toolbox/finance/calendar:', ... | matlabroot,'/toolbox/finance/findemos:', ... | matlabroot,'/toolbox/finance/finsupport:', ... | matlabroot,'/toolbox/finance/ftseries:', ... | matlabroot,'/toolbox/finance/ftsdemos:', ... | matlabroot,'/toolbox/finance/ftsdata:', ... | matlabroot,'/toolbox/finance/ftstutorials:', ... | matlabroot,'/toolbox/gads:', ... | matlabroot,'/toolbox/gads/gads:', ... | matlabroot,'/toolbox/gads/gadsdemos:', ... | matlabroot,'/toolbox/images/images:', ... | matlabroot,'/toolbox/images/imuitools:', ... | matlabroot,'/toolbox/images/imdemos:', ... | matlabroot,'/toolbox/images/iptutils:', ... | matlabroot,'/toolbox/shared/imageslib:', ... | matlabroot,'/toolbox/images/medformats:', ... | matlabroot,'/toolbox/shared/spcuilib:', ... | matlabroot,'/toolbox/shared/dastudio:', ... | matlabroot,'/toolbox/images/iptformats:', ... | matlabroot,'/toolbox/javabuilder/javabuilder:', ... | matlabroot,'/toolbox/optim/optim:', ... | matlabroot,'/toolbox/optim/optimdemos:', ... | matlabroot,'/toolbox/shared/optimlib:', ... | matlabroot,'/toolbox/stats:', ... | matlabroot,'/work:', ... | %%% END ENTRIES %%% | ... | ]; | | p = [userpath,p]; |----------------------------------------------------------------------- ------------------------------------------------------------------------ 'Checking, [SECOND TEST], if user bernd is licensed to run /Applications/MATLAB_R2007b/bin/matlab ... Generated MATLAB test script: >>#!/usr/bin/perl -w use strict; use CGI qw/-no_xhtml/; my $CGI = CGI->new(); print $CGI->header(-type => 'text/plain'), my $MATLAB_EXEC = '/Applications/MATLAB_R2007b/bin/matlab'; my $MATLAB_EXEC_FLAGS = '-nodisplay -nojvm'; # try to run MATLAB print `$MATLAB_EXEC $MATLAB_EXEC_FLAGS -r quit`; # Display final environment variables, arguments, and other diagnostic # information about MATLAB. MATLAB is not run print `$MATLAB_EXEC $MATLAB_EXEC_FLAGS -n`; 1; << Writing script to src/perl2/matlab_test_script.pl trying to run src/perl2/matlab_test_script.pl via command line ... [SUCCESS] Output From Matlab: 'Content-Type: text/plain; charset=ISO-8859-1 /Applications/MATLAB_R2007b/bin/matlab[?1h= < M A T L A B > Copyright 1984-2007 The MathWorks, Inc. Version 7.5.0.338 (R2007b) August 9, 2007 To get started, type one of these: helpwin, helpdesk, or demo. For product information, visit www.mathworks.com. [?1l>------------------------------------------------------------------------ -> (.matlab7rc.sh) sourced from directory (DIR = $MATLAB/bin) -> DIR = /Applications/MATLAB_R2007b/bin ------------------------------------------------------------------------ a = argument e = environment r = rcfile s = script ------------------------------------------------------------------------ -> r MATLAB = /Applications/MATLAB_R2007b -> LM_LICENSE_FILE = (variable not defined) -> MLM_LICENSE_FILE = (variable not defined) -> r AUTOMOUNT_MAP = /private -> -> s DISPLAY = -> r ARCH = maci -> s TOOLBOX = /Applications/MATLAB_R2007b/toolbox -> r XAPPLRESDIR = /Applications/MATLAB_R2007b/X11/app-defaults -> r XKEYSYMDB = /Applications/MATLAB_R2007b/X11/app-defaults/XKeysymDB -> e MAX_OPEN_FILES = 256 -> s _JVM_THREADS_TYPE = -> e MATLAB_JAVA = -> s MATLAB_MEM_MGR = -> s MATLAB_DEBUG = -> s LD_LIBRARY_PATH = -> a arglist = -nodisplay -nojvm -> e SHELL = /bin/tcsh -> e PATH = /usr/local/bin/:/bin:/sbin:/usr/bin:/usr/sbin -> s MATLABPATH = (initial version) /Applications/MATLAB_R2007b/toolbox/local -> $MATLAB/bin/maci/MATLAB.app/Contents/MacOS/MATLAB shared library information - |----------------------------------------------------------------------- | /Applications/MATLAB_R2007b/bin/maci/MATLAB.app/Contents/MacOS/MATLAB: | @loader_path/libut.dylib (compatibility version 0.0.0, current version 0.0.0) | @loader_path/libmx.dylib (compatibility version 0.0.0, current version 0.0.0) | @loader_path/libmwmpath.dylib (compatibility version 0.0.0, current version 0.0.0) | @loader_path/libmwservices.dylib (compatibility version 0.0.0, current version 0.0.0) | @loader_path/libmwjmi.dylib (compatibility version 0.0.0, current version 0.0.0) | @loader_path/libmwbridge.dylib (compatibility version 0.0.0, current version 0.0.0) | @loader_path/libmwmcr.dylib (compatibility version 0.0.0, current version 0.0.0) | @loader_path/libmwm_dispatcher.dylib (compatibility version 0.0.0, current version 0.0.0) | @loader_path/libmwm_interpreter.dylib (compatibility version 0.0.0, current version 0.0.0) | /usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.4.0) | /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0) | /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 88.3.3) |----------------------------------------------------------------------- -> $MATLAB/toolbox/local/pathdef.m - |----------------------------------------------------------------------- | function p = pathdef | %PATHDEF Search path defaults. | % PATHDEF returns a string that can be used as input to MATLABPATH | % in order to set the path. | | | % Copyright 1984-2007 The MathWorks, Inc. | % $Revision: 1.4.2.2 $ $Date: 2007/06/07 14:45:14 $ | | | % DO NOT MODIFY THIS FILE. IT IS AN AUTOGENERATED FILE. | % EDITING MAY CAUSE THE FILE TO BECOME UNREADABLE TO | % THE PATHTOOL AND THE INSTALLER. | | p = [... | %%% BEGIN ENTRIES %%% | matlabroot,'/toolbox/matlab/general:', ... | matlabroot,'/toolbox/matlab/ops:', ... | matlabroot,'/toolbox/matlab/lang:', ... | matlabroot,'/toolbox/matlab/elmat:', ... | matlabroot,'/toolbox/matlab/elfun:', ... | matlabroot,'/toolbox/matlab/specfun:', ... | matlabroot,'/toolbox/matlab/matfun:', ... | matlabroot,'/toolbox/matlab/datafun:', ... | matlabroot,'/toolbox/matlab/polyfun:', ... | matlabroot,'/toolbox/matlab/funfun:', ... | matlabroot,'/toolbox/matlab/sparfun:', ... | matlabroot,'/toolbox/matlab/scribe:', ... | matlabroot,'/toolbox/matlab/graph2d:', ... | matlabroot,'/toolbox/matlab/graph3d:', ... | matlabroot,'/toolbox/matlab/specgraph:', ... | matlabroot,'/toolbox/matlab/graphics:', ... | matlabroot,'/toolbox/matlab/uitools:', ... | matlabroot,'/toolbox/matlab/strfun:', ... | matlabroot,'/toolbox/matlab/imagesci:', ... | matlabroot,'/toolbox/matlab/iofun:', ... | matlabroot,'/toolbox/matlab/audiovideo:', ... | matlabroot,'/toolbox/matlab/timefun:', ... | matlabroot,'/toolbox/matlab/datatypes:', ... | matlabroot,'/toolbox/matlab/verctrl:', ... | matlabroot,'/toolbox/matlab/codetools:', ... | matlabroot,'/toolbox/matlab/helptools:', ... | matlabroot,'/toolbox/matlab/demos:', ... | matlabroot,'/toolbox/matlab/timeseries:', ... | matlabroot,'/toolbox/matlab/hds:', ... | matlabroot,'/toolbox/matlab/guide:', ... | matlabroot,'/toolbox/matlab/plottools:', ... | matlabroot,'/toolbox/local:', ... | matlabroot,'/toolbox/shared/controllib:', ... | matlabroot,'/toolbox/bioinfo/bioinfo:', ... | matlabroot,'/toolbox/bioinfo/biolearning:', ... | matlabroot,'/toolbox/bioinfo/microarray:', ... | matlabroot,'/toolbox/bioinfo/mass_spec:', ... | matlabroot,'/toolbox/bioinfo/proteins:', ... | matlabroot,'/toolbox/bioinfo/biomatrices:', ... | matlabroot,'/toolbox/bioinfo/biodemos:', ... | matlabroot,'/toolbox/bioinfo/graphtheory:', ... | matlabroot,'/toolbox/compiler:', ... | matlabroot,'/toolbox/finance/finance:', ... | matlabroot,'/toolbox/finance/calendar:', ... | matlabroot,'/toolbox/finance/findemos:', ... | matlabroot,'/toolbox/finance/finsupport:', ... | matlabroot,'/toolbox/finance/ftseries:', ... | matlabroot,'/toolbox/finance/ftsdemos:', ... | matlabroot,'/toolbox/finance/ftsdata:', ... | matlabroot,'/toolbox/finance/ftstutorials:', ... | matlabroot,'/toolbox/gads:', ... | matlabroot,'/toolbox/gads/gads:', ... | matlabroot,'/toolbox/gads/gadsdemos:', ... | matlabroot,'/toolbox/images/images:', ... | matlabroot,'/toolbox/images/imuitools:', ... | matlabroot,'/toolbox/images/imdemos:', ... | matlabroot,'/toolbox/images/iptutils:', ... | matlabroot,'/toolbox/shared/imageslib:', ... | matlabroot,'/toolbox/images/medformats:', ... | matlabroot,'/toolbox/shared/spcuilib:', ... | matlabroot,'/toolbox/shared/dastudio:', ... | matlabroot,'/toolbox/images/iptformats:', ... | matlabroot,'/toolbox/javabuilder/javabuilder:', ... | matlabroot,'/toolbox/optim/optim:', ... | matlabroot,'/toolbox/optim/optimdemos:', ... | matlabroot,'/toolbox/shared/optimlib:', ... | matlabroot,'/toolbox/stats:', ... | matlabroot,'/work:', ... | %%% END ENTRIES %%% | ... | ]; | | p = [userpath,p]; |----------------------------------------------------------------------- ------------------------------------------------------------------------ 'Gathering information about your MATLAB installation Matlab Vers: 7.5.0.338 Matlab Arch: maci Matlab Root: /Applications/MATLAB_R2007b Include: -I/Applications/MATLAB_R2007b/extern/include Lib: -L/Applications/MATLAB_R2007b/bin/maci -lmx -leng -lut -lmat -licudata -licui18n -licuuc -lustdio -lz target dir is /Applications/MATLAB_R2007b/bin/maci matlab lib src is /Applications/MATLAB_R2007b/bin/maci USING PERL CONFIGURE SCRIPT -- 'perl Makefile.PL -include="-I/Applications/MATLAB_R2007b/extern/include" -lib="-L/Applications/MATLAB_R2007b/bin/maci -lmx -leng -lut -lmat -licudata -licui18n -licuuc -lustdio -lz" -version="7.5.0.338"' SUCCESS -- OUTPUT: "define is -DPRE_73 Checking if your kit is complete... Looks good Note (probably harmless): No library found for -lustdio Modifying LD_RUN_PATH... Modifying LD_LIBRARY_PATH... Writing Makefile for OME::Matlab " COMPILING MODULE -- 'make' FAILURE -- OUTPUT: "cp Matlab.pm blib/lib/OME/Matlab.pm cp Compiled.pm blib/lib/OME/Compiled.pm cp compileDynamicLibraries.pl blib/lib/OME/compileDynamicLibraries.pl cp writeLibraryPackage.pl blib/lib/OME/writeLibraryPackage.pl /usr/bin/perl /System/Library/Perl/5.8.6/ExtUtils/xsubpp -typemap /System/Library/Perl/5.8.6/ExtUtils/typemap -typemap typemap Matlab.xs > Matlab.xsc && mv Matlab.xsc Matlab.c Please specify prototyping behavior for Matlab.xs (see perlxs manual) cc -c -I/Applications/MATLAB_R2007b/extern/include -g -pipe -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -I/usr/local/include -O3 -DVERSION=\"2.007\" -DXS_VERSION=\"2.007\" "-I/System/Library/Perl/5.8.6/darwin-thread-multi-2level/CORE" -DPRE_73 Matlab.c Running Mkbootstrap for OME::Matlab () chmod 644 Matlab.bs rm -f blib/arch/auto/OME/Matlab/Matlab.bundle LD_RUN_PATH="/Applications/MATLAB_R2007b/bin/maci:/usr/lib:/Applications/MATLAB_R2007b/bin/maci" env MACOSX_DEPLOYMENT_TARGET=10.3 cc -bundle -undefined dynamic_lookup -L/usr/local/lib Matlab.o -o blib/arch/auto/OME/Matlab/Matlab.bundle \ -L/Applications/MATLAB_R2007b/bin/maci -lmx -leng -lut -lmat -licudata -licui18n -licuuc -lz -L/usr/local/lib \ /usr/bin/ld: can't locate file for: -licudata collect2: ld returned 1 exit status make: *** [blib/arch/auto/OME/Matlab/Matlab.bundle] Error 1 "