Welcome! Log In Create A New Profile

Advanced

fpm trunk build failed

Posted by GM 
GM
fpm trunk build failed
June 09, 2010 05:58PM
I have checked out php trunk directory from svn. It took some time to
figure out how to get ./configure working (because of autoconf). Now
when I run make I get these errors:

/root/PHP_TRUNK/sapi/fpm/fpm/fpm_main.c:1699: undefined reference to
`php_end_ob_buffers'
/root/PHP_TRUNK/sapi/fpm/fpm/fpm_main.c:1640: undefined reference to
`php_end_ob_buffers'
sapi/fpm/fpm/fpm_main.o: In function `zif_fastcgi_finish_request':
/root/PHP_TRUNK/sapi/fpm/fpm/fpm_main.c:1496: undefined reference to
`php_end_ob_buffers'
collect2: ld returned 1 exit status
make: *** [sapi/fpm/php-fpm] Error 1

Is it possible that there is some problem with autoconf version I am
using? I have tried 2.13 it throws several of these warnigs - "sapi/
fpm/config.m4:508: warning: AC_TRY_RUN called without default to allow
cross compiling", but seems to work. 2.50 shows a lot of warnings.

Still I can run this - "./configure --prefix=/usr --with-config-file-
path=/etc/php5 --sysconfdir=/etc/php5 --disable-cli --with-openssl --
with-pcre-regex --enable-exif --enable-ftp --disable-mbregex --enable-
mbstring --with-mcrypt --with-pdo-pgsql --enable-sqlite-utf8 --enable-
zip --with-gd --enable-fpm" with both of versions, but it does change
anything when running a make.

And os is Ubuntu 9.10 (karmic).

Thanks in advance.
Jérôme Loyet
Re: fpm trunk build failed
June 09, 2010 06:10PM
2010/6/9 GM <giincm@gmail.com>:
> I have checked out php trunk directory from svn. It took some time to
> figure out how to get ./configure working (because of autoconf). Now
> when I run make I get these errors:
>
> /root/PHP_TRUNK/sapi/fpm/fpm/fpm_main.c:1699: undefined reference to
> `php_end_ob_buffers'
> /root/PHP_TRUNK/sapi/fpm/fpm/fpm_main.c:1640: undefined reference to
> `php_end_ob_buffers'
> sapi/fpm/fpm/fpm_main.o: In function `zif_fastcgi_finish_request':
> /root/PHP_TRUNK/sapi/fpm/fpm/fpm_main.c:1496: undefined reference to
> `php_end_ob_buffers'
> collect2: ld returned 1 exit status
> make: *** [sapi/fpm/php-fpm] Error 1
>
> Is it possible that there is some problem with autoconf version I am
> using? I have tried 2.13 it throws several of these warnigs - "sapi/
> fpm/config.m4:508: warning: AC_TRY_RUN called without default to allow
> cross compiling", but seems to work. 2.50 shows a lot of warnings.
>
> Still I can run this - "./configure  --prefix=/usr --with-config-file-
> path=/etc/php5 --sysconfdir=/etc/php5 --disable-cli --with-openssl --
> with-pcre-regex --enable-exif --enable-ftp --disable-mbregex --enable-
> mbstring --with-mcrypt --with-pdo-pgsql --enable-sqlite-utf8 --enable-
> zip --with-gd --enable-fpm" with both of versions, but it does change
> anything when running a make.
>
> And os is Ubuntu 9.10 (karmic).
>
> Thanks in advance.

let me guess : you tried to compile FPM from trunk with a 5.3 core version ?

It's normal it's not working. Compile trunk FPM with trunk core and
compile 5.3 FPM with 5.3 core.

try to compile a php source snapshot: http://snaps.php.net/ or fetch
source via SVN on branch PHP_5_3.
GM
Re: fpm trunk build failed
June 10, 2010 01:20AM
I just tried to compile php trunk version (5.3.99 i guess). There
already is sapi/fpm directory - no additional download or checkout.

On Jun 10, 1:09 am, Jérôme Loyet <m...@fatbsd.com> wrote:
> 2010/6/9 GM <gii...@gmail.com>:
>
>
>
>
>
> > I have checked out php trunk directory from svn. It took some time to
> > figure out how to get ./configure working (because of autoconf). Now
> > when I run make I get these errors:
>
> > /root/PHP_TRUNK/sapi/fpm/fpm/fpm_main.c:1699: undefined reference to
> > `php_end_ob_buffers'
> > /root/PHP_TRUNK/sapi/fpm/fpm/fpm_main.c:1640: undefined reference to
> > `php_end_ob_buffers'
> > sapi/fpm/fpm/fpm_main.o: In function `zif_fastcgi_finish_request':
> > /root/PHP_TRUNK/sapi/fpm/fpm/fpm_main.c:1496: undefined reference to
> > `php_end_ob_buffers'
> > collect2: ld returned 1 exit status
> > make: *** [sapi/fpm/php-fpm] Error 1
>
> > Is it possible that there is some problem with autoconf version I am
> > using? I have tried 2.13 it throws several of these warnigs - "sapi/
> > fpm/config.m4:508: warning: AC_TRY_RUN called without default to allow
> > cross compiling", but seems to work. 2.50 shows a lot of warnings.
>
> > Still I can run this - "./configure  --prefix=/usr --with-config-file-
> > path=/etc/php5 --sysconfdir=/etc/php5 --disable-cli --with-openssl --
> > with-pcre-regex --enable-exif --enable-ftp --disable-mbregex --enable-
> > mbstring --with-mcrypt --with-pdo-pgsql --enable-sqlite-utf8 --enable-
> > zip --with-gd --enable-fpm" with both of versions, but it does change
> > anything when running a make.
>
> > And os is Ubuntu 9.10 (karmic).
>
> > Thanks in advance.
>
> let me guess : you tried to compile FPM from trunk with a 5.3 core version ?
>
> It's normal it's not working. Compile trunk FPM with trunk core and
> compile 5.3 FPM with 5.3 core.
>
> try to compile a php source snapshot:http://snaps.php.net/or fetch
> source via SVN on branch PHP_5_3.
Jérôme Loyet
Re: fpm trunk build failed
June 10, 2010 02:30AM
2010/6/10 GM <giincm@gmail.com>:
> I just tried to compile php trunk version (5.3.99 i guess). There
> already is sapi/fpm directory - no additional download or checkout.

And it fails again ?

I just tried to compile a fresh trunk and it compiles as expected.
Please clean your source tree, refetch sources, buildconf --force,
../configure ... and make

it should work

>
> On Jun 10, 1:09 am, Jérôme Loyet <m...@fatbsd.com> wrote:
>> 2010/6/9 GM <gii...@gmail.com>:
>>
>>
>>
>>
>>
>> > I have checked out php trunk directory from svn. It took some time to
>> > figure out how to get ./configure working (because of autoconf). Now
>> > when I run make I get these errors:
>>
>> > /root/PHP_TRUNK/sapi/fpm/fpm/fpm_main.c:1699: undefined reference to
>> > `php_end_ob_buffers'
>> > /root/PHP_TRUNK/sapi/fpm/fpm/fpm_main.c:1640: undefined reference to
>> > `php_end_ob_buffers'
>> > sapi/fpm/fpm/fpm_main.o: In function `zif_fastcgi_finish_request':
>> > /root/PHP_TRUNK/sapi/fpm/fpm/fpm_main.c:1496: undefined reference to
>> > `php_end_ob_buffers'
>> > collect2: ld returned 1 exit status
>> > make: *** [sapi/fpm/php-fpm] Error 1
>>
>> > Is it possible that there is some problem with autoconf version I am
>> > using? I have tried 2.13 it throws several of these warnigs - "sapi/
>> > fpm/config.m4:508: warning: AC_TRY_RUN called without default to allow
>> > cross compiling", but seems to work. 2.50 shows a lot of warnings.
>>
>> > Still I can run this - "./configure  --prefix=/usr --with-config-file-
>> > path=/etc/php5 --sysconfdir=/etc/php5 --disable-cli --with-openssl --
>> > with-pcre-regex --enable-exif --enable-ftp --disable-mbregex --enable-
>> > mbstring --with-mcrypt --with-pdo-pgsql --enable-sqlite-utf8 --enable-
>> > zip --with-gd --enable-fpm" with both of versions, but it does change
>> > anything when running a make.
>>
>> > And os is Ubuntu 9.10 (karmic).
>>
>> > Thanks in advance.
>>
>> let me guess : you tried to compile FPM from trunk with a 5.3 core version ?
>>
>> It's normal it's not working. Compile trunk FPM with trunk core and
>> compile 5.3 FPM with 5.3 core.
>>
>> try to compile a php source snapshot:http://snaps.php.net/or fetch
>> source via SVN on branch PHP_5_3.
>
GM
Re: fpm trunk build failed
June 10, 2010 05:28AM
Ok, that did the trick. Thanks. I guess i had checked out fpm from
another svn. repository. I see that config file has been changed from
xml to php like.

On Jun 10, 9:28 am, Jérôme Loyet <m...@fatbsd.com> wrote:
> 2010/6/10 GM <gii...@gmail.com>:
>
> > I just tried to compile php trunk version (5.3.99 i guess). There
> > already is sapi/fpm directory - no additional download or checkout.
>
> And it fails again ?
>
> I just tried to compile a fresh trunk and it compiles as expected.
> Please clean your source tree, refetch sources, buildconf --force,
> ./configure ... and make
>
> it should work
>
>
>
>
>
> > On Jun 10, 1:09 am, Jérôme Loyet <m...@fatbsd.com> wrote:
> >> 2010/6/9 GM <gii...@gmail.com>:
>
> >> > I have checked out php trunk directory from svn. It took some time to
> >> > figure out how to get ./configure working (because of autoconf). Now
> >> > when I run make I get these errors:
>
> >> > /root/PHP_TRUNK/sapi/fpm/fpm/fpm_main.c:1699: undefined reference to
> >> > `php_end_ob_buffers'
> >> > /root/PHP_TRUNK/sapi/fpm/fpm/fpm_main.c:1640: undefined reference to
> >> > `php_end_ob_buffers'
> >> > sapi/fpm/fpm/fpm_main.o: In function `zif_fastcgi_finish_request':
> >> > /root/PHP_TRUNK/sapi/fpm/fpm/fpm_main.c:1496: undefined reference to
> >> > `php_end_ob_buffers'
> >> > collect2: ld returned 1 exit status
> >> > make: *** [sapi/fpm/php-fpm] Error 1
>
> >> > Is it possible that there is some problem with autoconf version I am
> >> > using? I have tried 2.13 it throws several of these warnigs - "sapi/
> >> > fpm/config.m4:508: warning: AC_TRY_RUN called without default to allow
> >> > cross compiling", but seems to work. 2.50 shows a lot of warnings.
>
> >> > Still I can run this - "./configure  --prefix=/usr --with-config-file-
> >> > path=/etc/php5 --sysconfdir=/etc/php5 --disable-cli --with-openssl --
> >> > with-pcre-regex --enable-exif --enable-ftp --disable-mbregex --enable-
> >> > mbstring --with-mcrypt --with-pdo-pgsql --enable-sqlite-utf8 --enable-
> >> > zip --with-gd --enable-fpm" with both of versions, but it does change
> >> > anything when running a make.
>
> >> > And os is Ubuntu 9.10 (karmic).
>
> >> > Thanks in advance.
>
> >> let me guess : you tried to compile FPM from trunk with a 5.3 core version ?
>
> >> It's normal it's not working. Compile trunk FPM with trunk core and
> >> compile 5.3 FPM with 5.3 core.
>
> >> try to compile a php source snapshot:http://snaps.php.net/orfetch
> >> source via SVN on branch PHP_5_3.
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 330
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready