Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: how exactly do you install an application w/ tarball?

  1. #1
    Join Date
    May 2015
    Location
    California
    Posts
    37

    Default how exactly do you install an application w/ tarball?

    Could someone point me to steps for installing an application with a tar.bz2? https://forums.opensuse.org/images/smiliesnew/devil.png

  2. #2
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,654
    Blog Entries
    15

    Default Re: how exactly do you install an application w/ tarball?

    Hi
    Unpack the tarball and have a look at the README or INSTALL files for details....

    Build as your user, only when your happy install as root user.

    What is the application as it may already be packaged on OBS https://software.opensuse.org/search? if it is the spec file would show all the details how it's built from a tarball.
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  3. #3
    Join Date
    May 2015
    Location
    California
    Posts
    37

    Default Re: how exactly do you install an application w/ tarball?

    It's iptables 1.4.9 I currently have 1.4.21

  4. #4
    Join Date
    May 2015
    Location
    California
    Posts
    37

    Default Re: how exactly do you install an application w/ tarball?

    I looked at the install readme. It said to run the autotools commands ./configure make make install After I ran ./configure ---> linux-wz5h:/tmp/iptables-1.4.9 # ./configure configure: loading site script /usr/share/site/x86_64-unknown-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for gcc... no checking for cc... no checking for cl.exe... no configure: error: in `/tmp/iptables-1.4.9': configure: error: no acceptable C compiler found in $PATH See `config.log' for more details. linux-wz5h:/tmp/iptables-1.4.9 # and a version check on my executable iptables still says 1.4.21

  5. #5
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,654
    Blog Entries
    15

    Default Re: how exactly do you install an application w/ tarball?

    Quote Originally Posted by pmcpcm View Post
    I looked at the install readme. It said to run the autotools commands ./configure make make install After I ran ./configure --->
    Code:
    linux-wz5h:/tmp/iptables-1.4.9 # ./configure configure: loading site script /usr/share/site/x86_64-unknown-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for gcc... no checking for cc... no checking for cl.exe... no configure: error: in `/tmp/iptables-1.4.9': configure: error: no acceptable C compiler found in $PATH See `config.log' for more details. linux-wz5h:/tmp/iptables-1.4.9 #  and a version check on my executable iptables  still says 1.4.21
    Hi
    When posting output from the terminal, use code tags

    So, first off DON'T run as root, just your user, only become root to install....

    So everything that says no, you need to install... so it can't fine gcc etc. Install the development tools patterns devel_C_C++ and devel_basis should get you most of the required tools.

    Why dropping back to an older version?
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  6. #6
    Join Date
    May 2015
    Location
    California
    Posts
    37

    Default Re: how exactly do you install an application w/ tarball?

    yeah I just realized I have version 1.4."21" not 1.4.2,1 so now I need to remove the old iptables from wherever ./configure installed I can't afford to be cluttered and messy

  7. #7
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,654
    Blog Entries
    15

    Default Re: how exactly do you install an application w/ tarball?

    Quote Originally Posted by pmcpcm View Post
    yeah I just realized I have version 1.4."21" not 1.4.2,1 so now I need to remove the old iptables from wherever ./configure installed I can't afford to be cluttered and messy
    Hi
    Nothing built or installed that would affect your system, it built in /tmp so it will get cleaned out eventually.

    If you want to be sure run the command make uninstall in your working directory, you can also force the re-install of iptables via YaST or zypper -f
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  8. #8
    Join Date
    May 2015
    Location
    California
    Posts
    37

    Default Re: how exactly do you install an application w/ tarball?

    Quote Originally Posted by malcolmlewis View Post
    Hi
    Nothing built or installed that would affect your system, it built in /tmp so it will get cleaned out eventually.

    If you want to be sure run the command make uninstall in your working directory, you can also force the re-install of iptables via YaST or zypper -f
    I typed find / | grep iptables and I found a directory for 1.4.9 in usr/src/iptables-1.4.9
    aptitude or zypper remove doesn't uninstall it.

  9. #9
    Join Date
    May 2015
    Location
    California
    Posts
    37

    Default Re: how exactly do you install an application w/ tarball?

    I tried make uninstall in the same directory and it gave this error
    make: *** No rule to make target 'uninstall'. Stop.

  10. #10
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: how exactly do you install an application w/ tarball?

    On 2015-06-02 21:56, pmcpcm wrote:
    >
    > I tried make uninstall in the same directory and it gave this error
    > make: *** No rule to make target 'uninstall'. Stop.


    Few projects have "uninstall".

    I tried to warn you not to go ahead...

    --
    Cheers / Saludos,

    Carlos E. R.

    (from 13.1 x86_64 "Bottle" (Minas Tirith))

Page 1 of 2 12 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
  •