DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Packages and Ports

OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   (View Single Post)  
Old 18th May 2009
Dazhelpwiz Dazhelpwiz is offline
Port Guard
 
Join Date: May 2008
Location: Townsville, Australia
Posts: 34
Thanked 2 Times in 2 Posts
Default AMP + pecl-mailparse.

Hi Guys and Girls,

Been a while since Ive posted here, been busy busy. Anyway Im in need of your expertise and advice.

Ive updated to OBSD4.5 and have apache/php5/mysql all working happily together, with GD+freetype/imap/mbstring extensions.

I need pecl-mailparse php5 extension to work as so that I can parse mime mail etc. However, when compiling from ports, all is going swimmingly until....

Code:
===>  Building for gtk+-1.2.10p7
make  all-recursive
Making all in po
Making all in gdk
/usr/local/bin/libtool  --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"Gdk\"           -I..                    -DGTK_NO_CHECK_CASTS            -DUSE_XIM                                       -I/usr/local/include/glib-1.2 -D_REENTRANT -D_THREAD_SAFE                        -I/usr/X11R6/include  -I/usr/local/include  -O2 -pipe -Wall -c gdk.c
mkdir .libs
 cc -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"Gdk\" -I.. -DGTK_NO_CHECK_CASTS -DUSE_XIM -I/usr/local/include/glib-1.2 -D_REENTRANT -D_THREAD_SAFE -I/usr/X11R6/include -I/usr/local/include -O2 -pipe -Wall -c gdk.c  -fPIC -DPIC -o .libs/gdk.o
gdk.c:41:23: X11/Xatom.h: No such file or directory
gdk.c:42:22: X11/Xlib.h: No such file or directory
gdk.c:43:21: X11/Xos.h: No such file or directory
gdk.c:44:23: X11/Xutil.h: No such file or directory
gdk.c:45:28: X11/cursorfont.h: No such file or directory
In file included from gdk.c:47:
gdkprivate.h:31:22: X11/Xlib.h: No such file or directory
gdkprivate.h:32:23: X11/Xutil.h: No such file or directory
In file included from gdk.c:47:
gdkprivate.h:64: error: syntax error before "Window"
gdkprivate.h:87: error: syntax error before "XImage"
gdkprivate.h:105: error: syntax error before "GC"
gdkprivate.h:123: error: syntax error before "Colormap"
gdkprivate.h:138: error: syntax error before "Visual"
gdkprivate.h:147: error: syntax error before "Display"
gdkprivate.h:156: error: syntax error before "Cursor"
gdkprivate.h:161: error: syntax error before "Cursor"
gdkprivate.h:177: error: syntax error before "Window"
gdkprivate.h:183: error: syntax error before "Window"
gdkprivate.h:205: error: syntax error before "XIC"
gdkprivate.h:215: error: syntax error before "Display"
gdkprivate.h:222: error: syntax error before "Region"
gdkprivate.h:241: error: syntax error before "xcolormap"
gdkprivate.h:242: error: syntax error before '*' token
gdkprivate.h:247: error: syntax error before '*' token
gdkprivate.h:249: error: syntax error before "xid"
gdkprivate.h:250: error: syntax error before "xid"
gdkprivate.h:252: error: syntax error before "window"
gdkprivate.h:266: error: syntax error before "gdk_window_xid_at"
gdkprivate.h:266: error: syntax error before "base"
gdkprivate.h:266: warning: type defaults to `int' in declaration of `gdk_window_xid_at'
gdkprivate.h:266: warning: data definition has no type or storage class
gdkprivate.h:267: error: syntax error before "gdk_window_xid_at_coords"
gdkprivate.h:267: warning: type defaults to `int' in declaration of `gdk_window_xid_at_coords'
gdkprivate.h:267: warning: data definition has no type or storage class
gdkprivate.h:274: error: syntax error before '*' token
gdkprivate.h:274: warning: type defaults to `int' in declaration of `gdk_display'
gdkprivate.h:274: warning: data definition has no type or storage class
gdkprivate.h:276: error: syntax error before "gdk_root_window"
gdkprivate.h:276: warning: type defaults to `int' in declaration of `gdk_root_window'
gdkprivate.h:276: warning: data definition has no type or storage class
gdkprivate.h:277: error: syntax error before "gdk_leader_window"
gdkprivate.h:277: warning: type defaults to `int' in declaration of `gdk_leader_window'
gdkprivate.h:277: warning: data definition has no type or storage class
gdkprivate.h:279: error: syntax error before "gdk_wm_delete_window"
gdkprivate.h:279: warning: type defaults to `int' in declaration of `gdk_wm_delete_window'
gdkprivate.h:279: warning: data definition has no type or storage class
gdkprivate.h:280: error: syntax error before "gdk_wm_take_focus"
gdkprivate.h:280: warning: type defaults to `int' in declaration of `gdk_wm_take_focus'
gdkprivate.h:280: warning: data definition has no type or storage class
gdkprivate.h:281: error: syntax error before "gdk_wm_protocols"
gdkprivate.h:281: warning: type defaults to `int' in declaration of `gdk_wm_protocols'
gdkprivate.h:281: warning: data definition has no type or storage class
gdkprivate.h:282: error: syntax error before "gdk_wm_window_protocols"
gdkprivate.h:282: warning: type defaults to `int' in declaration of `gdk_wm_window_protocols'
gdkprivate.h:282: warning: data definition has no type or storage class
gdkprivate.h:283: error: syntax error before "gdk_selection_property"
gdkprivate.h:283: warning: type defaults to `int' in declaration of `gdk_selection_property'
gdkprivate.h:283: warning: data definition has no type or storage class
In file included from gdk.c:48:
gdkinput.h:31:35: X11/extensions/XInput.h: No such file or directory
In file included from gdk.c:48:
gdkinput.h:67: error: syntax error before '*' token
gdkinput.h:68: error: syntax error before '*' token
gdkinput.h:69: error: syntax error before "XEvent"
gdkinput.h:72: error: syntax error before "XEvent"
gdkinput.h:107: error: syntax error before "XDevice"
In file included from gdk.c:49:
gdkx.h:53: error: syntax error before "xvisualid"
gdkx.h:56: error: syntax error before "xcolormap"
gdkx.h:59: error: syntax error before "gdk_get_client_window"
gdkx.h:59: error: syntax error before '*' token
gdkx.h:60: warning: type defaults to `int' in declaration of `gdk_get_client_window'
gdkx.h:60: warning: data definition has no type or storage class
gdk.c:85: error: syntax error before '*' token
gdk.c:87: error: syntax error before '*' token
gdk.c: In function `gdk_init_check':
gdk.c:195: error: syntax error before "keyboard_state"
gdk.c:198: error: `XClassHint' undeclared (first use in this function)
gdk.c:198: error: (Each undeclared identifier is reported only once
gdk.c:198: error: for each function it appears in.)
gdk.c:198: error: `class_hint' undeclared (first use in this function)
gdk.c:223: warning: implicit declaration of function `XSetErrorHandler'
gdk.c:224: warning: implicit declaration of function `XSetIOErrorHandler'
gdk.c:412: warning: implicit declaration of function `XOpenDisplay'
gdk.c:412: warning: assignment makes pointer from integer without a cast
gdk.c:417: warning: implicit declaration of function `XSynchronize'
gdk.c:417: error: `True' undeclared (first use in this function)
gdk.c:419: warning: implicit declaration of function `DefaultScreen'
gdk.c:420: warning: implicit declaration of function `RootWindow'
gdk.c:422: warning: implicit declaration of function `XCreateSimpleWindow'
gdk.c:424: warning: implicit declaration of function `XAllocClassHint'
gdk.c:432: warning: implicit declaration of function `XmbSetWMProperties'
gdk.c:435: warning: implicit declaration of function `XFree'
gdk.c:441: warning: implicit declaration of function `XInternAtom'
gdk.c:441: error: `False' undeclared (first use in this function)
gdk.c:448: warning: implicit declaration of function `XGetKeyboardControl'
gdk.c:448: error: `keyboard_state' undeclared (first use in this function)
gdk.c: In function `gdk_pointer_grab':
gdk.c:665: error: syntax error before "xwindow"
gdk.c:676: error: `xwindow' undeclared (first use in this function)
gdk.c:676: error: structure has no member named `xwindow'
gdk.c:679: error: `xconfine_to' undeclared (first use in this function)
gdk.c:679: error: `None' undeclared (first use in this function)
gdk.c:681: error: structure has no member named `xwindow'
gdk.c:684: error: `xcursor' undeclared (first use in this function)
gdk.c:686: error: structure has no member named `xcursor'
gdk.c:703: error: `Success' undeclared (first use in this function)
gdk.c:708: warning: implicit declaration of function `XGrabPointer'
gdk.c:708: error: structure has no member named `xdisplay'
gdk.c:712: error: `GrabModeAsync' undeclared (first use in this function)
gdk.c:717: error: `AlreadyGrabbed' undeclared (first use in this function)
gdk.c:720: error: `GrabSuccess' undeclared (first use in this function)
gdk.c: In function `gdk_pointer_ungrab':
gdk.c:747: warning: implicit declaration of function `XUngrabPointer'
gdk.c: In function `gdk_keyboard_grab':
gdk.c:798: error: syntax error before "xwindow"
gdk.c:803: error: `xwindow' undeclared (first use in this function)
gdk.c:803: error: structure has no member named `xwindow'
gdk.c:806: warning: implicit declaration of function `XGrabKeyboard'
gdk.c:806: error: structure has no member named `xdisplay'
gdk.c:809: error: `GrabModeAsync' undeclared (first use in this function)
gdk.c:812: error: `AlreadyGrabbed' undeclared (first use in this function)
gdk.c: In function `gdk_keyboard_ungrab':
gdk.c:833: warning: implicit declaration of function `XUngrabKeyboard'
gdk.c: In function `gdk_screen_width':
gdk.c:856: warning: implicit declaration of function `DisplayWidth'
gdk.c: In function `gdk_screen_height':
gdk.c:881: warning: implicit declaration of function `DisplayHeight'
gdk.c: In function `gdk_screen_width_mm':
gdk.c:906: warning: implicit declaration of function `DisplayWidthMM'
gdk.c: In function `gdk_screen_height_mm':
gdk.c:931: warning: implicit declaration of function `DisplayHeightMM'
gdk.c: In function `gdk_set_sm_client_id':
gdk.c:963: warning: implicit declaration of function `XChangeProperty'
gdk.c:965: error: `XA_STRING' undeclared (first use in this function)
gdk.c:965: error: `PropModeReplace' undeclared (first use in this function)
gdk.c:969: warning: implicit declaration of function `XDeleteProperty'
gdk.c: In function `gdk_key_repeat_disable':
gdk.c:976: warning: implicit declaration of function `XAutoRepeatOff'
gdk.c: In function `gdk_key_repeat_restore':
gdk.c:983: warning: implicit declaration of function `XAutoRepeatOn'
gdk.c: In function `gdk_beep':
gdk.c:992: warning: implicit declaration of function `XBell'
gdk.c: In function `gdk_exit_func':
gdk.c:1036: warning: implicit declaration of function `XCloseDisplay'
gdk.c: At top level:
gdk.c:1064: error: syntax error before '*' token
gdk.c: In function `gdk_x_error':
gdk.c:1067: error: `error' undeclared (first use in this function)
gdk.c:1073: warning: implicit declaration of function `XGetErrorText'
gdk.c:1073: error: `display' undeclared (first use in this function)
gdk.c: At top level:
gdk.c:1119: error: syntax error before '*' token
gdk.c: In function `gdk_x_io_error':
gdk.c:1129: warning: implicit declaration of function `DisplayString'
gdk.c:1129: warning: pointer/integer type mismatch in conditional expression
gdk.c:1135: warning: pointer/integer type mismatch in conditional expression
gdk.c: In function `gdk_get_display':
gdk.c:1147: warning: implicit declaration of function `XDisplayName'
gdk.c: At top level:
gdk.c:1222: error: syntax error before "window"
gdk.c: In function `gdk_send_xevent':
gdk.c:1225: error: syntax error before "result"
gdk.c:1231: error: `result' undeclared (first use in this function)
gdk.c:1231: warning: implicit declaration of function `XSendEvent'
gdk.c:1231: error: `window' undeclared (first use in this function)
gdk.c:1231: error: `propagate' undeclared (first use in this function)
gdk.c:1231: error: `event_mask' undeclared (first use in this function)
gdk.c:1231: error: `event_send' undeclared (first use in this function)
gdk.c:1232: warning: implicit declaration of function `XSync'
gdk.c:1232: error: `False' undeclared (first use in this function)
gdk.c: In function `gdk_keyval_name':
gdk.c:1373: warning: implicit declaration of function `XKeysymToString'
gdk.c:1373: warning: return makes pointer from integer without a cast
gdk.c: In function `gdk_keyval_from_name':
gdk.c:1381: warning: implicit declaration of function `XStringToKeysym'
gdk.c: In function `gdk_keyval_to_upper':
gdk.c:1389: error: syntax error before "lower_val"
gdk.c:1392: warning: implicit declaration of function `XConvertCase'
gdk.c:1392: error: `lower_val' undeclared (first use in this function)
gdk.c:1392: error: `upper_val' undeclared (first use in this function)
gdk.c: In function `gdk_keyval_to_lower':
gdk.c:1403: error: syntax error before "lower_val"
gdk.c:1406: error: `lower_val' undeclared (first use in this function)
gdk.c:1406: error: `upper_val' undeclared (first use in this function)
gdk.c: In function `gdk_keyval_is_upper':
gdk.c:1417: error: syntax error before "lower_val"
gdk.c:1420: error: `lower_val' undeclared (first use in this function)
gdk.c:1420: error: `upper_val' undeclared (first use in this function)
gdk.c: In function `gdk_keyval_is_lower':
gdk.c:1431: error: syntax error before "lower_val"
gdk.c:1434: error: `lower_val' undeclared (first use in this function)
gdk.c:1434: error: `upper_val' undeclared (first use in this function)
gdk.c: At top level:
gdkprivate.h:282: warning: array `gdk_wm_window_protocols' assumed to have one element
*** Error code 1

Stop in /usr/ports/x11/gtk+/w-gtk+-1.2.10p7/gtk+-1.2.10/gdk (line 266 of Makefile).
*** Error code 1

Stop in /usr/ports/x11/gtk+/w-gtk+-1.2.10p7/gtk+-1.2.10 (line 301 of Makefile).
*** Error code 1

Stop in /usr/ports/x11/gtk+/w-gtk+-1.2.10p7/gtk+-1.2.10 (line 451 of Makefile).
*** Error code 1

Stop in /usr/ports/x11/gtk+ (line 2177 of /usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/x11/gtk+ (line 1432 of /usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/x11/gtk+ (line 1972 of /usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/x11/gtk+ (line 1462 of /usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/databases/iodbc (line 1609 of /usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/databases/iodbc (line 2006 of /usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/databases/iodbc (line 1432 of /usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/databases/iodbc (line 1972 of /usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/databases/iodbc (line 1462 of /usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/www/php5/extensions (line 1609 of /usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/mail/pecl-mailparse (line 1609 of /usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/mail/pecl-mailparse (line 2006 of /usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/mail/pecl-mailparse (line 1432 of /usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/mail/pecl-mailparse (line 1972 of /usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/mail/pecl-mailparse (line 1462 of /usr/ports/infrastructure/mk/bsd.port.mk).
#
Any advice, tips to help get this 1 extension to work in php on OpenBSD would be greatly appreciated.

I did notice this extension was only added to ports very recently. So in hope Im going to continue searching these here tubes while also hoping someone smarter then I responds lol.

Thanks all,
Daz.
Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:33 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick