fabf [Solved] HTOP problem on FreeBSD 7.1 - 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 August 3rd, 2010, 12:03
kombajnik kombajnik is offline
Junior Member
 
Join Date: Aug 2010
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default HTOP problem on FreeBSD 7.1

Hello, im trying to run HTOP <3 on my FreeBSD 7.1 and I have problem....

Code:
make install
===>  Installing for htop-0.8.3
===>   htop-0.8.3 depends on executable: lsof - not found
===>    Verifying install for lsof in /usr/ports/sysutils/lsof
===>  Configuring for lsof-4.84A,5
Creating ./lockf_owner.h from /usr/src/sys/kern/kern_lockf.c
FATAL ERROR: can't read /usr/src/sys/kern/kern_lockf.c
FATAL ERROR: ./lockf_owner.h creation failed (see 00FAQ)
===>  Script "Configure" failed unexpectedly.
Please report the problem to ler@lerctr.org [maintainer] and attach the
"/usr/ports/sysutils/lsof/work/lsof_4.84A.freebsd/config.log" including the
output of the failure of your make command. Also, it might be a good idea to
provide an overview of all packages installed on your system (e.g. an `ls
/var/db/pkg`).
*** Error code 1

Stop in /usr/ports/sysutils/lsof.
*** Error code 1

Stop in /usr/ports/sysutils/htop.
*** Error code 1

Stop in /usr/ports/sysutils/htop.
I have mounted linproc and add linux_enable in /etc/rc.conf

Last edited by DutchDaemon; August 3rd, 2010 at 12:08. Reason: proper formatting: http://forums.freebsd.org/showthread.php?t=8816
Reply With Quote
  #2  
Old August 3rd, 2010, 12:11
DutchDaemon's Avatar
DutchDaemon DutchDaemon is offline
Administrator
 
Join Date: Nov 2008
Location: Rotterdam, the Netherlands
Posts: 9,854
Thanks: 30
Thanked 1,892 Times in 1,335 Posts
Default

From what I can gather from the error message and this line in the Makefile:

Code:
FREEBSD_SYS?=   /usr/src/sys
you must have (kernel?) sources installed. Either install sources from the CD/DVD, or get them with csup(8).
__________________
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
  #3  
Old August 3rd, 2010, 12:32
kombajnik kombajnik is offline
Junior Member
 
Join Date: Aug 2010
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by DutchDaemon View Post
From what I can gather from the error message and this line in the Makefile:

Code:
FREEBSD_SYS?=   /usr/src/sys
you must have (kernel?) sources installed. Either install sources from the CD/DVD, or get them with csup(8).
I add this line in MakeFile and nothing happen... btw i cant install sources from CD/DVD because i have this problem on my dedicated server which is located in France, OVH
Reply With Quote
  #4  
Old August 3rd, 2010, 13:05
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 kombajnik View Post
I add this line in MakeFile and nothing happen...
You should not add it. It's already there and the cause of the 'error' message.

Quote:
btw i cant install sources from CD/DVD because i have this problem on my dedicated server which is located in France, OVH
Then use any of the other ways to get the source tree.
__________________
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 August 3rd, 2010, 13:23
DutchDaemon's Avatar
DutchDaemon DutchDaemon is offline
Administrator
 
Join Date: Nov 2008
Location: Rotterdam, the Netherlands
Posts: 9,854
Thanks: 30
Thanked 1,892 Times in 1,335 Posts
Default

Make sure you get the right sources for your current OS, i.e. 7.1 (probably -RELEASE).
__________________
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 19th, 2011, 21:59
biniar biniar is offline
Junior Member
 
Join Date: Jan 2009
Location: Michigan
Posts: 7
Thanks: 21
Thanked 0 Times in 0 Posts
Default

Code:
Creating ./lockf_owner.h from /usr/src/sys/kern/kern_lockf.c
FATAL ERROR: can't read /usr/src/sys/kern/kern_lockf.c
FATAL ERROR: ./lockf_owner.h creation failed (see 00FAQ)
===>  Script "Configure" failed unexpectedly.
I had this error as well when attempting to compile htop via Ports.

So upon following DutchDaemon's advice:

Code:
# cp -v /usr/share/examples/cvsup/standard-supfile /root/standard-supfile
Code:
# nano /root/standard-supfile
Code:
*default host=cvsup6.us.freebsd.org
*default base=/var/db
*default prefix=/usr
*default release=cvs tag=.
*default delete use-rel-suffix
*default compress
src-all
Code:
# csup -g -L 2 /root/standard-supfile
...and when this finished I ran:

Code:
# portmaster -Bdw /usr/ports/sysutils/htop
This time there was no ERRORS! WOW! AMAZING!

Thanks for the help!

Last edited by DutchDaemon; December 19th, 2011 at 23:08.
Reply With Quote
Reply

Tags
csup, htop

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
FreeBSD 9-STABLE + htop alie Installation and Maintenance of FreeBSD Ports or Packages 28 December 2nd, 2012 02:40
htop problem cola Installation and Maintenance of FreeBSD Ports or Packages 1 December 2nd, 2010 08:33
Problem installing HTOP in FreeBSD 6.2 scottemick Installation and Maintenance of FreeBSD Ports or Packages 5 November 11th, 2010 16:00
[Solved] htop in FreeBSD Graaf_van_Vlaanderen Installation and Maintenance of FreeBSD Ports or Packages 7 January 16th, 2010 22:40
htop install nulkarp Installation and Maintenance of FreeBSD Ports or Packages 1 October 1st, 2009 09:55


All times are GMT +1. The time now is 13:47.


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