16f73 Installing compat6x manually - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Ports & Packages > Installation and Maintenance of FreeBSD Ports or Packages

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

Reply
 
Thread Tools Display Modes
  #1  
Old December 16th, 2010, 12:29
linuxunix linuxunix is offline
Junior Member
 
Join Date: Nov 2010
Posts: 73
Thanks: 4
Thanked 0 Times in 0 Posts
Default 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.

Last edited by linuxunix; December 16th, 2010 at 13:08.
Reply With Quote
  #2  
Old December 16th, 2010, 13:30
SirDice's Avatar
SirDice SirDice is offline
Moderator
 
Join Date: Nov 2008
Location: Rotterdam, Netherlands
Posts: 13,725
Thanks: 47
Thanked 2,023 Times in 1,862 Posts
Default

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.
Reply With Quote
  #3  
Old December 16th, 2010, 14:08
linuxunix linuxunix is offline
Junior Member
 
Join Date: Nov 2010
Posts: 73
Thanks: 4
Thanked 0 Times in 0 Posts
Default

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?
Reply With Quote
  #4  
Old December 16th, 2010, 14:19
SirDice's Avatar
SirDice SirDice is offline
Moderator
 
Join Date: Nov 2008
Location: Rotterdam, Netherlands
Posts: 13,725
Thanks: 47
Thanked 2,023 Times in 1,862 Posts
Default

ftp://ftp.freebsd.org/pub/FreeBSD/po...0.200810_3.tbz
__________________
Senior UNIX Engineer at Unix Support Nederland
Experience is something you don't get until just after you need it.
Reply With Quote
  #5  
Old December 16th, 2010, 17:00
DutchDaemon's Avatar
DutchDaemon DutchDaemon is offline
Administrator
 
Join Date: Nov 2008
Location: Rotterdam, the Netherlands
Posts: 9,861
Thanks: 30
Thanked 1,896 Times in 1,338 Posts
Default

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.
__________________
FreeBSD Forums: Information for New Members | FreeBSD Forums Rules
FreeBSD Resources: The FreeBSD Handbook | Manuals | FAQ | Wiki
Before you post: How to ask questions the smart way
If you must know .. So, what does an Administrator/Moderator do?
---> Do not PM me with FreeBSD questions. I do not work here. <---
Reply With Quote
  #6  
Old December 17th, 2010, 07:05
linuxunix linuxunix is offline
Junior Member
 
Join Date: Nov 2010
Posts: 73
Thanks: 4
Thanked 0 Times in 0 Posts
Default

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.

Last edited by linuxunix; December 17th, 2010 at 07:59.
Reply With Quote
  #7  
Old December 17th, 2010, 08:25
SirDice's Avatar
SirDice SirDice is offline
Moderator
 
Join Date: Nov 2008
Location: Rotterdam, Netherlands
Posts: 13,725
Thanks: 47
Thanked 2,023 Times in 1,862 Posts
Default

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.
Reply With Quote
  #8  
Old December 17th, 2010, 11:05
Beastie Beastie is offline
Senior Member
 
Join Date: Mar 2009
Location: /dev/earth0
Posts: 1,702
Thanks: 0
Thanked 301 Times in 245 Posts
Default

Quote:
Originally Posted by linuxunix View Post
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
[...]
__________________
May the source be with you!
Reply With Quote
  #9  
Old December 17th, 2010, 11:18
vadimk vadimk is offline
Junior Member
 
Join Date: Dec 2010
Location: Tallinn
Posts: 13
Thanks: 3
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by linuxunix View Post
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"
Reply With Quote
  #10  
Old December 20th, 2010, 12:20
SirDice's Avatar
SirDice SirDice is offline
Moderator
 
Join Date: Nov 2008
Location: Rotterdam, Netherlands
Posts: 13,725
Thanks: 47
Thanked 2,023 Times in 1,862 Posts
Default

Quote:
Originally Posted by vadimk View Post
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.
__________________
Senior UNIX Engineer at Unix Support Nederland
Experience is something you don't get until just after you need it.
Reply With Quote
  #11  
Old December 23rd, 2010, 20:32
vadimk vadimk is offline
Junior Member
 
Join Date: Dec 2010
Location: Tallinn
Posts: 13
Thanks: 3
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by SirDice View Post
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.

Last edited by DutchDaemon; December 24th, 2010 at 03:29.
Reply With Quote
  #12  
Old December 23rd, 2010, 21:38
wblock@'s Avatar
wblock@ wblock@ is offline
Moderator
 
Join Date: Sep 2009
Location: Milky Way galaxy
Posts: 7,726
Thanks: 432
Thanked 1,763 Times in 1,460 Posts
Default

whereis(1) often works for finding ports with a minimum of typing.
Reply With Quote
  #13  
Old December 24th, 2010, 03:30
DutchDaemon's Avatar
DutchDaemon DutchDaemon is offline
Administrator
 
Join Date: Nov 2008
Location: Rotterdam, the Netherlands
Posts: 9,861
Thanks: 30
Thanked 1,896 Times in 1,338 Posts
Default

Again: ports-mgmt/psearch. It's fine.
__________________
FreeBSD Forums: Information for New Members | FreeBSD Forums Rules
FreeBSD Resources: The FreeBSD Handbook | Manuals | FAQ | Wiki
Before you post: How to ask questions the smart way
If you must know .. So, what does an Administrator/Moderator do?
---> Do not PM me with FreeBSD questions. I do not work here. <---
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting up network manually? I need of some help Gogeden Networking 6 May 24th, 2010 00:26
[Solved] ezjail vs. manually jails yueliu_32214 General 5 March 18th, 2010 17:25
Manually Merging Files dave Installing & Upgrading 5 December 3rd, 2009 19:26
Installing FreeBSD Manually iic2 Howtos & FAQs (Moderated) 3 August 14th, 2009 02:27
Assign irq manually medisoft Peripheral Hardware 2 June 3rd, 2009 18:41


All times are GMT +1. The time now is 01:34.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0