Professional Web Applications Themes

Installing portupgrade without X.org - FreeBSD

I'm currently trying to get portupgrade onto my new FreeBSD system by running make install clean from /usr/ports/sysutils/portupgrade (after doing a recent cvsup). Everything seems to go along fine, it starts fetching all the packages it requires and then suddenly I see a download for X.org. This is a server system and there's no monitor attached so installing X is a bit pointless and a waste of time for me, but I don't know how to say "install this port *without* X dependancies" as this is the first time I've come across this problem (when I installed cvsup I used ...

  1. #1

    Default Installing portupgrade without X.org

    I'm currently trying to get portupgrade onto my new FreeBSD system by
    running make install clean from /usr/ports/sysutils/portupgrade (after
    doing a recent cvsup). Everything seems to go along fine, it starts
    fetching all the packages it requires and then suddenly I see a
    download for X.org. This is a server system and there's no monitor
    attached so installing X is a bit pointless and a waste of time for
    me, but I don't know how to say "install this port *without* X
    dependancies" as this is the first time I've come across this problem
    (when I installed cvsup I used the -without-gui port so it wasn't a
    problem).

    I've searched around but the only relevant material I've managed to
    find is something about installing the JDK without X.org which seems
    to be specific to that case and all the other results seem to be about
    problems installing X which I don't want to do. I'm fairly new to BSD
    and I've never got this far setting up a system from scratch before
    (every other time I've stumbled somewhere on the way) so any
    advice/pointers would be greatly appreciated.

    Thanks in advance.

    Paul

    --
    Rogue Tory
    www.roguetory.org.uk
    Paul Guest

  2. #2

    Default Re: Installing portupgrade without X.org

    Hey Paul

    From what I remember portupgrade does not use x-libs. But your culprit
    might be ruby or bzip because they are the dependencies for this pkg and
    those might require some kind of x-libs to run. You might want to look
    into the makefiles for each dependency and looking if it's using X in
    any ways. And seeing there if you can disable it.

    --Roman


    Paul Waring wrote: 

    Roman Guest

  3. #3

    Default Re: Installing portupgrade without X.org

    On Sat, Apr 09, 2005 at 12:26:48PM +0100, Paul Waring wrote: 

    It is not portupgrade that needs X but a dependent port. Which specific
    port? In general just with WITHOUT_X11=1 to /etc/make.conf. Once
    you've got portupgrade installed you can control individual ports more
    specifically through editing pkgtools.conf in /usr/local/etc.

    -Lewis Thompson.

    --
    I was so much older then, I'm younger than that now. --Bob Dylan, 1964.
    -| msn:org | jabber:org | url:www.lewiz.org |-
    Lewis Guest

  4. #4

    Default Re: Installing portupgrade without X.org

    On Apr 9, 2005 5:23 PM, Glenn Dawson <net> wrote: 

    Cheers Glenn, that solved the problem (I was having the same issue
    with vim so I was glad to hear of a way to disable it globally).

    Paul

    --
    Rogue Tory
    www.roguetory.org.uk
    Paul Guest

  5. #5

    Default Re: Installing portupgrade without X.org

    On 2005-04-09, Lewis Thompson <man.ac.uk> wrote: 
    >
    > It is not portupgrade that needs X but a dependent port. Which specific
    > port? In general just with WITHOUT_X11=1 to /etc/make.conf.[/ref]

    I think it is

    WITHOUT_X11="YES"

    Does it make any difference?

    Sergei Guest

  6. #6

    Default Re: Installing portupgrade without X.org

    On Sat, Apr 09, 2005 at 01:37:22PM -0700, Sergei Gnezdov wrote: 

    Not really. WITHOUT_X11=1 works perfectly for me. Just saves a little
    time typing it ;)

    -Lewis Thompson.

    --
    I was so much older then, I'm younger than that now. --Bob Dylan, 1964.
    -| msn:org | jabber:org | url:www.lewiz.org |-
    Lewis Guest

  7. #7

    Default Re: Installing portupgrade without X.org

    On Sat, Apr 09, 2005 at 01:37:22PM -0700, Sergei Gnezdov wrote: 
    > >
    > > It is not portupgrade that needs X but a dependent port. Which specific
    > > port? In general just with WITHOUT_X11=1 to /etc/make.conf.[/ref]
    >
    > I think it is
    >
    > WITHOUT_X11="YES"
    >
    > Does it make any difference?[/ref]

    No, the value for such variables is unimportant (WITHOUT_X11="NO"
    works just as well)

    Kris

    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.4.0 (FreeBSD)

    iD8DBQFCWEx4Wry0BWjoQKURAmxwAKDMujn6H/rDmiZYt2hfFZ/hABlLEACgi2L3
    OelXFNq6r/BO60eo6WgZoQw=
    =a29Z
    -----END PGP SIGNATURE-----

    Kris Guest

  8. #8

    Default Re: Installing portupgrade without X.org

    The only thing that matters is that WITHOUT_X11 is defined. The value
    itself doesn't matter.



    On Apr 9, 2005 2:37 PM, Sergei Gnezdov <net> wrote: 
    > >
    > > It is not portupgrade that needs X but a dependent port. Which specific
    > > port? In general just with WITHOUT_X11=1 to /etc/make.conf.[/ref]
    >
    > I think it is
    >
    > WITHOUT_X11="YES"
    >
    > Does it make any difference?
    >
    > _______________________________________________
    > org mailing list
    > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    > To unsubscribe, send any mail to "org"
    >[/ref]
    Pat Guest

  9. #9

    Default Re: Installing portupgrade without X.org

    On 2005-04-09, Lewis Thompson <man.ac.uk> wrote: 

    Manpage does not seem to provide much help and I could not find
    anything related to individual package configuration options such as
    WITHOUT_X11 in the file itself.

    Are there any instructions on pkgtools.conf file?

    Sergei Guest

  10. #10

    Default Re: Installing portupgrade without X.org

    On Sat, Apr 09, 2005 at 06:35:27PM -0700, Sergei Gnezdov wrote: 

    pkgtools.conf is just a handy way of storing all of the port-specific
    options. If you search the file you will find MAKE_ARGS. There are
    some examples in the file and good comments. e.g.
    MAKE_ARGS = {
    'databases/phpmyadmin' => 'WITH_SUPHP=1',
    }

    would cause portupgrade to /always/ build databases/phpmyadmin with
    WITH_SUPHP=1
     

    They're mostly in the pkgtools.conf file itself.

    Hope that's some help,

    -Lewis Thompson.

    --
    I was so much older then, I'm younger than that now. --Bob Dylan, 1964.
    -| msn:org | jabber:org | url:www.lewiz.org |-
    Lewis Guest

Similar Threads

  1. Using portupgrade
    By Pat in forum FreeBSD
    Replies: 2
    Last Post: March 22nd, 08:22 PM
  2. Replies: 25
    Last Post: March 17th, 01:29 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not 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