Page 1 of 3 123 LastLast
Results 1 to 10 of 23

Thread: trying to install extcalc

  1. #1
    George Olson NNTP User

    Default trying to install extcalc

    I have been looking for a good versatile scientific calculator
    application, and ran across extcalc on sourceforge. (I tried pgcalc, but
    it seems to have some bugs and gives the wrong answers for trig
    functions - haven't had time to file a bug report)

    The readme file on extcalc says that I need to have the following
    installed before compiling and making the binary file:

    Code:
    GCC 4
    QT4.3 or higher
    OpenGL
    cmake
    I have gcc, and I installed cmake. I am running KDE, so I have various
    qt packages installed, but I could not find in the repositories a
    package that was just "qt4.3" or higher.
    Do any of the following meet the requirements?

    Code:
    george@tribaltrekker:~> rpm -qa | grep qt4
    libqt4-4.8.4-3.6.1.x86_64
    libpoppler-qt4-4-0.22.1-1.1.1.x86_64
    libqt4-qt3support-32bit-4.8.4-3.6.1.x86_64
    libqt4-sql-4.8.4-3.6.1.x86_64
    libqt4-sql-sqlite-4.8.4-3.6.1.x86_64
    python-qt4-utils-4.10-104.4.x86_64
    python-qt4-4.9.6-3.2.2.x86_64
    libqt4-sql-sqlite-32bit-4.8.4-3.6.1.x86_64
    libyui-qt4-2.42.5-1.1.1.x86_64
    libntrack-qt4-1-016-4.1.1.x86_64
    pinentry-qt4-0.8.1-18.1.1.x86_64
    libqt4-x11-4.8.4-3.6.1.x86_64
    libqt4-sql-32bit-4.8.4-3.6.1.x86_64
    libqt4-x11-32bit-4.8.4-3.6.1.x86_64
    libqt4-sql-mysql-4.8.4-3.6.1.x86_64
    libqt4-sql-mysql-32bit-4.8.4-3.6.1.x86_64
    python-qt4-devel-4.9.6-100.24.x86_64
    libqt4-devel-4.8.4-313.1.x86_64
    qt4-qtscript-0.2.0-6.1.1.x86_64
    libqt4-32bit-4.8.4-3.6.1.x86_64
    libqt4-qt3support-4.8.4-3.6.1.x86_64
    Also, as for openGL, these are the only things in the repositories I
    found, none of which are installed. Would anyone know which of these I
    would need?

    Code:
    george@tribaltrekker:~> zypper se opengl
    Repository 'Downloads' is out-of-date. You can run 'zypper refresh' as
    root to update it.
    Loading repository data...
    Reading installed packages...
    
    S | Name               | Summary
    | Type
    --+--------------------+----------------------------------------------------------------+--------
    | ghc-OpenGL         | Haskell OpenGL library
    | package
    | ghc-OpenGL-devel   | Haskell OpenGL library development files
    | package
    | go-Go-OpenGL       | Go bindings for OpenGL
    | package
    | go-Go-OpenGL-doc   | API documenation
    | package
    | opengl-games-utils | Utilities to check proper 3d support before
    launching 3d games | package
    | python-opengl      | OpenGL bindings for Python
    | package
    --
    G.O.
    Box #1: 12.3 | KDE 4.10 | AMD Phenom IIX4 | 64 | 16GB
    Box #2: 12.2 | KDE 4.9.2 | AMD Athlon X3 | 64 | 4GB
    Laptop: 12.3 | KDE 4.10 | Core i7-2620M | 64 | 8GB
    learning openSUSE and loving it

  2. #2

    Default Re: trying to install extcalc

    On 2013-07-08, George Olson <golson765@no-mx.forums.novell.com> wrote:
    > I have been looking for a good versatile scientific calculator
    > application, and ran across extcalc on sourceforge. (I tried pgcalc, but
    > it seems to have some bugs and gives the wrong answers for trig
    > functions - haven't had time to file a bug report)


    Extcalc 0.9.2 is listed under the KDE 3 repo so I would install like this:

    Code:
    sh-4.2$ su -
    sh-4.2$ zypper ar -f http://download.opensuse.org/repositories/KDE:/KDE3/openSUSE_12.3/ "KDE3"
    sh-4.2$ zypper in kde3-extcalc
    sh-4.2$ exit
    I haven't tried this myself, but have to admit I wonder why you need a scientific calculator given that numeric
    programming is just so much more powerful nowadays.


  3. #3
    Join Date
    Jun 2008
    Location
    West Yorkshire, UK
    Posts
    3,441

    Default Re: trying to install extcalc

    extcalc is a graphics calculator and so excellent for trying out the formulae need for Javascript animations. That may not be what George Olson wants it for but it's a very good reason for having it rather than a plain scientific calculator.

  4. #4
    George Olson NNTP User

    Default Re: trying to install extcalc

    On 07/09/2013 04:36 AM, john hudson wrote:
    >
    > extcalc is a graphics calculator and so excellent for trying out the
    > formulae need for Javascript animations. That may not be what George
    > Olson wants it for but it's a very good reason for having it rather than
    > a plain scientific calculator.
    >
    >


    yes, thanks... I need it for testing some devices and comparing with a
    hand-held calculator that will be used in field work where I cannot
    bring a pc

    --
    G.O.
    Box #1: 12.3 | KDE 4.10 | AMD Phenom IIX4 | 64 | 16GB
    Box #2: 12.2 | KDE 4.9.2 | AMD Athlon X3 | 64 | 4GB
    Laptop: 12.3 | KDE 4.10 | Core i7-2620M | 64 | 8GB
    learning openSUSE and loving it

  5. #5
    George Olson NNTP User

    Default Re: trying to install extcalc

    On 07/08/2013 09:40 PM, flymail wrote:
    > On 2013-07-08, George Olson <golson765@no-mx.forums.novell.com> wrote:
    >> I have been looking for a good versatile scientific calculator
    >> application, and ran across extcalc on sourceforge. (I tried pgcalc, but
    >> it seems to have some bugs and gives the wrong answers for trig
    >> functions - haven't had time to file a bug report)

    >
    > Extcalc 0.9.2 is listed under the KDE 3 repo so I would install like this:
    >
    >
    Code:
    > sh-4.2$ su -
    > sh-4.2$ zypper ar -f http://download.opensuse.org/repositories/KDE:/KDE3/openSUSE_12.3/ "KDE3"
    > sh-4.2$ zypper in kde3-extcalc
    > sh-4.2$ exit
    >
    >
    > I haven't tried this myself, but have to admit I wonder why you need a scientific calculator given that numeric
    > programming is just so much more powerful nowadays.
    >

    Interesting, I was able to install it, but just like pgcalc, it had root
    permissions. I ran it as root (haven't tested the functions yet), and
    here is the output:

    Code:
    tribaltrekker:/opt/kde3/bin # ls -l extcalc
    -rwxr-xr-x 1 root root 1283640 Feb 24 15:02 extcalc
    tribaltrekker:/opt/kde3/bin # ./extcalc
    libpng warning: Duplicate iCCP chunk
    libpng warning: Duplicate iCCP chunk
    libpng warning: Duplicate iCCP chunk
    libpng warning: Duplicate iCCP chunk
    had the same output after changing permissions and running it as a
    regular user.

    Curious as to why zypper allowed an install (in 2 instances - 1 with
    pgcalc and 1 with extcalc) to be installed here and only have root
    permissions.

    --
    G.O.
    Box #1: 12.3 | KDE 4.10 | AMD Phenom IIX4 | 64 | 16GB
    Box #2: 12.2 | KDE 4.9.2 | AMD Athlon X3 | 64 | 4GB
    Laptop: 12.3 | KDE 4.10 | Core i7-2620M | 64 | 8GB
    learning openSUSE and loving it

  6. #6
    Join Date
    Jun 2008
    Location
    Earth - Denmark
    Posts
    10,730

    Default Re: trying to install extcalc

    On 07/09/2013 03:11 AM, George Olson wrote:
    > but just like pgcalc, it had root permissions.


    your system is broken, somehow..(i say because this experience, like
    the one with pgcalc is completely wrong--programs you install should
    *note* need to be run as root)

    are you (pick one) routinely/often/occasionally/never logging into
    KDE (or other desktop environment) as the administrator named root?

    and, in another thread you mentioned you solved the pgcalc having to
    be run as root problem by "found the executable and changed the
    ownership"--so, tell how you changed the ownership? (at the command
    line, or with a GUI tool like Dolphin) and did you do that while
    logged into the desktop environment as administrator/root?

    hmmm...maybe the problem is the _way_ you are installing...you said
    earlier you are installing with zypper...so, what command line (for
    example) did you use when installing extcalc?

    --
    dd
    http://tinyurl.com/DD-Caveat


  7. #7
    George Olson NNTP User

    Default Re: trying to install extcalc

    On 07/09/2013 12:58 PM, dd wrote:
    > On 07/09/2013 03:11 AM, George Olson wrote:
    >> but just like pgcalc, it had root permissions.

    >
    > your system is broken, somehow..(i say because this experience, like the
    > one with pgcalc is completely wrong--programs you install should *note*
    > need to be run as root)
    >
    > are you (pick one) routinely/often/occasionally/never logging into KDE
    > (or other desktop environment) as the administrator named root?
    >
    > and, in another thread you mentioned you solved the pgcalc having to be
    > run as root problem by "found the executable and changed the
    > ownership"--so, tell how you changed the ownership? (at the command
    > line, or with a GUI tool like Dolphin) and did you do that while logged
    > into the desktop environment as administrator/root?
    >
    > hmmm...maybe the problem is the _way_ you are installing...you said
    > earlier you are installing with zypper...so, what command line (for
    > example) did you use when installing extcalc?
    >


    In answer to your questions, here goes (and thanks for your help, as I
    do want to fix my system).

    I do not ever log into KDE as the administrator named root. I don't
    think I have ever done that. I typically only go to root by typing su on
    a konsole.

    When I changed the ownership of the executable, it was the following
    command (copied from my history records) :
    Code:
    980  2013-07-06 10:42:51 chown george:users pgcalc
    999  2013-07-09 09:08:07 chown george:users extcalc
    I notice that the history records as root include a time and date stamp,
    while the history records as a regular user don't seem to have that (or
    maybe you have to specify it).

    Anyway, in both cases I had to go to the /opt/kde3/bin directories to
    find those programs. They ran as root when I used the ./pgcalc command
    from that directory (for example), and then when I changed the ownership
    they ran with the same command, not as root.

    Here also are the history records of the zypper commands I used to
    install both programs:
    Code:
    913  sudo zypper in pgcalc
    987  sudo zypper in kde3-extcalc
    Could it be because I was using "sudo" instead of going to root to
    install? That would seem strange, because I have installed a ton of
    packages using "sudo zypper in". For example, knode, which I installed
    recently to have a backup to thunderbird, and knode ran just fine after
    "sudo zypper in".

    In fact, here is the list of everything I have installed that way. Most
    of these haven't had any problems:
    Code:
    george@tribaltrekker:~> history | grep "sudo zypper in"
    241  sudo zypper in -f digikam-3.1.0
    275  sudo zypper in kile
    302  sudo zypper in texlive-gmdoc
    303  sudo zypper in texlive-gmdoc-doc texlive-gmdoc-enhance
    texlive-gmdoc-enhance-doc
    305  sudo zypper in texlive-imakeidx texlive-imakeidx-doc
    479  sudo zypper in pdftk pdftk-qgui
    697  sudo zypper in knode
    722  sudo zypper in -r packman kdenlive
    725  sudo zypper in -r KR410 kdenlive
    726  sudo zypper install kdenlive-0.9.6-36.1.x86_64
    729  sudo zypper install kdenlive-0.9.6-2.17
    730  sudo zypper install --oldpackage kdenlive-0.9.6-2.17
    751  sudo zypper in avidemux
    831  sudo zypper in avidemux-qt
    913  sudo zypper in pgcalc
    928  sudo zypper in maxima kmplot wxMaxima gnuplot
    930  sudo zypper in gnuplot-doc
    944  sudo zypper in cmake
    987  sudo zypper in kde3-extcalc



    --
    G.O.
    Box #1: 12.3 | KDE 4.10 | AMD Phenom IIX4 | 64 | 16GB
    Box #2: 12.2 | KDE 4.9.2 | AMD Athlon X3 | 64 | 4GB
    Laptop: 12.3 | KDE 4.10 | Core i7-2620M | 64 | 8GB
    learning openSUSE and loving it

  8. #8

    Default Re: trying to install extcalc

    On 2013-07-09, George Olson <golson765@no-mx.forums.novell.com> wrote:
    > Interesting, I was able to install it, but just like pgcalc, it had root
    > permissions. I ran it as root (haven't tested the functions yet), and
    > here is the output:


    Could you please output the error message you see when you attempt to the program as a regular user?

  9. #9
    Join Date
    Jun 2008
    Location
    Earth - Denmark
    Posts
    10,730

    Default Re: trying to install extcalc

    On 07/09/2013 12:50 PM, George Olson wrote:
    > Could it be because I was using "sudo" instead of going to root to
    > install?


    _maybe_ that is it, but i'm not sure...i know a LOT of people are
    happy with "sudo zypper" but i can tell you that i have never used
    it...because sudo does NOT result in a full root with a full root
    environment....instead it uses the users environment with root
    powers...i _always_ use either YaST Software Management or the
    following two step:

    Code:
    su -
    zypper in pgcalc
    and NOTE that dash (-) because without that dash (in openSUSE) you
    _still_ have a user environment with root powers...only with "su -"
    do you finally become the real full 100% root.

    last week i installed pgcalc with YaST (to see if mine would require
    running as root, as did yours (it did not)) and it worked perfect
    right out of the box, and i looked just now and see

    Code:
    linux-os114:/opt/kde3/bin # ls -hal pgcalc
    -rwxr-xr-x 1 root root 447K Feb 19  2011 pgcalc*
    linux-os114:/opt/kde3/bin #
    where you can see that my pgcalc is still owned by root (as it should
    be) and i can run it from any user command line, even without using
    its full path....just 'pgcalc' in a terminal and it pops up...and, so
    should extcalc

    so??? i *guess* if you ran
    Code:
    su -
    zypper in pgcalc
    zypper in extcalc
    you might have the same experience, without running chown.

    but maybe the reason sudo worked with all of the others is none of
    the others are KDE3 applications...

    --
    dd
    openSUSE®, the "German Engineered Automobile" of operating systems!
    http://goo.gl/PUjnL
    http://tinyurl.com/DD-Caveat
    http://tinyurl.com/DD-Hardware
    http://tinyurl.com/DD-Software

  10. #10

    Default Re: trying to install extcalc

    On 2013-07-09, dd <DenverD@no-mx.forums.opensuse.org> wrote:
    > On 07/09/2013 12:50 PM, George Olson wrote:
    > so??? i *guess* if you ran
    >
    Code:
    > su -
    > zypper in pgcalc
    > zypper in extcalc
    >
    >
    > you might have the same experience, without running chown.


    I can confirm that the above commands (at least for pgcalc) install correctly allowing regular users to run the program.

    A similar procedure using `sudo' gives exactly the same result.

    So I can't reproduce the problem George is having. Consequently until he actually states precisely what error message he
    is seeing when he is trying to run pgcalc/extcalc as a regular user, I cannot help.

Page 1 of 3 123 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •