Gforth in config.full_system/other possible problems

Xiangfu Liu xiangfu at sharism.cc
Sat Oct 23 08:05:40 EDT 2010


Hi David

when I try "make package/gforth/install V=99"
I got those error:
	...gforth.postinst: 2: /usr/bin/gforth-update-image: not found[1]

can we put those "postinst" to the end of "Package/gforth/install"??

On 10/10/2010 06:54 PM, David Kuehling wrote:

...
> thanks for the late reply :) I already fixed all these problems: Gforth
> now is wrapped by a shell script that generates the image if non is
> present.  If installing from .ipk package, the image is generated on
> installation (like done before).  This makes sure that you always have
> an up-to-date image.
> 


[1]

rstrip.sh: /home/xiangfu/PanGu/openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.32/gforth-0.7.0-20100918/ipkg-xburst/gforth/usr/bin/gforth-fast.real:executable
SIZE=`cd /home/xiangfu/PanGu/openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.32/gforth-0.7.0-20100918/ipkg-xburst/gforth; du -bs --exclude=./CONTROL . 2>/dev/null | cut -f1`; /home/xiangfu/PanGu/openwrt-xburst/staging_dir/host/bin/sed -i -e "s|^\(Installed-Size:\).*|\1 $SIZE|g" /home/xiangfu/PanGu/openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.32/gforth-0.7.0-20100918/ipkg-xburst/gforth/CONTROL/control
ipkg-build -c -o 0 -g 0 /home/xiangfu/PanGu/openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.32/gforth-0.7.0-20100918/ipkg-xburst/gforth /home/xiangfu/PanGu/openwrt-xburst/bin/xburst/packages
Packaged contents of /home/xiangfu/PanGu/openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.32/gforth-0.7.0-20100918/ipkg-xburst/gforth into /home/xiangfu/PanGu/openwrt-xburst/bin/xburst/packages/gforth_0.7.0-20100918-1_xburst.ipk
IPKG_TMP=/home/xiangfu/PanGu/openwrt-xburst/tmp/ipkg IPKG_INSTROOT=/home/xiangfu/PanGu/openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.32/root-xburst IPKG_CONF_DIR=/home/xiangfu/PanGu/openwrt-xburst/staging_dir/target-mipsel_uClibc-0.9.32/etc IPKG_OFFLINE_ROOT=/home/xiangfu/PanGu/openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.32/root-xburst /home/xiangfu/PanGu/openwrt-xburst/scripts/ipkg -force-defaults -force-depends install /home/xiangfu/PanGu/openwrt-xburst/bin/xburst/packages/gforth_0.7.0-20100918-1_xburst.ipk
Unpacking gforth...Done.
Configuring gforth.../home/xiangfu/PanGu/openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.32/root-xburst//usr/lib/opkg/info/gforth.postinst: 2: /usr/bin/gforth-update-image: not found
make[2]: *** [/home/xiangfu/PanGu/openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.32/root-xburst/usr/lib/opkg/info/gforth.list] Error 127
make[2]: Leaving directory `/home/xiangfu/PanGu/openwrt-xburst/feeds/qipackages/gforth'
make[1]: *** [package/feeds/qipackages/gforth/install] Error 2
make[1]: Leaving directory `/home/xiangfu/PanGu/openwrt-xburst'
make: *** [package/gforth/install] Error 2

-- 
Best Regards
Xiangfu Liu
http://www.nanonote.cc




More information about the discussion mailing list


interactive