[Gambas-devel] Unusual Output from make-component

Benoît Minisini gambas at ...1...
Tue Jan 24 03:44:10 CET 2012


Le 24/01/2012 03:14, Randall Morgan a écrit :
> First, Sorry for sending this to the devel-request list first. That was in
> error.
>
> Hi,
>>
>> I just ran make-component from the TEMPLATE folder and got the following
>> output:
>>
>> $:~/Documents/MyProjects/gambas3-dev/trunk/TEMPLATE$ ./make-component
>> gd.test
>> test: 16: x/usr/bin/cpp: unexpected operator
>> Creating component directory gd.test...
>> ./make-component: 20: pushd: not found
>> ./make-component: 26: popd: not found
>> Applying template...
>> cc1: error: ./conf/gd.test.conf: No such file or directory
>> cat: ../gd.test/AUTHORS.out: No such file or directory
>> cc1: error: ./conf/gd.test.conf: No such file or directory
>> cat: ../gd.test/ChangeLog.out: No such file or directory
>> cc1: error: ./conf/gd.test.conf: No such file or directory
>> cat: ../gd.test/Makefile.am.out: No such file or directory
>> cc1: error: ./conf/gd.test.conf: No such file or directory
>> cat: ../gd.test/NEWS.out: No such file or directory
>> cc1: error: ./conf/gd.test.conf: No such file or directory
>> cat: ../gd.test/README.out: No such file or directory
>> cc1: error: ./conf/gd.test.conf: No such file or directory
>> cat: ../gd.test/SOURCES.out: No such file or directory
>> cc1: error: ./conf/gd.test.conf: No such file or directory
>> cat: ../gd.test/configure.ac.out: No such file or directory
>> cc1: error: ./conf/gd.test.conf: No such file or directory
>> cat: ../gd.test/make-component.out: No such file or directory
>> cc1: error: ./conf/gd.test.conf: No such file or directory
>> cat: ../gd.test/src/Makefile.am.out: No such file or directory
>> Creating source files...
>> ./make-component: 55: pushd: not found
>> ./make-component: 57: source: not found
>> ./make-component: 59: popd: not found
>>
>> Could there be something wrong in the TEMPLATE.cpp file?
>>
>> Thanks for your help!
>>

There is something wrong in your shell I think.

Replace /bin/sh by /bin/bash in the first line of the make-component script.

And replace "gd" by "gb" in your component name.

Regards,

-- 
Benoît Minisini




More information about the Devel mailing list