Ok, at last I got the hands to FreeBSD installation and that Matlab issue.
Code:
[root@amandine matlab]# /home/xeon/Matlab\ Linux\ 2006a/CD1/install -glnx86
expr: illegal option -- r
usage: expr [-e] expression
/home/xeon/Matlab Linux 2006a/CD1/install: line 197: [: -ne: unary operator expected
usage: dirname string
expr: illegal option -- r
usage: expr [-e] expression
/tmp/40023tmwinstall/install: line 197: [: -ne: unary operator expected
--------------------------------------------------------------------------
Usage: install -h | [-<arch>] [-debug] [ [-t] | [-x] ]
-h Help. Show command usage.
-<arch> Assume this architecture when installing.
You must specify a valid MATLAB arch (e.g. sol2, glnx86)
-debug Turn on debugging messages.
-t Use terminal setup.
-x Use X Window setup. (Default)
--------------------------------------------------------------------------
The neighboorhood of offending lines are like this:
Code:
#
# Check for link portably
#
if [ `expr "$lscmd" : '.*->.*'` -ne 0 ]; then
filename=`echo "$lscmd" | awk '{ print $NF }'`
And.. may be it's better to post somehow entire script? It has more than 1200 lines. May be there is a place devoted to this?
That's it... if somebody can point out the cause of error and help to get the Matlab working, I would not hesitate to buy the beer (I don't drink, but this doesn't matter).