Because it's the only currently functioning way to do it doesn't mean it's a good solution. In fact, it's inconsistent -- php5-gd-no_x11 installed cleanly prior to 4.0, so the current error is definitely an unexpected behavior, which is fine. If I really want to complain, I need to step up to the plate and volunteer to maintain some ports myself.

I don't want to install xbase on my system, as I firmly believe that the less code = fewer bugs = more secure. My solution was to extract just the freetype libraries from the tar bundle and put them in the system. It's not an offiicially supported/sanctioned methodology, but unless the current port/package configuration changes to install without xbase, it's what I'm going to have to live with.




On Jan 19, 2007, at 7:15 AM, Mike Erdely wrote:

Stephan A. Rickauer wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Mike Erdely wrote:
Donald J. Ankney wrote:
When trying to add php5-gd-5.1.4-no_x11 via packages, I get:

$ sudo pkg_add php5-gd-5.1.4-no_x11.tgz
Can't install php5-gd-5.1.4-no_x11.tgz: lib not found freetype.13.1
This has been answered many times in the archives... You need xbase40.tgz.
It has been answered always wrongly.

Not true. Installing xbase provides the freetype.13.1 library. It's the ONLY supported way to install the required library.

His question was how to _add_ this package, not how to _build_ it. All
packages with -no_x11 should not require xbase for installation. They
only require X for being built.

xbase IS required to be installed for some -no_x11 packages. I never mentioned building.

Refer to 2 of Nikolay's posts:
http://marc.theaimsgroup.com/?l=openbsd-ports&m=113603283120696&w=2
http://marc.theaimsgroup.com/?l=openbsd-ports&m=113965458111175&w=2

X does not need to be running, only its libraries must be installed.

-ME

Reply via email to