If you have a package that somewhere down the line has requirements for libraries only provided by xbase, well, you're going to need xbase. If you're concerned about security, you can always un-setuid the bin/ dir, but you really do need xbase for packages that require freetype shared libs. It's not really that big, either.
Thanks, -- Todd Fries .. t...@fries.net _____________________________________________ | \ 1.636.410.0632 (voice) | Free Daemon Consulting, LLC \ 1.405.227.9094 (voice) | http://FreeDaemonConsulting.com \ 1.866.792.3418 (FAX) | "..in support of free software solutions." \ 250797 (FWD) | \ \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ 37E7 D3EB 74D0 8D66 A68D B866 0326 204E 3F42 004A http://todd.fries.net/pgp.txt Penned by Aaron Martinez on 20081219 12:40.38, we have: | I am running 4.4 stable on i386 for the sole purpose of running nagios. | So that I could get visualizations on the statusmap, nagios docs say that | gd is required. | | I have performed just a minimal install, bsd, base44, etc44 and man44. | When i try installing gd i come up with the following error: | # pkg_add -nv gd | parsing gd-2.0.35 | Dependencies for gd-2.0.35 resolve to: libiconv-1.12, jpeg-6bp3, | png-1.2.28 (todo: jpeg-6bp3,png-1.2.28) | gd-2.0.35:parsing jpeg-6bp3 | found libspec c.48.0 in /usr/lib | Pretending to add gd-2.0.35:jpeg-6bp3 | gd-2.0.35:parsing png-1.2.28 | Pretending to add gd-2.0.35:png-1.2.28 | found libspec c.48.0 in /usr/lib | found libspec expat.9.0 in /usr/lib | Can't install gd-2.0.35: lib not found fontconfig.5.1 | Dependencies for gd-2.0.35 resolve to: libiconv-1.12, jpeg-6bp3, | png-1.2.28 (todo: jpeg-6bp3,png-1.2.28) | Full dependency tree is libiconv-1.12,jpeg-6bp3,png-1.2.28 | Can't install gd-2.0.35: lib not found freetype.16.1 | found libspec iconv.5.0 in package libiconv-1.12 | found libspec jpeg.62.0 in package jpeg-6bp3 | found libspec m.3.0 in /usr/lib | found libspec png.7.0 in package png-1.2.28 | found libspec z.4.1 in /usr/lib | /dev/wd0g: 1432 bytes | /dev/wd0f: 1381968 bytes | | | I did some searching on this and found it most recently referenced about | Openbsd 3.9 where people were indicating that gd was not going to have the | x dependency in future releases. | | I have another machine that i did my nagios testing on that does NOT have | gd installed but the .gd2 icons are displayed correctly in the statusmap. | I do have php5-gd installed and doing a test install of php5-gd-no_x11 | which works. My question here is, even though nagios doesn't use php, is | the php-gd what is allowing the icons to display in this case since i | don't actually have gd installed? | | Is there any other way to make this work? i didn't really want to install | php or xbase on this box. | | Thanks in advance and dmesg below. | | Aaron Martinez | | | | OpenBSD 4.4-stable (GENERIC) #1: Fri Dec 5 15:52:41 CST 2008 | r...@obsdbuild.minn.example.com:/usr/src/sys/arch/i386/compile/GENERIC | cpu0: Intel(R) Pentium(R) 4 CPU 2.66GHz ("GenuineIntel" 686-class) 2.67 GHz | cpu0: | FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,CNXT-ID,xTPR | real mem = 527986688 (503MB) | avail mem = 502087680 (478MB) | mainbus0 at root | bios0 at mainbus0: AT/286+ BIOS, date 07/10/03, BIOS32 rev. 0 @ 0xeb4e0, | SMBIOS rev. 2.3 @ 0xf8dd4 (57 entries) | bios0: vendor Hewlett-Packard version "786B2 v1.11" date 07/10/2003 | bios0: Hewlett-Packard HP d530 SFF(DG781A) | acpi0 at bios0: rev 0 | acpi0: tables DSDT FACP SSDT SSDT SSDT SSDT SSDT SSDT SSDT APIC SSDT ASF! | SSDT SSDT SSDT SSDT SSDT SSDT SSDT SSDT SSDT SSDT SSDT | acpi0: wakeup devices PCI0(S4) HUB_(S4) COM1(S4) COM2(S4) USB1(S3) | USB2(S3) USB3(S3) USB4(S3) EUSB(S3) PBTN(S4) | acpitimer0 at acpi0: 3579545 Hz, 24 bits | acpiprt0 at acpi0: bus 0 (PCI0) | acpiprt1 at acpi0: bus 5 (HUB_) | acpicpu0 at acpi0 | acpibtn0 at acpi0: PBTN | bios0: ROM list: 0xc0000/0xa600 0xca600/0x2000 0xe0c00/0x9a00! | cpu0 at mainbus0 | pci0 at mainbus0 bus 0: configuration mode 1 (no bios) | pchb0 at pci0 dev 0 function 0 "Intel 82865G Host" rev 0x02 | vga1 at pci0 dev 2 function 0 "Intel 82865G Video" rev 0x02 | wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) | wsdisplay0: screen 1-5 added (80x25, vt100 emulation) | agp0 at vga1: aperture at 0xf0000000, size 0x8000000 | drm at vga1 unsupported | uhci0 at pci0 dev 29 function 0 "Intel 82801EB/ER USB" rev 0x02: irq 11 | uhci1 at pci0 dev 29 function 1 "Intel 82801EB/ER USB" rev 0x02: irq 5 | uhci2 at pci0 dev 29 function 2 "Intel 82801EB/ER USB" rev 0x02: irq 10 | ehci0 at pci0 dev 29 function 7 "Intel 82801EB/ER USB2" rev 0x02: irq 10 | usb0 at ehci0: USB revision 2.0 | uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1 | ppb0 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0xc2 | pci1 at ppb0 bus 5 | bge0 at pci1 dev 2 function 0 "Broadcom BCM5782" rev 0x03, BCM5705 A3 | (0x3003): irq 5, address 00:0e:7f:f3:46:a7 | brgphy0 at bge0 phy 1: BCM5705 10/100/1000baseT PHY, rev. 2 | ichpcib0 at pci0 dev 31 function 0 "Intel 82801EB/ER LPC" rev 0x02 | pciide0 at pci0 dev 31 function 1 "Intel 82801EB/ER IDE" rev 0x02: DMA, | channel 0 configured to compatibility, channel 1 configured to | compatibility | wd0 at pciide0 channel 0 drive 0: <ST340014A> | wd0: 16-sector PIO, LBA, 38166MB, 78165360 sectors | wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5 | atapiscsi0 at pciide0 channel 1 drive 0 | scsibus0 at atapiscsi0: 2 targets, initiator 7 | cd0 at scsibus0 targ 0 lun 0: <LITEON, CD-ROM LTN486S, YQSM> ATAPI 5/cdrom | removable | cd0(pciide0:1:0): using PIO mode 4, DMA mode 2 | pciide1 at pci0 dev 31 function 2 "Intel 82801EB SATA" rev 0x02: DMA, | channel 0 configured to native-PCI, channel 1 configured to native-PCI | pciide1: using irq 10 for native-PCI interrupt | auich0 at pci0 dev 31 function 5 "Intel 82801EB/ER AC97" rev 0x02: irq 5, | ICH5 AC97 | ac97: codec id 0x41445374 (Analog Devices AD1981B) | ac97: codec features headphone, 20 bit DAC, No 3D Stereo | audio0 at auich0 | usb1 at uhci0: USB revision 1.0 | uhub1 at usb1 "Intel UHCI root hub" rev 1.00/1.00 addr 1 | usb2 at uhci1: USB revision 1.0 | uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1 | usb3 at uhci2: USB revision 1.0 | uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1 | isa0 at ichpcib0 | isadma0 at isa0 | com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo | com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo | pckbc0 at isa0 port 0x60/5 | pckbd0 at pckbc0 (kbd slot) | pckbc0: using irq 1 for kbd slot | wskbd0 at pckbd0: console keyboard, using wsdisplay0 | pcppi0 at isa0 port 0x61 | midi0 at pcppi0: <PC speaker> | spkr0 at pcppi0 | npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 | fdc0 at isa0 port 0x3f0/6 irq 6 drq 2 | fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec | biomask fde5 netmask fde5 ttymask ffff | mtrr: Pentium Pro MTRR support | uhidev0 at uhub2 port 1 configuration 1 interface 0 "ATEN UC-10KM | V1.3.121" rev 1.10/1.00 addr 2 | uhidev0: iclass 3/1 | ukbd0 at uhidev0: 8 modifier keys, 6 key codes, country code 3 | wskbd1 at ukbd0 mux 1 | wskbd1: connecting to wsdisplay0 | uhidev1 at uhub2 port 1 configuration 1 interface 1 "ATEN UC-10KM | V1.3.121" rev 1.10/1.00 addr 2 | uhidev1: iclass 3/1 | ums0 at uhidev1: 5 buttons, Z dir | wsmouse0 at ums0 mux 0 | softraid0 at root | root on wd0a swap on wd0b dump on wd0b