Re: Build error: "/bin/sh: line 12: `..': not a valid identifier"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Anybody?

On 7/8/07, Yang wrote:
> Hi, I'm using konstruct to build KDE, but I see the following error:
>
> ~/pkg/konstruct/apps/development/kdevelop $ linux32 make install
> [...some time later...]
> /bin/sh ../../libtool --tag=CC --mode=link cc
> -I/opt/kde-3.5.7/include -I/usr/X11R6/include -L/opt/kde-3.5.7/lib
> -L/usr/X11R6/lib -O2 -pipe -I/opt/kde-3.5.7/include
> -I/usr/X11R6/include -L/opt/kde-3.5.7/lib -L/usr/X11R6/lib -O2 -pipe
> -Wno-unknown-pragmas -Wstrict-prototypes -Wpointer-arith -Wall
> -ffast-math  -L/opt/kde-3.5.7/lib -L/usr/X11R6/lib
> -L/opt/kde-3.5.7/lib -L/usr/X11R6/lib -L/opt/kde-3.5.7/lib -o
> libagutil_C.la   dynattr.lo nodeq.lo
> ar cru .libs/libagutil_C.a .libs/dynattr.o .libs/nodeq.o
> ranlib .libs/libagutil_C.a
> creating libagutil_C.la
> (cd .libs && rm -f libagutil_C.la && ln -s ../libagutil_C.la libagutil_C.la)
> make[5]: Leaving directory
> `/export/home/yangzhang/local/store/software/todo/konstruct/misc/graphviz/work/graphviz-2.12/lib/agutil'
> Making all in sfio
> make[5]: Entering directory
> `/export/home/yangzhang/local/store/software/todo/konstruct/misc/graphviz/work/graphviz-2.12/lib/sfio'
> Making all in Sfio_dc
> make[6]: Entering directory
> `/export/home/yangzhang/local/store/software/todo/konstruct/misc/graphviz/work/graphviz-2.12/lib/sfio/Sfio_dc'
> mkdir -p ../../../FEATURE
> ../../../iffe - set cc cc   : run  ../../../lib/sfio/features/sfio >
> ../../../FEATURE/sfio
> /bin/sh: line 12: `..': not a valid identifier
> make[6]: *** [../../../FEATURE/sfio] Error 2
> make[6]: Leaving directory
> `/export/home/yangzhang/local/store/software/todo/konstruct/misc/graphviz/work/graphviz-2.12/lib/sfio/Sfio_dc'
> make[5]: *** [all-recursive] Error 1
> make[5]: Leaving directory
> `/export/home/yangzhang/local/store/software/todo/konstruct/misc/graphviz/work/graphviz-2.12/lib/sfio'
> make[4]: *** [all-recursive] Error 1
> make[4]: Leaving directory
> `/export/home/yangzhang/local/store/software/todo/konstruct/misc/graphviz/work/graphviz-2.12/lib'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory
> `/export/home/yangzhang/local/store/software/todo/konstruct/misc/graphviz/work/graphviz-2.12'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory
> `/export/home/yangzhang/local/store/software/todo/konstruct/misc/graphviz/work/graphviz-2.12'
> make[1]: *** [build-work/graphviz-2.12/Makefile] Error 2
> make[1]: Leaving directory
> `/export/home/yangzhang/local/store/software/todo/konstruct/misc/graphviz'
> make: *** [dep-../../../misc/graphviz] Error 2
>
> This may be related to the functions I export, but I'm not sure, and
> bash --posix was the only way I was able to repro this (I grepped the
> dir tree for "--posix" but found no signs of that):
>
> $ type ..
> .. is a function
> .. ()
> {
>     if [[ $# == 0 ]]; then
>         local count=1;
>     else
>         if [[ $# == 1 ]]; then
>             local count=$1;
>         fi;
>     fi && local cmd=;
>     for i in $(seq 1 $count);
>     do
>         cmd=${cmd}../;
>     done && cd $cmd;
>     echo "$(pwd):" && l
> }
> $ sh --posix
> sh: `..': not a valid identifier
> sh: error importing function definition for `..'
> sh: `-': not a valid identifier
> sh: error importing function definition for `-'
> sh-3.1$
>
> Thanks in advance for any help.
>
___________________________________________________
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.

[Index of Archives]     [Trinity (TDE) Desktop Users]     [Fedora KDE]     [Fedora Desktop]     [Linux Kernel]     [Gimp]     [GIMP for Windows]     [Gnome]     [Yosemite Hiking]
  Powered by Linux