LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 08-31-2003, 11:57 AM   #1
eye
Member
 
Registered: May 2003
Distribution: fedora 1
Posts: 137

Rep: Reputation: 15
gtk+-2.2.3 configure error.


[root@localhost gtk+-2.2.3]# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets $(MAKE)... yes
checking for working aclocal-1.4... missing
checking for working autoconf... missing
checking for working automake-1.4... missing
checking for working autoheader... missing
checking for working makeinfo... missing
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 build system type... i686-redhat-linux-gnu
checking host system type... i686-redhat-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fl32... no
checking for af77... no
checking for fort77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for lf95... no
checking for g95... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag works... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
appending configuration tag "F77" to libtool
checking whether to enable maintainer-specific portions of Makefiles... no
checking for some Win32 platform... no
checking for native Win32... no
checking whether build environment is sane... yes
checking for strerror in -lcposix... no
checking for gcc option to accept ANSI C... none needed
checking for a BSD-compatible install... /usr/bin/install -c
checking whether make sets $(MAKE)... (cached) yes
checking for pkg-config... /usr/bin/pkg-config
checking for glib-2.0 >= 2.1.4 atk >= 1.0.1 pango >= 1.0.1... yes
checking BASE_DEPENDENCIES_CFLAGS... -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0
checking BASE_DEPENDENCIES_LIBS... -Wl,--export-dynamic -latk-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
checking Whether to write dependencies into .pc files... no
checking for perl5... no
checking for perl... /usr/bin/perl
checking for indent... no
checking for lstat... yes
checking for mkstemp... yes
checking for flockfile... yes
checking for sigsetjmp... yes
checking whether make is GNU Make... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for dgettext in libc... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... no
checking for extra flags to get ANSI library prototypes... none needed
checking for the BeOS... no
checking for extra flags for POSIX compliance... none needed
checking for pkg-config... (cached) /usr/bin/pkg-config
checking for GLIB - version >= 2.1.4... yes (version 2.2.1)
checking for bind_textdomain_codeset... (cached) yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking for ANSI C header files... (cached) yes
checking for an ANSI C-conforming const... yes
checking return type of signal handlers... void
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking for getresuid... yes
checking for uid_t in sys/types.h... yes
checking for fd_set... yes, found in sys/types.h
checking for wchar.h... yes
checking for wctype.h... yes
checking for iswalnum... yes
checking if iswalnum() and friends are properly defined... yes
checking whether to build gmodulized gdk-pixbuf... yes
checking whether dynamic modules work... yes
checking for TIFFReadScanline in -ltiff... yes
checking tiffio.h usability... yes
checking tiffio.h presence... yes
checking for tiffio.h... yes
checking for jpeg_destroy_decompress in -ljpeg... no
configure: WARNING: *** JPEG loader will not be built (JPEG library not found) ***
configure: error:
*** Checks for JPEG loader failed. You can build without it by passing
*** --without-libjpeg to configure but some programs using GTK+ may
*** not work properly


what's wrong?????
 
Old 08-31-2003, 01:24 PM   #2
Scruff
Member
 
Registered: Oct 2002
Location: Stoughton, MA
Distribution: Gentoo x86_64 & PPC
Posts: 949

Rep: Reputation: 30
An unresolved dependency. Check to see if you have libjpeg installed. If not, search it out on google and get it installed.

try 'whereis libjpeg' or 'locate libjpeg'
 
Old 08-31-2003, 11:15 PM   #3
eye
Member
 
Registered: May 2003
Distribution: fedora 1
Posts: 137

Original Poster
Rep: Reputation: 15
jpeg library installed......
[root@localhost root]# locate "libjpeg"
/usr/lib/libjpeg.so.62
/usr/lib/libjpeg.so.62.0.0
/usr/share/doc/libjpeg-6b
/usr/share/doc/libjpeg-6b/usage.doc
/usr/share/doc/libjpeg-6b/README
 
Old 09-01-2003, 12:31 AM   #4
Scruff
Member
 
Registered: Oct 2002
Location: Stoughton, MA
Distribution: Gentoo x86_64 & PPC
Posts: 949

Rep: Reputation: 30
Hmm, ok. I was having a very similar problem with gtk+-2.2 recently. Take a look at the thread and see if it helps you at all:
http://www.linuxquestions.org/questi...threadid=87502

I would tell you more, but that's all I know on the subject right now I just keep hacking away.
 
Old 09-01-2003, 12:34 AM   #5
bblank
LQ Newbie
 
Registered: Aug 2003
Location: Overland Park, KS
Distribution: RedHat 9.0 (Shrike), RedHat 8.0 (Psyche), FreeBSD, OpenBSD, Solaris 7-9 SPARC
Posts: 18

Rep: Reputation: 0
Make sure /usr/lib is in your LD_LIBRARY_PATH variable.

> echo $LD_LIBRARY_PATH

if not

> export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib

good luck!
 
Old 09-01-2003, 02:19 AM   #6
eye
Member
 
Registered: May 2003
Distribution: fedora 1
Posts: 137

Original Poster
Rep: Reputation: 15
first.. i run ld_library_path in shell prompt.. not print anything in shell prompt.
so, setup the export command , and run the echo command again, print the /usr/lib path.
run ./configure command,, same error message appear.
[root@localhost gtk+-2.2.3]# echo $LD_LIBRARY_PATH

[root@localhost gtk+-2.2.3]# export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib
[root@localhost gtk+-2.2.3]# echo $LD_LIBRARY_PATH
:/usr/lib
[root@localhost gtk+-2.2.3]# ./configure
checking for jpeg_destroy_decompress in -ljpeg... no
configure: WARNING: *** JPEG loader will not be built (JPEG library not found) ***
configure: error:
*** Checks for JPEG loader failed. You can build without it by passing
*** --without-libjpeg to configure but some programs using GTK+ may
*** not work properly

Last edited by eye; 09-01-2003 at 02:24 AM.
 
Old 09-01-2003, 09:02 AM   #7
Scruff
Member
 
Registered: Oct 2002
Location: Stoughton, MA
Distribution: Gentoo x86_64 & PPC
Posts: 949

Rep: Reputation: 30
Did you try it like I did on my other thread? Worked for me:

export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/lib/libjpeg.so.62

Im not real familiar with all the commands, but thats what greg103 told me and it worked.
 
Old 11-20-2003, 08:21 AM   #8
PatomaS
LQ Newbie
 
Registered: Oct 2003
Location: Kuala Lumpur
Distribution: Gentoo
Posts: 27

Rep: Reputation: 15
Talking

Hey !

Hi people...

well i had the same problem while i was installing the gtk+2.2.4

and found a very good solution in this thread in other mailing list:

http://www.mail-archive.com/gtk-list.../msg13058.html

But if you don't want to read it and just want a fast solution, i'll paste here the basic steps.

# tar -xvzf jpegsrc.v6b.tar.gz
# cd jpeg-6b
# ./configure --prefix=/usr
# make test
# make install
# make install-lib

Of course you must have installed all the other dependencies of gtk.

Good luck.

 
  


Reply



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
gtk ./configure error invinciblegod Linux - General 7 07-24-2005 02:09 AM
Help!!! I can't resolve a gtk+ 2.4.7 configure error RJARRRPCGP Linux - Newbie 1 11-22-2004 02:08 AM
./configure gtk error or3st3s Mandriva 2 08-14-2004 01:21 PM
GTK+ 2.4.4 configure error NoxVampyre Linux - Software 9 08-04-2004 06:56 PM
can't configure GTK!-gtk-gnutella ogkyusa Linux - Software 2 08-09-2003 04:38 PM

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

All times are GMT -5. The time now is 03:52 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