Welcome! Log In Create A New Profile

Advanced

nginx with --with-http_perl_module compilation problems

November 30, 2012 11:59AM
Hello people,
yesterday I started trying to compile nginx with http_perl_module, but, at the end of the compilation, the linkeditor gets confused about the archtecture it's being linked. I'm using Mac OS/X 10.6.8. Here is part of the output I get from terminal:

gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -arch x86_64 -arch i386 -arch ppc -g -pipe -fno-common -DPERL_DARWIN -fno-strict-aliasing -I/usr/local/include -I/System/Library/Perl/5.10.0/darwin-thread-multi-2level/CORE -I src/core -I src/event -I src/event/modules -I src/os/unix -I ../pcre-8.31 -I objs -I src/http -I src/http/modules -I src/http/modules/perl \
-o objs/src/http/modules/perl/ngx_http_perl_module.o \
src/http/modules/perl/ngx_http_perl_module.c
/usr/libexec/gcc/powerpc-apple-darwin10/4.2.1/as: assembler (/usr/bin/../libexec/gcc/darwin/ppc/as or /usr/bin/../local/libexec/gcc/darwin/ppc/as) for architecture ppc not installed
Installed assemblers are:
/usr/bin/../libexec/gcc/darwin/x86_64/as for architecture x86_64
/usr/bin/../libexec/gcc/darwin/i386/as for architecture i386
lipo: can't open input file: /var/folders/QZ/QZCif6epHb85Dwl9qHtI9E+++TM/-Tmp-//ccbScbid.out (No such file or directory)
make[1]: *** [objs/src/http/modules/perl/ngx_http_perl_module.o] Error 2
make: *** [build] Error 2

Someone have seem this previously? It seems it's a problem with the ppc linkedition, but I don't know why it is trying to link against ppc arch... Any advice is welcome :)

PS: without the perl module, the compilation is clean...


Thanks,
Gabriel Duarte
SubjectAuthorPosted

nginx with --with-http_perl_module compilation problems

gduarteNovember 30, 2012 11:59AM

Re: nginx with --with-http_perl_module compilation problems

Sergey A. OsokinNovember 30, 2012 12:14PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 80
Record Number of Users: 7 on March 06, 2014
Record Number of Guests: 156 on March 20, 2014
Powered by nginx    Powered by FreeBSD    PHP Powered    Powered by Percona     ipv6 ready