DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD Ports and Packages

FreeBSD Ports and Packages Installation and upgrading of ports and packages on FreeBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 8th June 2008
oleksus oleksus is offline
New User
 
Join Date: Jun 2008
Posts: 6
Default HELP Installing Fluxbox on FreeBSD 7.0

I'm a recent Linux convert, and even after reading half the Handbook I still don't understand some basic things.

I have a Fluxbox source on my USB stick.

How do I make it work?
I go to Fluxbox source directory on my USB stick.
Neither ./configure nor 'make' or 'install' don't seem to work.
I tried 'make install distclean' but it says 'install is up to date'.

Can anyone spare some guidance on this?
Thanks in advance!

Last edited by oleksus; 8th June 2008 at 11:20 PM.
Reply With Quote
  #2   (View Single Post)  
Old 8th June 2008
DrJ DrJ is offline
ISO Quartermaster
 
Join Date: Apr 2008
Location: Gold Country, CA
Posts: 507
Default

% su
Password: xxxx
# cd /usr/ports/x11-wm/fluxbox
# make install clean
# ^D
% rehash

You are done.
Reply With Quote
  #3   (View Single Post)  
Old 8th June 2008
oleksus oleksus is offline
New User
 
Join Date: Jun 2008
Posts: 6
Default

Thanks, I've tried this, but I forgot to mention that there's no internet connection at the moment, so it reports many lines like 'Attempting to fetch from..blahblah' and offers to port manually and try again.

Can I get around this while being offline?
Reply With Quote
  #4   (View Single Post)  
Old 8th June 2008
DrJ DrJ is offline
ISO Quartermaster
 
Join Date: Apr 2008
Location: Gold Country, CA
Posts: 507
Default

You have to get the files from somewhere. If those you have are the precise ones the port is looking for, you can place those in /usr/ports/distfiles and go from there. There usually are FreeBSD-specific patches that you also have to get.

Fluxbox might be on one of the installation CDs; if so you can install it from there using sysinstall.

Practically, though, you do need an internet connection. You won't be able to do any updating, bug fixing or installing applications. Well, not easily.
Reply With Quote
  #5   (View Single Post)  
Old 8th June 2008
oleksus oleksus is offline
New User
 
Join Date: Jun 2008
Posts: 6
Default

Weird. I placed the required tarball in the respective directories, but it repeats the same thing.

I guess, I'll have to configure internet before I'm on to fluxbox...

Well, thanks anyway.
Reply With Quote
  #6   (View Single Post)  
Old 9th June 2008
DrJ DrJ is offline
ISO Quartermaster
 
Join Date: Apr 2008
Location: Gold Country, CA
Posts: 507
Default

Quote:
Originally Posted by oleksus View Post
Weird. I placed the required tarball in the respective directories, but it repeats the same thing.
If the port still sought the files, then the files you placed in distfiles were not the ones that the port expected. It might be as simple as a version difference.
Reply With Quote
  #7   (View Single Post)  
Old 9th June 2008
oleksus oleksus is offline
New User
 
Join Date: Jun 2008
Posts: 6
Default

No, the tarball it tries to fetch from ftp is exactly the same, I checked.

It seems like it's just not in the right directory?

In /usr/ports/x11-wm/fluxbox there are such folders:
Makefile distinfo files pfg-descr pkg-plist
The patches you mentioned are in the 'files' directory.

I have a tarball, and I also have it unpacked in a separate folder. Where should I put which files, so that it finds them finally, and starts to install?
Reply With Quote
  #8   (View Single Post)  
Old 9th June 2008
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Banned
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Default

You know, fluxbox may have additional dependencies as well... any particular reason you opted for the ports route vs packages?

Have you installed imlib2/bzip2/libid3tag/jpeg/png/tiff/libungif yet?

I'm sure packages would have simplified your experience 10-fold, if only initially...
Reply With Quote
  #9   (View Single Post)  
Old 9th June 2008
greencross's Avatar
greencross greencross is offline
Real Name: David Gevorgyan
Fdisk Soldier
 
Join Date: May 2008
Location: Yerevan, Armenia
Posts: 58
Default

If you don't have configured net connection it would be more prudent to use package system. Download this file and use # pkg_add fluxbox-1.0.0.tbz command.
And as BSDfan666 told you may have to download dependencies (also packages) for fluxbox which are listed here.

Last edited by greencross; 9th June 2008 at 10:13 AM.
Reply With Quote
Old 9th June 2008
roddierod's Avatar
roddierod roddierod is offline
Real Name: Rod Person
VPN Cryptographer
 
Join Date: Apr 2008
Location: Pittsburgh, Pa
Posts: 437
Default

Quote:
Originally Posted by oleksus View Post
No, the tarball it tries to fetch from ftp is exactly the same, I checked.

It seems like it's just not in the right directory?

In /usr/ports/x11-wm/fluxbox there are such folders:
Makefile distinfo files pfg-descr pkg-plist
The patches you mentioned are in the 'files' directory.

I have a tarball, and I also have it unpacked in a separate folder. Where should I put which files, so that it finds them finally, and starts to install?
Did you get the tarball from the FreeBSD ports page on the web site? If so did you click on the name of the package (fluxbox-1.0.0_2)? If this is what you did you only downloaded the port package that tell freebsd how to build Fluxbox and what source file to get. You would need to click the link that says 'source' underneath the package name. Just wanted to point that out in case that is what you did and were wondering why it is not working.

If you did something else just ignore me
__________________
"The basic tool for the manipulation of reality is the manipulation of words. If you can control the meaning of words, you can control the people who must use the words." -Philip K. Dick
Reply With Quote
Old 9th June 2008
DrJ DrJ is offline
ISO Quartermaster
 
Join Date: Apr 2008
Location: Gold Country, CA
Posts: 507
Default

Quote:
Originally Posted by oleksus View Post
I have a tarball, and I also have it unpacked in a separate folder. Where should I put which files, so that it finds them finally, and starts to install?
They go in /usr/ports/distfiles and you don't need to unzip them.

The package route mentioned also works, of course.

If you have no internet access, how are you posting here? If it is just a configuration issue, take care of that first.
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
setup gdm for fluxbox on FreeBSD 6.2 map7 FreeBSD General 9 10th November 2008 01:06 AM
Installing FreeBSD and encryption? neurosis FreeBSD Security 1 1st November 2008 05:51 PM
installing linux on freeBSD freddybaker Other BSD and UNIX/UNIX-like 4 17th October 2008 03:40 PM
Installing eclipse on FreeBSD 7 weziw FreeBSD Ports and Packages 2 13th July 2008 03:18 PM
Looking towards installing FreeBSD 7.0 austinramsay FreeBSD General 4 23rd June 2008 01:39 AM


All times are GMT. The time now is 04:54 AM.


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