[ELDK] eldk installation mktemp cannot make tempdir eldk_install.xxxxx

汪政 wzhsingle at 163.com
Thu Sep 27 09:56:40 CEST 2012


ya, maybe my mktemp version is too  old:
 mktemp -V
mktemp version 1.5

but i have installed EDLK-5.2.1,just like this :  "tmp_dir=$(mktemp -d --tmpdir=${inst_path} eldk_install.XXXXX) "→  →
 change to be "tmp_dir=$(mktemp -d ${inst_path}/eldk_install.XXXXX) "

because i'm brand new to embeded linux developer, special with ELDK. How can i know it is installed successfully, and set environment variables for powerpc-e500v2 (ppc P2020 in freescale). and uh, how to use ELDK for developing U-Boot.

thank you very much
best regards.
在 2012-09-27 15:26:52,"Stefano Babic" <sbabic at denx.de> 写道:
>On 27/09/2012 05:39, 汪政 wrote:
>> Dear:
>>       during the installation of ELDK-5.2.1,  I get into troubles as
>> following , ofcourse, i guaranty that all files are coming from denx, and
>> their sha256sums are correct.
>> executing "./install.sh -s gmae -r "minimal-dev sato-sdk" powerpc-e500v2"
>> prompting messages: "mktemp invalid option", then i  check "install.sh",
>> find "mktemp" command used not properly just like "mktemp -d
>> --tmpdir=${inst_path} eldk_install.XXXXX--" , which according to "man
>> mktemp" shoul be "mktemp -d -p=$...."
>> 
>> but after i changed according to that, prompt the message " cannot  make
>> tempdir eldk_install.xxxxx"
>> 
>> 
>> how can i solve the problems?
>
>There was already a thread about this, check for example:
>	http://www.mail-archive.com/eldk@lists.denx.de/msg00572.html
>
>It seems the same case and that mktemp on your distro is too old.
>
>Best regards,
>Stefano Babic
>
>-- 
>=====================================================================
>DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
>HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
>Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
>=====================================================================



More information about the eldk mailing list