Giter Site home page Giter Site logo

pcalc install about pcalc HOT 7 CLOSED

vapier avatar vapier commented on May 31, 2024
pcalc install

from pcalc.

Comments (7)

vapier avatar vapier commented on May 31, 2024

please post the actual commands you're running and the output

from pcalc.

Marcoc-008 avatar Marcoc-008 commented on May 31, 2024

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.

vapier avatar vapier commented on May 31, 2024

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.

Marcoc-008 avatar Marcoc-008 commented on May 31, 2024

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.

vapier avatar vapier commented on May 31, 2024

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.

sergeevabc avatar sergeevabc commented on May 31, 2024

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.

vapier avatar vapier commented on May 31, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.