sodabrew / mod_perlite

A lightweight Apache module for Perl scripts
http://modperlite.org/
86 stars 7 forks source link

Build problem on Mac OS X Snow Leopard #1

Open byrnereese opened 14 years ago

byrnereese commented 14 years ago

I get this when trying to run ./Build. I am using macports and have Apache2 installed.

byrne-reeses-macbook:sodabrew-mod_perlite-080fe20 breese$ sudo ./Build /usr/bin/gcc-4.2 -c mod_perlite.c -fPIC -g -ggdb -DMP_SYS_DL_DLOPEN=1 -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp -I/opt/local/include/apr-1 -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/opt/local/apache2/include -DVERSION=\"0.10\" mod_perlite.c:30: error: thread-local storage not supported for this target mod_perlite.c:31: error: thread-local storage not supported for this target mod_perlite.c: In function ‘perlite_hook_init’: mod_perlite.c:331: warning: passing argument 2 of ‘Perl_sys_init3’ from incompatible pointer type mod_perlite.c:30: error: thread-local storage not supported for this target mod_perlite.c:31: error: thread-local storage not supported for this target mod_perlite.c: In function ‘perlite_hook_init’: mod_perlite.c:331: warning: passing argument 2 of ‘Perl_sys_init3’ from incompatible pointer type {standard input}:86:non-relocatable subtraction expression, "L_boot_DynaLoader$non_lazy_ptr" minus "L00000000001$pb" {standard input}:86:symbol: "L_boot_DynaLoader$non_lazy_ptr" can't be undefined in a subtraction expression {standard input}:unknown:Undefined local symbol L_boot_DynaLoader$non_lazy_ptr mod_perlite.c:30: error: thread-local storage not supported for this target mod_perlite.c:31: error: thread-local storage not supported for this target mod_perlite.c: In function ‘perlite_hook_init’: mod_perlite.c:331: warning: passing argument 2 of ‘Perl_sys_init3’ from incompatible pointer type {standard input}:98:non-relocatable subtraction expression, "L_boot_DynaLoader$non_lazy_ptr" minus "L00000000001$pb" {standard input}:98:symbol: "L_boot_DynaLoader$non_lazy_ptr" can't be undefined in a subtraction expression {standard input}:97:non-relocatable subtraction expression, "L_boot_DynaLoader$non_lazy_ptr" minus "L00000000001$pb" {standard input}:97:symbol: "L_boot_DynaLoader$non_lazy_ptr" can't be undefined in a subtraction expression {standard input}:unknown:Undefined local symbol L_boot_DynaLoader$non_lazy_ptr lipo: can't open input file: /var/tmp//ccpqTFfv.out (No such file or directory) /usr/bin/gcc-4.2 -shared mod_perlite.o -o mod_perlite.so -fPIC -g -ggdb -DMP_SYS_DL_DLOPEN=1 -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp -I/opt/local/include/apr-1 -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 -arch x86_64 -arch i386 -arch ppc -L/usr/local/lib -L/System/Library/Perl/5.10.0/darwin-thread-multi-2level/CORE -lperl -ldl -lm -lutil -lc i686-apple-darwin10-gcc-4.2.1: mod_perlite.o: No such file or directory i686-apple-darwin10-gcc-4.2.1: mod_perlite.o: No such file or directory powerpc-apple-darwin10-gcc-4.2.1: mod_perlite.o: No such file or directory lipo: can't figure out the architecture type of: /var/tmp//cc44IXga.out Writing config notes to blib/lib/Perlite/ConfigData.pm Manifying blib/lib/Perlite/ConfigData.pm -> blib/libdoc/Perlite::ConfigData.3pm

byrnereese commented 14 years ago

Possibly some good information to be found here: http://lists.apple.com/archives/xcode-users/2006/Jun/msg00551.html

sodabrew commented 14 years ago

Hmm, shoot. No __thread in OS X...