[maemo-developers] autoconf upgrade problem
From: josh.soref at nokia.com josh.soref at nokia.comDate: Mon May 5 09:58:44 EEST 2008
- Previous message: Low Battery signal N800/N810
- Next message: Prelinking and GNU Hashstyle on maemo?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Kwan Hong Lee wrote: > For some reason, even if I have the new autoconf directory > added to the beginning of the directory, when I call > pulseaudio/autogen.sh it uses the older autoconf, currently > 2.59. I can't modify sb_autoconf_wrapper because it's read only. > > What can I do? Please don't reply to individuals. This is a list for a reason. timeless at koku:/scratchbox/tools/bin$ echo *2.50* autoconf2.50 autoheader2.50 autoreconf2.50 timeless at koku:/scratchbox/tools/bin$ ls -l autoconf2.50 lrwxrwxrwx 1 root root 38 2008-03-31 18:52 autoconf2.50 -> ../autotools/autoconf2.59/bin/autoconf timeless at koku:/scratchbox/tools/bin$ cd ../autotools/ timeless at koku:/scratchbox/tools/autotools$ ls autoconf2.13 autoconf2.59 automake-1.4 automake-1.7 automake-1.8 automake-1.9 timeless at koku:/scratchbox/tools/autotools$ mkdir ~/ac262 timeless at koku:/scratchbox/tools/autotools$ pushd ~/ac262/ ~/ac262 /scratchbox/tools/autotools timeless at koku:~/ac262$ wget http://ftp.gnu.org/gnu/autoconf/autoconf-2.62.tar.bz2 2> /dev/null > /dev/null timeless at koku:~/ac262$ tar jxf autoconf-2.62.tar.bz2 timeless at koku:~/ac262$ cd autoconf-2.62/ timeless at koku:~/ac262$ ./configure --prefix=/scratchbox/tools/autotools/autoconf2.62 timeless at koku:~/ac262/autoconf-2.62$ make -s root at koku:~# cd /home/timeless/ac262/autoconf-2.62 root at koku:/home/timeless/ac262/autoconf-2.62# make install 2> /dev/null > /dev/null root at koku:/home/timeless/ac262/autoconf-2.62# cd /scratchbox/tools/bin root at koku:/scratchbox/tools/bin# ls -l autoconf2.50 lrwxrwxrwx 1 root root 38 2008-03-31 18:52 autoconf2.50 -> ../autotools/autoconf2.59/bin/autoconf root at koku:/scratchbox/tools/bin# ln -s ../autotools/autoconf2.62/bin/autoconf autoconf2.60 root at koku:/scratchbox/tools/bin# ln -s ../autotools/autoconf2.62/bin/autoheader autoheader2.60 root at koku:/scratchbox/tools/bin# ln -s ../autotools/autoconf2.62/bin/autoreconf autoreconf2.60 root at koku:/scratchbox/tools/bin# patch < /dev/stdin --- sb_autoconf_wrapper 2008-05-05 09:40:45.000000000 +0300 +++ sb_autoconf_wrapper 2008-05-05 09:42:47.000000000 +0300 @@ -26,2 +26,4 @@ ac250 (); + } elsif ($force eq '2.60' || $force eq '2.62') { + ac260 (); } else { @@ -158,2 +160,9 @@ -# Default to 2.13. -ac213 (); +my $force = $ENV{'SBOX_DEFAULT_AUTOCONF'}; +if ($force eq '2.50' || $force eq '2.59') { + ac250 (); +} elsif ($force eq '2.60' || $force eq '2.62') { + ac260 (); +} else { + # Default to 2.13. + ac213 (); +} @@ -222 +223,5 @@ +sub ac260 { + run_autoconf ("/scratchbox/tools/bin/${mode}2.60"); +} + sub run_autoconf { ^D patching file sb_autoconf_wrapper Hunk #2 succeeded at 161 (offset 1 line). Hunk #3 succeeded at 224 with fuzz 1 (offset 1 line). sbox-arm at koku:~$ scratchbox [sbox-test-arm: ~] > SBOX_DEFAULT_AUTOCONF=2.60 [sbox-test-arm: ~] > export SBOX_DEFAULT_AUTOCONF [sbox-test-arm: ~] > autoconf autoconf2.60: no input file
- Previous message: Low Battery signal N800/N810
- Next message: Prelinking and GNU Hashstyle on maemo?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]