Re: Totally newbie - install problems

2003-06-19 Thread Kevin Stevens
But I need other
 packages
  like wxPython, PyCrypto and others for my work. I know I can download
  the source code and compile them. I could also find binaries but the
 dependency tree is endless (and I had version problems too). I read the
 comparison where someone said FreeBSD is even better than Debian in
 this matter. This was one reason why I decided to use FreeBSD. I know
 the solution is out there but I don't know where it is.

You want the ports collection; located by default in /usr/ports.  If you
didn't install it initially, you can do so with sysinstall.  Ports are
source code bundles along with FreeBSD tweaks and installation defaults. 
You want to use cvsup to update the port information database regularly,
and it's recommended that you use the portupgrade utility to handle port
interdependencies.  See the FreeBSD handbook for details on the above.

Having done so, my routine for updating all 100+ applications on my
machine is reduced to:
cvsup-ports  ; Make sure my ports database is up-to-date
pkgdb -F ; Make sure my installed packages database is consistent
portupgrade -ra  ; Download, compile, and install all updated applications

BTW, both the apps you specified are indeed in the ports collection
presently.

KeS
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Totally newbie - install problems

2003-06-19 Thread Simon Barner
Hi,

 But I need other 
 packages like wxPython, PyCrypto and others for my work. I know I can 
 download the source code and compile them. I could also find binaries but 
 the dependency
 tree is endless (and I had version problems too). I read the comparison 
 where someone said FreeBSD is even better than Debian in this matter. This 
 was one reason why I decided to use FreeBSD. I know the solution is out 
 there but I don't
 know where it is.

This is where the ports collection comes into play:

First you can search it for the desired port:

% cd /usr/ports
% make search name=wxPython

Port:   py22-wxPython-2.4.0.7
Path:   /usr/ports/x11-toolkits/py-wxPython

% cd x11-toolkits/py-wxPython
% make install clean

(PyCrypto is also avialable in that collection).

For more information regarding the ports collection you should consult
the handbook http://www.freebsd.org/handbook/ports.html and/or ports(7).

  I'm looking for the FreeBSD equivalent of apt-get in 
 Debian. Probably I will need to setup several client computers in the end, 
 so an automated installation would be the best (download and install 
 required packages/ports for the selected package/port automatically). 

You can build your own packages with the ports collection (just use make
package instead of make install).

But if the machines will have exactly the same disk layout, setting up a
master and cloning it with dd(1) might be more efficient.

Regards,
 Simon
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Totally newbie - install problems

2003-06-19 Thread jle

Probably I will need to setup several client computers in the end, so an
automated installation would be the best (download and install required
packages/ports for the selected package/port automatically).
Can you help me?

When you install your ports, use the 'depend all' switches

cd /usr/ports/pick a port
make depend all install clean

That will install the port, it's dependencies and clean it up after.

HTH
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Totally newbie - install problems

2003-06-19 Thread Warren Block
On Thu, 19 Jun 2003, jle wrote:

 Probably I will need to setup several client computers in the end, so an
 automated installation would be the best (download and install required
 packages/ports for the selected package/port automatically).
 Can you help me?

 When you install your ports, use the 'depend all' switches

 cd /usr/ports/pick a port
 make depend all install clean

 That will install the port, it's dependencies and clean it up after.

The target is actually depends with the s.

But how is that different from 'make install clean'?

-Warren Block * Rapid City, South Dakota USA
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Totally newbie - install problems

2003-06-19 Thread jle

 The target is actually depends with the s.

 But how is that different from 'make install clean'?

*shrug*
make depend (without the 's') all install clean has always worked for me.
I've used that since FreeBSD 2.1 at least.

I would think if it was depends that it would say something like:

make: don't know how to make depend. Stop

So I assume that depend makes dependencies and all makes all options. I've
never really cared what the targets do individually but that's what I use
to build ports, it always builds the dependencies and I've never had
any problems using it. Maybe it's redundant or superfluous but it works
for me.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Totally newbie - install problems

2003-06-19 Thread Jud
On Thu, 19 Jun 2003 17:52:09 -0700 (PDT), jle [EMAIL PROTECTED] wrote:


The target is actually depends with the s.

But how is that different from 'make install clean'?
*shrug*
make depend (without the 's') all install clean has always worked for me.
I've used that since FreeBSD 2.1 at least.
I would think if it was depends that it would say something like:

make: don't know how to make depend. Stop

So I assume that depend makes dependencies and all makes all options. 
I've
never really cared what the targets do individually but that's what I use
to build ports, it always builds the dependencies and I've never had
any problems using it. Maybe it's redundant or superfluous but it works
for me.
It's probably automatic by now, but yeah, you can save yourself a bit of 
typing by just using

# make install clean

- it builds all dependencies as well as the main port.  Portupgrade by 
itself won't upgrade all the dependencies.  You'll want to use the -R 
option for that.

Jud

Jud
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Totally newbie - install problems

2003-06-19 Thread Warren Block
On Thu, 19 Jun 2003, jle wrote:

  The target is actually depends with the s.
 
  But how is that different from 'make install clean'?

 *shrug*
 make depend (without the 's') all install clean has always worked for me.

Okay.  The man page lists it with the extra s.

 So I assume that depend makes dependencies and all makes all options. I've
 never really cared what the targets do individually but that's what I use
 to build ports, it always builds the dependencies and I've never had
 any problems using it. Maybe it's redundant or superfluous but it works
 for me.

I just thought maybe there was some different functionality versus just
the install target.  Actually, I often split up the make, install, and
clean steps in case it turns out I needed to use different build
options.

-Warren Block * Rapid City, South Dakota USA
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]