On 2011-05-09, at 4:00 PM, Vijay Sankar wrote:

> Hi,
>
> Is Plone 4.0.x incompatible with OpenBSD 4.9? I am able to install and
> everything appears to work. However, when I try to do any site setup, Plone
> restarts. I increased ulimit since that had solved it earlier on OpenBSD
4.7
> but on 4.9, it just did not work. I tried both amd64 and i386 versions as
well
> as -current for both platforms.
>
> Any clues/advice please let me know.
>
> Thanks very much,
>
> Vijay


Looking into this further, the issue seems to be due to py-Imaging-1.1.7.
Plone requires py-Imaging-1.1.6. I tried to build a package but don't know
enough about Tk and other dependencies for py-Imaging.

Can this package be built into the standard ports tree so that Plone sites can
run on OpenBSD 4.9? If someone can give me a hand with this I can try to build
it also but I am not sure how to deal with errors such as

cc -DNDEBUG -O2 -pipe -DTHREAD_STACK_SIZE=0x20000 -fPIC -O2 -pipe -fPIC
-I/usr/local/include/tk8.4 -I/usr/local/include/tcl8.4 -I/usr/X11R6/include
-I/usr/X11R6/include/freetype2 -IlibImaging -I/usr/local/include
-I/usr/include -I/usr/X11R6/include -I/usr/local/include/python2.6 -c
_imagingtk.c -o
/home/ports/pobj/Imaging-1.1.6-python2.6/Imaging-1.1.6/temp.openbsd-4.9-amd64
-2.6/_imagingtk.o
_imagingtk.c:20:16: error: tk.h: No such file or directory
_imagingtk.c:23: error: expected ')' before '*' token
_imagingtk.c:31: error: expected specifier-qualifier-list before 'Tcl_Interp'
_imagingtk.c: In function '_tkinit':
_imagingtk.c:37: error: 'Tcl_Interp' undeclared (first use in this function)
_imagingtk.c:37: error: (Each undeclared identifier is reported only once
_imagingtk.c:37: error: for each function it appears in.)
_imagingtk.c:37: error: 'interp' undeclared (first use in this function)
_imagingtk.c:45: error: expected expression before ')' token
_imagingtk.c:51: error: 'TkappObject' has no member named 'interp'
error: command 'cc' failed with exit status 1
*** Error code 1




Vijay Sankar
vsan...@foretell.ca

Reply via email to