Re: can't compile 0.5.1 on redhat linux 7.3
| From: | Pablo Dall'Oglio | Date: | Mon, 20 May 2002 20:30:30 +0000 |
| Subject: | Re: can't compile 0.5.1 on redhat linux 7.3 | ||
| References: | 1 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-2029@lists.php.net to get a copy of this message | ||
Hello
Try these version
libtool --version (GNU libtool) 1.4
automake --version (GNU automake) 1.5
autoconf --version (GNU Autoconf) 2.52
but, before all :
whereis php
whereis php-config
whereis libtool
whereis automake
whereis autoconf
and remove all....
after compile libtool, auto*, link them to /usr/bin
ln -s /usr/local/bin/autoconf /usr/bin/autoconf
and so on....
compile php
ln -s /usr/local/bin/php /usr/bin/php
ln -s /usr/local/bin/php-config /usr/bin/php-config
ok ?
Pablo
On Mon, 20 May 2002 11:41:02 -0700 (PDT)
Marius Andreiana <mandreiana@yahoo.com> wrote:
> Hi
>
> I used this version successfully on redhat 7.2, but on
> rehdat 7.3 and php 4.2.1 it doesn't want to compile.
> I think it's related to automake/autoconf. Any
> suggestions on how to get it working?
>
> Thanks!
>
> Here's the configure and make output
>
> aclocal: macro `AC_ADD_LIBPATH' defined in
> acinclude.m4 but never used
> aclocal: macro `AC_ADD_LIBRARY_WITH_PATH' defined in
> acinclude.m4 but
> never usedaclocal: macro `AC_ADD_LIBRARY' defined in
> acinclude.m4 but
> never used
> aclocal: macro `AC_ADD_INCLUDE' defined in
> acinclude.m4 but never used
> You should update your `aclocal.m4' by running
> aclocal.
> creating cache ./config.cache
> checking for gcc... gcc
> checking whether the C compiler (gcc ) works... yes
> checking whether the C compiler (gcc ) is a
> cross-compiler... no
> checking whether we are using GNU C... yes
> checking whether gcc accepts -g... yes
> checking whether gcc and cc understand -c and -o
> together... yes
> checking for PHP prefix... /usr/local
> checking for PHP includes... -I/usr/local/include/php
> -I/usr/local/include/php/main
> -I/usr/local/include/php/Zend
> -I/usr/local/include/php/TSRM
> checking for PHP extension directory...
> /usr/local/lib/php/extensions/no-debug-non-zts-20010901
> checking for PHP-GTK support... yes, shared
> checking for gawk... gawk
> checking for PHP executable in /usr/local/bin... found
> checking for Cygwin environment... no
> checking for mingw32 environment... no
> checking how to run the C preprocessor... gcc -E
> checking host system type... i686-pc-linux-gnu
> checking build system type... i686-pc-linux-gnu
> checking for ld used by GCC... /usr/bin/ld
> checking if the linker (/usr/bin/ld) is GNU ld... yes
> checking for /usr/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 recognise dependant libraries...
> pass_all
> checking for object suffix... o
> checking for executable suffix... no
> checking command to parse /usr/bin/nm -B output... ok
> checking for dlfcn.h... yes
> checking for ranlib... ranlib
> checking for strip... strip
> checking for objdir... .libs
> checking for gcc option to produce PIC... -fPIC
> checking if gcc PIC flag -fPIC works... yes
> checking if gcc static flag -static works... yes
> checking if gcc supports -c -o file.o... yes
> checking if gcc supports -c -o file.lo... yes
> checking if gcc supports -fno-rtti -fno-exceptions...
> yes
> checking whether the linker (/usr/bin/ld) supports
> shared libraries... yes
> checking how to hardcode library paths into
> programs... immediate
> checking whether stripping libraries is possible...
> yes
> checking dynamic linker characteristics... GNU/Linux
> ld.so
> checking if libtool supports shared libraries... yes
> checking whether to build shared libraries... yes
> checking whether to build static libraries... no
> checking whether -lc should be explicitly linked in...
> no
> creating libtool
> checking for working mkdir -p... yes
> creating config_vars.mk
> fastgen.sh: creating Makefile
> updating cache ./config.cache
> creating ./config.status
> creating config.h
>
> [marius@quark php-gtk-0.5.1]$ make
> /opt/2compile/php-gtk-0.5.1/build/dynlib.mk:22:
> /opt/2compile/php-gtk-0.5.1//libs.mk: No such file or
> directory
> make: *** No rule to make target
> `/opt/2compile/php-gtk-0.5.1//libs.mk'.
> Stop.
>
>
> =====
> You don't have to go to jail for helping your neighbour
> http://www.gnu.org/philosophy/
>
> __________________________________________________
> Do You Yahoo!?
> LAUNCH - Your Yahoo! Music Experience
> http://launch.yahoo.com
>
> --
> PHP-GTK General Mailing List (http://gtk.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
--
echo ereg_replace (" -> ", " \n", "cheers -> Pablo");
PS: A Brasilian word: "Valeu" = "Thanks" + "Bye"
+--------------------------------------------------+
| _ Pablo Dall'Oglio (pablo@php.net) |
| °v° Univates - IT Department +55 51 3714-7040 |
| /(_)\ The best source is the source code |
| ^ ^ Linux User n.223253, Lajeado, RS - Brasil |
+--------------------------------------------------+