Professional Web Applications Themes

Which ports use C++? - FreeBSD

Hello! I'm planning to upgrade one of my servers from RELENG_5_2 to RELENG_5_3. In my reading of /usr/src/UPDATING I have reached the entry of 20040728 which says that all programs written in C++ need to be recompiled. Ugh. Is there an easy way to find out whether particular port uses C++? I had a quick look at bsd.port.mk but didn't see anything. The ports I'm most interested in are apache2, mod_php4, mysql40-server, postfix and cyrus-imapd. Or should I more or less expect that I need to rebuild *all* the ports anyway?...

  1. #1

    Default Which ports use C++?

    Hello!

    I'm planning to upgrade one of my servers from RELENG_5_2 to RELENG_5_3.
    In my reading of /usr/src/UPDATING I have reached the entry of 20040728
    which says that all programs written in C++ need to be recompiled. Ugh.

    Is there an easy way to find out whether particular port uses C++? I had
    a quick look at bsd.port.mk but didn't see anything.

    The ports I'm most interested in are apache2, mod_php4, mysql40-server,
    postfix and cyrus-imapd.

    Or should I more or less expect that I need to rebuild *all* the ports
    anyway?
    Toomas Guest

  2. #2

    Default Re: Which ports use C++?

    On Wed, Mar 16, 2005 at 08:53:05PM +0200, Toomas Aas wrote: 

    Not easily. You can look at the symbol table of every file on the
    system associated to ports and grep for some common C++ symbols, but
    this is more trouble than it's worth.
     

    That's best; there are other incompatibilities that are there when you
    have old (compiled on 5.2) versions of a library and you try and
    compile new software against them on 5.3.

    Kris

    --
    In God we Trust -- all others must submit an X.509 certificate.
    -- Charles Forsythe <mit.edu>
    Kris Guest

  3. #3

    Default Re: Which ports use C++?

    Kris Kennaway wrote:
     
    >
    > That's best; there are other incompatibilities that are there when you
    > have old (compiled on 5.2) versions of a library and you try and
    > compile new software against them on 5.3.[/ref]

    OK. But just to make sure I understand it right - does this mean that if
    I upgrade to 5.3, then those ports that depend on some incompatible
    library or are written in C++ do not work until they are recompiled?

    I'm aware that some of the library upgrades can be overcome with
    /etc/libmap.conf, but apparently this doesn't get it all.
    Toomas Guest

  4. #4

    Default Re: Which ports use C++?

    On Thu, Mar 17, 2005 at 06:45:53AM +0200, Toomas Aas wrote: 
    > >
    > >That's best; there are other incompatibilities that are there when you
    > >have old (compiled on 5.2) versions of a library and you try and
    > >compile new software against them on 5.3.[/ref]
    >
    > OK. But just to make sure I understand it right - does this mean that if
    > I upgrade to 5.3, then those ports that depend on some incompatible
    > library or are written in C++ do not work until they are recompiled?
    >
    > I'm aware that some of the library upgrades can be overcome with
    > /etc/libmap.conf, but apparently this doesn't get it all.[/ref]

    Correct on both counts.

    Kris

    --
    In God we Trust -- all others must submit an X.509 certificate.
    -- Charles Forsythe <mit.edu>
    Kris Guest

  5. #5

    Default Re: Which ports use C++?

    Kris Kennaway wrote:
     
    >>
    >>OK. But just to make sure I understand it right - does this mean that if
    >>I upgrade to 5.3, then those ports that depend on some incompatible
    >>library or are written in C++ do not work until they are recompiled?
    >>
    >>I'm aware that some of the library upgrades can be overcome with
    >>/etc/libmap.conf, but apparently this doesn't get it all.[/ref]
    >
    > Correct on both counts.[/ref]

    I guess I was lucky in that all my "important" ports: postfix,
    amavisd-new, cyrus-imapd, mod_php, mysql40-server and apache2 survived
    the OS upgrade without the need to re-compile them. I *am* still
    planning to re-compile them anyway, I'm just glad I didn't *have* to do
    it all in one night.

    Just wanted to record this as a data point in the list archives, in case
    someone else is looking at a same sort of upgrade.

    --
    Toomas Aas
    Toomas Guest

Similar Threads

  1. FTP ports necessary
    By bskibs in forum Macromedia Contribute Connection Administrtion
    Replies: 1
    Last Post: March 15th, 06:26 PM
  2. No ports without ftp ?
    By Claudiu Bichir in forum FreeBSD
    Replies: 1
    Last Post: February 27th, 06:23 PM
  3. Ports
    By krl in forum FreeBSD
    Replies: 1
    Last Post: February 16th, 11:46 AM
  4. TCP/IP Ports
    By Brooks in forum FileMaker
    Replies: 3
    Last Post: January 5th, 02:31 PM
  5. com/lpt/ps2 ports
    By !!!NoOther!!! webforumsuser@macromedia.com in forum Macromedia Director Lingo
    Replies: 4
    Last Post: July 15th, 07:40 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