Modify

Opened 8 years ago

Closed 8 years ago

Last modified 4 years ago

#6395 closed defect (fixed)

Midnight Commander won't compile on AR7 from trunk

Reported by: luka12345.linux@… Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: mc midnight commander Cc:

Description

Midnight Commander won't compile on AR7 from trunk with default build settings. Error:

configure: loading site script /home/*/Tools/OpenWRT/trunk/include/site/mipsel-openwrt-linux-uclibc
configure: error: cannot find install-sh or install.sh in config "."/config
make[3]:
* /home/***/Tools/OpenWRT/trunk/build_dir/target-mipsel_uClibc-0.9.30.1/mc-4.6.2/.configured_ Error 1
make[3]: Leaving directory `/home/*/Tools/OpenWRT/trunk/package/packages/utils/mc'
make[2]:
* [package/packages/utils/mc/compile] Error 2
make[2]: Leaving directory `/home/*/Tools/OpenWRT/trunk'
make[1]:
* /home/***/Tools/OpenWRT/trunk/staging_dir/target-mipsel_uClibc-0.9.30.1/stamp/.package_compile Error 2
make[1]: Leaving directory `/home/*/Tools/OpenWRT/trunk'
make:
* [world] Error 2

Attachments (0)

Change History (5)

comment:1 Changed 8 years ago by xiangfu@…

same here target xburst ben nanonote:

gzip -dc /home/xiangfu/workspace/PanGu/openwrt-xburst/dl/mc-4.6.2.tar.gz | /bin/tar -C /home/xiangfu/workspace/PanGu/openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/mc-4.6.2/.. -xf -

Applying ./patches/100-fix-missingsyntax.patch using plaintext:
patching file edit/syntax.c
touch /home/xiangfu/workspace/PanGu/openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/mc-4.6.2/.prepared_87961c3908f3db5c41ca3dd49ed218fa
(cd /home/xiangfu/workspace/PanGu/openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/mc-4.6.2/./; if [ -x ./configure ]; then /usr/bin/find /home/xiangfu/workspace/PanGu/openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/mc-4.6.2/ -name config.guess | xargs -r chmod u+w; /usr/bin/find /home/xiangfu/workspace/PanGu/openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/mc-4.6.2/ -name config.guess | xargs -r -n1 cp /home/xiangfu/workspace/PanGu/openwrt-xburst/scripts/config.guess; /usr/bin/find /home/xiangfu/workspace/PanGu/openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/mc-4.6.2/ -name config.sub | xargs -r chmod u+w; /usr/bin/find /home/xiangfu/workspace/PanGu/openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/mc-4.6.2/ -name config.sub | xargs -r -n1 cp /home/xiangfu/workspace/PanGu/openwrt-xburst/scripts/config.sub; AR=mipsel-openwrt-linux-uclibc-ar AS="mipsel-openwrt-linux-uclibc-gcc -c -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float" LD=mipsel-openwrt-linux-uclibc-ld NM=mipsel-openwrt-linux-uclibc-nm CC="mipsel-openwrt-linux-uclibc-gcc" GCC="mipsel-openwrt-linux-uclibc-gcc" CXX="mipsel-openwrt-linux-uclibc-g++" RANLIB=mipsel-openwrt-linux-uclibc-ranlib STRIP=mipsel-openwrt-linux-uclibc-strip OBJCOPY=mipsel-openwrt-linux-uclibc-objcopy OBJDUMP=mipsel-openwrt-linux-uclibc-objdump SIZE=mipsel-openwrt-linux-uclibc-size CFLAGS="-Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float " CXXFLAGS="-Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float " CPPFLAGS="-I/home/xiangfu/workspace/PanGu/openwrt-xburst/staging_dir/target-mipsel_uClibc-0.9.30.1/usr/include -I/home/xiangfu/workspace/PanGu/openwrt-xburst/staging_dir/target-mipsel_uClibc-0.9.30.1/include -I/home/xiangfu/workspace/PanGu/openwrt-xburst/staging_dir/toolchain-mipsel_gcc-4.3.3+cs_uClibc-0.9.30.1/usr/include -I/home/xiangfu/workspace/PanGu/openwrt-xburst/staging_dir/toolchain-mipsel_gcc-4.3.3+cs_uClibc-0.9.30.1/include " LDFLAGS="-L/home/xiangfu/workspace/PanGu/openwrt-xburst/staging_dir/target-mipsel_uClibc-0.9.30.1/usr/lib -L/home/xiangfu/workspace/PanGu/openwrt-xburst/staging_dir/target-mipsel_uClibc-0.9.30.1/lib -L/home/xiangfu/workspace/PanGu/openwrt-xburst/staging_dir/toolchain-mipsel_gcc-4.3.3+cs_uClibc-0.9.30.1/usr/lib -L/home/xiangfu/workspace/PanGu/openwrt-xburst/staging_dir/toolchain-mipsel_gcc-4.3.3+cs_uClibc-0.9.30.1/lib " ./configure --target=mipsel-openwrt-linux --host=mipsel-openwrt-linux --build=x86_64-linux-gnu --program-prefix="" --program-suffix="" --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/lib --sysconfdir=/etc --datadir=/usr/share --localstatedir=/var --mandir=/usr/man --infodir=/usr/info --disable-nls --disable-ipv6 --with-included-gettext --with-ncurses --without-sco --without-sunos-curses --without-osf1-curses --without-vcurses --without-gpm-mouse --without-hsc --without-termnet --without-debug --without-efence --without-terminfo --without-termcap --without-slang --without-vfs --without-netrc --without-ext2undel --without-catgets --without-x --without-tk --without-xview --without-subshell --disable-glibtest --with-glib12 --with-glib-prefix="/home/xiangfu/workspace/PanGu/openwrt-xburst/staging_dir/target-mipsel_uClibc-0.9.30.1/usr" ; fi; )
chmod: cannot operate on dangling symlink `/home/xiangfu/workspace/PanGu/openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/mc-4.6.2/config/config.guess'
cp: not writing through dangling symlink `/home/xiangfu/workspace/PanGu/openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/mc-4.6.2/config/config.guess'
chmod: cannot operate on dangling symlink `/home/xiangfu/workspace/PanGu/openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/mc-4.6.2/config/config.sub'
cp: not writing through dangling symlink `/home/xiangfu/workspace/PanGu/openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/mc-4.6.2/config/config.sub'
configure: loading site script /home/xiangfu/workspace/PanGu/openwrt-xburst/include/site/mipsel-openwrt-linux-uclibc
configure: error: cannot find install-sh or install.sh in config "."/config
make[3]: * /home/xiangfu/workspace/PanGu/openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/mc-4.6.2/.configured_ Error 1
make[3]: Leaving directory `/home/xiangfu/workspace/PanGu/openwrt-xburst/feeds/packages/utils/mc'
make[2]:
* [package/feeds/packages/mc/compile] Error 2
make[2]: Leaving directory `/home/xiangfu/workspace/PanGu/openwrt-xburst'
make[1]: * /home/xiangfu/workspace/PanGu/openwrt-xburst/staging_dir/target-mipsel_uClibc-0.9.30.1/stamp/.package_compile Error 2
make[1]: Leaving directory `/home/xiangfu/workspace/PanGu/openwrt-xburst'
make:
* [world] Error 2

comment:2 follow-up: Changed 8 years ago by xiangfu@…

Hi

this patch fix my problem.
--

diff --git a/src/fileimpl.cpp b/src/fileimpl.cpp
index 08edcb9..db8cb7f 100644
--- a/src/fileimpl.cpp
+++ b/src/fileimpl.cpp
@@ -35,6 +35,7 @@

#include <unistd.h>
#include <errno.h>
#include <string.h>

+#include <cstdio>

namespace cxxtools {


diff --git a/src/http/messageheader.cpp b/src/http/messageheader.cpp
index 9381be7..21ee7c3 100644
--- a/src/http/messageheader.cpp
+++ b/src/http/messageheader.cpp
@@ -30,6 +30,7 @@

#include <cxxtools/clock.h>
#include <cctype>
#include <sstream>

+#include <cstdio>

namespace cxxtools {


comment:3 in reply to: ↑ 2 Changed 8 years ago by xiangfu@…

sorry. wrong patch. just ignore this message. sorry.

Replying to xiangfu@…:

Hi

this patch fix my problem.
--

diff --git a/src/fileimpl.cpp b/src/fileimpl.cpp
index 08edcb9..db8cb7f 100644
--- a/src/fileimpl.cpp
+++ b/src/fileimpl.cpp
@@ -35,6 +35,7 @@

#include <unistd.h>
#include <errno.h>
#include <string.h>

+#include <cstdio>

namespace cxxtools {


diff --git a/src/http/messageheader.cpp b/src/http/messageheader.cpp
index 9381be7..21ee7c3 100644
--- a/src/http/messageheader.cpp
+++ b/src/http/messageheader.cpp
@@ -30,6 +30,7 @@

#include <cxxtools/clock.h>
#include <cctype>
#include <sstream>

+#include <cstdio>

namespace cxxtools {


comment:4 Changed 8 years ago by florian

  • Resolution set to fixed
  • Status changed from new to closed

Should be fixed with r19727.

comment:5 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.