aspose file tools*
The moose likes Linux / UNIX and the fly likes How to install without a makefile (GTK)? Help! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "How to install without a makefile (GTK)? Help!" Watch "How to install without a makefile (GTK)? Help!" New topic
Author

How to install without a makefile (GTK)? Help!

Roseanne Zhang
Ranch Hand

Joined: Nov 14, 2000
Posts: 1953
My redhat enterprise 4 had gtk installed, works fine for me.

However, I have a Fedora new machine now, which does not have gtk for developer installed.

I downloaded gtk+-2.9.4.tar.gz and also gtk+-2.8.19.tar.gz

I tried "./configure" and it works fine.
However, I could not do a "make"

It conplains "No targets specified and no makefile found..."

I checked the directory, there are "Makefile.am" "Makefile.in", but, there is no "Makefile" nor "makefile" in 2.9.4 nor 2.8.19

I must missed something really simple or obvious. Please help!!!
There must be a simple way to install...

Thanks in advance!!!
Andrew Monkhouse
author and jackaroo
Marshal Commander

Joined: Mar 28, 2003
Posts: 11503
    
  95

Hi Roseanne,

Is there a reason you are not installing the gtk-devel rpm?

I would normally expect the Makefile to be created as a result of running ./configure - did you run it before or after trying to run make?

Did you get any warnings or errors when you ran ./configure?

Can you run ./configure --help to see if there are any options you must provide? (There are some Linux packages that dont set defaults as they feel that defaults are dangerous - but they usually give warnings when you run ./configure without options.)

Regards, Andrew


The Sun Certified Java Developer Exam with J2SE 5: paper version from Amazon, PDF from Apress, Online reference: Books 24x7 Personal blog
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16228
    
  21

I'm confused. What are you attempting to build here?


Customer surveys are for companies who didn't pay proper attention to begin with.
Roseanne Zhang
Ranch Hand

Joined: Nov 14, 2000
Posts: 1953
Thanks Andrew

You are absolutely right!!!

I ignored the error message on ./configure.

Now I have installed 4-5 software, it is still not enough. The Cairo cannot be build, since Xlib (?) is not there...

I do have a X11R6 directory...I don't know what to install to get Xlib to make cairo configuable...

I installed pkg-config, freetype, fontconfig, glib, stucked with cairo since pango need it, and gtk need pango. However, Cairo needs Xlib...

Oh, my god, I don't know what else are needed in my way...

Anybody had similar experiences, please help!

Thanks in advance!!!
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16228
    
  21

Unless you have some sort of constraints, I'd recommend you use YUM. If I say something like "yum install firefox", YUM will figure out firefox's dependencies and add them to the list of RPMs that it will download and install. The same applies to development packages, not just finished binaries.

In addition to the primary YUM repositories, there are several 3d-party ones (for example, I get mplayer and MythTV from Dag Weiers). And, if you're cooking up packages of your own, you can construct your own RPMs and build your own local YUM repository.

Since YUM is RPM-based, obviously the more parts of your system that either come in RPMs or that you can wrap as RPMs, the easier life gets. But if you're working on a professional-grade software release for Fedora, CentOS and/or RHEL (also SuSe, IIRC), having a set of SRPMs for a project isn't just handy, it makes it easier to do disaster recovery style rebuilds.
Roseanne Zhang
Ranch Hand

Joined: Nov 14, 2000
Posts: 1953
Thanks Tim!!!

I realized I have a long way of learning to go...
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to install without a makefile (GTK)? Help!