LinuxQuestions.org
Review your favorite Linux distribution.
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 05-05-2009, 06:15 AM   #1
dxdhit
LQ Newbie
 
Registered: Apr 2009
Posts: 3

Rep: Reputation: 0
Exclamation file not recognized: Is a directory


Hi,all
When compiled gimp, I met the follow problem. Could you help me to fix it. Thanks in advance.

-Wl,--rpath -Wl,/opt/gimp/lib
/opt/gimp/lib: file not recognized: Is a directory
collect2: ld returned 1 exit status
make[3]: *** [gimp-2.6] error 1
make[3]: Leaving directory `/home/dxdhit/download/gimp-2.6.6/app'
make[2]: *** [all-recursive] error 1
make[2]: Leaving directory `/home/dxdhit/download/gimp-2.6.6/app'
make[1]: *** [all-recursive] error 1
make[1]: Leaving directory `/home/dxdhit/download/gimp-2.6.6'
make: *** [all] error 2
 
Old 05-05-2009, 10:03 AM   #2
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
I think you need to indicate the steps you took to get to this point. Did you run ./configure before running make? Did it throw up any errors? Any command line switches/flags?
cheers,
jdk
 
Old 05-05-2009, 09:51 PM   #3
dxdhit
LQ Newbie
 
Registered: Apr 2009
Posts: 3

Original Poster
Rep: Reputation: 0
The following message is my setting before make.
GEGL_CFLAGS=/opt/gimp/bin GEGL_LIBS=/opt/gimp/lib LD_RUN_PATH=/opt/gimp/lib PKG_CONFIG_PATH=/opt/gimp/lib/pkgconfig/ ./configure --prefix=/opt/gimp --disable-python

There are two warnings after running ./configure
config.status: WARNING: docs/gimprc-2.6.5 contains a reference to the variable `datarootdir'
which seems to be undefined. Please make sure it is defined.
config.status: WARNING: docs/gimptool-2.0.1 contains a reference to the variable `datarootdir'
which seems to be undefined. Please make sure it is defined.

other message after ./configure
checking for dbus-binding-tool... /usr/bin/dbus-binding-tool
checking for HAL... no
checking for sendmail... /usr/sbin/sendmail
checking for perl5... no
checking for perl... /usr/bin/perl
checking if compiling for Mac OS X... no
checking for Mac OS X TWAIN support... no
checking for xmllint... /usr/bin/xmllint
checking for xsltproc... /usr/bin/xsltproc
configure: creating ./config.status
config.status: creating tools/Makefile
config.status: creating tools/pdbgen/Makefile
config.status: creating libgimp/Makefile
config.status: creating libgimpbase/Makefile
config.status: creating libgimpconfig/Makefile
config.status: creating libgimpcolor/Makefile
config.status: creating libgimpmath/Makefile
config.status: creating libgimpmodule/Makefile
config.status: creating libgimpthumb/Makefile
config.status: creating libgimpwidgets/Makefile
config.status: creating app/Makefile
config.status: creating app/actions/Makefile
config.status: creating app/base/Makefile
config.status: creating app/config/Makefile
config.status: creating app/core/Makefile
config.status: creating app/gegl/Makefile
config.status: creating app/dialogs/Makefile
config.status: creating app/display/Makefile
config.status: creating app/file/Makefile
config.status: creating app/gui/Makefile
config.status: creating app/menus/Makefile
config.status: creating app/paint/Makefile
config.status: creating app/paint-funcs/Makefile
config.status: creating app/composite/Makefile
config.status: creating app/pdb/Makefile
config.status: creating app/plug-in/Makefile
config.status: creating app/text/Makefile
config.status: creating app/tools/Makefile
config.status: creating app/vectors/Makefile
config.status: creating app/widgets/Makefile
config.status: creating app/xcf/Makefile
config.status: creating plug-ins/Makefile
config.status: creating plug-ins/color-rotate/Makefile
config.status: creating plug-ins/color-rotate/images/Makefile
config.status: creating plug-ins/file-bmp/Makefile
config.status: creating plug-ins/file-faxg3/Makefile
config.status: creating plug-ins/file-fits/Makefile
config.status: creating plug-ins/file-fli/Makefile
config.status: creating plug-ins/file-ico/Makefile
config.status: creating plug-ins/file-jpeg/Makefile
config.status: creating plug-ins/file-psd/Makefile
config.status: creating plug-ins/file-sgi/Makefile
config.status: creating plug-ins/file-uri/Makefile
config.status: creating plug-ins/file-xjt/Makefile
config.status: creating plug-ins/flame/Makefile
config.status: creating plug-ins/fractal-explorer/Makefile
config.status: creating plug-ins/fractal-explorer/examples/Makefile
config.status: creating plug-ins/gfig/Makefile
config.status: creating plug-ins/gfig/gfig-examples/Makefile
config.status: creating plug-ins/gfig/images/Makefile
config.status: creating plug-ins/gimpressionist/Brushes/Makefile
config.status: creating plug-ins/gimpressionist/Makefile
config.status: creating plug-ins/gimpressionist/Paper/Makefile
config.status: creating plug-ins/gimpressionist/Presets/Makefile
config.status: creating plug-ins/gradient-flare/Makefile
config.status: creating plug-ins/gradient-flare/flares/Makefile
config.status: creating plug-ins/help-browser/Makefile
config.status: creating plug-ins/help/Makefile
config.status: creating plug-ins/ifs-compose/Makefile
config.status: creating plug-ins/imagemap/Makefile
config.status: creating plug-ins/imagemap/images/Makefile
config.status: creating plug-ins/lighting/Makefile
config.status: creating plug-ins/lighting/images/Makefile
config.status: creating plug-ins/map-object/Makefile
config.status: creating plug-ins/maze/Makefile
config.status: creating plug-ins/metadata/Makefile
config.status: creating plug-ins/pagecurl/Makefile
config.status: creating plug-ins/print/Makefile
config.status: creating plug-ins/pygimp/Makefile
config.status: creating plug-ins/pygimp/plug-ins/Makefile
config.status: creating plug-ins/script-fu/Makefile
config.status: creating plug-ins/script-fu/ftx/Makefile
config.status: creating plug-ins/script-fu/scripts/Makefile
config.status: creating plug-ins/script-fu/scripts/images/Makefile
config.status: creating plug-ins/script-fu/tinyscheme/Makefile
config.status: creating plug-ins/selection-to-path/Makefile
config.status: creating plug-ins/twain/Makefile
config.status: creating plug-ins/win-snap/Makefile
config.status: creating plug-ins/common/Makefile
config.status: creating modules/Makefile
config.status: creating devel-docs/Makefile
config.status: creating devel-docs/app/Makefile
config.status: creating devel-docs/app/version
config.status: creating devel-docs/libgimp/Makefile
config.status: creating devel-docs/libgimp/version
config.status: creating devel-docs/libgimpbase/Makefile
config.status: creating devel-docs/libgimpbase/version
config.status: creating devel-docs/libgimpconfig/Makefile
config.status: creating devel-docs/libgimpconfig/version
config.status: creating devel-docs/libgimpcolor/Makefile
config.status: creating devel-docs/libgimpcolor/version
config.status: creating devel-docs/libgimpmath/Makefile
config.status: creating devel-docs/libgimpmath/version
config.status: creating devel-docs/libgimpmodule/Makefile
config.status: creating devel-docs/libgimpmodule/version
config.status: creating devel-docs/libgimpthumb/Makefile
config.status: creating devel-docs/libgimpthumb/version
config.status: creating devel-docs/libgimpwidgets/Makefile
config.status: creating devel-docs/libgimpwidgets/version
config.status: creating devel-docs/tools/Makefile
config.status: creating docs/Makefile
config.status: creating menus/Makefile
config.status: creating cursors/Makefile
config.status: creating themes/Makefile
config.status: creating themes/Default/Makefile
config.status: creating themes/Default/images/Makefile
config.status: creating themes/Default/images/preferences/Makefile
config.status: creating themes/Small/Makefile
config.status: creating data/Makefile
config.status: creating data/brushes/Makefile
config.status: creating data/environ/Makefile
config.status: creating data/gradients/Makefile
config.status: creating data/images/Makefile
config.status: creating data/interpreters/Makefile
config.status: creating data/palettes/Makefile
config.status: creating data/patterns/Makefile
config.status: creating data/tips/Makefile
config.status: creating desktop/Makefile
config.status: creating desktop/gimp.desktop.in
config.status: creating etc/Makefile
config.status: creating m4macros/Makefile
config.status: creating po/Makefile.in
config.status: creating po-libgimp/Makefile.in
config.status: creating po-plug-ins/Makefile.in
config.status: creating po-python/Makefile.in
config.status: creating po-script-fu/Makefile.in
config.status: creating po-tips/Makefile.in
config.status: creating gimp-zip
config.status: creating Makefile
config.status: creating docs/gimp-2.6.1
config.status: creating docs/gimprc-2.6.5
config.status: creating docs/gimptool-2.0.1
config.status: creating docs/gimp-remote-2.6.1
config.status: creating gimp-2.0.pc
config.status: creating gimpthumb-2.0.pc
config.status: creating gimpui-2.0.pc
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing default-1 commands
config.status: executing libgimpbase/gimpversion.h commands
config.status: libgimpbase/gimpversion.h is unchanged
config.status: executing sed-po-makefiles commands
config.status: executing po/stamp-it commands
# INTLTOOL_MAKEFILE

Building GIMP with prefix=/opt/gimp, datarootdir=${prefix}/share
Desktop files install into ${datarootdir}

Extra Binaries:
gimp-console: yes
gimp-remote: no (not enabled)

Optional Features:
D-Bus service: yes
Language selection: no (iso-codes package not found)

Optional Plug-Ins:
Ascii Art: no (AA library not found)
Help Browser: no (WebKit not found)
LCMS: no (lcms not found or unusable)
JPEG: yes
MNG: yes
PDF: Using PostScript plug-in (libpoppler not found)
PNG: yes
Print: yes
PSP: yes
Python: no
Script-Fu: yes
SVG: no (librsvg not found)
TIFF: yes
TWAIN (MacOS X): no
TWAIN (Win32): no
URI: yes (using GIO/GVfs)
Windows ICO yes
WMF: no (libwmf not found)
XJT: yes
XPM: yes

Plug-In Features:
EXIF support: no (libexif not found or too old)
GNOME UI: no (libgnomeui-2.0 not found)
GNOME keyring: no (gnome-keyring-1 not found)

Optional Modules:
ALSA (MIDI Input): yes
Linux Input: yes (HAL support: no (libhal not found))
DirectInput (Win32): no
Color Correction: no (lcms not found or unusable)
Soft Proof: no (lcms not found or unusable)
 
Old 05-05-2009, 10:21 PM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,627

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
get ride of this in the "configure line
Quote:
GEGL_CFLAGS=/opt/gimp/bin GEGL_LIBS=/opt/gimp/lib LD_RUN_PATH=/opt/gimp/lib PKG_CONFIG_PATH=/opt/gimp/lib/pkgconfig/
that is not needed

try this
Code:
su 
mkdir  /opt/gimp  ( if not already there )
./configure --prefix=/opt/gimp
the "--disable-python " should auto set if python in not installed ( or at least the python source is not installed)

and WHY did you install babl and gegl in /opt/gimp ???

gimp and auto tools will look in /usr/lib/?? and /usr/include for gegl and babl

if for some reason you must have those installed in a very odd place , you must add that path to the system $PATH ( added to ".bash_profile" or such for your OS )
-- added later --
also in .bash_profile you will need to add this so gimp will be able to find it's self AND babl and gegl ( seeing as you put them in /opt/gimp)
Code:
LIBDIR=/opt/gimp/lib/
export LIBDIR
you might also want to install "LCMS" this is very handy and libwmf , librsvg
and turn ON "gimp-remote"

this is what i use
Code:
./configure --prefix=/usr/opt --enable-gimp-remote --enable-gtk-doc

Last edited by John VV; 05-05-2009 at 10:49 PM. Reason: added to
 
  


Reply

Tags
directory, file, recognized


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
Copying a single file into each directory of a directory tree mlapl1 Linux - Newbie 2 06-27-2007 10:18 PM
Sudo - Active Directory group not recognized nilecirb Linux - Networking 4 08-28-2006 11:09 PM
File Format not recognized eachow Linux - Hardware 2 07-10-2006 03:52 PM
How to protect a file/directory in your home login directory (RH Linux) jitsenho Linux - Security 9 07-03-2006 11:08 PM
xmame.x11 file not being recognized madskillz Linux - Games 1 06-21-2004 04:36 AM

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

All times are GMT -5. The time now is 04:46 AM.

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