DaemonForums  

Go Back   DaemonForums > NetBSD > NetBSD Package System (pkgsrc)

NetBSD Package System (pkgsrc) Installation and upgrading of packages on NetBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 23rd August 2011
Brainfsck Brainfsck is offline
New User
 
Join Date: Aug 2011
Location: Germany
Posts: 8
Thanked 0 Times in 0 Posts
Default problem building fluxbox on NetBSD 5.1 with modular X.org

Hi everyone,

I'm relatively new to BSD in general (have tried out Free and NetBSD in the past) but am familiar with Gentoo GNU/Linux, and I'm new to the forums.

So, on to my problem:
I want to build fluxbox whilst using a modular X.org but get the following error when I try:

Code:
(0/0) schweers@kallari /usr/pkgsrc/wm/fluxbox % sudo make
Password:
=> Bootstrap dependency digest>=20010302: found digest-20080510
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/pkg/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'.
=> Checksum SHA1 OK for fluxbox-1.1.1.tar.bz2
=> Checksum RMD160 OK for fluxbox-1.1.1.tar.bz2
===> Installing dependencies for fluxbox-1.1.1nb6
==========================================================================
The supported build options for fluxbox are:

        gnome imlib2 kde xft xrender

The currently selected options are:

        xrender

You can select which build options to use by setting PKG_DEFAULT_OPTIONS
or the following variable.  Its current value is shown:

        PKG_OPTIONS.fluxbox (not defined)

==========================================================================
=> Build dependency libtool-base>=2.2.6bnb3: found libtool-base-2.2.6bnb5
=> Build dependency gmake>=3.81: found gmake-3.82nb2
=> Build dependency x11-links>=0.65: NOT found
=> Verifying package-install for ../../pkgtools/x11-links
ERROR: This package has set PKG_FAIL_REASON:
ERROR: x11-links-0.65 should only be used with X11_TYPE=native.
ERROR: Do not include x11.buildlink3.mk for X11_TYPE != "native".
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/pkgtools/x11-links
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/wm/fluxbox
btw: as a fallback I built openbox which works fine.
Does anyone have an idea what's wrong?
just in case, here's my uname:
Code:
(1/0) schweers@kallari /usr/pkgsrc/wm/fluxbox % uname -a
NetBSD kallari 5.1 NetBSD 5.1 (GENERIC) #2: Tue Aug 23 16:52:48 CEST 2011  root@kallari:/usr/obj/sys/arch/amd64/compile/GENERIC amd64
Reply With Quote
  #2   (View Single Post)  
Old 24th August 2011
Pjoter's Avatar
Pjoter Pjoter is offline
Shell Scout
 
Join Date: Sep 2008
Posts: 92
Thanked 7 Times in 7 Posts
Default

Hello,

please add X11_TYPE=modular to your /etc/mk.conf file. More options you can find in:

http://www.netbsd.org/docs/pkgsrc/configuring.html

Piotr.
Reply With Quote
  #3   (View Single Post)  
Old 24th August 2011
Brainfsck Brainfsck is offline
New User
 
Join Date: Aug 2011
Location: Germany
Posts: 8
Thanked 0 Times in 0 Posts
Default

The problem is that I have already done that.
Code:
% cat /etc/mk.conf 
# Example /usr/pkg/etc/mk.conf file produced by bootstrap-pkgsrc
# Wed Aug 17 00:13:06 CEST 2011

.ifdef BSD_PKG_MK       # begin pkgsrc settings


PKG_DBDIR=              /var/db/pkg
LOCALBASE=              /usr/pkg
VARBASE=                /var
PKG_TOOLS_BIN=          /usr/pkg/sbin
PKGMANDIR=              man
MAKE_JOBS=              4
COPTS=                  -march=k8 -msse3
X11_TYPE=               modular

.endif                  # end pkgsrc settings

ACCEPTABLE_LICENSES+=vim-license
ACCEPTABLE_LICENSES+= openmotif-license
I've taken a look at a few Makefiles which are included, and I don't get why x11.buildlink3.mk
is included, as it's always protected against being used with a non-native X11.
Reply With Quote
  #4   (View Single Post)  
Old 24th August 2011
s0xxx's Avatar
s0xxx s0xxx is offline
Package Pilot
 
Join Date: May 2008
Posts: 194
Thanked 47 Times in 22 Posts
Default

Have you done it before the build failed or after? If you did after, clean the work dirs first and try again:
Code:
# make clean clean-depends
# make install
__________________
The best way to learn UNIX is to play with it, and the harder you play, the more you learn.
If you play hard enough, you'll break something for sure, and having to fix a badly broken system is arguably the fastest way of all to learn. -Michael Lucas, AbsoluteBSD
Reply With Quote
  #5   (View Single Post)  
Old 24th August 2011
Brainfsck Brainfsck is offline
New User
 
Join Date: Aug 2011
Location: Germany
Posts: 8
Thanked 0 Times in 0 Posts
Default

Wow, I was under the impression that I had done in in the right order, but apparently not, now it works. Thanks very much to both of you.

PS: If I knew how to thank you (forum wise) i would do so

Last edited by Brainfsck; 24th August 2011 at 03:24 PM. Reason: post scriptum
Reply With Quote
  #6   (View Single Post)  
Old 24th August 2011
Pjoter's Avatar
Pjoter Pjoter is offline
Shell Scout
 
Join Date: Sep 2008
Posts: 92
Thanked 7 Times in 7 Posts
Default

Please send me some good DE beer (I live in NL)
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
netbsd 5.0.2 and modular xorg jaideep_jdof NetBSD Package System (pkgsrc) 2 21st April 2010 06:18 AM
OBSD 4.6 Installed - Problem building Kernel for -current IronForge OpenBSD Installation and Upgrading 11 10th November 2009 09:34 PM
Problem Building Openoffice-3 Alphalutra1 FreeBSD Ports and Packages 1 1st May 2009 04:22 AM
Fluxbox + Firefox = UTF8 title problem.. DNAeon FreeBSD Ports and Packages 7 10th December 2008 08:52 AM
Fluxbox fbsetbg problem rex FreeBSD General 6 12th September 2008 05:18 PM


All times are GMT. The time now is 12:32 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick