Opened 15 years ago
Last modified 15 years ago
#1201 closed defect (fixed)
Configure fails to find mico-config in /usr/bin/mico-config even if it's really there
Reported by: | perob88 | Owned by: | perob88 |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | Version: | ||
Keywords: | Cc: | perob88, |
Description
When using "LDFLAGS=-L/opt/OpenModelicaStuff/lib ./configure --with-CORBA=/usr --prefix=/opt/OpenModelicaStuff/OpenModelica" or similar (tried --with-MICO=/usr and some other variants) mico isn't found. I had to hand-edit the configure script to overrule the test, it then compiles fine.
configure is reporting something similar to "checking for /usr/bin/mico-config ...no" but /usr/bin/mico-config is really there. All mico related files are in the path.
After looking into it i know that the followig code is running but fails to find anything.
test -z "$as_dir" && as_dir=.
for ac_exec_ext in $ac_executable_extensions; do
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
ac_cv_prog_USE_CORBA="-DUSE_CORBA -DUSE_MICO"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
done
Fixed on trunk.