Professional Web Applications Themes

Compilation Problems - Sun Solaris

Hi, I am trying to install php4.3.3 on a sparc platform using the following options: ../configure --with-mysql=/usr/local/mysql --with-xml --with-apache=../apache_1.3.28 --enable-track-vars The problem comes when i "make." It appears the sparc's ld is interferring with gnu's ld on the system linking, is there a work around? ---begin error------- /opt/csw/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3/real-ld: illegal option -- - /opt/csw/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3/real-ld: illegal option -- - /opt/csw/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3/real-ld: illegal option -- - /opt/csw/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3/real-ld: illegal option -- - usage: ld [-6:abc:d:e:f:h:il:mo:p:rstu:z:B:CD:F:GI:L:M:N:P:Q:R :S:VY:?] file(s) ---last line of error-- collect2: ld returned 1 exit status *** Error code 1 make: Fatal error: Command failed for target `sapi/cli/php' Regards, Wyndell...

  1. #1

    Default Compilation Problems

    Hi,

    I am trying to install php4.3.3 on a sparc platform using the
    following options:

    ../configure --with-mysql=/usr/local/mysql --with-xml
    --with-apache=../apache_1.3.28 --enable-track-vars

    The problem comes when i "make." It appears the sparc's ld is
    interferring with gnu's ld on the system linking, is there a work
    around?

    ---begin error-------
    /opt/csw/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3/real-ld: illegal
    option -- -
    /opt/csw/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3/real-ld: illegal
    option -- -
    /opt/csw/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3/real-ld: illegal
    option -- -
    /opt/csw/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3/real-ld: illegal
    option -- -
    usage: ld [-6:abc:d:e:f:h:il:mo:p:rstu:z:B:CD:F:GI:L:M:N:P:Q:R :S:VY:?]
    file(s)

    ---last line of error--
    collect2: ld returned 1 exit status
    *** Error code 1
    make: Fatal error: Command failed for target `sapi/cli/php'

    Regards,
    Wyndell
    Wyndell Guest

  2. #2

    Default Re: Compilation Problems

    Wyndell <com> wrote: 
     
     
     

    In general, you need to use the linker that the compiler expects you to
    use. You want the correct one to be first in your path so that it is
    invoked.

    I can't see any way that one 'ld' would *interfere* with another one.
    Just set your path so that the correct one is seen.

    --
    Darren Dunham com
    Unix System Administrator Taos - The SysAdmin Company
    Got some Dr Pepper? San Francisco, CA bay area
    < This line left intentionally blank to confuse you. >
    Darren Guest

  3. #3

    Default Re: Compilation Problems

    Thanks will do.

    Darren Dunham <taos.com> wrote in message news:<2cZdb.73$news.prodigy.com>... 



    >
    > In general, you need to use the linker that the compiler expects you to
    > use. You want the correct one to be first in your path so that it is
    > invoked.
    >
    > I can't see any way that one 'ld' would *interfere* with another one.
    > Just set your path so that the correct one is seen.[/ref]
    Wyndell Guest

Similar Threads

  1. re-compilation
    By Thamara in forum Linux Setup, Configuration & Administration
    Replies: 3
    Last Post: October 19th, 07:24 AM
  2. Ruby compilation problems
    By Thomas Adam in forum Ruby
    Replies: 3
    Last Post: October 16th, 01:34 PM
  3. xv compilation
    By Rodney D. Myers in forum Debian
    Replies: 1
    Last Post: August 2nd, 04:10 PM

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