<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Ok, I need a build system expert:<div><br></div><div><div>Making: &nbsp; &nbsp;test_pathutils.dylib</div><div>illegal combination shl/OOO/NONE at /Users/jpowers27/build/build/libreoffice-3.2.99.2/solenv/bin/macosx-change-install-names.pl line 54, &lt;IN&gt; line 5.</div><div>dmake: &nbsp;Error code 9, while making '../unxmacxi.pro/lib/test_pathutils.dylib'</div><div>dmake: &nbsp;'../unxmacxi.pro/lib/test_pathutils.dylib' removed.</div></div><div><br></div><div>Ok, the perl script is:</div><div><br></div><div><div>use lib ("$ENV{SOLARENV}/bin/modules");</div><div>use macosxotoolhelper;</div><div><br></div><div>sub action($$$)</div><div>{</div><div>&nbsp;&nbsp; &nbsp;my %action =</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;('app/UREBIN/URELIB' =&gt; '@executable_path/../lib',</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; 'app/OOO/URELIB' =&gt; '@executable_path/../ure-link/lib',</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; 'app/OOO/OOO' =&gt; '@executable_path',</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; 'app/SDK/URELIB' =&gt; '@executable_path/../../ure-link/lib',</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; 'app/BRAND/URELIB' =&gt; '@executable_path/../basis-link/ure-link/lib',</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; 'app/BRAND/OOO' =&gt; '@executable_path/../basis-link/program',</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; 'app/NONE/URELIB' =&gt; '@__VIA_LIBRARY_PATH__',</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; 'app/NONE/OOO' =&gt; '@__VIA_LIBRARY_PATH__',</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; 'app/NONE/NONE' =&gt; '@__VIA_LIBRARY_PATH__',</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; 'shl/URELIB/URELIB' =&gt; '@loader_path',</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; 'shl/OOO/URELIB' =&gt; '@loader_path/../ure-link/lib',</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; 'shl/OOO/OOO' =&gt; '@loader_path',</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; 'shl/OXT/URELIB' =&gt; '@executable_path/urelibs',</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; 'shl/BOXT/URELIB' =&gt; '@executable_path/urelibs',</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; 'shl/BOXT/OOO' =&gt; '@loader_path/../../../basis-link/program',</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; 'shl/NONE/URELIB' =&gt; '@__VIA_LIBRARY_PATH__',</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; 'shl/NONE/OOO' =&gt; '@__VIA_LIBRARY_PATH__',</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; 'shl/NONE/NONE' =&gt; '@__VIA_LIBRARY_PATH__');</div><div>&nbsp;&nbsp; &nbsp;my ($type, $loc1, $loc2) = @_;</div><div>&nbsp;&nbsp; &nbsp;my $act = $action{"$type/$loc1/$loc2"};</div><div><font class="Apple-style-span" color="#FF2700">&nbsp;&nbsp; &nbsp;die "illegal combination $type/$loc1/$loc2" unless defined $act;</font></div><div>&nbsp;&nbsp; &nbsp;return $act;</div><div>}</div><div><br></div><div>@ARGV == 3 || @ARGV &gt;= 2 &amp;&amp; $ARGV[0] eq "extshl" or die</div><div>&nbsp;&nbsp;'Usage: app|shl|extshl UREBIN|URELIB|OOO|SDK|BRAND|OXT|BOXT|NONE &lt;filepath&gt;*';</div><div>$type = shift @ARGV;</div><div>$loc = shift @ARGV;</div><div>if ($type eq "extshl")</div><div>{</div><div>&nbsp;&nbsp; &nbsp;$type = "shl";</div><div>&nbsp;&nbsp; &nbsp;my $change = "";</div><div>&nbsp;&nbsp; &nbsp;my %inames;</div><div>&nbsp;&nbsp; &nbsp;foreach $file (@ARGV)</div><div>&nbsp;&nbsp; &nbsp;{</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;my $iname = otoolD($file);</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;(defined $iname ? $iname : $file . "\n") =~ m'^(.*?([^/]+))\n$' or</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;die "unexpected otool -D output";</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;$change .= " -change $1 " . action($type, $loc, $loc) . "/$2";</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;$inames{$file} = $2;</div><div>&nbsp;&nbsp; &nbsp;}</div><div>&nbsp;&nbsp; &nbsp;foreach $file (@ARGV)</div><div>&nbsp;&nbsp; &nbsp;{</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;my $call = "install_name_tool$change -id \@__________________________________________________$loc/$inames{$file} $file";</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;system($call) == 0 or die "cannot $call";</div><div>&nbsp;&nbsp; &nbsp;}</div><div>}</div><div>foreach $file (@ARGV)</div><div>{</div><div>&nbsp;&nbsp; &nbsp;my $call = "otool -L $file";</div><div>&nbsp;&nbsp; &nbsp;open(IN, "-|", $call) or die "cannot $call";</div><div>&nbsp;&nbsp; &nbsp;my $change = "";</div><div>&nbsp;&nbsp; &nbsp;while (&lt;IN&gt;)</div><div>&nbsp;&nbsp; &nbsp;{</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;$change .= " -change $1 " . action($type, $loc, $2) . "$3"</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if m'^\s*(@_{50}([^/]+)(/.+)) \(compatibility version \d+\.\d+\.\d+, current version \d+\.\d+\.\d+\)\n$';</div><div>&nbsp;&nbsp; &nbsp;}</div><div>&nbsp;&nbsp; &nbsp;close(IN);</div><div>&nbsp;&nbsp; &nbsp;if ($change ne "")</div><div>&nbsp;&nbsp; &nbsp;{</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;$call = "install_name_tool$change $file";</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;system($call) == 0 or die "cannot $call";</div><div>&nbsp;&nbsp; &nbsp;}</div><div>}</div></div><div><br></div><div>*** end of script ***</div><div><br></div><div>My perl is good enough (I've never done any perl programing; ie: it's an educated guess), to determine the issue is the line in red above. Other then that I can't tell where the parameters are coming from (are they passed in or generated by something I don't see).</div><div><br></div><div>This just started about 2 days ago.</div><div><br></div><div>Thanks,</div><div><br></div><div>Joe P.</div><div><br></div></body></html>