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
> 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
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
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
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
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
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
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
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)
Hey guys, sorry for the slow reply. Iāve got the results from the configure I sent the output to a file and left the errors to show in the terminal Iāll provide both just incase.
Errors:
Zoey:/home/wso2/wso2-wsf-php-src-2.1.0 # ./configure > config_log.txt
./configure: line 20203: --extension-dir: command not found
configure.in:3: warning: prefer named diversions
configure.in:3: warning: prefer named diversions
configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.
./configure: line 20689: test: : unary operator expected
configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.
Sorry for the double post, just wanted to make this post obvious.
Iāve fixed the issue, stupid as it seems i lost my patience with this and decided to just manually create the ā/usr/lib64/php5/extensions/wsf_c/libā folder that was missing.
This actually worked, i never expected something so simple to work but apparently the script was just āforgettingā to create the file before using cp on it.
Thanks for all your helps guys now on to my next problem