[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[gftp] Compiling gFTP for Solaris


I can't get gFTP to compile for Solaris at all (Sol 10 x86 and Sol 9

It fails in fsplib.c, due to some assumptions made about the dirent
structure. gFTP assumes a Linux dirent.h which defines dirent quite
differently to Solaris.

A quick look through the mail list archives shows someone asked about this
problem in June 2005, but without any replies. Others appear to have built
gFTP successfully, and there's even a binary available on SunFreeware, so
there's a solution somewhere.

Any ideas how to proceed? (I started hacking fsp_readdir() to get around
this but quickly ran into another problem with semaphores in lock.c...
but let's solve one problem at a time).

Liam Gretton                                    lgretton@xxxxxxxxxxxx
ESA/ESTEC                                    http://www.rssd.esa.int/
Keplerlaan 1                                  Tel: +31 (0)71 565 8231
2201 AZ Noordwijk ZH                          Fax: +31 (0)71 565 4690