1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Installing compat6x manually

Discussion in 'Installation and Maintenance of Ports or Packages' started by linuxunix, Dec 16, 2010.

  1. linuxunix

    linuxunix New Member

    Messages:
    73
    Likes Received:
    0
    I have downloaded compat6x-amd64-6.4.604000.200810.tar.bz2 from http://people.freebsd.org/~mnag/compat6x/ and want to install it manually.
    I tried:
    Code:
    pkg_add compat6x-amd64-6.4.604000.200810.tar.bz2 
    
    but it says: unrecognized archive format.

    I did tried :
    Code:
    pkg_add compat6x-amd64-6.4.604000.200810
    
    but it din't work.

    as a trial, I tried putting it under /usr/ports/distfiles and executing command make install under the /usr/ports/misc/compat6x but it dint work.

    It would be helpful if one can suggest how can I install compat6x package from sysinstall utility through CD-DVD.
     
  2. SirDice

    SirDice Moderator Staff Member Moderator

    Messages:
    17,375
    Likes Received:
    3
    You downloaded a distfile (used by a port to build from source) not the package.

    It probably didn't work to build from source because it was the wrong distfile.
     
  3. linuxunix

    linuxunix New Member

    Messages:
    73
    Likes Received:
    0
    How should I go ahead?
    All the issue I am facing is I am unable to get this compat6x related package from DVD.
    I dont have net access.
    I tried burning the compat6x and tried installing but as you said its distfiles.
    What is the correct package i need to download.
    Pls Suggest?
     
  4. SirDice

    SirDice Moderator Staff Member Moderator

    Messages:
    17,375
    Likes Received:
    3
  5. DutchDaemon

    DutchDaemon Administrator Staff Member Administrator Moderator

    Messages:
    10,644
    Likes Received:
    20
  6. linuxunix

    linuxunix New Member

    Messages:
    73
    Likes Received:
    0
    SirDice,

    I tried running:

    pkg_add <compat-amd*.tbz> and it waited for sometime without any error and displays that DONOT FORGET TO COMPILE IT FOR KERNEL CONFIGURATION(ENABLED BY DEFAULT).

    Do I need to do anything more after this step.
     
  7. SirDice

    SirDice Moderator Staff Member Moderator

    Messages:
    17,375
    Likes Received:
    3
    Read the message, it's pretty clear.
     
  8. Beastie

    Beastie Member

    Messages:
    1,916
    Likes Received:
    1
    No. It means it's already in the GENERIC kernel, i.e "ENABLED BY DEFAULT", unless you've compiled a custom kernel that explicitly excluded the option.

    /usr/src/sys/<arch>/conf/GENERIC:
    Code:
    [...]
    options COMPAT_FREEBSD6 # Compatible with FreeBSD6
    [...]
    
     
  9. vadimk

    vadimk New Member

    Messages:
    30
    Likes Received:
    0
    As user to user I can suggest you the following approach in the beginning:
    1. # cd /usr/ports
    2. # du | grep "software name you want to install" - if you don't know where the port is located, though the structure of ports is pretty logical when you start to be familiar with. The name you search should be as short as possible �e
    3. cd the location from p.2
    4. # make install

    You don't need to worry about anything else, unless you get "error" :stud
     
  10. SirDice

    SirDice Moderator Staff Member Moderator

    Messages:
    17,375
    Likes Received:
    3
    This has got to be the weirdest way I've seen to search for a port.

    Code:
    cd /usr/ports
    make search key=<some search keyword>
    make search name=<portname>
    
    Or install ports-mgmt/psearch.
     
  11. vadimk

    vadimk New Member

    Messages:
    30
    Likes Received:
    0
    I agree that it seems wierd, but before I used:
    $ locate "port name" -- requires /usr/libexec/locate.updatedb (that I don't like very much)
    $ find . -name exec grep "port name" '{}' \; -print -- is too long and seems to be a bit slower, than du ..

    And "du" is always ON and does not requre additional port to install..

    And again - it is only for beginning. Nowadays I rearly need to have something to search for because port tree is pretty logical and in 90% of the cases I know where to find the port I need.
     
  12. wblock@

    wblock@ Administrator Staff Member Administrator Moderator Developer

    Messages:
    11,180
    Likes Received:
    10
    whereis(1) often works for finding ports with a minimum of typing.
     
  13. DutchDaemon

    DutchDaemon Administrator Staff Member Administrator Moderator

    Messages:
    10,644
    Likes Received:
    20