Ok, I need a build system expert: Making: test_pathutils.dylib illegal combination shl/OOO/NONE at /Users/jpowers27/build/build/libreoffice-3.2.99.2/solenv/bin/macosx-change-install-names.pl line 54, <IN> line 5. dmake: Error code 9, while making '../unxmacxi.pro/lib/test_pathutils.dylib' dmake: '../unxmacxi.pro/lib/test_pathutils.dylib' removed.
Ok, the perl script is: use lib ("$ENV{SOLARENV}/bin/modules"); use macosxotoolhelper; sub action($$$) { my %action = ('app/UREBIN/URELIB' => '@executable_path/../lib', 'app/OOO/URELIB' => '@executable_path/../ure-link/lib', 'app/OOO/OOO' => '@executable_path', 'app/SDK/URELIB' => '@executable_path/../../ure-link/lib', 'app/BRAND/URELIB' => '@executable_path/../basis-link/ure-link/lib', 'app/BRAND/OOO' => '@executable_path/../basis-link/program', 'app/NONE/URELIB' => '@__VIA_LIBRARY_PATH__', 'app/NONE/OOO' => '@__VIA_LIBRARY_PATH__', 'app/NONE/NONE' => '@__VIA_LIBRARY_PATH__', 'shl/URELIB/URELIB' => '@loader_path', 'shl/OOO/URELIB' => '@loader_path/../ure-link/lib', 'shl/OOO/OOO' => '@loader_path', 'shl/OXT/URELIB' => '@executable_path/urelibs', 'shl/BOXT/URELIB' => '@executable_path/urelibs', 'shl/BOXT/OOO' => '@loader_path/../../../basis-link/program', 'shl/NONE/URELIB' => '@__VIA_LIBRARY_PATH__', 'shl/NONE/OOO' => '@__VIA_LIBRARY_PATH__', 'shl/NONE/NONE' => '@__VIA_LIBRARY_PATH__'); my ($type, $loc1, $loc2) = @_; my $act = $action{"$type/$loc1/$loc2"}; die "illegal combination $type/$loc1/$loc2" unless defined $act; return $act; } @ARGV == 3 || @ARGV >= 2 && $ARGV[0] eq "extshl" or die 'Usage: app|shl|extshl UREBIN|URELIB|OOO|SDK|BRAND|OXT|BOXT|NONE <filepath>*'; $type = shift @ARGV; $loc = shift @ARGV; if ($type eq "extshl") { $type = "shl"; my $change = ""; my %inames; foreach $file (@ARGV) { my $iname = otoolD($file); (defined $iname ? $iname : $file . "\n") =~ m'^(.*?([^/]+))\n$' or die "unexpected otool -D output"; $change .= " -change $1 " . action($type, $loc, $loc) . "/$2"; $inames{$file} = $2; } foreach $file (@ARGV) { my $call = "install_name_tool$change -id \...@__________________________________________________$loc/$inames{$file} $file"; system($call) == 0 or die "cannot $call"; } } foreach $file (@ARGV) { my $call = "otool -L $file"; open(IN, "-|", $call) or die "cannot $call"; my $change = ""; while (<IN>) { $change .= " -change $1 " . action($type, $loc, $2) . "$3" if m'^\s*(@_{50}([^/]+)(/.+)) \(compatibility version \d+\.\d+\.\d+, current version \d+\.\d+\.\d+\)\n$'; } close(IN); if ($change ne "") { $call = "install_name_tool$change $file"; system($call) == 0 or die "cannot $call"; } } *** end of script *** 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). This just started about 2 days ago. Thanks, Joe P.
_______________________________________________ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice