Re: Install DragonFlyBSD on 48 MB RAM

2012-03-03 Thread v_2e
  Hello!
  First of all, thank you everybody for your suggestions! :)

  Next:

On Sat, 3 Mar 2012 07:42:19 +0100
Thomas Nikolajsen thomas.nikolaj...@mail.dk wrote:
 
 Our installer isn't a small program, it isn't supposed to work on
 small mem systems. 
  In such case it is good to know that it is still possible to run it
(just like I described in my previous message). 

 Please do setup youself (installer capabilities
 are quite basic anyway), please read rc.conf.5: 'man rc.conf, or
 http://leaf.dragonflybsd.org/cgi/web-man?command=rc.confsection=ANY .
 This has links to other commands / setup files; our handbook also has
 info on this. This way you will also learn much more :)
 
  Yes, of course, I'll do that. The reasons I ran the 'installer' were:
1. I still know too little about DragonFlyBSD configuration (well,
actually, about any *BSD system configuration) and needed a quick start.
2. To see what I can use this installer for.
  Next I surely will start tuning the configuration files step by step.

 
 Anyway building non trivial programs isn't possible on a low mem
 system (if you can run gcc(1) at all), so likely you will not have
 much use for what 'make pkgsrc-create' fetches; if you like it anyway
 just fetch the files in tar format, as suggested in this thread.
 
  I used to build a lot of programs on this machine under GNU/Linux
using the CRUX's ports tree. So it should be quite possible to compile
some software on it (for example, I always used a self-compiled
Transmission torrent-client). And also, somebody pointed out in this
thread that the .tar archive with the pkgsrc tree may not align well
with my current DragonFlyBSD version, or have I misunderstood something?
Anyway, where can I download the archive with the pkgsrc tree?

  Thanks,
Vladimir
- 
 v...@ukr.net


Re: Install DragonFlyBSD on 48 MB RAM

2012-03-03 Thread Justin Sherrill
On Sat, Mar 3, 2012 at 9:07 AM,  v...@ukr.net wrote:
 And also, somebody pointed out in this
 thread that the .tar archive with the pkgsrc tree may not align well
 with my current DragonFlyBSD version, or have I misunderstood something?
 Anyway, where can I download the archive with the pkgsrc tree?

ftp://ftp.netbsd.org/pub/pkgsrc/pkgsrc-2011Q4/pkgsrc.tar.gz

I'll go into detail on the version issue.  There are quarterly
releases of pkgsrc, labeled by year and quarter.  The most recent one
is 2011Q4.  The next one will be 2012Q1.  Those quarterly releases are
made with a few weeks of bugfixing in pkgsrc, with no drastic changes,
so they should have more working, stable packages than during normal
pkgsrc development.

DragonFly 3.0 was built with 2011Q4, so any existing packages on there
were from 2011Q4.  That pkgsrc tarball represents pkgsrc as it is this
week, so it may build newer versions of some packages, including any
that came with your DragonFly installation.  That's not necessarily
bad; it just means that some pkgsrc packages already on your system
may be upgraded as a consequence of using this newer pkgsrc tarball.

There is a chance there would be more packages in pkgsrc that would
not build when it's not a quarterly build.  For example, if a
frequently-used library like gettext or libjpeg was being upgraded,
and a lot of packages would need to be changed to accommodate that.

The pkg_radd tool will download pre-built binary packages, but they
are built using a quarterly release, so again you may have version
mismatches if you download the tarball and build something from that,
and then use pkg_radd to download something else that is dependent on
an older version of the same library.

There is no pkgsrc tarball that goes with 2011Q4, that I know of,
which would solve this problem.

My advice would be to download the tarball, untar it to /usr/pkgsrc,
and then go from there.  Binary packages would be faster, but it'll
require a bit more fiddling in case of conflicts, and I don't want to
throw that at you as you are learning a new system.


Re: Install DragonFlyBSD on 48 MB RAM

2012-03-03 Thread Francois Tigeot
On Sat, Mar 03, 2012 at 01:33:35PM -0500, Justin Sherrill wrote:
 On Sat, Mar 3, 2012 at 9:07 AM,  v...@ukr.net wrote:
  And also, somebody pointed out in this
  thread that the .tar archive with the pkgsrc tree may not align well
  with my current DragonFlyBSD version, or have I misunderstood something?
  Anyway, where can I download the archive with the pkgsrc tree?
 
 ftp://ftp.netbsd.org/pub/pkgsrc/pkgsrc-2011Q4/pkgsrc.tar.gz
[...]
 There is no pkgsrc tarball that goes with 2011Q4, that I know of,
 which would solve this problem.

Justin, the tarball you have linked to _is_ 2011Q4.

It may also be downloaded from this url to get a more explicit name:
ftp://ftp.netbsd.org/pub/pkgsrc/pkgsrc-2011Q4/pkgsrc-2011Q4.tar.gz

-- 
Francois Tigeot