ianmiell / bash2py Goto Github PK
View Code? Open in Web Editor NEWbash2py in a docker image, cf: http://www.swag.uwaterloo.ca/bash2py/index.html
bash2py in a docker image, cf: http://www.swag.uwaterloo.ca/bash2py/index.html
Will not run on ubuntu just failed with this lovely error.
No error log to be found....
~/Documents/Python/bash2py-3.6$ ./install
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
Beginning configuration for bash-4.3-release for x86_64-unknown-linux-gnu
checking for gcc... gcc
checking whether the C compiler works... no
configure: error: in `/home/user/Documents/Python/bash2py-3.6/bash-4.3.30':
configure: error: C compiler cannot create executables
See `config.log' for more details
rm -f mksyntax
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-unknown-linux-gnu"' -DCONF_VENDOR='"unknown"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -g -O2 -rdynamic -g -O2 -rdynamic -g -O2 -o mksyntax ./mksyntax.c
In file included from ./config.h:1157,
from ./mksyntax.c:23:
./config-bot.h:140:12: fatal error: wchar.h: No such file or directory
140 | # include <wchar.h>
| ^~~~~~~~~
compilation terminated.
make: *** [Makefile:686: mksyntax] Error 1
-rwxrwxrwx 1 root root 2589440 Jan 9 2017 bash2pyengine
Hi
I tried your program and it gives me this error:
segfault at e ip 000000000042fd72 sp 00007fffc06b7a90 error 4 in bash2pyengine[400000+110000]
I'm running Linux Mint and Arch Linux, both give me this error.
hallo, i'm using your application but i got some error
first i download your app on this webstie
so when i install it ./install i got this error
Makefile:597: recipe for target 'bash2pyengine' failed
make: *** [bash2pyengine] Error 1
-rwxr-xr-x 1 fedrik fedrik 4794632 Jan 2 21:21 bash2pyengine
and then i was try'ing to using it, i thought it was Nothing and then i just ignore it, so i run this
./bash2py -f /home/Document/Kiara/kiara/socket.sh
and then i get this error ( idk is this error or not )
Segmentation fault (core dumped)
and when i check the name was socket.sh change into socket.sh.py
and when i open it, it's blank
so, now i'm trying to read your Manual Document or anything that related on this error
btw sorry for bothering you, have a nice day
I got this error when I was installing through bash2py manual
and later if I ignore and run the ./bash2py -f and the {path}
I got this error
Could you please check it out
I'm not using any Docker Build
Hello,
I'm been using your docker bash2py trying to get it to work but , I'm getting this issues
./bash2py -f hello.ksh.
"Segmentation fault"
It creates the hello.sh.py file but is 0 bytes. anyway trick to fixing this ?
When running ./install all the check go well, but it fails while creating a file. The stdout (unfortunately in Czech, but you will get it :-) ) is:
cp bash2pyengine ~/bin/bash2pyengine cp: nelze vytvořit obyčejný soubor '/home/user/bin/bash2pyengine': Adresář nebo soubor neexistuje make: *** [Makefile:598: bash2pyengine] Chyba 1 -rwxr-xr-x 1 zef zef 3674320 29. lis 21.00 bash2pyengine
I thought I would resolve it with installing as superuse, but I get pretty much the same:
mv bash bash2pyengine cp bash2pyengine ~/bin/bash2pyengine cp: nelze vytvořit obyčejný soubor '/root/bin/bash2pyengine': Adresář nebo soubor neexistuje make: *** [Makefile:598: bash2pyengine] Chyba 1 -rwxr-xr-x 1 root root 3674320 29. lis 21.03 bash2pyengine
To me it looks like make tries to create the bash2pyengine dir in a bad location (instead of /root/bin it should use /bin and instead of /home/user/bin it should use just /bin as well).
/usr/bin/ld: final link failed: Nonrepresentable section on output
collect2: error: ld returned 1 exit status
Makefile:556: recipe for target 'bash' failed
make: *** [bash] Error 1
Hi Ian,
This looks helpful, but I haven't quite sussed it out yet. How can I run this from the command line?
I've tried:
$ docker run --name bash2py -it --rm imiell/bash2py bash -f deploy.sh
bash: deploy.sh: No such file or directory
I am trying to install a docker image of bash2py using following command:
docker run https://hub.docker.com/r/imiell/bash2py/
Please correct me if doing it wrong.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.