[wsf-c-dev] [jira] Issue Comment Edited: (WSFPHP-376) Build fails on debian/no test to check workaround
Marshall Levesque (JIRA)
jira at wso2.org
Fri May 15 14:20:25 PDT 2009
[ 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:19 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"
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!
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"
$ ./configure
$ make
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
More information about the Wsf-c-dev
mailing list