Questions about ports

Ask a Question related to FreeBSD, Design and Development.

  1. #1

    Default Questions about ports

    Hello FreeBSD friends

    I have a question about ports. I have installed FreeBSD 5.3 on a AMD 400
    MHz machine with 64 MB RAM, so it is not a fast machine for compiling
    big programs! :-). The problem I am going to tell you, happened to me
    several weeks ago into another slower machine (Pentium 75 in which there
    is no OS now), and I can not remember some details, so I am sorry if I
    am not too acurate. I suppose I will run into this problem again with
    the AMD machine so I would like to understand it better.


    1- I installed mozilla 1.7.2-2,2 from the packages on the CDROM.
    2- I cvsuped the ports collection.
    3- I installed and compiled some programs from the updated ports collection.
    4- Mozilla did not work anymore cause in needs atk-1.6.1.

    Mozilla in the package is 1.7.2_2,2 and depends on atk-1.6.1
    If I install programs from the updated ports tree, atk-1.8.0 was
    installed for another port and atk-1.6.1 removed, but mozilla on the
    CDROM package wants atk-1.6.1. So, If I try to install again from the
    cdrom, it cant cause atk-1.8.0 is installed.

    Compilling mozilla in this slow machine is not reasonable, so:

    Can I download a more updated mozilla package acording to my updated
    ports collection? I have browsed pkg_add man pages and believe that the
    environment variables PACKAGESITE and PACKAGEROOT need to be set so that
    pkg_add can fetch more updated packages. Am I right? Where should they
    point to?

    I will use pkg_add only for big programs, and I can use the ports
    collectio to compile the little ones.

    Many thanks.

    Ramiro.



    Ramiro Aceves Guest

  2. Similar Questions and Discussions

    1. No ports without ftp ?
      Hello guys ! I'm on a LAN which has the ftp port blocked. Is there any chance for me to install aplications from ports ? Thank you ! ...
    2. Ports
      Can Action Script access ports or live audio? I.E. be a passive device between the speakers and the motherboard.
    3. TCP/IP ports in use
      Is there any command to list the TCP/IP ports are alreday in use? Thanks
    4. com/lpt/ps2 ports
      Hi! Can director 'deal' with the computer's ports?
    5. UDP ports
      I have a program that requires UDP ports 3000 through 4000 and lately it has trouble accessing a server through those ports apparently...my browser...
  3. #2

    Default Re: Questions about ports

    Ramiro Aceves wrote:
    > Hello FreeBSD friends
    >
    > I have a question about ports. I have installed FreeBSD 5.3 on a AMD 400
    > MHz machine with 64 MB RAM, so it is not a fast machine for compiling
    > big programs! :-). The problem I am going to tell you, happened to me
    > several weeks ago into another slower machine (Pentium 75 in which there
    > is no OS now), and I can not remember some details, so I am sorry if I
    > am not too acurate. I suppose I will run into this problem again with
    > the AMD machine so I would like to understand it better.
    >
    >
    > 1- I installed mozilla 1.7.2-2,2 from the packages on the CDROM.
    > 2- I cvsuped the ports collection.
    > 3- I installed and compiled some programs from the updated ports
    > collection.
    > 4- Mozilla did not work anymore cause in needs atk-1.6.1.
    >
    > Mozilla in the package is 1.7.2_2,2 and depends on atk-1.6.1
    > If I install programs from the updated ports tree, atk-1.8.0 was
    > installed for another port and atk-1.6.1 removed, but mozilla on the
    > CDROM package wants atk-1.6.1. So, If I try to install again from the
    > cdrom, it cant cause atk-1.8.0 is installed.
    >
    > Compilling mozilla in this slow machine is not reasonable, so:
    >
    > Can I download a more updated mozilla package acording to my updated
    > ports collection? I have browsed pkg_add man pages and believe that the
    > environment variables PACKAGESITE and PACKAGEROOT need to be set so that
    > pkg_add can fetch more updated packages. Am I right? Where should they
    > point to?
    >
    > I will use pkg_add only for big programs, and I can use the ports
    > collectio to compile the little ones.
    >
    > Many thanks.
    >
    > Ramiro.
    >

    Hey friends!, am I on your e-mail black list? ;-)

    It is strange that nobody has answered my question. I have been
    investigating further. Do you think I should download packages (not
    ports) from 5-stable instead from 5.3 release?

    I mean, are 5-stable packages closer to an up to date ports collection?

    I am waiting for a good advice before messing my ports!

    Thanks.

    Ramiro.
    >
    >
    > _______________________________________________
    > [email]freebsd-questions@freebsd.org[/email] mailing list
    > [url]http://lists.freebsd.org/mailman/listinfo/freebsd-questions[/url]
    > To unsubscribe, send any mail to
    > "freebsd-questions-unsubscribe@freebsd.org"
    >
    Ramiro Aceves Guest

  4. #3

    Default Re: Questions about ports

    Ramiro Aceves <ea1abz@wanadoo.es> writes:
    > Hello FreeBSD friends
    >
    > I have a question about ports. I have installed FreeBSD 5.3 on a AMD
    > 400 MHz machine with 64 MB RAM, so it is not a fast machine for
    > compiling big programs! :-). The problem I am going to tell you,
    > happened to me several weeks ago into another slower machine (Pentium
    > 75 in which there is no OS now), and I can not remember some details,
    > so I am sorry if I am not too acurate. I suppose I will run into this
    > problem again with the AMD machine so I would like to understand it
    > better.
    >
    >
    > 1- I installed mozilla 1.7.2-2,2 from the packages on the CDROM.
    > 2- I cvsuped the ports collection.
    > 3- I installed and compiled some programs from the updated ports collection.
    > 4- Mozilla did not work anymore cause in needs atk-1.6.1.
    >
    > Mozilla in the package is 1.7.2_2,2 and depends on atk-1.6.1
    > If I install programs from the updated ports tree, atk-1.8.0 was
    > installed for another port and atk-1.6.1 removed, but mozilla on the
    > CDROM package wants atk-1.6.1. So, If I try to install again from the
    > cdrom, it cant cause atk-1.8.0 is installed.
    >
    > Compilling mozilla in this slow machine is not reasonable, so:
    >
    > Can I download a more updated mozilla package acording to my updated
    > ports collection? I have browsed pkg_add man pages and believe that
    > the environment variables PACKAGESITE and PACKAGEROOT need to be set
    > so that pkg_add can fetch more updated packages. Am I right? Where
    > should they point to?
    If you are going to mess around with those, it's probably easier to go
    directly to one of the FTP sites and download the package by hand.
    For example, on ftp2.es.freebsd.org, you could get the package file
    pub/FreeBSD/ports/i386/packages-5-stable/mozilla-1.7.5_1,2.tbz
    Lowell Gilbert Guest

  5. #4

    Default Re: Questions about ports

    Ramiro Aceves <ea1abz@wanadoo.es> writes:
    > It is strange that nobody has answered my question. I have been
    > investigating further. Do you think I should download packages (not
    > ports) from 5-stable instead from 5.3 release?
    >
    > I mean, are 5-stable packages closer to an up to date ports collection?
    Of course. 5.3 release will not change.

    There is also some risk that -STABLE ports won't work on your -RELEASE
    system, but as long as you have the base system of the most recent
    stable release, it should be fine.
    Lowell Gilbert Guest

  6. #5

    Default Re: Questions about ports

    On Monday 21 February 2005 06:15 am, Ramiro Aceves wrote:
    > Hello FreeBSD friends
    >
    > I have a question about ports. I have installed FreeBSD 5.3 on a AMD
    > 400 MHz machine with 64 MB RAM, so it is not a fast machine for
    > compiling big programs! :-). The problem I am going to tell you,
    > happened to me several weeks ago into another slower machine (Pentium
    > 75 in which there is no OS now), and I can not remember some details,
    > so I am sorry if I am not too acurate. I suppose I will run into
    > this problem again with the AMD machine so I would like to understand
    > it better.
    >
    >
    > 1- I installed mozilla 1.7.2-2,2 from the packages on the CDROM.
    > 2- I cvsuped the ports collection.
    > 3- I installed and compiled some programs from the updated ports
    > collection. 4- Mozilla did not work anymore cause in needs atk-1.6.1.
    >
    > Mozilla in the package is 1.7.2_2,2 and depends on atk-1.6.1
    > If I install programs from the updated ports tree, atk-1.8.0 was
    > installed for another port and atk-1.6.1 removed, but mozilla on the
    > CDROM package wants atk-1.6.1. So, If I try to install again from the
    > cdrom, it cant cause atk-1.8.0 is installed.
    >
    > Compilling mozilla in this slow machine is not reasonable, so:
    >
    > Can I download a more updated mozilla package acording to my updated
    > ports collection? I have browsed pkg_add man pages and believe that
    > the environment variables PACKAGESITE and PACKAGEROOT need to be set
    > so that pkg_add can fetch more updated packages. Am I right? Where
    > should they point to?
    >
    > I will use pkg_add only for big programs, and I can use the ports
    > collectio to compile the little ones.
    >
    > Many thanks.
    >
    > Ramiro.
    >
    Ramiro,

    If you're not going to compile from the ports tree, or use portupgrade
    or portmanager, then you will have to use pkg_add. Yoy don't have to
    set PACKAGESITE and/or PACKAGEROOT. You will probably have to do
    "pkg_delete mozilla-1.7.2_2,2 to remove mozilla from your installed
    packages. Then you can do "package_add -r mozilla", and it should
    download and install mozilla and required packages that haven't already
    been installed.

    Is there some reason you would rather use mozilla than, say, www/firefox
    and mail/thunderbird?

    Don

    --
    Donald J. O'Neill
    [email]donaldj1066@fastmail.fm[/email]

    I'm not totally useless,
    I can be used as a bad example.
    Donald J. O'Neill Guest

  7. #6

    Default Re: Questions about ports

    I think the best you can do is install linux-mozillafirebird. I'm
    using it for a couple of months now, because I had the same problems
    every time.
    Wouter van Rooij
    Wouter van Rooij Guest

  8. #7

    Default Re: Questions about ports

    ----- Original Message -----
    From: "Lowell Gilbert" <freebsd-questions-local@be-well.ilk.org>
    To: "Ramiro Aceves" <ea1abz@wanadoo.es>
    Cc: <freebsd-questions@FreeBSD.org>
    Sent: Tuesday, February 22, 2005 4:05 PM
    Subject: Re: Questions about ports
    > If you are going to mess around with those, it's probably easier to go
    > directly to one of the FTP sites and download the package by hand.
    > For example, on ftp2.es.freebsd.org, you could get the package file
    > pub/FreeBSD/ports/i386/packages-5-stable/mozilla-1.7.5_1,2.tbz
    Thanks Lowell,
    I am sorry, I am now at a winbugs computer at University. ;-)

    IIRC, I will have to donwload manually the packages in wich mozilla depends
    on. That was the reason I was looking for the PACKGEROOT and PACKAGESITE
    environment variables. I am right?

    Ramiro.



    > _______________________________________________
    > [email]freebsd-questions@freebsd.org[/email] mailing list
    > [url]http://lists.freebsd.org/mailman/listinfo/freebsd-questions[/url]
    > To unsubscribe, send any mail to
    "freebsd-questions-unsubscribe@freebsd.org"
    >
    >
    >

    Ramiro Aceves Guest

  9. #8

    Default Re: Questions about ports

    >
    > I must have missed the first message. Easy to do when there are
    > several hundred per day.
    ok, yes, this mailing list is high traffic and that also happens to me. :-)
    >
    > I would cvsup the latest ports collection. (There is no 5-stable ports
    > collection, the same set of ports works for all supported releases,
    > which is generally 4.11, 5.3, and -current, though that will change as
    > we release. In most cases ports will work with older versions too)
    >
    > then install either portupgrade or portmanager
    > (/usr/ports/sysutils/portupgrade or /usr/ports/sysutils/portmanager)
    >
    > I'm not sure which is better. I use portupgrade myself, but
    > portmanager is more likely to be able to solve this problem.
    > Whichever you choose, let it run for a few days (check often though,
    > sometimes it sit waiting for you to set some options!). That should
    > get everything up to date. At least portmanager as the ability to use
    > packages if you prefer.
    >
    > While your machine is slow, I compile everything on a ppro-200, so it
    > isn't impossible to compile on your machine.
    Ok, thank you very much. As you say, perhaps I will compile everything, as
    I do not need too many packages for this machine. This computer will be
    mainly used for browsing the Internet and reading emails, so, I think I can
    spend some hours to compile firefox or thunderbird.
    I will take a look to portmanager and portupgrade and see what I can do
    also.

    Thank you very much.
    Ramiro.


    >
    >
    >
    >

    Ramiro Aceves Guest

  10. #9

    Default Re: Questions about ports


    ----- Original Message -----
    From: "Donald J. O'Neill" <donaldj1066@fastmail.fm>
    To: <freebsd-questions@freebsd.org>
    Cc: "Ramiro Aceves" <ea1abz@wanadoo.es>
    Sent: Tuesday, February 22, 2005 4:59 PM
    Subject: Re: Questions about ports

    > On Monday 21 February 2005 06:15 am, Ramiro Aceves wrote:
    > > Hello FreeBSD friends
    > >
    > > I have a question about ports. I have installed FreeBSD 5.3 on a AMD
    > > 400 MHz machine with 64 MB RAM, so it is not a fast machine for
    > > compiling big programs! :-). The problem I am going to tell you,
    > > happened to me several weeks ago into another slower machine (Pentium
    > > 75 in which there is no OS now), and I can not remember some details,
    > > so I am sorry if I am not too acurate. I suppose I will run into
    > > this problem again with the AMD machine so I would like to understand
    > > it better.
    > >
    > >
    > > 1- I installed mozilla 1.7.2-2,2 from the packages on the CDROM.
    > > 2- I cvsuped the ports collection.
    > > 3- I installed and compiled some programs from the updated ports
    > > collection. 4- Mozilla did not work anymore cause in needs atk-1.6.1.
    > >
    > > Mozilla in the package is 1.7.2_2,2 and depends on atk-1.6.1
    > > If I install programs from the updated ports tree, atk-1.8.0 was
    > > installed for another port and atk-1.6.1 removed, but mozilla on the
    > > CDROM package wants atk-1.6.1. So, If I try to install again from the
    > > cdrom, it cant cause atk-1.8.0 is installed.
    > >
    > > Compilling mozilla in this slow machine is not reasonable, so:
    > >
    > > Can I download a more updated mozilla package acording to my updated
    > > ports collection? I have browsed pkg_add man pages and believe that
    > > the environment variables PACKAGESITE and PACKAGEROOT need to be set
    > > so that pkg_add can fetch more updated packages. Am I right? Where
    > > should they point to?
    > >
    > > I will use pkg_add only for big programs, and I can use the ports
    > > collectio to compile the little ones.
    > >
    > > Many thanks.
    > >
    > > Ramiro.
    > >
    >
    > Ramiro,
    >
    > If you're not going to compile from the ports tree, or use portupgrade
    > or portmanager, then you will have to use pkg_add. Yoy don't have to
    > set PACKAGESITE and/or PACKAGEROOT. You will probably have to do
    > "pkg_delete mozilla-1.7.2_2,2 to remove mozilla from your installed
    > packages. Then you can do "package_add -r mozilla", and it should
    > download and install mozilla and required packages that haven't already
    > been installed.
    I think I did that on the old pentium 75 MHz machine and mozilla refused to
    install if I did not remove the new atk package. As I needed the new atk for
    updated ports, old mozilla package on the cdrom could not be installed.
    >
    > Is there some reason you would rather use mozilla than, say, www/firefox
    > and mail/thunderbird?
    No reason. I installed mozilla cause it was the only modern graphical
    browser that I found on the CDROM, but I prefer firefox and thunderbird as
    separate packages. I also love the "links" family mainly for text browsing.
    I know that "links" also have graphics suppport, but it is not as intuitive
    as mozilla for my mother ;-).

    Thank you very much for your help.
    Ramiro.

    >
    > Don
    >
    > --
    > Donald J. O'Neill
    > [email]donaldj1066@fastmail.fm[/email]
    >
    > I'm not totally useless,
    > I can be used as a bad example.
    >
    >
    >

    Ramiro Aceves Guest

  11. #10

    Default Re: Questions about ports


    ----- Original Message -----
    From: "Wouter van Rooij" <aentgood@gmail.com>
    To: <freebsd-questions@freebsd.org>
    Sent: Tuesday, February 22, 2005 5:03 PM
    Subject: Re: Questions about ports

    > I think the best you can do is install linux-mozillafirebird. I'm
    > using it for a couple of months now, because I had the same problems
    > every time.
    Thanks, but I prefer using native FreeBSD applications if possible.


    Ramiro.


    > Wouter van Rooij
    > _______________________________________________
    > [email]freebsd-questions@freebsd.org[/email] mailing list
    > [url]http://lists.freebsd.org/mailman/listinfo/freebsd-questions[/url]
    > To unsubscribe, send any mail to
    "freebsd-questions-unsubscribe@freebsd.org"
    >
    >
    >

    Ramiro Aceves Guest

  12. #11

    Default Re: Questions about ports

    "Ramiro Aceves" <ea1abz@wanadoo.es> writes:
    > I am sorry, I am now at a winbugs computer at University. ;-)
    Which probably has fast Internet access, and might be a decent place
    to FTP from; but you would have to do it by hand, through an FTP client.
    > IIRC, I will have to donwload manually the packages in wich mozilla depends
    > on. That was the reason I was looking for the PACKGEROOT and PACKAGESITE
    > environment variables. I am right?
    You could do it that way, but you need to know the exact URL of the
    package file. [PACKAGEROOT doesn't help; it only specifies the host
    to download from.] You could automatically build the URL in a script,
    much the way that pkg_add does it internally.

    I'd still recommend building everything from ports, because you avoid
    the case of having some packages depending on a slightly different
    version of a dependency than another package. It takes a long time to
    build, but who cares -- you don't need to pay attention.
    Lowell Gilbert Guest

  13. #12

    Default Re: Questions about ports

    Hello again.

    Browsing the freebsd list, I have found this interesting link that
    explains it great:

    [url]http://www.taosecurity.com/keeping_freebsd_applications_up-to-date.html[/url]

    Thank you very much.
    Ramiro.
    Ramiro Aceves Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139