LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices


Reply
  Search this Thread
Old 03-19-2006, 03:14 PM   #1
OBcecado
LQ Newbie
 
Registered: Mar 2006
Distribution: *BSD
Posts: 12

Rep: Reputation: 0
Error installing fluxbox thru pkgsrc


Hi.
I'm having problems when installing fluxbox.
It needs a dependency x11-links-0.28 and i'm unable to install it because
Code:
===> x11-links-0.28 requires X headers to be installed
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/pkgtools/x11-links
What are X headers ?
I performed a search but was unable to find anything related to this.

Thanks in advance.
 
Old 03-19-2006, 04:28 PM   #2
cnjohnson
Member
 
Registered: Nov 2002
Location: Nashville
Distribution: FreeBSD, Linux, OS-X
Posts: 544

Rep: Reputation: 30
How did you install X? If from something like the CD/sysinstall did you specify all sources and headers should be loaded on the system? Did you install X by using a pkg_add without getting the sources and headers? Did you install X in a location different from /usr/X11R6 ?

Cheers--
Charles
 
Old 03-20-2006, 09:43 AM   #3
OBcecado
LQ Newbie
 
Registered: Mar 2006
Distribution: *BSD
Posts: 12

Original Poster
Rep: Reputation: 0
Hi.
I installed X from pkgsrc.
it's at /usr/pkg/X11R6 should i move it to /usr or can i set the path elsewhere ?


Greetz.
 
Old 03-20-2006, 03:39 PM   #4
frob23
Senior Member
 
Registered: Jan 2004
Location: Roughly 29.467N / 81.206W
Distribution: OpenBSD, Debian, FreeBSD
Posts: 1,450

Rep: Reputation: 48
Code:
mv /usr/X11R6 /usr/X.old
ln -s /usr/pkg/X11R6 /usr/X11R6
 
Old 03-20-2006, 05:02 PM   #5
OBcecado
LQ Newbie
 
Registered: Mar 2006
Distribution: *BSD
Posts: 12

Original Poster
Rep: Reputation: 0
Hi again.

Code:
bash-2.05b# ls
X.old   bin     include libdata lkm     pkg     sbin
X11R6.3 games   lib     libexec mdec    pkgsrc  share
bash-2.05b# ls /usr
X.old   bin     include libdata lkm     pkg     sbin
X11R6.3 games   lib     libexec mdec    pkgsrc  share
bash-2.05b# cd pkgsrc/pkgsrc/wm/fluxbox/
bash-2.05b# make install
===> fluxbox-0.9.14nb4 uses X11, but /usr/X11R6 not found
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/pkgsrc/wm/fluxbox
bash-2.05b#
I don't understand what the error is referring to...
Thanks for your help.


Greetz.
 
Old 03-20-2006, 05:15 PM   #6
frob23
Senior Member
 
Registered: Jan 2004
Location: Roughly 29.467N / 81.206W
Distribution: OpenBSD, Debian, FreeBSD
Posts: 1,450

Rep: Reputation: 48
What's the link pointing at?

What's "ls -l /usr/X11R6/" do?
 
Old 03-20-2006, 07:12 PM   #7
cnjohnson
Member
 
Registered: Nov 2002
Location: Nashville
Distribution: FreeBSD, Linux, OS-X
Posts: 544

Rep: Reputation: 30
May I ask why you are going to the trouble of building by hand what ports does for you automagically? Why not go to /usr/ports/x11/xorg and do
Quote:
make all && make install && make clean
and then go to the fluxbox port and do the same thing?

Cheers--
Charles
 
Old 03-20-2006, 07:20 PM   #8
frob23
Senior Member
 
Registered: Jan 2004
Location: Roughly 29.467N / 81.206W
Distribution: OpenBSD, Debian, FreeBSD
Posts: 1,450

Rep: Reputation: 48
Quote:
Originally Posted by cnjohnson
May I ask why you are going to the trouble of building by hand what ports does for you automagically? Why not go to /usr/ports/x11/xorg and do and then go to the fluxbox port and do the same thing?

Cheers--
Charles
Maybe because he's using NetBSD and pkgsrc not FreeBSD and ports.

NetBSD installs ALL third party programs under /usr/pkg (or another chosen directory) and does not mix them locally. So you need to point /usr/X11R6 to the directory where pkgsrc's X was installed.
 
Old 03-21-2006, 09:42 AM   #9
cnjohnson
Member
 
Registered: Nov 2002
Location: Nashville
Distribution: FreeBSD, Linux, OS-X
Posts: 544

Rep: Reputation: 30
Well, if any one wants to slap me silly with the big clue stick, please, Do! I deserve it for not reading carefully enough. People may safely ignore what *I* have to say; at the moment it is all noise and no signal. Sorry 'bout that.

Cheers--
Charles
(who suffers from foot-in-mouth disease.)
 
Old 03-21-2006, 10:30 AM   #10
OBcecado
LQ Newbie
 
Registered: Mar 2006
Distribution: *BSD
Posts: 12

Original Poster
Rep: Reputation: 0
Hi.
Code:
-bash-2.05b$ ls -l /usr/X11R6.3/
total 12
drwxr-xr-x  2 root  wheel  1024 Mar 20 21:47 bin
drwxr-xr-x  3 root  wheel   512 Mar 20 21:46 include
drwxr-xr-x  4 root  wheel   512 Mar 20 21:47 lib
Quote:
Originally Posted by frob23
So you need to point /usr/X11R6 to the directory where pkgsrc's X was installed.
Can you please tell me how to do that ?


Thanks for your replies.
 
Old 03-21-2006, 06:41 PM   #11
frob23
Senior Member
 
Registered: Jan 2004
Location: Roughly 29.467N / 81.206W
Distribution: OpenBSD, Debian, FreeBSD
Posts: 1,450

Rep: Reputation: 48
If the directory in /usr/pkg is X11R6.3 you still need to have it just called X11R6 in /usr.

Assuming you followed my advice above (for a symbolic link) just rename the link like so...
Code:
mv /usr/X11R6.3 /usr/X11R6
And everything should be fine.
 
Old 03-21-2006, 06:43 PM   #12
frob23
Senior Member
 
Registered: Jan 2004
Location: Roughly 29.467N / 81.206W
Distribution: OpenBSD, Debian, FreeBSD
Posts: 1,450

Rep: Reputation: 48
I'm sorry I can't be "more" specific. I use xorg myself, which is why I know what the problem is and how to fix it... but I'm not aware of how the X11R6 directory was named in /usr/pkg -- which apparently named it X11R6.3
 
Old 03-21-2006, 06:47 PM   #13
frob23
Senior Member
 
Registered: Jan 2004
Location: Roughly 29.467N / 81.206W
Distribution: OpenBSD, Debian, FreeBSD
Posts: 1,450

Rep: Reputation: 48
Quote:
Originally Posted by cnjohnson
Well, if any one wants to slap me silly with the big clue stick, please, Do! I deserve it for not reading carefully enough. People may safely ignore what *I* have to say; at the moment it is all noise and no signal. Sorry 'bout that.

Cheers--
Charles
(who suffers from foot-in-mouth disease.)
lol, I can't whack you with the clue-by-four. I'm embarrassed to say it's happened to me more often than I care to admit.

No one's perfect.
 
Old 03-22-2006, 03:33 AM   #14
OBcecado
LQ Newbie
 
Registered: Mar 2006
Distribution: *BSD
Posts: 12

Original Poster
Rep: Reputation: 0
Hi.
Thanks for your replies, i'll try to do that and post here to report what happened
Thanks for your time helping tha n00b


Greetings.
 
Old 03-22-2006, 12:26 PM   #15
OBcecado
LQ Newbie
 
Registered: Mar 2006
Distribution: *BSD
Posts: 12

Original Poster
Rep: Reputation: 0
Hi again.
Everything seems to be running nicely
Thanks everyone for your replies.


Greetings.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Fluxbox error /usr/share/fluxbox/nls/en_GB/fluxbox.cat humbletech99 Debian 2 12-29-2005 10:16 AM
Slackware Linux with pkgsrc Packages [gentoo-like Slack] Anonymo Slackware 1 12-19-2005 09:46 AM
Installing FLUXBOX? carlosinfl Debian 6 10-13-2005 03:26 PM
Fluxbox Error Installing GUIPenguin Linux - Software 1 02-13-2005 08:42 PM
Fluxbox error loke137 Linux - Software 7 03-07-2003 04:40 PM

LinuxQuestions.org > Forums > Other *NIX Forums > *BSD

All times are GMT -5. The time now is 07:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration