You are not logged in.

#1 2010-06-03 12:49:40

Rydgel
Member
From: France
Registered: 2008-09-04
Posts: 166
Website

Building php-fpm

Hello dear Archers,

I'm trying to install php-fpm with this PKGBUILD .
Unfortunately, the build fails hard.

sapi/fpm/fpm/.libs/fpm_main.o: In function `zif_fastcgi_finish_request':
fpm_main.c:(.text+0xcfb): undefined reference to `php_output_end_all'
sapi/fpm/fpm/.libs/fpm_main.o: In function `main':
fpm_main.c:(.text+0x1497): undefined reference to `php_output_end_all'
fpm_main.c:(.text+0x149e): undefined reference to `php_output_deactivate'
collect2: ld returned 1 exit status
make: *** [sapi/fpm/php-fpm] Error 1

Does that means something for you ?
I'm on x86_64. And I saw that gcc was upgraded recently to 4.5. Should I try with gcc 4.4 ?

Offline

#2 2010-06-03 15:22:16

alupher
Member
From: Moscow, Russia
Registered: 2010-06-03
Posts: 1
Website

Re: Building php-fpm

I had this problem today too.  Apparently there was an update to the output buffering API in the PHP trunk, which is probably breaking the package.  Until that's fixed, php-fpm works when compiling from source, but you need to use a different svn url when checking out the code.

See Antony's answer to my query on http://groups.google.com/group/highload … fa23848df6

Hope this helps
-Antonio


Antonio Lupher
http://www.lupher.com

Offline

#3 2010-06-03 23:27:51

Rydgel
Member
From: France
Registered: 2008-09-04
Posts: 166
Website

Re: Building php-fpm

Hello,

Switching from the trunk to the branches did the trick.

Thank you so much wink

Offline

Board footer

Powered by FluxBB