A different openjdk6 install problem

Brandon Allbery allbery at kf8nh.com
Thu Aug 20 18:35:13 PDT 2009


On Aug 20, 2009, at 19:06 , David Rowe wrote:
> Brandon Allbery wrote:
>> On Aug 18, 2009, at 20:21 , David Rowe wrote:
>>> I had thought it was possible that a suitable declaration of   
>>> 'X_ShmAttach' could be supplied by #including <X11/extensions/ 
>>> shmproto.h> - so I inserted an appropriate #include statement near  
>>> the beginning of awt_GraphicsEnv.c
>> Hm.  Actually not; that's internal, you want <X11/extensions/ 
>> XShm.h> which includes shmproto.h after doing some other setup  
>> that's needed for it to work right.
>
> I just tried that - but no joy - I still get the same error reports.
>
> On my system, the file /opt/local/include/X11/extensions/XShm.h  
> contains:
> . . . .
> #include <X11/extensions/shm.h>
> . . . .


I just looked more closely and I'm not sure shmproto.h is intended for  
user code, but instead for the server.  On my system XShmAttach() is  
declared in XShm.h as well as shmproto.h.

-- 
brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery at kf8nh.com
system administrator [openafs,heimdal,too many hats] allbery at ece.cmu.edu
electrical and computer engineering, carnegie mellon university    KF8NH



-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20090820/e131dca4/attachment.bin>


More information about the macports-users mailing list