Re: [Fink-devel] db3-3.3.11-1031 on 10.6 compile error

2009-10-18 Thread Martin Costabel
Adrian Prantl wrote:
> Hi,
> 
> on 10.6, fink 32-Bit, I am getting this rather confusing error when  
> updating db3:

This is now fixed in version 3.3.11-1032.

-- 
Martin

--
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


Re: [Fink-devel] db3-3.3.11-1031 on 10.6 compile error

2009-10-10 Thread Martin Costabel
Adrian Prantl wrote:
[]
> + IFS=';'

This is the reason why it breaks. On 10.6, the configure script gets the 
weird idea that the path separator is ';' instead of ':'. It has a funny 
test for this, and this test behaves differently on 10.5 and on 10.6. It 
is the line

   PATH=".;."; conftest.sh

Here conftest.sh is a trivial script in the current directory. On 10.5, 
it gives the error message

../dist/configure[1123]: conftest.sh: not found [No such file or directory]

whereas on 10.6, it passes without error, inducing configure to believe 
that ';' is a valid path separator.

This is how far I got. I don't understand why this behaves differently 
on 10.5 and 10.6, but I don't even understand why this should be a valid 
test (which it is not, evidently). Weird.

-- 
Martin

--
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


Re: [Fink-devel] db3-3.3.11-1031 on 10.6 compile error

2009-10-10 Thread Adrian Prantl

Hello Alexander!

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



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 

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

Re: [Fink-devel] db3-3.3.11-1031 on 10.6 compile error

2009-10-09 Thread 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 
>
> 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


[Fink-devel] db3-3.3.11-1031 on 10.6 compile error

2009-10-09 Thread Adrian Prantl
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 

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
$


--
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