annotate README @ 150:662aa96e417c

2003-04-27 Christian Rose <menthos@menthos.com> * sv.po: Updated Swedish translation.
author menthos
date Sun, 27 Apr 2003 14:35:53 +0000
parents c226809c03c8
children dbf13a10be13
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
1 gFTP README
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
2 -----------
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
3
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
4 [Requirements]
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
5
73
c226809c03c8 2002-12-2 Brian Masney <masneyb@gftp.org>
masneyb
parents: 1
diff changeset
6 * GTK+ 1.2.3 or higher. GTK+/Glib is included with most systems now. If you
c226809c03c8 2002-12-2 Brian Masney <masneyb@gftp.org>
masneyb
parents: 1
diff changeset
7 don't have it installed, you may want to check to see if your vendor has a
c226809c03c8 2002-12-2 Brian Masney <masneyb@gftp.org>
masneyb
parents: 1
diff changeset
8 package available. If not, you can download the latest version of GTK+ and
c226809c03c8 2002-12-2 Brian Masney <masneyb@gftp.org>
masneyb
parents: 1
diff changeset
9 Glib from ftp://ftp.gtk.org/pub/gtk. gFTP will work with version 1.2 or 2.0
c226809c03c8 2002-12-2 Brian Masney <masneyb@gftp.org>
masneyb
parents: 1
diff changeset
10 of GTK+, I would suggest using GTK+ 2.0, but installing GTK+ 2.0 does
c226809c03c8 2002-12-2 Brian Masney <masneyb@gftp.org>
masneyb
parents: 1
diff changeset
11 require installing more packages onto your system.
1
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
12 * pthread libraries. If you have a libc6 based machine (Debian >= 2.x, Red Hat
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
13 >= 5.x), you should already have the pthread libraries installed. If you
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
14 have a libc5 based machine (Slackware < 7.0), you will need to install
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
15 LinuxThreads from my website. Also, if you don't have LinuxThreads installed,
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
16 you most likely don't have thread safe X libraries. You must have thread
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
17 safe X libraries or gFTP will constantly crash. You can download some thread
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
18 safe X libraries off my website. If you are on a platform other than Linux,
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
19 you may want to take a look at the FSU Pthreads library at
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
20 http://www.informatik.hu-berlin.de/~mueller/pthreads.
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
21 * I would recommend running X in at least 800x600 mode.
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
22 * pkgconfig 0.9.0 or newer. pkgconfig is available at
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
23 http://www.freedesktop.org/software/pkgconfig.
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
24
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
25 [Installation Instructions]
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
26
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
27 * If you do not want to compile this program yourself, you can check my
73
c226809c03c8 2002-12-2 Brian Masney <masneyb@gftp.org>
masneyb
parents: 1
diff changeset
28 webpage. I have DEBs for Debian and RPMs for RedHat available. If you're
c226809c03c8 2002-12-2 Brian Masney <masneyb@gftp.org>
masneyb
parents: 1
diff changeset
29 looking for Solaris binaries, check out http://www.sunfreeware.com
1
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
30 * If you are compiling gFTP yourself, extract the files from the distribution
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
31 with tar -zxvf gftp-<version>.tar.gz
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
32 * Go to the gftp-<version> directory and type
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
33
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
34 ./configure
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
35 make
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
36
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
37 The configure script will generate a Makefile for your machine, and make
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
38 will compile a binary for your machine. By default, when you run
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
39 configure, it will install gFTP with the prefix /usr/local, so the gFTP
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
40 binary will be /usr/local/bin/gftp. You can change this by typing
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
41 configure --prefix=/usr, and it will then install the gFTP binary in
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
42 /usr/bin/gftp.
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
43 * If the compile suceeds without any errors, you can type make install to
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
44 install the binary. This will also copy some necessary
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
45 files to <install prefix>/share/gftp. If you do not have root on your
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
46 machine to install these files, copy the contents of the docs/sample.gftp/
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
47 directory to ~/.gftp.
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
48 * [OPTIONAL] If you compiled gFTP on a platform other than Linux, could you
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
49 please send me your OS name/version and I will post on my website
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
50 the operating systems gFTP has been successfully compiled on.
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
51 * You may want to glance at the USERS-GUIDE file that comes with this
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
52 distribution. It contains a little bit of information about how to use it.
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
53
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
54 [Frequently Asked Questions]
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
55
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
56 Here is a list of frequently asked questions about gFTP. You can always find
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
57 the latest version of this FAQ off my website.
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
58
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
59 *******************************************************************************
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
60
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
61 Q: I'm having problems with installing the RPMs off of your website.
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
62
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
63 A: If the RPM installs fine, but when you run gFTP, if you get an error about the symbol GCC_3.0 not found, then you need to recompile the RPM. Or if you try to install the RPM and you get an error about unresolved dependency libreadline.so.1 and you have the readline RPM installed, you'll also have to get a different gFTP RPM. The RPMs on my website I built on a Debian GNU/Linux i386 box with gcc 3.0.3.
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
64
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
65 I would first suggest checking your distributions development tree (RedHat Rawhide or Mandrake Cooker for example), they probably have a RPM of the latest gFTP there. If not, download the SRC RPM and type rpm -i gftp-version-1.src.rpm. It will build a RPM and put it in /usr/src/redhat/RPMS/arch or /usr/src/rpm/RPMS/arch (arch is i386, sparc, axp, etc...)
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
66
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
67
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
68 *******************************************************************************
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
69
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
70 Q: What systems is gFTP known to run on?
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
71
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
72 A: I develop gFTP on a Debian GNU/Linux machine. Here is a list of other
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
73 platforms I have received successful compile reports on:
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
74
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
75 * FreeBSD/NetBSD/OpenBSD/BSDI
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
76 * Solaris
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
77 * IRIX
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
78 * Digital UNIX
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
79 * HP/UX 11
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
80
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
81 If you got gFTP to compile on a platform not listed here, please email me
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
82 about it and I'll add it to this list. If you are having problems compiling
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
83 gtk+ or gFTP on another platform, try using GNU make instead of your vendor
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
84 supplied make. Most of the vendor supplied makes are brain-dead.
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
85
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
86 *******************************************************************************
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
87
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
88 Q: I'm having problems getting SSH2 transfers to work. I keep getting the error:
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
89 Error: Message size XXXXXXXX too big from server
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
90
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
91 A: What probably is the problem, sftp-server isn't in your path on the remote
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
92 server. When you try to connect to the remote server, you'll see the command
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
93 gFTP is trying to run, and it'll look something like:
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
94
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
95 ssh -e none -l username hostname "echo -n xsftp ; sftp-server"
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
96
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
97 Try running this command. If you get a prompt asking:
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
98
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
99 The authenticity of host 'hostname (###.###.###.###)' can't be established.
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
100 RSA key fingerprint is xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx.
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
101 Are you sure you want to continue connecting (yes/no)?
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
102
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
103 Tell it yes. gFTP won't even try to answer this question for you at the
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
104 moment. Then, if you get the following output:
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
105
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
106 Enter passphrase for key '/home/brian/.ssh/id_dsa':
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
107 xsftp
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
108 bash: sftp-server: command not found
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
109
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
110 You'll have to set the path to the sftp-server program. Alternatively you
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
111 could go under FTP->Options->SSH and enable Use sftp subsys. If you enable
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
112 this, then you don't have to know the remote path to your sftp executable.
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
113 But if you enable this, gFTP won't be able to send your password over to
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
114 the ssh client. So if you're not using ssh-agent, then ssh will spawn the
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
115 ssh-askpass program to grab your password.
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
116
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
117 *******************************************************************************
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
118
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
119 Q: What is the difference between the SSH and SSH2 protocols?
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
120
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
121 A: The SSH protocol uses sftp >= 0.7 from http://www.xbill.org/sftp. SSH2 uses
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
122 the native file transfers found in the commercial SSH2 and in later versions
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
123 of OpenSSH. The SSH2 protocol uses the sftp-server executable on the remote
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
124 host and the SSH protocol uses the sftpserv executable.
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
125
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
126 *******************************************************************************
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
127
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
128 Q: How do I force running the text or gtk+ version of gFTP?
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
129
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
130 A: To run the text port, you can type gftp-text or to run the gtk+ port, you
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
131 can run the gftp-gtk. The gftp command is just a shell script that sees
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
132 if your DISPLAY variable is set, and if so it'll run the appropriate version
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
133
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
134 *******************************************************************************
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
135
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
136 Q: Is there a way for gFTP to download a bunch of files/directories and then
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
137 exit when it's completed?
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
138
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
139 A: Yes, the text port of gFTP supports this well. You can type:
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
140
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
141 gftp-text -d ftp://ftp.somesite.com/someplace
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
142
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
143 If someplace is a directory, it'll automatically download all its subdirs
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
144 as well. If you want to transfer a file through ssh instead of ftp, just
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
145 change the ftp:// to ssh://
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
146
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
147 *******************************************************************************
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
148
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
149 Q: In the GTK+ version of gFTP, do I have to enter a port, username and password
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
150 to connect to a ftp server?
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
151
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
152 A: No you don't. If you leave the port blank, it'll default to the default port
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
153 for the protocol you selected (port 21 for FTP). If you leave the username
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
154 blank, it will default to logging in as anonymous
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
155
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
156 *******************************************************************************
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
157
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
158 Q: How do I set up my HTTP Proxy server?
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
159
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
160 A: Go under FTP->Options and hit the FTP tab. Enter HTTP as the proxy type
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
161 and fill in your proxy server info on that screen. Then hit the HTTP tab
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
162 and enter your same proxy server info there.
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
163
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
164 *******************************************************************************
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
165
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
166 Q: When gFTP tries to get the remote directory listing, it sends LIST -L, but
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
167 the remote server sends an error back
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
168
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
169 A: Go to FTP->Options and turn off resolve remote symlinks. gFTP will then send
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
170 LIST instead of LIST -L. You should only have to do this if you are
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
171 connecting to Novell servers.
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
172
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
173 *******************************************************************************
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
174
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
175 Q: When gFTP tries to get the remote directory listing, I get an error that
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
176 says: Cannot create a data connection: Connection refused
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
177
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
178 A: Go under FTP->Options and turn off passive file transfers. Instead of
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
179 sending the PASV command to open up the data connection on the server side,
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
180 the data connection will be opened up on the client side, and the PORT
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
181 command will be sent to the server instead.
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
182
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
183 *******************************************************************************
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
184
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
185 Q: When I try to compile gFTP, I get some errors. One of them is undefined
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
186 symbol LC_ALL
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
187
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
188 A: Try typing make distclean ; configure --with-included-gettext and it
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
189 should compile fine then.
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
190
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
191 *******************************************************************************
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
192
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
193 Q: How do I report bugs in gFTP?
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
194
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
195 A: If you find ANY bugs in gFTP, please email them to me at
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
196 masneyb@gftp.org. If there is a newer version of gFTP available,
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
197 please try it first before you send me a bug report. If the problem
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
198 exists in that version, feel free to email me about it. When sending in
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
199 bug reports, please try to be as descriptive as possible. Send me what
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
200 OS/version you are running, what compiler you are compiling with, and any
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
201 other important information. If you get gFTP to crash, it would be very
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
202 helpful if you could send me a backtrace. If you do not know how to do a
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
203 backtrace, download the source code from my website. Edit the Makefile,
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
204 and make sure that -g appear in the CFLAGS variable. Then recompile gFTP,
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
205 but do NOT do a make install because it will install a stripped binary in
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
206 $PREFIX/bin. Then type gdb ./gftp. Once you have a (gdb) prompt, type r.
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
207 Once you get gFTP to crash, go back to that terminal window, and type bt,
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
208 and send me that output in an email message along with a short description
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
209 of how it happened.
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
210
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
211 *******************************************************************************
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
212
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
213 Q: I downloaded a binary off the internet and everytime I run gFTP I get an
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
214 error saying: undefined symbol :__register_frame_info
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
215
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
216 A: ObiTuarY <obituary@freshmeat.net> says:
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
217
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
218 "This happens when you compile a library with egcs. The library then has
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
219 the __register_frame_info symbol. If you link a program to it, it will
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
220 require this symbol. Now if you have the exact same library compiled with
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
221 gcc 2.7.2.3 it won't have this symbol. The thing about glibc 2.1 under Red
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
222 Hat 6 is it was compiled with egcs and glibc 2.0.x under Red Hat 5.x was
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
223 compiled with gcc 2.7.2.3, therefore it's not an incompatibility between
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
224 glibc 2.0.x and 2.1.x. What some people do for that is they get the .o file
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
225 of egcs with __register_frame_info in it and link into the program so it's
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
226 always there, that way it works with libs compiled with egcs or gcc 2.7.2.3.
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
227 (in /usr/lib/gcc-lib/i386-*-linux/egcs-*/ )"
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
228
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
229 Another alternative, is to recompile gFTP on your machine, or you can
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
230 download some RPMs off my website that were compiled against Red Hat 5.2.
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
231
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
232 *******************************************************************************
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
233
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
234 Q: I upgraded to a newer version of gFTP and now I am getting some warnings
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
235 about some config file lines not having enough arguments, and it cannot find
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
236 html.xpm.
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
237
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
238 A: This is from upgrading from a very old version of gFTP to a newer version.
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
239 I removed some icons from the distribution (0.20 to 0.21). Edit your
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
240 ~/.gftp/gftprc file. At the bottom of the file, there are some ext= lines.
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
241 Some of them have html.xpm, rpm.xpm and pdf.xpm. Remove these lines and gFTP
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
242 will startup fine. Don't worry about fixing he warnings...they will go away
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
243 themselves.
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
244
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
245 *******************************************************************************
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
246
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
247 Q: Where does gFTP store it's options?
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
248
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
249 A: gFTP will automatically create a ~/.gftp directory when it is first run.
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
250 Your config file is ~/.gftp/gftprc, and this is where all of gFTP's
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
251 settings are stored. The config file is well commented, so take a glance
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
252 at it and see if there is anything you want to change. Your bookmarks are
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
253 stored in the file ~/.gftp/bookmarks
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
254
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
255 *******************************************************************************
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
256
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
257 Q: I am trying to compile your program and I get some parse errors before
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
258 GdkDragContext. What's wrong?
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
259
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
260 A: You have an older version of gtk installed on your system. If you are
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
261 using Red Hat or Debian Linux, simply remove the gtk and glib devel
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
262 packages. You can still leave the gtk 1.0 libraries installed.
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
263
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
264 *******************************************************************************
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
265
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
266 Q: I am having a hard time using the drag and drop in gFTP. How do I use it?
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
267
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
268 A: To drag from the file listboxes in gFTP, you have to drag with button #3.
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
269 On a two button mouse, you have to hold down both buttons. For this to work
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
270 tho, you have to edit your XF86Config file, and go to the Pointer section.
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
271 You have to make sure Emulate3Buttons is in there. Here's the section out of
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
272 my config file:
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
273
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
274 Section "Pointer"
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
275 Protocol "PS/2" # This will depend on your mouse
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
276 Device "/dev/mouse" # This will also depend on your mouse
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
277 Emulate3Buttons # You need this for a 2 button mouse
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
278 EndSection
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
279
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
280 *******************************************************************************
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
281
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
282 Q: I have a libc 5 based machine and everytime I run gFTP it instantly crashes.
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
283 I get an error something like: Gdk-ERROR **: an x io error occurred
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
284 What's wrong?
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
285
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
286 A: Your X libraries are not thread safe. They must be compiled with
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
287 -D_REENTRANT. You can either recompile your X libraries, or you can
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
288 download some from my webpage at
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
289 http://www.gftp.org/XFree86-libs-3.3-2_threading.i386.tgz
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
290
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
291
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
292 Brian Masney <masneyb@gftp.org>
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
293 gFTP Official Webpage - http://www.gftp.org/
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
294