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