• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Ranch Hand
Posts: 1953
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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!!!
 
author and jackaroo
Posts: 12200
280
Mac IntelliJ IDE Firefox Browser Oracle C++ Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Saloon Keeper
Posts: 27762
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm confused. What are you attempting to build here?
 
Roseanne Zhang
Ranch Hand
Posts: 1953
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 27762
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 1953
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Tim!!!

I realized I have a long way of learning to go...
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic