[Opfc-developer 118] Re: opvp can't compiled on Mac OS X

Zurück zum Archiv-Index

Hin-Tak Leung hinta****@gmail*****
2008年 5月 22日 (木) 21:02:51 JST


Hi, I haven't looked at the ghostscript source code much lately, but there
are some existing infrastructure
in the ./configure* (autoconf) for disabling inclusion of certain drivers if
some functionality is not found on the host.
I don't know of any other platform where dlopen() is not found, but Tru64
and some older unices (HP-UX?)
don't ship iconv either.

By the way, iconv-related functionality is part of glibc on recent linux
distros, but it is external to (BSD)
libc on Mac OS
 -  Apple ships libiconv with some version of Mac OS to provide the same
functionality; so on linux
there is no need for additional library flags, but on Mac OS X and possibly
some other unices, one need to add -liconv to the linker flags.

It is better to look for -liconv (either shipped by Apple or
admin-installed) and detect it rather than doing
uname to test for platform(s).

2008/5/20 Koji Otani <sho****@bbr*****>:

> 大谷です。
> まんま、ポストしました。
>
> From: TORATANI Yasumasa <torat****@canon*****>
> Subject: Re: [Opfc-developer 113] Re: opvp can't compiled on Mac OS X
> Date: Tue, 20 May 2008 16:07:50 +0900
> Message-ID: <20080****@canon*****>
>
> toratani.yasumasa> 大谷さん、
> toratani.yasumasa>
> toratani.yasumasa> Mac OS X でかつ 10.4 以前(10.2.x 10.3.x )の場合は opvp を無効にする
> toratani.yasumasa> という ifdef を入れるのでどうでしょう?
> toratani.yasumasa> (dlopen, iconv は実際は、10.3.? から入ってるみたいですが、10.4からで
> toratani.yasumasa> 十分なので)
> toratani.yasumasa>
> toratani.yasumasa> 下記メールをポストして頂けると助かります。
> toratani.yasumasa>
> toratani.yasumasa> Hi,
> toratani.yasumasa>
> toratani.yasumasa> This is Otani, one of the opvp driver developer.
> toratani.yasumasa>
> toratani.yasumasa> How about the following solution?
> toratani.yasumasa> - In case of Mac OS X and the Mac OS X version is older
> than 10.4.x,
> toratani.yasumasa>   (such as 10.2.x and 10.3), disable the opvp driver.
> toratani.yasumasa>
> toratani.yasumasa> If the above solution is acceptable, we will update the
> opvp driver
> toratani.yasumasa> source code, and send the patch to you.
> toratani.yasumasa>
> toratani.yasumasa> Otani
> toratani.yasumasa>



<snipped>
-------------- next part --------------
HTMLの添付ファイルを保管しました...
Download 


Opfc-developer メーリングリストの案内
Zurück zum Archiv-Index