Re: compile graphical ssh - GFTP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jul 11, 2008 at 6:51 PM, Aldo Foot <lunixer@xxxxxxxxx> wrote:
> On Thu, Jul 10, 2008 at 7:48 PM, Tim <ignored_mailbox@xxxxxxxxxxxx> wrote:
>> On Thu, 2008-07-10 at 17:36 -0700, Aldo Foot wrote:
>>> I'm trying to install gtk+-2.13.3 in order to install GFTP (a
>>> graphical SSH tool).
>>
>> Just for an exercise?  Unless you want to do that, you don't have to
>> compile it.
>
> Yes. Something like that. I want to be able to compile the thing in some
> other system. I thought my F8 box would give me a stable test ground.
>
>>GFTP (a graphical *FTP* tool, as the name says, with some
>> other protocols, too), already exists as a precompiled package, and can
>> simply be yum installed.
>
> I did installed the package yum provides. It works fine. I use port 22
> with SSH2.
>
> So -is there anyone who has played with this GFTP source before?
>
> ~af
>

I believe you are not getting some configure options correct, and you
also may have the thing confused about which version of glib you are
using because you have 2 installed, afaict.

Anyway....

Here's how you find out how it can be compiled.  Get the SRPM, install
that.  That will show you a SPEC file, and you can read that to see
the configure options that are used.

Another thing you can try is a test re-build of the SRPM.  That will
tell you if your build system is broken/incompatible.

Maybe another reader can point you at an easier way to do this, but
here's how I do it in a clean account "pauljohn".

Create a file .rpmmacros and it has this in there

$ cat .rpmmacros
%_topdir  /home/pauljohn/LinuxDownloads/redhat

And then create the subdirectories where the SRPM will drop things:

$ mkdir -p /home/pauljohn/LinuxDownloads/redhat/SPECS
$ mkdir -p /home/pauljohn/LinuxDownloads/redhat/SOURCES
$ mkdir -p /home/pauljohn/LinuxDownloads/redhat/SRPMS
$ mkdir -p /home/pauljohn/LinuxDownloads/redhat/RPMS/i386
$ mkdir -p /home/pauljohn/LinuxDownloads/redhat/BUILD

I think that is enough. Maybe you want i686 under RPMS as well.

then you install the SRPM file

$ rpm -ivh gftp-whatever-src.rpm

That will put a spec file under the SPECS directory, go read that
over.  If you want to try to build it without changing it, just do
(after cd to the SPEC directory)

$ rpmbuild -ba gftp.spec

If it finishes, you will get RPMS created in RPMS/i386 and a new SRPM
will  be created in SPRMS. If you use the -bb option, it won't create
a new SRPM.

You'll need the rpm devel packages to do this.  I'm on an Ubuntu
system now and can't check, but I believe yumex will make it easy to
find the package that has "rpmbuild" in it.

pj




-- 
Paul E. Johnson
Professor, Political Science
1541 Lilac Lane, Room 504
University of Kansas

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux