Installing compat6x manually

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.
 
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.
 
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?
 
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 said:
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.

/usr/src/sys/<arch>/conf/GENERIC:
Code:
[...]
options COMPAT_FREEBSD6 # Compatible with FreeBSD6
[...]
 
linuxunix said:
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. # 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
 
vadimk said:
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
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.
 
SirDice said:
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:
$ 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.
 
Back
Top