compiling php4 or 5 on macosx 10.4

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Terry Richards

    #1

    compiling php4 or 5 on macosx 10.4

    i am getting lots of errors such as:"...differs in signedness"
    what is it from?


    /Users/terryrichards/tmp/php-4.3.11/ext/zlib/zlib.c: In function
    'zif_gzcompress ':
    /Users/terryrichards/tmp/php-4.3.11/ext/zlib/zlib.c:440: warning:
    pointer targets in passing argument 1 of 'compress2' differ in signedness
    ....
    /Users/terryrichards/tmp/php-4.3.11/ext/session/session.c: In function
    'ps_srlzr_decod e_php_binary':
    /Users/terryrichards/tmp/php-4.3.11/ext/session/session.c:415: warning:
    pointer targets in passing argument 3 of 'php_var_unseri alize' differ in
    signedness
    /Users/terryrichards/tmp/php-4.3.11/ext/session/session.c: In function
    'ps_srlzr_decod e_php':
    /Users/terryrichards/tmp/php-4.3.11/ext/session/session.c:495: warning:
    pointer targets in passing argument 3 of 'php_var_unseri alize' differ in
    signedness
    ....
    /Users/terryrichards/tmp/php-4.3.11/ext/session/session.c: In function
    'ps_srlzr_decod e_php_binary':
    /Users/terryrichards/tmp/php-4.3.11/ext/session/session.c:415: warning:
    pointer targets in passing argument 3 of 'php_var_unseri alize' differ in
    signedness
    /Users/terryrichards/tmp/php-4.3.11/ext/session/session.c: In function
    'ps_srlzr_decod e_php':
    /Users/terryrichards/tmp/php-4.3.11/ext/session/session.c:495: warning:
    pointer targets in passing argument 3 of 'php_var_unseri alize' differ in
    signedness
    /Users/terryrichards/tmp/php-4.3.11/ext/session/session.c: In function
    'php_session_cr eate_id':
    /Users/terryrichards/tmp/php-4.3.11/ext/session/session.c:574: warning:
    pointer targets in passing argument 2 of 'PHP_MD5Update' differ in
    signedness
    ....
    In file included from
    /Users/terryrichards/tmp/php-4.3.11/regex/regcomp.c:14:
    /Users/terryrichards/tmp/php-4.3.11/regex/cclass.h:7: warning: pointer
    targets in initialization differ in signedness
    /Users/terryrichards/tmp/php-4.3.11/regex/cclass.h:7: warning: pointer
    targets in initialization differ in signedness
    /Users/terryrichards/tmp/php-4.3.11/regex/cclass.h:7: warning: pointer
    targets in initialization differ in signedness

    :-)^2
  • Michael Vilain

    #2
    Re: compiling php4 or 5 on macosx 10.4

    In article <NRAfe.8827$0i3 .8824@bignews3. bellsouth.net>,
    Terry Richards <sn00per1@bells outh.net> wrote:
    [color=blue]
    > i am getting lots of errors such as:"...differs in signedness"
    > what is it from?
    >
    >
    > /Users/terryrichards/tmp/php-4.3.11/ext/zlib/zlib.c: In function
    > 'zif_gzcompress ':
    > /Users/terryrichards/tmp/php-4.3.11/ext/zlib/zlib.c:440: warning:
    > pointer targets in passing argument 1 of 'compress2' differ in signedness
    > ...
    > /Users/terryrichards/tmp/php-4.3.11/ext/session/session.c: In function
    > 'ps_srlzr_decod e_php_binary':
    > /Users/terryrichards/tmp/php-4.3.11/ext/session/session.c:415: warning:
    > pointer targets in passing argument 3 of 'php_var_unseri alize' differ in
    > signedness
    > /Users/terryrichards/tmp/php-4.3.11/ext/session/session.c: In function
    > 'ps_srlzr_decod e_php':
    > /Users/terryrichards/tmp/php-4.3.11/ext/session/session.c:495: warning:
    > pointer targets in passing argument 3 of 'php_var_unseri alize' differ in
    > signedness
    > ...
    > /Users/terryrichards/tmp/php-4.3.11/ext/session/session.c: In function
    > 'ps_srlzr_decod e_php_binary':
    > /Users/terryrichards/tmp/php-4.3.11/ext/session/session.c:415: warning:
    > pointer targets in passing argument 3 of 'php_var_unseri alize' differ in
    > signedness
    > /Users/terryrichards/tmp/php-4.3.11/ext/session/session.c: In function
    > 'ps_srlzr_decod e_php':
    > /Users/terryrichards/tmp/php-4.3.11/ext/session/session.c:495: warning:
    > pointer targets in passing argument 3 of 'php_var_unseri alize' differ in
    > signedness
    > /Users/terryrichards/tmp/php-4.3.11/ext/session/session.c: In function
    > 'php_session_cr eate_id':
    > /Users/terryrichards/tmp/php-4.3.11/ext/session/session.c:574: warning:
    > pointer targets in passing argument 2 of 'PHP_MD5Update' differ in
    > signedness
    > ...
    > In file included from
    > /Users/terryrichards/tmp/php-4.3.11/regex/regcomp.c:14:
    > /Users/terryrichards/tmp/php-4.3.11/regex/cclass.h:7: warning: pointer
    > targets in initialization differ in signedness
    > /Users/terryrichards/tmp/php-4.3.11/regex/cclass.h:7: warning: pointer
    > targets in initialization differ in signedness
    > /Users/terryrichards/tmp/php-4.3.11/regex/cclass.h:7: warning: pointer
    > targets in initialization differ in signedness
    >
    > :-)^2[/color]

    Install fink. It will ensure all the dependencies are taken care of.
    Or install one of the binary packages. It's much easier than spending a
    week getting all the libraries compiled.

    --
    DeeDee, don't press that button! DeeDee! NO! Dee...



    Comment

    • Terry Richards

      #3
      Re: compiling php4 or 5 on macosx 10.4

      Michael Vilain wrote:[color=blue]
      > In article <NRAfe.8827$0i3 .8824@bignews3. bellsouth.net>,
      > Terry Richards <sn00per1@bells outh.net> wrote:
      >
      >[color=green]
      >>i am getting lots of errors such as:"...differs in signedness"
      >>what is it from?
      >>
      >>
      >>/Users/terryrichards/tmp/php-4.3.11/ext/zlib/zlib.c: In function
      >>'zif_gzcompre ss':
      >>/Users/terryrichards/tmp/php-4.3.11/ext/zlib/zlib.c:440: warning:
      >>pointer targets in passing argument 1 of 'compress2' differ in signedness
      >>...
      >>/Users/terryrichards/tmp/php-4.3.11/ext/session/session.c: In function
      >>'ps_srlzr_dec ode_php_binary' :
      >>/Users/terryrichards/tmp/php-4.3.11/ext/session/session.c:415: warning:
      >>pointer targets in passing argument 3 of 'php_var_unseri alize' differ in
      >>signedness
      >>/Users/terryrichards/tmp/php-4.3.11/ext/session/session.c: In function
      >>'ps_srlzr_dec ode_php':
      >>/Users/terryrichards/tmp/php-4.3.11/ext/session/session.c:495: warning:
      >>pointer targets in passing argument 3 of 'php_var_unseri alize' differ in
      >>signedness
      >>...
      >>/Users/terryrichards/tmp/php-4.3.11/ext/session/session.c: In function
      >>'ps_srlzr_dec ode_php_binary' :
      >>/Users/terryrichards/tmp/php-4.3.11/ext/session/session.c:415: warning:
      >>pointer targets in passing argument 3 of 'php_var_unseri alize' differ in
      >>signedness
      >>/Users/terryrichards/tmp/php-4.3.11/ext/session/session.c: In function
      >>'ps_srlzr_dec ode_php':
      >>/Users/terryrichards/tmp/php-4.3.11/ext/session/session.c:495: warning:
      >>pointer targets in passing argument 3 of 'php_var_unseri alize' differ in
      >>signedness
      >>/Users/terryrichards/tmp/php-4.3.11/ext/session/session.c: In function
      >>'php_session_ create_id':
      >>/Users/terryrichards/tmp/php-4.3.11/ext/session/session.c:574: warning:
      >>pointer targets in passing argument 2 of 'PHP_MD5Update' differ in
      >>signedness
      >>...
      >>In file included from
      >>/Users/terryrichards/tmp/php-4.3.11/regex/regcomp.c:14:
      >>/Users/terryrichards/tmp/php-4.3.11/regex/cclass.h:7: warning: pointer
      >>targets in initialization differ in signedness
      >>/Users/terryrichards/tmp/php-4.3.11/regex/cclass.h:7: warning: pointer
      >>targets in initialization differ in signedness
      >>/Users/terryrichards/tmp/php-4.3.11/regex/cclass.h:7: warning: pointer
      >>targets in initialization differ in signedness
      >>
      >>:-)^2[/color]
      >
      >
      > Install fink. It will ensure all the dependencies are taken care of.
      > Or install one of the binary packages. It's much easier than spending a
      > week getting all the libraries compiled.
      >[/color]
      /sw/bin/fink install php
      Password:
      Information about 4549 packages read in 7 seconds.
      Failed: no package found for specification 'php'!
      medusa:~ terryrichards$ /sw/bin/fink install php4-ssl
      Information about 4549 packages read in 6 seconds.
      Failed: no version info available for php4-ssl
      medusa:~ terryrichards$ /sw/bin/fink install php4
      Information about 4549 packages read in 6 seconds.
      Failed: no package found for specification 'php4'!

      :-)^2

      Comment

      Working...