Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Xubuntu Natty on Lenovo R61i Thinkpad
Posts: 108
Rep:
Problems with compile - GTK
I am trying to compile the latest Lexmark Z43 drivers and I get this output:
>./configure make
configure: WARNING: you should use --build, --host, --target
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
/home/falcon56215/Downloads/Zipped/Apps/Utilities/drv_z42/z42tool/missing: Unknown `--run' option
Try `/home/falcon56215/Downloads/Zipped/Apps/Utilities/drv_z42/z42tool/missing --help' for more information
configure: WARNING: `missing' script is too old or missing
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for make-gcc... no
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking for strerror in -lcposix... no
checking for make-gcc... gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for pkg-config... /usr/bin/pkg-config
checking for GTK+ - version >= 2.0.0... no
*** Could not run GTK+ test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GTK+ is incorrectly installed.
configure: error: Cannot find GTK: Is gtk-config in path?
>
and from config.log:
configure:4108: checking for GTK+ - version >= 2.0.0
configure:4254: result: no
configure:4288: gcc -o conftest -g -O2 conftest.c >&5
configure:4280:21: gtk/gtk.h: No such file or directory
configure: In function `main':
configure:4286: `gtk_major_version' undeclared (first use in this function)
configure:4286: (Each undeclared identifier is reported only once
configure:4286: for each function it appears in.)
configure:4286: `gtk_minor_version' undeclared (first use in this function)
configure:4286: `gtk_micro_version' undeclared (first use in this function)
configure:4291: $? = 1
configure: failed program was:
| #line 4268 "configure"
| /* confdefs.h. */
|
I have read what posts I can find on here, and the general idea is that gtk-devel package is not installed, yet I cannot find any such package on my Mandrake distro. I googled and all I came up with are gtk-devel-1.x.x packages. I show I have gtk-2.x.x installed. Does anyone know where rpms for the latest gtk-devel package are? Or is this even my problem? Any insight would be appreciated.
Last edited by falcon56215; 11-03-2003 at 07:20 AM.
2/ use ./configure -- help for options, there is usually one to specify the path for anything, use 'locate' to find the path
3/ if you have the gtk 1.x development package, there will be a readme at the top of the source tree, which will tell you where to get the latest gtk 2.x
4/ i had this problem compiling gimp or something, its really a matter of reading the docs
5/ cant you find the RPM package, I believe that is the way things are done these days
I believe you may be looking in the wrong packages. "gtk-config" ocmes with the gtk+ package (e.g. gtk+-1.2.10-25.i386.rpm) and the gtk2 libraries are in gtk2* package (e.g. gtk2-2.2.1-4.i386.rpm, gtk2-devel-2.2.1-4.i386.rpm). I'm not sure if this helps.
Distribution: Xubuntu Natty on Lenovo R61i Thinkpad
Posts: 108
Original Poster
Rep:
I fixed the problem. I chucked that piece'o'crap Lexmark WinPrinter, and shelled out less than $100 at Wal-Mart for a Epson Sylus Photo 825, and let me tell you this is one awesome printer:
-Configured via USB instanly with no problems.
-Works in Linux perfectly.
-Works in Win4Lin perfectly.
-Has a smartcard reader so I can use my Olympus C-211 Camera in Linux now.
-Works via a PCMCIA slot IN THE PRINTER!! Comes with 2 card adapters. One for Compact Flash, the other for everything else.
-Mandrake Distro has built in Epson tool to show ink levels and align heads.
I have to give props to Epson for not being closed minded to other OS's. They will have my business from now on.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.