LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-16-2005, 03:22 AM   #1
pkghost
LQ Newbie
 
Registered: Dec 2005
Posts: 7

Rep: Reputation: 0
trouble: gtk & libtiff or ltiff


Code:
checking for TIFFReadScanline in -ltiff... no
checking for TIFFWriteScanline in -ltiff... no
checking for TIFFFlushData in -ltiff34... no
configure: WARNING: *** TIFF loader will not be built (TIFF library not found) ***
configure: error:
*** Checks for TIFF loader failed. You can build without it by passing
*** --without-libtiff to configure but some programs using GTK+ may
*** not work properly
i installed libtiff from source. wtf.

i spent 3+ hours pouring through archived mailing lists, google, and these forums looking for a solution and have come up with nothing. im really at a dead end with this.

im running Darwin 8.3.0 underneath OS X 10.4.3

thanks in advance
 
Old 12-17-2005, 04:08 AM   #2
mr_demilord
Member
 
Registered: Sep 2005
Posts: 244

Rep: Reputation: 30
Do a configure --help for options. maybe there is a switch with --with-libtiff-dir=/usr/local/lib
 
Old 12-17-2005, 04:32 AM   #3
pkghost
LQ Newbie
 
Registered: Dec 2005
Posts: 7

Original Poster
Rep: Reputation: 0
Code:
hiptop:~/downloads/nix/gtk+-2.6.9 Cam$ ./configure --help
`configure' configures gtk+ 2.6.9 to adapt to many kinds of systems.

Usage: ./configure [OPTION]... [VAR=VALUE]...

To assign environment variables (e.g., CC, CFLAGS...), specify them as
VAR=VALUE.  See below for descriptions of some of the useful variables.

Defaults for the options are specified in brackets.

Configuration:
  -h, --help              display this help and exit
      --help=short        display options specific to this package
      --help=recursive    display the short help of all the included packages
  -V, --version           display version information and exit
  -q, --quiet, --silent   do not print `checking...' messages
      --cache-file=FILE   cache test results in FILE [disabled]
  -C, --config-cache      alias for `--cache-file=config.cache'
  -n, --no-create         do not create output files
      --srcdir=DIR        find the sources in DIR [configure dir or `..']

Installation directories:
  --prefix=PREFIX         install architecture-independent files in PREFIX
                          [/usr/local]
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
                          [PREFIX]

By default, `make install' will install all the files in
`/usr/local/bin', `/usr/local/lib' etc.  You can specify
an installation prefix other than `/usr/local' using `--prefix',
for instance `--prefix=$HOME'.

For better control, use the options below.

Fine tuning of the installation directories:
  --bindir=DIR           user executables [EPREFIX/bin]
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
  --libexecdir=DIR       program executables [EPREFIX/libexec]
  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
  --libdir=DIR           object code libraries [EPREFIX/lib]
  --includedir=DIR       C header files [PREFIX/include]
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
  --infodir=DIR          info documentation [PREFIX/info]
  --mandir=DIR           man documentation [PREFIX/man]

Program names:
  --program-prefix=PREFIX            prepend PREFIX to installed program names
  --program-suffix=SUFFIX            append SUFFIX to installed program names
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names

X features:
  --x-includes=DIR    X include files are in DIR
  --x-libraries=DIR   X library files are in DIR

System types:
  --build=BUILD     configure for building on BUILD [guessed]
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]

Optional Features:
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
  --disable-dependency-tracking Speeds up one-time builds
  --enable-dependency-tracking  Do not reject slow dependency extractors
  --enable-static[=PKGS]
                          build static libraries [default=no]
  --enable-shared[=PKGS]
                          build shared libraries [default=yes]
  --enable-fast-install[=PKGS]
                          optimize for fast installation [default=yes]
  --disable-libtool-lock  avoid locking (might break parallel builds)
  --disable-largefile     omit support for large files
  --enable-maintainer-mode enable make rules and dependencies not useful
                          (and sometimes confusing) to the casual installer
  --enable-debug=[no/minimum/yes]
                          turn on debugging [default=minimum]
  --enable-shm            support shared memory if available [default=yes]
  --enable-ansi           turn on strict ansi [default=no]
  --enable-xkb            support XKB [default=maybe]
  --disable-rebuilds      disable all source autogeneration rules
  --disable-visibility    don't use ELF visibility attributes
  --disable-shadowfb      disable shadowfb support for linux-fb
  --enable-fbmanager      enable framebuffer manager support (GtkFB)
  --enable-explicit-deps=[yes/no/auto]
                          use explicit dependencies in .pc files
                          [default=auto]
  --disable-glibtest      do not try to compile and run a test GLIB program
  --disable-modules       disable dynamic module loading
  --enable-gtk-doc        use gtk-doc to build documentation default=no
  --enable-man            regenerate man pages from Docbook [default=no]

Optional Packages:
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
  --with-pic              try to use only PIC/non-PIC objects [default=use
                          both]
  --with-tags[=TAGS]
                          include additional configurations [automatic]
  --with-xinput=[no/yes]
                          support XInput
  --with-wintab=DIRECTORY use Wintab API with win32 backend
  --with-ie55=DIRECTORY   IE5.5 libs and headers (for Active IMM)
  --with-gdktarget=[x11/linux-fb/win32] select GDK target default=$gdktarget
  --without-libpng        disable PNG loader for gdk-pixbuf
  --without-libjpeg       disable JPEG loader for gdk-pixbuf
  --without-libtiff       disable TIFF loader for gdk-pixbuf
  --with-included-loaders=LOADER1,LOADER2,...
                          build the specified loaders into gdk-pixbuf (only
                          used if module loading disabled)
  --with-x                use the X Window System
  --with-html-dir=PATH    path to installed docs
  --with-xml-catalog=CATALOG
                          path to xml catalog to use

Some influential environment variables:
  CC          C compiler command
  CFLAGS      C compiler flags
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
              nonstandard directory <lib dir>
  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
              headers in a nonstandard directory <include dir>
  CPP         C preprocessor
  CXX         C++ compiler command
  CXXFLAGS    C++ compiler flags
  CXXCPP      C++ preprocessor
  F77         Fortran 77 compiler command
  FFLAGS      Fortran 77 compiler flags
  PKG_CONFIG  path to pkg-config utility
  BASE_DEPENDENCIES_CFLAGS
              C compiler flags for BASE_DEPENDENCIES, overriding pkg-config
  BASE_DEPENDENCIES_LIBS
              linker flags for BASE_DEPENDENCIES, overriding pkg-config
  XCURSOR_CFLAGS
              C compiler flags for XCURSOR, overriding pkg-config
  XCURSOR_LIBS
              linker flags for XCURSOR, overriding pkg-config
  XFIXES_CFLAGS
              C compiler flags for XFIXES, overriding pkg-config
  XFIXES_LIBS linker flags for XFIXES, overriding pkg-config

Use these variables to override the choices made by `configure' or to help
it to find libraries and programs with nonstandard names/locations.

i tried setting LDFLAGS to /usr/local/lib, but that broke the configuration within the first 12 lines of output or so. said something about the C compiler not being able to make executables.

i also tried using --with-libtiff=/usr/local/lib but to no avail.

still at a loss.

thanks for your help
 
  


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 on installing Libtiff satimis Linux From Scratch 3 09-16-2005 12:16 AM
How to install QT&GTK* without GNOME & KDE? VertX Debian 2 02-15-2005 02:27 PM
Configure error in Hylafax With Libtiff eogandix Linux - Software 1 02-01-2005 01:51 PM
libtiff problem: cannot call outside main() proc zhang_mdev Programming 1 12-14-2004 03:17 PM
Problem Upgrading LibTIFF to 3.6.1 on Mandrake 10 alvinl Mandriva 0 08-04-2004 12:31 PM


All times are GMT -5. The time now is 01:14 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration