ID:               22477
 Comment by:       driskel at bitstream dot net
 Reported By:      michel dot jansens at ulb dot ac dot be
 Status:           Feedback
 Bug Type:         cURL related
 Operating System: Solaris 8
 PHP Version:      4.3.1
 New Comment:

Thank you gabeki!

Your suggestions did the trick.  Php recompiled and working.  Now i
just need to learn how to use curl.

Thanks for tips.


Previous Comments:
------------------------------------------------------------------------

[2003-03-05 18:56:33] gabeki at dialpad dot com

I have exact problem that driskel found.  I am not sure this is legal
but I solved this by modifying the Makefile in CURL's lib folder AFTER
running your configure.

add -L/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.2 to LDFLAGS and
add -lgcc to LIBS

make
make install
then proceed with normal php installation. it will work. good luck.

------------------------------------------------------------------------

[2003-03-05 17:38:20] driskel at bitstream dot net

thanks for your comments on --enable-libgcc unfortunately that did not
correct the issue for me using src= php4-STABLE-200302282030.

------------------------------------------------------------------------

[2003-03-03 20:23:39] [EMAIL PROTECTED]

--enable-libgcc propably fixes this.

It's some change in curl that is causing this..no idea what
but you might wanna report it to them..


------------------------------------------------------------------------

[2003-02-28 16:36:02] driskel at bitstream dot net

I have also tried the new CVS as well. Standard configure files as well
as an edited one outlined in my previous post. 

Sorry I forgot to include that in last my post.

------------------------------------------------------------------------

[2003-02-28 16:27:19] driskel at bitstream dot net

I have run into the same issue.  Solaris 8, apache1.3.27, openssl 0.97
mod_ssl 2.8.12 php4.31.

I have tried compiling php4.31 a few times trying standard configure
script or modifying configure as such as directed from the curl www
site.

   1. sed 's/-lcrypto/-lssl -lcrypto/g' configure > c2
   2. rm -f configure
   3. cp c2 configure
   4. chmod 755 configure

Both ways have issued the same message when testing apache's config.

When building php-4.3.1 with curl-7.10.3 the error as reported appears
at apache start:

It might be an issue curl.  I get these errors on the curl compile.  I
can run curl from the command line though.  

checking net/if.h presence... yes
configure: WARNING: net/if.h: present but cannot be compiled
configure: WARNING: net/if.h: check for missing prerequisite headers?
configure: WARNING: net/if.h: proceeding with the preprocessor's
result
configure: WARNING:     ## ------------------------------------ ##
configure: WARNING:     ## Report this to [EMAIL PROTECTED] ##
configure: WARNING:     ## ------------------------------------ ##
checking for net/if.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking netinet/if_ether.h usability... no
checking netinet/if_ether.h presence... yes
configure: WARNING: netinet/if_ether.h: present but cannot be compiled
configure: WARNING: netinet/if_ether.h: check for missing prerequisite
headers?
configure: WARNING: netinet/if_ether.h: proceeding with the
preprocessor's result
configure: WARNING:     ## ------------------------------------ ##
configure: WARNING:     ## Report this to [EMAIL PROTECTED] ##
configure: WARNING:     ## ------------------------------------ ##
checking for netinet/if_ether.h... yes

Just trying to offer another piece of the puzzle.  Maybe

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/22477

-- 
Edit this bug report at http://bugs.php.net/?id=22477&edit=1

Reply via email to