Comments (7)
please post the actual commands you're running and the output
from pcalc.
Hereafter the actual command:
studio@linux:~> ls pcalc-000.tar.gz
pcalc-000.tar.gz
studio@linux:~> tar xf pcalc-000.tar.gz
studio@linux:~> cd pcalc-000/
studio@linux:~/pcalc-000> ls
convert.c EXAMPLE help.h math.c pcalc.c pcalcl.l pcalc.map pcalc.t
ab.h print.c README skeleton.h str.c symbol.h testorig convert.h f
unct.c hocdecl.h pack pcalc.h pcalc.lsm pcalc.old pcalc.txt print.
h skelcom.h store.c str.h testdat win32 DISCAIMER help.c Makefil
e pcalc pcalcl.c pcalc.mak pcalc.tab.c pcalc.y ptest skeleton.c
store.h symbol.c testdata
studio@linux:~/pcalc-000> pcalc 0y01001001
bash: /usr/bin/pcalc: No such file or directory
studio@linux:~/pcalc-000> make install
install pcalc /usr/bin
install: cannot create regular file '/usr/bin/pcalc': Permission denied
Makefile:79: recipe for target 'install' failed
make: *** [install] Error 1
studio@linux:~/pcalc-000> sudo !!
sudo make install
install pcalc /usr/bin
studio@linux:~/pcalc-000> pcalc 0y01001001
bash: /usr/bin/pcalc: No such file or directory
studio@linux:~/pcalc-000> cd /usr/bin/
studio@linux:/usr/bin> ls pcalc
pcalc
studio@linux:/usr/bin>
I have extracted pcalc-000.tar.gz, then, from within /pcalc-000, I have launched
pcalc as there was an executable in this directory, but without success. Then I
have launched make install, the file was copied in the usr/bin directory, but b
ush told me:
bash: /usr/bin/pcalc: No such file or directory
I have read the README file but there weren't hints about installing pcalc.
Regards,
Marco C
from pcalc.
installing files into / requires root. so you need to sudo make install
or change to root first some other way before trying to install.
from pcalc.
I have tried this before, without success. Here the actual commands:
studio@linux:~> cd pcalc-000/
studio@linux:~/pcalc-000> sudo make install
root's password:
install pcalc /usr/bin
studio@linux:~/pcalc-000> pcalc 0y01001001
bash: /usr/bin/pcalc: No such file or directory
studio@linux:~/pcalc-000>
How can I do ?
Regards,
Marco C
from pcalc.
sorry, didn't see that you ran sudo already. you should start with the latest pcalc-v3 release instead of the old/original 000 release.
from pcalc.
Dear @vapier,
Could you be so kind to generate .exe
for the rest of us who are mere Windows users w/o compiler?
from pcalc.
sure, i've posted one for the latest v4 release. i gave it a quick test under Wine, but not actual Windows ;).
from pcalc.
Related Issues (9)
- linking on macOS fails: lexer lib is -ll instead of -lfl HOT 4
- numbers larger than 53-bits lose precision due to double normalization HOT 1
- Test regression from 4 -> 5 on sparc
- convert number handling to use GMP
- `./testsuite` does not support `--jobs` under OpenBSD HOT 2
- pcalc.001 & pcalc.002 tests fail depending on accuracy of host math lib HOT 1
- test 12 failes on macppc HOT 5
- Binary shift operators don't work HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pcalc.