[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wsf-c-dev
Subject:    [wsf-c-dev] [jira] Issue Comment Edited: (WSFPHP-376) Build fails
From:       "Marshall Levesque (JIRA)" <jira () wso2 ! org>
Date:       2009-05-15 21:20:25
Message-ID: 142495215.19101242422425333.JavaMail.jira () wso2 ! org ! ec2 ! wso2 ! com
[Download RAW message or body]


    [ https://wso2.org/jira/browse/WSFPHP-376?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=25880#action_25880 \
] 

Marshall Levesque edited comment on WSFPHP-376 at 5/15/09 9:20 PM:
-------------------------------------------------------------------

Alessandro-

Your config/make/install workaround saved me after 1 1/2 days of struggling to get \
WSF/PHP working correctly on Ubuntu 8.10 server.  But I did run into problems even \
with your advice, luckily I found solutions to those as well:

after trying to "make" in the wsf_c dir, would get this error:
	error: 'struct hostent' has no member named 'h_addr'

I found someone with a similar problem, different circumstances, that came up with \
this:

$ export CFLAGS="-D_GNU_SOURCE"

before the initial configure and then following your configure and make instructions \
as listed.

This was listed here: \
http://www.nabble.com/Compile-failed-on-fedora-9-for-wso2-wsf-php-src-1.3.2-td17797537.html


I am also planning to install and use WSF/PHP on Fedora 8.  Has anyone tried this \
using the normal install directions?  I'd love to know before hand to watch out for \
any issues.

Thanks!

      was (Author: marsh451):
    Alessandro-

Your config/make/install workaround saved me after 1 1/2 days of struggling to get \
WSF/PHP working correctly on Ubuntu 8.10 server.  But I did run into problems even \
with your advice, luckily I found solutions to those as well:

after trying to "make" in the wsf_c dir, would get this error:
	error: 'struct hostent' has no member named 'h_addr'

I found someone with a similar problem, different circumstances, that came up with \
this: $ export CFLAGS="-D_GNU_SOURCE"

and then following your configure and make instructions from step 2

This was listed here: \
http://www.nabble.com/Compile-failed-on-fedora-9-for-wso2-wsf-php-src-1.3.2-td17797537.html


I am also planning to install and use WSF/PHP on Fedora 8.  Has anyone tried this \
using the normal install directions?  I'd love to know before hand to watch out for \
any issues.

Thanks!
  
> Build fails on debian/no test to check workaround
> -------------------------------------------------
> 
> Key: WSFPHP-376
> URL: https://wso2.org/jira/browse/WSFPHP-376
> Project: WSO2 WSF/PHP
> Issue Type: Bug
> Components: Build System / Linux
> Affects Versions: 2.0.0
> Environment: Debian etch x86_64
> Reporter: Alessandro Vesely
> Attachments: make.output.txt
> 
> 
> The failing step is the last one in src/Makefile
> $(phplibdir)/wsf.la: ./wsf.la
> 	$(LIBTOOL) --mode=install cp ./wsf.la $(phplibdir)
> An easy workaround would seem to just `cp ./wsf.la $(phplibdir)' without involving \
> libtool. However, since there is no test suite and that is the last step, one \
> cannot know if it worked before installing. I will try again next week (possibly \
> not on a production system.) Looking at why libtool fails (see attached output) it \
> seems that the libtool command (the one in wsf.la) in the first line has all the \
> correct paths that would work, e.g. -L/local/dists/wso2/cur/wsf_c/.../.libs. \
> Libtool processing eliminates all those and replaces them with a single \
> -L/usr/local/lib, which is where the library would eventually get installed (since \
> I configured with --prefix=/usr/local). However, those libraries are not installed \
> yet, thus it fails. Note that manually fixing, say, libsandesha2_client, will \
> result in a failure for the next library; that is, ld is lazy on reporting \
> failures. See also \
> https://wso2.org/jira/browse/WSFPHP-250?focusedCommentId=16036#action_16036

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: \
                https://wso2.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

_______________________________________________
Wsf-c-dev mailing list
Wsf-c-dev@wso2.org
https://wso2.org/cgi-bin/mailman/listinfo/wsf-c-dev


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic