2008-12-17 07:38:48     unset: not found while running a shell script

Document created by Aaronwu Employee on Aug 15, 2013
Version 1Show Document
  • View in full screen mode

2008-12-17 07:38:48     unset: not found while running a shell script

Leslie Li (CHINA)

Message: 66807   

 

Hi,

 

I'm trying to get gnash work on bfin 561, and I have passed all compilation, but when I run fb-gnash script on board, the msh give these messages:

 

./fb-gnash

 

unset: not found

 

input line too long

 

I check fb-gnash script, there has some unset command in it, and there has a line like this, which cause "input line too long" message:

 

relink_command="(cd /home/leslie/gnash/gnash-0.8.4/gui; { test -z \"\${LIBRARY_PATH+set}\" || unset LIBRARY_PATH || { LIBRARY_PATH=; export LIBRARY_PATH; }; }; { test -z \"\${COMPILER_PATH+set}\" || unset COMPILER_PATH || { COMPILER_PATH=; export COMPILER_PATH; }; }; { test -z \"\${GCC_EXEC_PREFIX+set}\" || unset GCC_EXEC_PREFIX || { GCC_EXEC_PREFIX=; export GCC_EXEC_PREFIX; }; }; { test -z \"\${LD_RUN_PATH+set}\" || unset LD_RUN_PATH || { LD_RUN_PATH=; export LD_RUN_PATH; }; }; { test -z \"\${LD_LIBRARY_PATH+set}\" || echo LD_LIBRARY_PATH || { LD_LIBRARY_PATH=; export LD_LIBRARY_PATH; }; }; PATH=\"/opt/kde3/bin:/opt/uClinux/bfin-elf/bin:/opt/uClinux/bfin-linux-uclibc/bin:/opt/uClinux/bfin-uclinux/bin:/home/leslie/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games:/usr/lib/mit/bin:/usr/lib/mit/sbin:/usr/lib/qt3/bin\"; export PATH; bfin-linux-uclibc-g++ -g -O2 -pthread -pthread -W -Wall -Wcast-align -Wcast-qual -Wpointer-arith......

 

 

 

So, how can I solve this problem? I tried switch msh to ash, but ash is not support in uclinux.

 

regards,

 

Leslie

TranslateQuoteReplyEditDelete

 

 

2008-12-17 07:41:32     Re: unset: not found while running a shell script

Mike Frysinger (UNITED STATES)

Message: 66808   

 

however you attempted to install the app, you did it incorrectly.  that is a libtool wrapper script, not the actual binary.

 

i suggest you use the standard `make install` process to install into the romfs dir rather than copying random files to the board.

QuoteReplyEditDelete

 

 

2008-12-17 09:15:13     Re: unset: not found while running a shell script

Leslie Li (CHINA)

Message: 66811   

 

It works!

 

I have gnash 0.8.4 worked on bfin 561~~~ now I'm watching a swf mtv on bfin 561 board!

 

thanks & best regards,

 

Leslie

 

 

TranslateQuoteReplyEditDelete

 

 

2008-12-17 11:12:11     Re: unset: not found while running a shell script

Robin Getz (UNITED STATES)

Message: 66814   

 

Leslie:

 

That is great.

 

Is it worth integrating into the distribution? (it is only a few Meg, so I don't think it would be a big deal).

 

-Robin

QuoteReplyEditDelete

 

 

2008-12-17 21:41:11     Re: unset: not found while running a shell script

Leslie Li (CHINA)

Message: 66823   

 

Robin,

 

It's not easy to do a patch, as I have altered uclibc for some functions, and boost source, and libxml2 and gnash,

 

and the compilation process need to have a detailed description in a doc.

 

Maybe I can prepare a doc about all modifications and compilation procession.

 

currently I'm compiling some useful features into bfin-gnash, such as flv support and libcurl support.

 

regards,

 

Leslie

TranslateQuoteReplyEditDelete

 

 

2008-12-18 10:15:26     Re: unset: not found while running a shell script

Robin Getz (UNITED STATES)

Message: 66865   

 

Leslie:

 

I would be interested in seeing your patch (to everything) when you are ready to have it reviewed - We can start by adding the necessary libs (boost) and their tests- since (libxml2) are already in the uClinux-dist.

 

-Robin

QuoteReplyEditDelete

 

 

2009-05-13 03:09:08     Re: unset: not found while running a shell script

kai yang (CHINA)

Message: 74012   

 

你好,我将 gnash 0.8.5  移植到 bf 548 上,可是移植出来的sdl-gnash只能播放静态的,播放动态时不报错,也不现实,

 

希望能给些意见!非常感谢。

 

下面是我编译的gnash 0.8.5 依赖的库:

 

libgnashamf-0.8.5.so

libgnashmedia-0.8.5.so

libgnashsound-0.8.5.so

libgnashcore-0.8.5.so

libgnashbase-0.8.5.so

libSDL-1.2.so.0

libiconv.so.2

libstdc++.so.6

libgcc_s.so.1

libagg.so.2

libpthread.so.0

libm.so.0

libc.so.0

libjpeg.so.62

libungif.so.4

libboost_thread-gcc41-mt-1_38.so.1.38.0

libboost_date_time-gcc41-mt-1_38.so.1.38.0

libz.so.1

libdl.so.0

libavcodec.so.51

libavformat.so.52

libavutil.so.49

libSDL-1.2.so.0

libcurl.so.4

Attachments

    Outcomes