Hello Alexander!

Apparently the output of config.log is not particularly helpful:

Attachment: config.log
Description: Binary data



so I put a "set -x" into configure (see output below)

It seems to me as if the following code was just broken; the for loop doesn't tokenize the ':'-seperated $PATH.

from build_unix/configure:

ac_dummy="$PATH"
for ac_dir in $ac_dummy; do
  IFS=$ac_save_IFS
  test -z "$ac_dir" && ac_dir=.
  $as_executable_p "$ac_dir/$ac_word" || continue
ac_cv_prog_db_cv_path_ar="${ac_tool_prefix}ar"
echo "$as_me:1605: found $ac_dir/$ac_word" >&5
break
done

output:

checking if --with-embedix=DIR option specified... no
checking if --with-rpm=DIR option specified... no
checking if --with-tcl=DIR option specified... no
checking if --with-uniquename=NAME option specified... no
+ test -n ''
+ test -z ''
+ ac_ct_db_cv_path_ar=''
+ set dummy ar
+ ac_word=ar
+ echo 'configure:1625: checking for ar'
+ 1>& 5
+ echo -n 'checking for ar... '
+ 1>& 6
checking for ar... + test '' = set
+ test -n ''
+ ac_save_IFS=$' \t\n'
+ IFS=';'
+ ac_dummy=/opt/local/bin:/opt/local/sbin:/sw/bin:/sw/bin:/sw/sbin:/ usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/usr/X11R6/bin
+ IFS=$' \t\n'
+ test -z /opt/local/bin:/opt/local/sbin:/sw/bin:/sw/bin:/sw/sbin:/usr/ bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/usr/X11R6/bin + test -f /opt/local/bin:/opt/local/sbin:/sw/bin:/sw/bin:/sw/sbin:/usr/ bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/usr/X11R6/bin/ar
+ continue
+ test -z ''
+ ac_cv_prog_ac_ct_db_cv_path_ar=missing_ar
+ ac_ct_db_cv_path_ar=missing_ar
+ test -n missing_ar
+ echo 'configure:1649: result: missing_ar'
+ 1>& 5
+ echo missing_ar
+ 1>& 6
missing_ar
+ db_cv_path_ar=missing_ar
+ test missing_ar = missing_ar
+ echo 'configure:1662: error: No ar utility found.'
+ 1>& 5
+ echo 'configure: error: No ar utility found.'
+ 1>& 2
configure: error: No ar utility found.
+ exit 1
+ exit 1
+ exit_status=1
+ echo
+ 1>& 5
+ echo '## ----------------- ##'
+ 1>& 5
+ echo '## Cache variables.  ##'
+ 1>& 5
+ echo '## ----------------- ##'
+ 1>& 5
+ echo
+ 1>& 5
+ 1>& 5
+ 2>& 1
+ 2>& 1
+ sed -n 's/^\ ([_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]*_cv_ [_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]*\)=\ (.*\)/\1=\2/p'
+ sed '/^$/d' confdefs.h
+ 1> conftest.log
+ test -s conftest.log
+ 1>& 5
+ echo
+ echo
+ test 0 != 0
+ echo 'configure: exit 1'
+ 1>& 5
+ rm -rf conftest.log confdefs.h core 'core.*' '*.core' 'conf99377*'
+ exit 1


Am 10.10.2009 um 03:16 schrieb Alexander Hansen:

Adrian Prantl wrote:
Hi,

on 10.6, fink 32-Bit, I am getting this rather confusing error when
updating db3:

cheers,
Adrian

--------------------------------------------------------------
...
checking if --with-rpm=DIR option specified... no
checking if --with-tcl=DIR option specified... no
checking if --with-uniquename=NAME option specified... no
checking for ar... missing_ar
configure: error: No ar utility found.
### execution of (cd failed, exit code 1
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-db3-3.3.11-1031
(Lese Datenbank ... 178737 Dateien und Verzeichnisse sind derzeit
installiert.)
Entferne fink-buildlock-db3-3.3.11-1031 ...
Failed: phase compiling: db3-3.3.11-1031 failed

Before reporting any errors, please run "fink selfupdate" and
try again. If you continue to have issues, please check to see if the FAQ on fink's website solves the problem. If not, ask on the fink- users or fink-beginners mailing lists, with a carbon copy to the maintainer:

        None <fink-devel@lists.sourceforge.net>

Note that this is preferable to emailing the maintainer directly, since
most fink package maintainers do not have access to all possible
hardware and software configurations.


$ which ar
/usr/bin/ar
$



Check the config.log file and see what it's actually running to look for
ar .

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to