[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pnet-developers] X11 and PNET on Mac continued
From: |
Jason King |
Subject: |
[Pnet-developers] X11 and PNET on Mac continued |
Date: |
Mon, 23 Feb 2004 15:15:25 -0000 |
Hello everyone
First off, thanks to Fergus, Enrique and JP for your help.
So far, I have managed to download the relevant headers from XFree86 and
successfully installed them using their Xinstall.sh script. Also, I
have successfully edited the path to include /usr/X11R6/bin and also to
set LD_LIBRARY_PATH.
Here they are, for those that wish to know:
Path: /bin /sbin /usr/bin /usr/sbin /usr/local/bin ~/bin /usr/X11R6/bin
LD_LIBRARY_PATH: /usr/lib /usr/local/lib /usr/X11R6/lib
Now, when I rebuild pnetlib, the .configure does indeed find X and
spurts the following line:
"checking for x... (cached) libraries /usr/X11R6/lib, headers
/usr/X11R6/include"
Great. That looks good. However, when I now try to run
pnetlib-0.6.2/samples/forms/formshello.exe, I am still getting the
following error message:
Uncaught exception: Xsharp.XCannotConnectException:X/Windows library is
not present, or could not be located on the library search
path.--->System.EntryPointNOtFoundException:Entry point was not found at
Xsharp.Display.OpenInternal(String, Application, boolean)
Etc etc
This is the same when running from the usual Mac terminal, and after
launching X and using its Xdarwin. So I checked the paths were set
again, and found that in Xdarwin, the LD_LIBRARY_PATH wasn't being set
(help!) so I did it manually, and still the same problem.
As an extra clue to the truly knowledgable (maybe), when I do "make" as
my usual login, it fails at the end with "permission denied" errors on
the following
.rm libs/libXSharpSupport.la
.rm libs/libXSharpSupport.a
.rm libs/libXSharpSupport.lai
So, I login as SU, and try again, and this time the make succeeds. So,
maybe that's a complete red herring, as its just a permission thing.
However, I still can't get the forms to run...
Am I being a numpty, or is there a problem here?
Sigh.
Jase
Regards,
Jason King
Profox Systems Ltd
- [Pnet-developers] X11 and PNET on Mac continued,
Jason King <=