Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: Opensuse 12.1 and wso2 PHP Framework

  1. #1

    Default Opensuse 12.1 and wso2 PHP Framework

    Im having some serious problems installing wso2 onto opensuse, the make always throws errors about missing files and two weeks of searching the internet and forums has gotten me nowhere.

    First of all, is there a yast2 package for wso2 php anywhere? That would make my life much easier, or if not perhaps someone could help me figure out what im doing wrong

    Please note, I'm not very experienced with this.

    When i run make on wso2 i get the following errors at the end (plus no wsf.so as expected) Any assistance would be appreciated


    cp: target `/usr/lib64/php5/extensions/wsf_c/lib/' is not a directory
    make[6]: *** [install-data-hook] Error 1
    make[6]: Leaving directory `
    /home/wso2/wso2-wsf-php-src-2.1.0/wsf_c/sandesha2c/s rc/core'
    make[5]: *** [install-data-am] Error 2
    make[5]: Leaving directory `/home/wso2/wso2-wsf-php-src-2.1.0/wsf_c/sandesha2c/s rc/core'

    make[4]: *** [install-am] Error 2
    make[4]: Leaving directory `/home/wso2/wso2-wsf-php-src-2.1.0/wsf_c/sandesha2c/s rc/core'
    make[3]: *** [install-recursive] Error 1
    make[3]: Leaving directory `
    /home/wso2/wso2-wsf-php-src-2.1.0/wsf_c/sandesha2c/s rc'
    make[2]: *** [install-recursive] Error 1
    make[2]: Leaving directory `/home/wso2/wso2-wsf-php-src-2.1.0/wsf_c/sandesha2c'

    make[1]: *** [install-recursive] Error 1
    make[1]: Leaving directory `/home/wso2/wso2-wsf-php-src-2.1.0/wsf_c'
    make: *** [install-recursive] Error 1

  2. #2
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: Opensuse 12.1 and wso2 PHP Framework

    On 2012-05-23 14:16, wannabeuk wrote:

    > First of all, is there a yast2 package for wso2 php anywhere? That
    > would make my life much easier, or if not perhaps someone could help me
    > figure out what im doing wrong




    here


    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.4 x86_64 "Celadon" at Telcontar)

  3. #3

    Default Re: Opensuse 12.1 and wso2 PHP Framework

    thanks for the reply, but that link is for another package all together, and searching that page returns no results for wso2

  4. #4
    Join Date
    Feb 2010
    Location
    Germany
    Posts
    4,654

    Default Re: Opensuse 12.1 and wso2 PHP Framework

    Am 23.05.2012 14:16, schrieb wannabeuk:
    >
    > When i run make on wso2 i get the following errors at the end (plus no
    > wsf.so as expected) Any assistance would be appreciated
    >

    What was the output from ./configure?
    Did it indicate any missing dependencies?


    --
    PC: oS 12.1 x86_64 | i7-2600@3.40GHz | 16GB | KDE 4.8.3 | GeForce GT 420
    ThinkPad E320: oS 12.1 x86_64 | i3@2.30GHz | 8GB | KDE 4.8.3 | HD 3000
    eCAFE 800: oS 12.1 i586 | AMD Geode LX 800@500MHz | 512MB | KDE 3.5.10

  5. #5
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    24,727

    Default Re: Opensuse 12.1 and wso2 PHP Framework

    Welcom wannabeuk.

    When you want to post computer text here. please post it between CODE tags: http://forums.opensuse.org/english/i...ags-guide.html
    And we prefer then the whole thing, that is inclusdng the prompt, the command and of course the output. You then have not to say "When I run make ..." because the exect make command you use is then there to be seen.
    Henk van Velden

  6. #6

    Default Re: Opensuse 12.1 and wso2 PHP Framework

    I assume any issues would show up at the end of the ./configure if that is true no errors were shown. or will I need to somehow review the entire output of ./configure?

    End of ./configure output
    Code:
    checking for gcc... gccchecking for C compiler default output file name... a.out
    checking whether the C compiler works... yes
    checking whether we are cross compiling... no
    checking for suffix of executables...
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ISO C89... none needed
    checking for style of include used by make... GNU
    checking dependency style of gcc... gcc3
    checking for g++... g++
    checking whether we are using the GNU C++ compiler... yes
    checking whether g++ accepts -g... yes
    checking dependency style of g++... gcc3
    checking how to run the C preprocessor... gcc -E
    checking for a sed that does not truncate output... /usr/bin/sed
    checking for grep that handles long lines and -e... /usr/bin/grep
    checking for egrep... /usr/bin/grep -E
    checking for ld used by gcc... /usr/x86_64-suse-linux/bin/ld
    checking if the linker (/usr/x86_64-suse-linux/bin/ld) is GNU ld... yes
    checking for /usr/x86_64-suse-linux/bin/ld option to reload object files... -r
    checking for BSD-compatible nm... /usr/bin/nm -B
    checking whether ln -s works... yes
    checking how to recognize dependent libraries... pass_all
    checking for ANSI C header files... yes
    checking for sys/types.h... yes
    checking for sys/stat.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for memory.h... yes
    checking for strings.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unistd.h... yes
    checking dlfcn.h usability... yes
    checking dlfcn.h presence... yes
    checking for dlfcn.h... yes
    checking how to run the C++ preprocessor... g++ -E
    checking for g77... no
    checking for xlf... no
    checking for f77... no
    checking for frt... no
    checking for pgf77... no
    checking for cf77... no
    checking for fort77... no
    checking for fl32... no
    checking for af77... no
    checking for xlf90... no
    checking for f90... no
    checking for pgf90... no
    checking for pghpf... no
    checking for epcf90... no
    checking for gfortran... no
    checking for g95... no
    checking for xlf95... no
    checking for f95... no
    checking for fort... no
    checking for ifort... no
    checking for ifc... no
    checking for efc... no
    checking for pgf95... no
    checking for lf95... no
    checking for ftn... no
    checking whether we are using the GNU Fortran 77 compiler... no
    checking whether  accepts -g... no
    checking the maximum length of command line arguments... 1572864
    checking command to parse /usr/bin/nm -B output from gcc object... ok
    checking for objdir... .libs
    checking for ar... ar
    checking for ranlib... ranlib
    checking for strip... strip
    checking if gcc supports -fno-rtti -fno-exceptions... no
    checking for gcc option to produce PIC... -fPIC
    checking if gcc PIC flag -fPIC works... yes
    checking if gcc static flag -static works... no
    checking if gcc supports -c -o file.o... yes
    checking whether the gcc linker (/usr/x86_64-suse-linux/bin/ld -m elf_x86_64) supports shared libraries... yes
    checking whether -lc should be explicitly linked in... no
    checking dynamic linker characteristics... GNU/Linux ld.so
    checking how to hardcode library paths into programs... immediate
    checking whether stripping libraries is possible... yes
    checking if libtool supports shared libraries... yes
    checking whether to build shared libraries... yes
    checking whether to build static libraries... yes
    configure: creating libtool
    appending configuration tag "CXX" to libtool
    checking for ld used by g++... /usr/x86_64-suse-linux/bin/ld -m elf_x86_64
    checking if the linker (/usr/x86_64-suse-linux/bin/ld -m elf_x86_64) is GNU ld... yes
    checking whether the g++ linker (/usr/x86_64-suse-linux/bin/ld -m elf_x86_64) supports shared libraries... yes
    checking for g++ option to produce PIC... -fPIC
    checking if g++ PIC flag -fPIC works... yes
    checking if g++ static flag -static works... no
    checking if g++ supports -c -o file.o... yes
    checking whether the g++ linker (/usr/x86_64-suse-linux/bin/ld -m elf_x86_64) supports shared libraries... yes
    checking dynamic linker characteristics... GNU/Linux ld.so
    (cached) (cached) checking how to hardcode library paths into programs... immediate
    appending configuration tag "F77" to libtool
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether ln -s works... yes
    checking whether make sets $(MAKE)... (cached) yes
    checking for dlopen in -ldl... yes
    checking for ANSI C header files... (cached) yes
    checking stdio.h usability... yes
    checking stdio.h presence... yes
    checking for stdio.h... yes
    checking for stdlib.h... (cached) yes
    checking for string.h... (cached) yes
    checking path to use Axis2C . This is a compulsory to build Sandesha2C... no
    configure: creating ./config.status
    config.status: creating Makefile
    config.status: creating src/Makefile
    config.status: creating src/util/Makefile
    config.status: creating src/wsrm/Makefile
    config.status: creating src/transport/Makefile
    config.status: creating src/handlers/Makefile
    config.status: creating src/msgprocessors/Makefile
    config.status: creating src/storage/Makefile
    config.status: creating src/storage/beans/Makefile
    config.status: creating src/storage/common/Makefile
    config.status: creating src/storage/sqlite/Makefile
    config.status: creating src/client/Makefile
    config.status: creating src/core/Makefile
    config.status: creating src/polling/Makefile
    config.status: creating config.h
    config.status: config.h is unchanged
    config.status: executing depfiles commands
    === configuring in src (/home/wso2/wso2-wsf-php-src-2.1.0/src)
    configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/lib64/php5/extensions/wsf_c'  --cache-file=/dev/null --srcdir=.
    configure: loading site script /usr/share/site/x86_64-unknown-linux-gnu
    checking for grep that handles long lines and -e... /usr/bin/grep
    checking for egrep... /usr/bin/grep -E
    checking for a sed that does not truncate output... /usr/bin/sed
    checking for gcc... gcc
    checking whether the C compiler works... yes
    checking for C compiler default output file name... a.out
    checking for suffix of executables...
    checking whether we are cross compiling... no
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ISO C89... none needed
    checking for gcc option to accept ISO C99... -std=gnu99
    checking for gcc -std=gnu99 option to accept ISO Standard C... (cached) -std=gnu99
    checking how to run the C preprocessor... gcc -std=gnu99 -E
    checking for ANSI C header files... yes
    checking for sys/types.h... yes
    checking for sys/stat.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for memory.h... yes
    checking for strings.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unistd.h... yes
    checking minix/config.h usability... no
    checking minix/config.h presence... no
    checking for minix/config.h... no
    checking whether it is safe to define __EXTENSIONS__... yes
    checking for icc... no
    checking for suncc... no
    checking whether gcc -std=gnu99 and cc understand -c and -o together... yes
    checking for system library directory... lib
    checking if compiler supports -R... no
    checking if compiler supports -Wl,-rpath,... yes
    checking build system type... x86_64-unknown-linux-gnu
    checking host system type... x86_64-unknown-linux-gnu
    checking target system type... x86_64-unknown-linux-gnu
    checking for PHP prefix... /usr
    checking for PHP includes... -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib
    checking for PHP extension directory... /usr/lib64/php5/extensions
    checking for PHP installed headers prefix... /usr/include/php5
    checking if debug is enabled... no
    checking if zts is enabled... no
    checking for re2c... no
    configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.
    checking for gawk... gawk
    checking Whether to enable WSF/PHP Support... yes, shared
    checking for ld used by gcc -std=gnu99... /usr/x86_64-suse-linux/bin/ld
    checking if the linker (/usr/x86_64-suse-linux/bin/ld) is GNU ld... yes
    checking for /usr/x86_64-suse-linux/bin/ld option to reload object files... -r
    checking for BSD-compatible nm... /usr/bin/nm -B
    checking whether ln -s works... yes
    checking how to recognize dependent libraries... pass_all
    checking dlfcn.h usability... yes
    checking dlfcn.h presence... yes
    checking for dlfcn.h... yes
    checking the maximum length of command line arguments... 1572864
    checking command to parse /usr/bin/nm -B output from gcc -std=gnu99 object... ok
    checking for objdir... .libs
    checking for ar... ar
    checking for ranlib... ranlib
    checking for strip... strip
    checking if gcc -std=gnu99 supports -fno-rtti -fno-exceptions... no
    checking for gcc -std=gnu99 option to produce PIC... -fPIC
    checking if gcc -std=gnu99 PIC flag -fPIC works... yes
    checking if gcc -std=gnu99 static flag -static works... no
    checking if gcc -std=gnu99 supports -c -o file.o... yes
    checking whether the gcc -std=gnu99 linker (/usr/x86_64-suse-linux/bin/ld -m elf_x86_64) supports shared libraries... yes
    checking whether -lc should be explicitly linked in... no
    checking dynamic linker characteristics... GNU/Linux ld.so
    checking how to hardcode library paths into programs... immediate
    checking whether stripping libraries is possible... yes
    checking if libtool supports shared libraries... yes
    checking whether to build shared libraries... yes
    checking whether to build static libraries... no
    
    
    creating libtool
    appending configuration tag "CXX" to libtool
    configure: creating ./config.status
    config.status: creating config.h
    config.status: config.h is unchanged
    EDIT:

    Above post (posted as i was writing this one) i didn't include the full output as it would have been several pages long, and wasn't all shown on my putty terminal. same with the above, it would be several pages long, ans i cannot scroll back to the command prompt

  7. #7
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    24,727

    Default Re: Opensuse 12.1 and wso2 PHP Framework

    Quote Originally Posted by wannabeuk View Post
    EDIT:

    Above post (posted as i was writing this one) i didn't include the full output as it would have been several pages long, and wasn't all shown on my putty terminal. same with the above, it would be several pages long, ans i cannot scroll back to the command prompt
    That is allright. I described the general case (taking into mind that people having problems often skip what they think is unimportant, but in reality isn't), but nobody asks you to go into the extreme
    Henk van Velden

  8. #8
    Join Date
    Feb 2010
    Location
    Germany
    Posts
    4,654

    Default Re: Opensuse 12.1 and wso2 PHP Framework

    Am 23.05.2012 16:46, schrieb wannabeuk:
    > configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.

    This is the warning I can see so far, which can be easily solved by
    Code:
    sudo zypper install re2c
    of course I do not know if that has anything to do with your later make
    problem.
    You could pipe the output from the configure script to a file and copy
    its full content at susepaste.org and give us the link to look step by
    step through it.

    While I also expect the configure to create a summary at the end this is
    not always true and depends on the amount of effort the programmer took
    into it.
    So sometimes one has to look through the whole output to find
    warnings/errors spit out by it.

    --
    PC: oS 12.1 x86_64 | i7-2600@3.40GHz | 16GB | KDE 4.8.3 | GeForce GT 420
    ThinkPad E320: oS 12.1 x86_64 | i3@2.30GHz | 8GB | KDE 4.8.3 | HD 3000
    eCAFE 800: oS 12.1 i586 | AMD Geode LX 800@500MHz | 512MB | KDE 3.5.10

  9. #9
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: Opensuse 12.1 and wso2 PHP Framework

    On 2012-05-23 15:26, wannabeuk wrote:
    >
    > thanks for the reply, but that link is for another package all together,
    > and searching that page returns no results for wso2


    Just type the correct search term. If it is somewhere, that's the place to
    "ask".


    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.4 x86_64 "Celadon" at Telcontar)

  10. #10
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: Opensuse 12.1 and wso2 PHP Framework

    On 2012-05-23 17:00, Martin Helm wrote:
    > You could pipe the output from the configure script to a file


    Note: you have to pipe both standard and error outputs in the same file.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.4 x86_64 "Celadon" at Telcontar)

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •