Installing compat6x manually

Installing and maintaining the FreeBSD Ports Collection or FreeBSD Packages (i.e. third party software).

Installing compat6x manually

Postby linuxunix » 16 Dec 2010, 11:29

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: Select all
pkg_add compat6x-amd64-6.4.604000.200810.tar.bz2

but it says: unrecognized archive format.

I did tried :
Code: Select all
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.
linuxunix
Junior Member
 
Posts: 73
Joined: 18 Nov 2010, 13:36

Postby SirDice » 16 Dec 2010, 12:30

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.
Senior UNIX Engineer at Unix Support Nederland
Experience is something you don't get until just after you need it.
User avatar
SirDice
Old Fart
 
Posts: 16196
Joined: 17 Nov 2008, 16:50
Location: Rotterdam, Netherlands

Postby linuxunix » 16 Dec 2010, 13:08

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?
linuxunix
Junior Member
 
Posts: 73
Joined: 18 Nov 2010, 13:36

Postby SirDice » 16 Dec 2010, 13:19

Senior UNIX Engineer at Unix Support Nederland
Experience is something you don't get until just after you need it.
User avatar
SirDice
Old Fart
 
Posts: 16196
Joined: 17 Nov 2008, 16:50
Location: Rotterdam, Netherlands

Postby DutchDaemon » 16 Dec 2010, 16:00

linuxunix, post in the correct forum, please. Questions about ports/packages belong (surprisingly) in the "Installation and Maintenance of FreeBSD Ports or Packages" forum.

Moved.
User avatar
DutchDaemon
Old Fart
 
Posts: 10467
Joined: 16 Nov 2008, 20:17
Location: The Netherlands

Postby linuxunix » 17 Dec 2010, 06:05

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.
linuxunix
Junior Member
 
Posts: 73
Joined: 18 Nov 2010, 13:36

Postby SirDice » 17 Dec 2010, 07:25

Read the message, it's pretty clear.
Senior UNIX Engineer at Unix Support Nederland
Experience is something you don't get until just after you need it.
User avatar
SirDice
Old Fart
 
Posts: 16196
Joined: 17 Nov 2008, 16:50
Location: Rotterdam, Netherlands

Postby Beastie » 17 Dec 2010, 10:05

linuxunix wrote:and displays that DONOT FORGET TO COMPILE IT FOR KERNEL CONFIGURATION(ENABLED BY DEFAULT).

Do I need to do anything more after this step.

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.

[file]/usr/src/sys/<arch>/conf/GENERIC[/file]:
Code: Select all
[...]
options COMPAT_FREEBSD6 # Compatible with FreeBSD6
[...]
May the source be with you!
Beastie
Senior Member
 
Posts: 1862
Joined: 28 Mar 2009, 11:27
Location: /dev/earth0

Postby vadimk » 17 Dec 2010, 10:18

linuxunix wrote: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.


As user to user I can suggest you the following approach in the beginning:
1. [CMD="#"]cd /usr/ports[/CMD]
2. [CMD="#"]du | grep "software name you want to install"[/CMD] - 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. [CMD="#"]make install[/CMD]

You don't need to worry about anything else, unless you get "error" :stud
vadimk
Junior Member
 
Posts: 22
Joined: 03 Dec 2010, 18:37
Location: Tallinn

Postby SirDice » 20 Dec 2010, 11:20

vadimk wrote:2. [CMD="#"]du | grep "software name you want to install"[/CMD] - 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

This has got to be the weirdest way I've seen to search for a port.

Code: Select all
cd /usr/ports
make search key=<some search keyword>
make search name=<portname>


Or install [port]ports-mgmt/psearch[/port].
Senior UNIX Engineer at Unix Support Nederland
Experience is something you don't get until just after you need it.
User avatar
SirDice
Old Fart
 
Posts: 16196
Joined: 17 Nov 2008, 16:50
Location: Rotterdam, Netherlands

Postby vadimk » 23 Dec 2010, 19:32

SirDice wrote:This has got to be the weirdest way I've seen to search for a port.


I agree that it seems wierd, but before I used:
[CMD="$"] locate "port name"[/CMD] -- requires [FILE]/usr/libexec/locate.updatedb[/FILE] (that I don't like very much)
[CMD="$"] find . -name exec grep "port name" '{}' \; -print[/CMD] -- 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.
vadimk
Junior Member
 
Posts: 22
Joined: 03 Dec 2010, 18:37
Location: Tallinn

Postby wblock@ » 23 Dec 2010, 20:38

[man=1]whereis[/man] often works for finding ports with a minimum of typing.
User avatar
wblock@
Old Fart
 
Posts: 10226
Joined: 07 Sep 2009, 23:23
Location: Milky Way galaxy

Postby DutchDaemon » 24 Dec 2010, 02:30

Again: [port]ports-mgmt/psearch[/port]. It's fine.
User avatar
DutchDaemon
Old Fart
 
Posts: 10467
Joined: 16 Nov 2008, 20:17
Location: The Netherlands


Return to Installation and Maintenance of FreeBSD Ports or Packages

Who is online

Users browsing this forum: No registered users and 1 guest