LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 11-03-2003, 07:11 AM   #1
falcon56215
Member
 
Registered: Jan 2002
Location: Tennessee
Distribution: Xubuntu Natty on Lenovo R61i Thinkpad
Posts: 108

Rep: Reputation: 16
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.
 
Old 11-03-2003, 08:49 AM   #2
utopicdog
Member
 
Registered: Aug 2003
Location: france
Distribution: suse/fedora
Posts: 105

Rep: Reputation: 15
1- ./configure ; make
not ./configure make

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
 
Old 11-03-2003, 09:48 AM   #3
djtoltz
Member
 
Registered: Nov 2003
Location: Eastern North Carolina, USA
Distribution: Mandrake
Posts: 51

Rep: Reputation: 20
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.
 
Old 11-07-2003, 04:10 PM   #4
falcon56215
Member
 
Registered: Jan 2002
Location: Tennessee
Distribution: Xubuntu Natty on Lenovo R61i Thinkpad
Posts: 108

Original Poster
Rep: Reputation: 16
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem wirh baghira aerlinn Linux - Software 2 05-13-2005 11:27 PM
GTK compile problems AnimaSola Linux - Software 13 07-14-2004 07:30 PM
gtk+2.4.4 compile problems AnimaSola Linux - Software 0 07-13-2004 08:49 PM
Attempting to compile software - GTK+ problems vasudevadas Mandriva 2 11-24-2003 12:59 PM
Problems wirh Nvidia-drivers on Mandrake 9.1 toaster_kj Linux - Hardware 13 07-17-2003 06:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:03 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration