Custom Query (299 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (1 - 3 of 299)

1 2 3 4 5 6 7 8 9 10 11
Ticket Resolution Summary Owner Reporter
#249 invalid Cannot create shm in Unknown on line 0 moo 100matolog
Description

[01-Jul-2010 11:17:31] PHP Fatal error: Failed creating file mapping in Unknown on line 0 [01-Jul-2010 11:17:31] PHP Fatal error: XCache: Cannot create shm in Unknown on line 0

I compile Xcache for php on MacOS Snow (Darwin Kernel Version 10.2.0: Tue Nov 17 01:24:40 EST 2009; annappirtrvh v2:xnu-1486.2.11/BUILD/obj/RELEASE_I386 i386)

And that what I get

bash-3.2# /usr/local/bin/php -v /dev/zero: Operation not supported by device Failed creating file mapping PHP 5.2.13 (cli) (built: Jun 29 2010 16:12:17) Copyright (c) 1997-2010 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies

with XCache v1.3.0, Copyright (c) 2005-2009, by mOo

bash-3.2# sysctl -a | grep shm kern.sysv.shmmax: 4194304 kern.sysv.shmmin: 1 kern.sysv.shmmni: 32 kern.sysv.shmseg: 8 kern.sysv.shmall: 1024 machdep.pmap.hashmax: 50 security.mac.posixshm_enforce: 1 security.mac.sysvshm_enforce: 1

How can I fix it ?

#5 fixed Cannot build on freebsd somebody Adam
Description

make generates: /usr/local/src/xcache/processor.c:1:28: processor_real.c: No such file or directory * Error code 1

Stop in /usr/local/src/xcache/build. Exit 1

So I tried gmake: 22:22 adam@admin # gmake /usr/local/src/xcache/build gcc -I. -I/usr/local/src/xcache -DPHP_ATOM_INC -I/usr/local/src/xcache/build/include -I/usr/local/src/xcache/build/main -I/usr/local/src/xcache -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -DHAVE_CONFIG_H -g -O2 -E /usr/local/src/xcache/includes.c -o ./includes.i /usr/bin/awk -f /usr/local/src/xcache/mkstructinfo.awk < ./includes.i > ./structinfo.m4 /usr/bin/awk: syntax error at source line 56 source file /usr/local/src/xcache/mkstructinfo.awk

context is

if (match(str, /\([ >>> ]*\*([)]+)\)/, <<< a)) {

/usr/bin/awk: illegal statement at source line 57 source file /usr/local/src/xcache/mkstructinfo.awk /usr/bin/awk: syntax error at source line 63 source file /usr/local/src/xcache/mkstructinfo.awk

3 missing }'s

gmake: * [structinfo.m4] Error 2

This is freebsd 6.0 amd64

#6 worksforme Error on make install on freebsd somebody Adam
Description

Libraries have been installed in:

/usr/local/src/xcache/build/modules

If you ever happen to want to link against installed libraries in a given directory, LIBDIR, you must either use libtool, and specify the full pathname of the library, or use the `-LLIBDIR' flag during linking and do at least one of the following:

  • add LIBDIR to the `LD_LIBRARY_PATH' environment variable during execution
  • add LIBDIR to the `LD_RUN_PATH' environment variable during linking
  • use the `-Wl,--rpath -Wl,LIBDIR' linker flag

See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages.


/usr/local/src/xcache/build/shtool: not found * Error code 127

1 2 3 4 5 6 7 8 9 10 11
Note: See TracQuery for help on using queries.