[Slackbuilds-users] [13.37] w3m SB fails on x86_64 (dependency missing?)

xgizzmo at slackbuilds.org xgizzmo at slackbuilds.org
Sun May 8 18:35:33 UTC 2011


On Sunday 08 May 2011 14:23:33 Dario Niedermann wrote:
> The slackbuild for w3m 0.5.2 fails on 13.37 x86_64 with the following
> error:
> 
> -----
> make[2]: Entering directory `/tmp/SBo/w3m-0.5.2/po'
> rm -f ja.gmo && : -c --statistics -o ja.gmo ja.po
> mv: cannot stat `t-ja.gmo': No such file or directory
> make[2]: *** [ja.gmo] Error 1
> make[2]: Leaving directory `/tmp/SBo/w3m-0.5.2/po'
> make[1]: *** [stamp-po] Error 2
> make[1]: Leaving directory `/tmp/SBo/w3m-0.5.2/po'
> make: *** [po] Error 2
> Exit 2
> -----
> 
> This might be the result of some missing dependency (gettext-tools ?)
> that is not declared on the slackbuild's page or README file.
> 
> Anyway, I modified the script in order to build w3m 0.5.3. The
> changes are:
> 
> - patch 'w3m-0.5.2-nulcn.patch' was removed, since it has already
>   been applied to the upstream 0.5.3 source, as detected by the `patch`
>   program;
> 
> - NLS was disabled because it was causing the above build error, and I
>   personally don't need it;
> 
> - enabled the 'w3m' keymap rather than the 'lynx'-style keymap (this is
>   a simple `configure` option).
> 
> If you want the new slackbuild, download it at:
> 
> 	http://devio.us/~ndr/downloads/w3m-0.5.3.tgz 
> 
> 
> Diff between the two slackbuilds (SBo's 0.5.2 and my own 0.5.3) follows:
> 
> =====BEGIN DIFF=====
> Common subdirectories: w3m-0.5.2/patches and w3m-0.5.3/patches
> diff -u w3m-0.5.2/w3m.SlackBuild w3m-0.5.3/w3m.SlackBuild
> --- w3m-0.5.2/w3m.SlackBuild	2011-04-15 10:47:28.000000000 +0200
> +++ w3m-0.5.3/w3m.SlackBuild	2011-05-08 19:32:54.000000000 +0200
> @@ -2,10 +2,11 @@
>  
>  # Slackware build script for w3m
>  # Written by slakmagik <jsun at freeshell.org>
> +# Modified for w3m version 0.5.3 by Dario Niedermann <dnied at tiscali.it>
>  # Released under the WTFPL
>  
>  PRGNAM=w3m
> -VERSION=0.5.2
> +VERSION=0.5.3
>  BUILD=${BUILD:-1}
>  TAG=${TAG:-_SBo}
>  
> @@ -59,7 +60,6 @@
>  patch -p1 < $CWD/patches/w3m-0.4.1-helpcharset.patch
>  patch -p1 < $CWD/patches/w3m-0.5.1-gcc4.patch
>  patch -p1 < $CWD/patches/w3m-0.5.2-multilib.patch
> -patch -p1 < $CWD/patches/w3m-0.5.2-nulcn.patch
>  patch -p1 < $CWD/patches/w3m-0.5.2-ssl_verify_server_on.patch
>  
>  CFLAGS="$SLKCFLAGS" \
> @@ -67,8 +67,9 @@
>  ./configure \
>    --prefix=/usr \
>    --mandir=/usr/man \
> -  --enable-keymap=lynx \
> +  --enable-keymap=w3m \
>    --enable-gopher \
> +  --disable-nls \
>    --build=$ARCH-slackware-linux \
>    --host=$ARCH-slackware-linux
>  
> diff -u w3m-0.5.2/w3m.info w3m-0.5.3/w3m.info
> --- w3m-0.5.2/w3m.info	2011-04-15 10:47:28.000000000 +0200
> +++ w3m-0.5.3/w3m.info	2011-05-08 19:21:40.000000000 +0200
> @@ -1,8 +1,8 @@
>  PRGNAM="w3m"
> -VERSION="0.5.2"
> +VERSION="0.5.3"
>  HOMEPAGE="http://w3m.sourceforge.net/"
> -DOWNLOAD="http://downloads.sourceforge.net/w3m/w3m-0.5.2.tar.gz"
> -MD5SUM="ba06992d3207666ed1bf2dcf7c72bf58"
> +DOWNLOAD="http://downloads.sourceforge.net/w3m/w3m-0.5.3.tar.gz"
> +MD5SUM="1b845a983a50b8dec0169ac48479eacc"
>  DOWNLOAD_x86_64=""
>  MD5SUM_x86_64=""
>  MAINTAINER="Felix Pfeifer"
> =====END DIFF=====
> 
> _______________________________________________
> SlackBuilds-users mailing list
> SlackBuilds-users at slackbuilds.org
> http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
> Archives - http://lists.slackbuilds.org/pipermail/slackbuilds-users/
> FAQ - http://slackbuilds.org/faq/
> 
> 

It maybe a parallel make error, if you are running make with more than 1 job 
try it with make -j1. 


More information about the SlackBuilds-users mailing list