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 22nd August 2012
sparky's Avatar
sparky sparky is offline
Fdisk Soldier
 
Join Date: Mar 2012
Posts: 73
Default Unable to build glib2 port on sparc64

Hi,

I have a Sun Netra T105 with OpenBSD 5.1 sparc64 installed:

Code:
OpenBSD 5.1 GENERIC#130 sparc64
I am trying to build glib2 in order to be able to compile jnettop which isn't in the ports tree.

Previously I managed to this quite easily on x64 architecture however, I initially didn't have X11 installed on my sparc box of which I now have the xbase51.tgz package installed.

Currently I run into these errors:

Code:
===>  Building for dbus-1.4.16p2v0
make  all-recursive
Making all in dbus
make  all-am
Making all in bus
Making all in tools
cc -DHAVE_CONFIG_H -I. -I/usr/ports/pobj/dbus-1.4.16/dbus-1.4.16/tools -I.. -I/usr/ports/pobj/dbus-1.4.16/dbus-1.4.16  -I/usr/X11R6/include -DDBUS_LOCALEDIR=\"/usr/local/share/locale\" -DDBUS_COMPILATION -DDBUS_MACHINE_UUID_FILE=\""/var/db/dbus/machine-id"\"   -I/usr/local/include  -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wno-address -Wfloat-equal -Wdeclaration-after-statement -Wno-unused -Wno-sign-compare -Wno-pointer-sign -fno-common -fno-strict-aliasing -O2 -pipe -MT dbus-launch.o -MD -MP -MF .deps/dbus-launch.Tpo -c -o dbus-launch.o /usr/ports/pobj/dbus-1.4.16/dbus-1.4.16/tools/dbus-launch.c
/usr/ports/pobj/dbus-1.4.16/dbus-1.4.16/tools/dbus-launch.c:42:22: error: X11/Xlib.h: No such file or directory
/usr/ports/pobj/dbus-1.4.16/dbus-1.4.16/tools/dbus-launch.c:43: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
/usr/ports/pobj/dbus-1.4.16/dbus-1.4.16/tools/dbus-launch.c: In function 'kill_bus_when_session_ends':
/usr/ports/pobj/dbus-1.4.16/dbus-1.4.16/tools/dbus-launch.c:439: error: 'xdisplay' undeclared (first use in this function)
/usr/ports/pobj/dbus-1.4.16/dbus-1.4.16/tools/dbus-launch.c:439: error: (Each undeclared identifier is reported only once
/usr/ports/pobj/dbus-1.4.16/dbus-1.4.16/tools/dbus-launch.c:439: error: for each function it appears in.)
/usr/ports/pobj/dbus-1.4.16/dbus-1.4.16/tools/dbus-launch.c:441: warning: implicit declaration of function 'ConnectionNumber'
/usr/ports/pobj/dbus-1.4.16/dbus-1.4.16/tools/dbus-launch.c:441: warning: nested extern declaration of 'ConnectionNumber'
/usr/ports/pobj/dbus-1.4.16/dbus-1.4.16/tools/dbus-launch.c: In function 'main':
/usr/ports/pobj/dbus-1.4.16/dbus-1.4.16/tools/dbus-launch.c:996: error: 'xdisplay' undeclared (first use in this function)
*** Error code 1

Stop in /usr/ports/pobj/dbus-1.4.16/build-sparc64/tools (line 92 of /usr/share/mk/sys.mk).
*** Error code 1

Stop in /usr/ports/pobj/dbus-1.4.16/build-sparc64 (line 588 of Makefile).
*** Error code 1

Stop in /usr/ports/pobj/dbus-1.4.16/build-sparc64 (line 435 of Makefile).
*** Error code 1

Stop in /usr/ports/x11/dbus (line 2444 of /usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/x11/dbus (line 1671 of /usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/x11/dbus (line 2217 of /usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/x11/dbus (line 2197 of /usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/x11/dbus (line 1692 of /usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/x11/dbus (line 2197 of /usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/devel/glib2 (line 1855 of /usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/devel/glib2 (line 2256 of /usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/devel/glib2 (line 1671 of /usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/devel/glib2 (line 2217 of /usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/devel/glib2 (line 2197 of /usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/devel/glib2 (line 1692 of /usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/devel/glib2 (line 2197 of /usr/ports/infrastructure/mk/bsd.port.mk).
The system tells me that Xlib.h isn't installed... doing a "find / -name Xlib.h" confirms that.

Looking at the ports tree I saw one called py-Xlib which seemed like the correct port to be installing.

However if I try to build that I get these errors:
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Is is safe to build more than a port at a time ? daemonfowl OpenBSD Packages and Ports 3 7th April 2012 12:20 AM
Unable to Build Tomcat 7 - OpenBSD 4.9 redaxe12 OpenBSD Packages and Ports 1 30th September 2011 06:09 AM
Port Build without having to de-overclock p4 (YMMV) jb_daefo Guides 0 29th September 2008 10:29 AM
Unable to build custom kernel [Wrong configuration?] jrick FreeBSD General 3 31st July 2008 01:53 PM
Unable to make install on Subversion port Fuitad FreeBSD Ports and Packages 2 28th July 2008 04:49 PM


All times are GMT. The time now is 10:29 AM.


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