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

Re: [gftp] Compiling gFTP for Solaris



Hi Liam,
  Please try this version of gftp:
http://www.gftp.org/gftp-test.tar.bz2. This version contains the
latest code that is in CVS. I have been working on closing the open
bugs in CVS. I fixed some problems compiling gftp under Solaris. If
there are still compilation issues, then please file a bug in GNOME's
Bugzilla (bugs.gnome.org).

Brian


On 8/8/06, Liam Gretton <lgretton@xxxxxxxxxxxx> wrote:
Hi,

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

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
Netherlands