Can't run XGGI on Cygwin 1.0
Suhaib M. Siddiqi
siddiqis@ipass.net
Mon Mar 27 18:53:00 GMT 2000
Do you
have /usr/local/lib in your PATH?
ÃÂ
XGGI.exe uses cygwin1.dll therefore it should recognize
the symlink.
If it
can find ggi dlls in /usr/local/lib it should work.
ÃÂ
LD_LIBRARY_PATH is not needed.
ÃÂ
The
last week after reading your mails, I downloaded GGI libs and
X11R6
on a
NT amchine which did not have XGGI installed.
ÃÂ
I put
GGI in /usr/local/lib and X11R6 in /usr/X11R6/
ÃÂ
made
copies of DLLs and edited config files as described
ÃÂ
then
at a bash shell i did
ÃÂ
export
PATH=/usr/local/lib:$PATH
ÃÂ
Then
cd
/usr/X11R6/bin
ÃÂ
and
ÃÂ
./XGGI
-targets directx
ÃÂ
brought the server.
ÃÂ
Suhaib
ÃÂ
-----Original Message----- From: Steve Kelem
[mailto:kelem@adaptivesilicon.com] Sent: Monday, March 27, 2000 6:31
PM To: Suhaib M. Siddiqi; John Fortin Cc:
Cygwin-Xfree@Sourceware. Cygnus. Com Subject: Re: Can't run XGGI on
Cygwin 1.0 I tried making a symbolic link on the C drive:
ln -s /usr C:/usr I also tried ln -s G:/Cygwin/usr C:/usr
Neither got XGGI to work. Fatal server error: Unable to init
LibGGI!
1. I assume that XGGI uses Cygwin, so that forward slashes are understood.
2. I didn't get an answer to my LD_LIBRARY_PATH environment variable
question.ÃÂ Do I need to set this? 3. I compared the files you sent me
with my own etc/ggi directory: % diff -br usr/local/etc/ggi/ c/My\
Download\ Files/Cygnus/Xfree/suhaib/ Only in usr/local/etc/ggi/: filter
diff -br usr/local/etc/ggi/libggi.conf c/My Download
Files/Cygnus/Xfree/suhaib/libggi.conf 2c2 < .root:
g:/Cygwin/usr/local/lib/ggi --- > .root: /usr/local/lib/ggi
diff -br usr/local/etc/ggi/libgii.conf c/My Download
Files/Cygnus/Xfree/suhaib/libgii.conf 2c2 < .root:
g:/Cygwin/usr/local/lib/ggi --- > .root: /usr/local/lib/ggi 3.1
I also tried changing the .root line to use the Cygnus directory as you have
it. That also did not allow XGGI to run. 4. I'll move cygwin to C: only
under duress. I would have to make room on my C drive, and that would be a lot
of work. I hope Xfree is more flexible than requiring it be installed on a
specific drive.
Steve
"Suhaib M. Siddiqi" wrote:
ÃÂ Here are my config
files. Can you try moving your
Cygwin/usr/local to c: drive at /usr/local or make a symlink at c: driveÃÂ ln -s /cygwin/usr
/usr put these config files in
/usr/local/etc/ggi Thanks Suhaib
-----Original Message----- From:
cygwin-xfree-owner@sourceware.cygnus.com [ mailto:cygwin-xfree-owner@sourceware.cygnus.com ] On
Behalf Of Steve Kelem Sent: Monday, March 27, 2000 4:49 PM
To: Suhaib M.
Siddiqi Cc:
Cygwin-Xfree@Sourceware. Cygnus. Com Subject: Re: Can't run XGGI on Cygwin
1.0 ÃÂ John Fortin wrote:
> > To answer your problems: > > .root:
G:/Cygwin/usr/local/lib/ggi > > > This should be .root
/g/usr/local/lib/ggi > > Fixed this line. >
Actually. it should be ÃÂ ÃÂ ÃÂ .root:
G:/Cygwin/usr/local/lib/ggi because the libGGI libraries are not
cygwin libraries, but mingw libraries and do not understand cygwin
mounts. Thanks.ÃÂ I tried this too, and it didn't
work.
"Suhaib M. Siddiqi" wrote:
> % ls -l /usr/local/lib/*ggi* >
-rw-r--r--ÃÂ ÃÂ 1 kelemÃÂ ÃÂ ÃÂ AdministÃÂ ÃÂ
303844 Mon Jan 10 20:19:06 2000 /usr/local/lib/libggi-2-0-0.dll >
-rw-r--r--ÃÂ ÃÂ 1 kelemÃÂ ÃÂ ÃÂ
AdministÃÂ ÃÂ ÃÂ 93762 Sun Jan 09 17:56:40 2000
/usr/local/lib/libggi.a > -rw-r--r--ÃÂ ÃÂ 1
kelemÃÂ ÃÂ ÃÂ AdministÃÂ ÃÂ ÃÂ ÃÂ ÃÂ 704 Mon
Jan 10 20:19:08 2000 /usr/local/lib/libggi.la >
-rw-r--r--ÃÂ ÃÂ 1 kelemÃÂ ÃÂ ÃÂ AdministÃÂ ÃÂ
215439 Mon Jan 10 20:25:06 2000 /usr/local/lib/libggimisc-2-0-0.dll
> -rw-r--r--ÃÂ ÃÂ 1 kelemÃÂ ÃÂ ÃÂ
AdministÃÂ ÃÂ ÃÂ 30026 Sun Jan 09 17:56:56 2000
/usr/local/lib/libggimisc.a > -rw-r--r--ÃÂ ÃÂ 1
kelemÃÂ ÃÂ ÃÂ AdministÃÂ ÃÂ ÃÂ ÃÂ ÃÂ 741 Mon
Jan 10 20:25:06 2000 /usr/local/lib/libggimisc.la > >
/usr/local/lib/ggi:
John is right. Leave that the way John said.ÃÂ but looking back
at your ls -l you are missing a lot of libs (dlls)? Where did
you move them? I didn't move them anywhere. As you can
see, above, I listed only the files that matched *ggi*. Here's a full
listing. The byte counts match your listing, except that mine are in
/usr/local/lib, while yours are in /usr/local/lib/ggi! I checked the
file I downloaded fromÃÂ http://pws.prserv.net/thefortins/ggi.tar.gz ,
and it does unload the libs into usr/local/lib, not
usr/local/lib/ggi.ÃÂ Is there another environment variable that needs
to be set to find the library? I don't have LD_LIBRARY_PATH set.ÃÂ Do
I need to?
% ls -l /usr/local/lib/ total 874 drwxr-xr-xÃÂ ÃÂ 6
kelemÃÂ ÃÂ ÃÂ AdministÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ
0 Sun Jan 09 13:29:48 2000 ggi/ -rw-r--r--ÃÂ ÃÂ 1
kelemÃÂ ÃÂ ÃÂ AdministÃÂ ÃÂ 235063 Sun Jan 09 18:04:22
2000 libgg-0-0-6.dll -rw-r--r--ÃÂ ÃÂ 1 kelemÃÂ ÃÂ ÃÂ
AdministÃÂ ÃÂ 235063 Sun Jan 09 18:04:20 2000 libgg-0-0-7.dll
-rw-r--r--ÃÂ ÃÂ 1 kelemÃÂ ÃÂ ÃÂ
AdministÃÂ ÃÂ ÃÂ 18932 Sun Jan 09 17:58:08 2000 libgg.a
-rw-r--r--ÃÂ ÃÂ 1 kelemÃÂ ÃÂ ÃÂ AdministÃÂ ÃÂ
303844 Mon Jan 10 20:19:06 2000 libggi-2-0-0.dll
-rw-r--r--ÃÂ ÃÂ 1 kelemÃÂ ÃÂ ÃÂ
AdministÃÂ ÃÂ ÃÂ 93762 Sun Jan 09 17:56:40 2000 libggi.a
-rw-r--r--ÃÂ ÃÂ 1 kelemÃÂ ÃÂ ÃÂ
AdministÃÂ ÃÂ ÃÂ ÃÂ ÃÂ 704 Mon Jan 10 20:19:08 2000
libggi.la -rw-r--r--ÃÂ ÃÂ 1 kelemÃÂ ÃÂ ÃÂ
AdministÃÂ ÃÂ 215439 Mon Jan 10 20:25:06 2000 libggimisc-2-0-0.dll
-rw-r--r--ÃÂ ÃÂ 1 kelemÃÂ ÃÂ ÃÂ
AdministÃÂ ÃÂ ÃÂ 30026 Sun Jan 09 17:56:56 2000 libggimisc.a
-rw-r--r--ÃÂ ÃÂ 1 kelemÃÂ ÃÂ ÃÂ
AdministÃÂ ÃÂ ÃÂ ÃÂ ÃÂ 741 Mon Jan 10 20:25:06 2000
libggimisc.la -rw-r--r--ÃÂ ÃÂ 1 kelemÃÂ ÃÂ ÃÂ
AdministÃÂ ÃÂ 252533 Sun Jan 09 18:07:02 2000 libgii-0-0-6.dll
-rw-r--r--ÃÂ ÃÂ 1 kelemÃÂ ÃÂ ÃÂ AdministÃÂ ÃÂ
252533 Sun Jan 09 18:07:00 2000 libgii-0-0-7.dll
-rw-r--r--ÃÂ ÃÂ 1 kelemÃÂ ÃÂ ÃÂ
AdministÃÂ ÃÂ ÃÂ 23082 Sun Jan 09 17:58:12 2000 libgii.a
-rw-r--r--ÃÂ ÃÂ 1 kelemÃÂ ÃÂ ÃÂ AdministÃÂ ÃÂ
113244 Fri Jan 21 17:01:34 2000 libintl.a drwxr-xr-xÃÂ ÃÂ 4
kelemÃÂ ÃÂ ÃÂ AdministÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ
0 Sun Mar 12 16:43:32 2000 perl5/
Here is my ls -l from /usr/local/lib/ggi
bash-2.02$ ls -l total 818 drwxr-xr-xÃÂ ÃÂ 6 administ
AdministÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ 0 Mar 20 13:52 ggi
-rw-r--r--ÃÂ ÃÂ 1 administ AdministÃÂ ÃÂ 235063
JanÃÂ 9 21:04 libgg-0-0-6.dll -rw-r--r--ÃÂ ÃÂ 1 administ
AdministÃÂ ÃÂ 235063 JanÃÂ 9 21:04 libgg-0-0-7.dll
-rw-r--r--ÃÂ ÃÂ 1 administ AdministÃÂ ÃÂ ÃÂ 18932
JanÃÂ 9 20:58 libgg.a -rw-r--r--ÃÂ ÃÂ 1 administ
AdministÃÂ ÃÂ 303844 Jan 10 23:19 libggi-2-0-0.dll
-rw-r--r--ÃÂ ÃÂ 1 administ AdministÃÂ ÃÂ ÃÂ 93762
JanÃÂ 9 20:56 libggi.a -rw-r--r--ÃÂ ÃÂ 1 administ
AdministÃÂ ÃÂ ÃÂ ÃÂ ÃÂ 704 Jan 10 23:19 libggi.la
-rw-r--r--ÃÂ ÃÂ 1 administ AdministÃÂ ÃÂ 215439 Jan 10
23:25 libggimisc-2-0-0.dll -rw-r--r--ÃÂ ÃÂ 1 administ
AdministÃÂ ÃÂ ÃÂ 30026 JanÃÂ 9 20:56 libggimisc.a
-rw-r--r--ÃÂ ÃÂ 1 administ
AdministÃÂ ÃÂ ÃÂ ÃÂ ÃÂ 741 Jan 10 23:25 libggimisc.la
-rw-r--r--ÃÂ ÃÂ 1 administ AdministÃÂ ÃÂ 252533
JanÃÂ 9 21:06 libgii-0-0-6.dll -rw-r--r--ÃÂ ÃÂ 1 administ
AdministÃÂ ÃÂ 252533 JanÃÂ 9 21:06 libgii-0-0-7.dll
-rw-r--r--ÃÂ ÃÂ 1 administ AdministÃÂ ÃÂ ÃÂ 23082
JanÃÂ 9 20:58 libgii.a bash-2.02$
> total 0 > drwxr-xr-xÃÂ ÃÂ 2
kelemÃÂ ÃÂ ÃÂ
AdministÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ 0 Sun Jan 09 13:54:20
> 2000 default/ > drwxr-xr-xÃÂ ÃÂ 2
kelemÃÂ ÃÂ ÃÂ
AdministÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ 0 Sun Jan 09 13:29:50
> 2000 display/ > drwxr-xr-xÃÂ ÃÂ 2
kelemÃÂ ÃÂ ÃÂ
AdministÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ 0 Sun Jan 09 18:15:04
2000 filter/ > drwxr-xr-xÃÂ ÃÂ 2 kelemÃÂ ÃÂ ÃÂ
AdministÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ 0 Sun Jan 09 18:08:14
2000 input/ > > Steve (about ready to shell out the big
bucks for Hummingbird) Kelem > > > Suhaib > >
> > > -----Original Message----- > > > From:
Steve Kelem [ mailto:kelem@adaptivesilicon.com ]
> > > Sent: Monday, March 27, 2000 1:20 PM > >
> To: Suhaib M. Siddiqi > > > Subject: Re: Can't run
XGGI on Cygwin 1.0 > > > > > > > >
> Yup.ÃÂ Did that before I sent my message. The message I got
> was with that > > > version of libggi.conf.ÃÂ
See the attachment. > > > > > > Steve >
> > > > > "Suhaib M. Siddiqi" wrote: > >
> > > > > > I followed the instructions on the
page > > > > > > > > > http://sourceware.cygnus.com/ml/cygwin-xfree/2000-q1/msg00056.html ,
but > > > > > am not able to get XGGI to run.ÃÂ
When I type > > > > > ./XGGI -targets directx &
> > > > > it replies: > > > > > %
XGGI -targets direct > > > > > > > >
> > Fatal server error: > > > > > Unable to
init LibGGI! > > > > > > > > > > %
which XGGI > > > > > //g/Cygwin/usr/X11R6/bin/XGGI
> > > > > % > > > > > >
> > > > To clarify, in the above-referenced web page, you
say to > add the line: > > > > >
directxÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ
display/directx.dll > > > > > > > > you
MUST add this line to the file msg00056.html is instructing.ÃÂ if
you > > > > want to use > > > > >
> > > XGGI -targets direct > > > > >
> > > Suhaib > > > > > > > >
> There was already the following line in the file: > >
> > >
display-directxÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ
display/directx.dll > > > > > > > > >
> Any idea what's wrong? > > > > > > >
> > > Help! > > > > >
STeve
More information about the Cygwin-xfree
mailing list