powerpc-none-linux-gnuspe/4.3.2' is not a directory

cancel
Showing results for 
Search instead for 
Did you mean: 

powerpc-none-linux-gnuspe/4.3.2' is not a directory

372 Views
Contributor II

Good morning, My host use ubuntu12.04, when i use ltib to build p2020rdb, it appeared err like this:

pastedImage_0.png

below is the consle log:

+ mkdir -p /home/chenxu/proj/hdbus/tools/ltib-p1020rdb_p2020rdb-20101029/tmp/gcc//opt/freescale/rootfs/ppc//usr/local/lib/{,gcc/powerpc-none-linux-gnuspe/4.3.2}

+ cp /opt/freescale/usr/local/gcc-4.3.74-eglibc-2.8.74-dp-2/powerpc-none-linux-gnuspe/powerpc-none-linux-gnuspe/libc/usr/lib/Mcrt1.o /opt/freescale/usr/local/gcc-4.3.74-eglibc-2.8.74-dp-2/powerpc-none-linux-gnuspe/powerpc-none-linux-gnuspe/libc/usr/lib/Scrt1.o /opt/freescale/usr/local/gcc-4.3.74-eglibc-2.8.74-dp-2/powerpc-none-linux-gnuspe/powerpc-none-linux-gnuspe/libc/usr/lib/crt1.o /opt/freescale/usr/local/gcc-4.3.74-eglibc-2.8.74-dp-2/powerpc-none-linux-gnuspe/powerpc-none-linux-gnuspe/libc/usr/lib/crti.o /opt/freescale/usr/local/gcc-4.3.74-eglibc-2.8.74-dp-2/powerpc-none-linux-gnuspe/powerpc-none-linux-gnuspe/libc/usr/lib/crtn.o /opt/freescale/usr/local/gcc-4.3.74-eglibc-2.8.74-dp-2/powerpc-none-linux-gnuspe/powerpc-none-linux-gnuspe/libc/usr/lib/gcrt1.o /home/chenxu/proj/hdbus/tools/ltib-p1020rdb_p2020rdb-20101029/tmp/gcc//opt/freescale/rootfs/ppc//usr/local/lib

+ cp /opt/freescale/usr/local/gcc-4.3.74-eglibc-2.8.74-dp-2/powerpc-none-linux-gnuspe/powerpc-none-linux-gnuspe/libc/usr/lib/Mcrt1.o /opt/freescale/usr/local/gcc-4.3.74-eglibc-2.8.74-dp-2/powerpc-none-linux-gnuspe/powerpc-none-linux-gnuspe/libc/usr/lib/Scrt1.o /opt/freescale/usr/local/gcc-4.3.74-eglibc-2.8.74-dp-2/powerpc-none-linux-gnuspe/powerpc-none-linux-gnuspe/libc/usr/lib/crt1.o /opt/freescale/usr/local/gcc-4.3.74-eglibc-2.8.74-dp-2/powerpc-none-linux-gnuspe/powerpc-none-linux-gnuspe/libc/usr/lib/crti.o /opt/freescale/usr/local/gcc-4.3.74-eglibc-2.8.74-dp-2/powerpc-none-linux-gnuspe/powerpc-none-linux-gnuspe/libc/usr/lib/crtn.o /opt/freescale/usr/local/gcc-4.3.74-eglibc-2.8.74-dp-2/powerpc-none-linux-gnuspe/powerpc-none-linux-gnuspe/libc/usr/lib/gcrt1.o /home/chenxu/proj/hdbus/tools/ltib-p1020rdb_p2020rdb-20101029/tmp/gcc//opt/freescale/rootfs/ppc//usr/local/lib/gcc/powerpc-none-linux-gnuspe/4.3.2

cp: target '/home/chenxu/proj/hdbus/tools/ltib-p1020rdb_p2020rdb-20101029/tmp/gcc//opt/freescale/rootfs/ppc//usr/local/lib/gcc/powerpc-none-linux-gnuspe/4.3.2' is not a directory

error: Bad exit status from /home/chenxu/proj/hdbus/tools/ltib-p1020rdb_p2020rdb-20101029/tmp/rpm-tmp.32027 (%install)

RPM build errors:

    Bad exit status from /home/chenxu/proj/hdbus/tools/ltib-p1020rdb_p2020rdb-20101029/tmp/rpm-tmp.32027 (%install)

Build time for gcc-4.3-74: 0 seconds

Failed building gcc-4.3-74

f_buildrpms() returned an error, exiting

traceback:

main:560

Started: Mon May 23 10:22:32 2016

Ended:   Mon May 23 10:46:14 2016

Elapsed: 1422 seconds

These packages failed to build:

gcc-4.3-74

Build Failed

Exiting on error or interrupt

How can i solve this problem?

Labels (1)
Tags (1)
0 Kudos
1 Reply

20 Views
NXP TechSupport
NXP TechSupport

Usually the following command sequence is used for LTIB installing:

  1. 1. sudo apt-get install autoconf automake libtool gettext x-dev xorg-dev patch g++ rpm zlib1g-dev m4 bison libncurses5-dev libglib2.0-dev gettext build-essential tcl intltool libxml2-dev liborbit2-dev libx11-dev ccache flex uuid-dev liblzo2-dev
  2. 2. Moint LTIB .iso file and run the following command in the LTIB

./install

  1. 3. issue the following command

./ltib

Note usually LTIB requires issue the following command:

sudo /usr/sbin/visudo


Have a great day,
Pavel Chubakov

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos